/**
 * Styling for the pricing page features table module.
 */

.features-table .hide-features.button,
.features-table .show-features.button {
    margin: 0 auto;
    padding: var(--spacing-8) 0 var(--spacing-7);
}

.features-table .sticky-plans-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: sticky;
    top: var(--top-height);
    background-color: var(--color-bg-page);
    z-index: 1;
    border-bottom: 1px solid var(--color-grey-150);
}

.features-table .sticky-plans-nav > * {
    text-align: center;
    padding: var(--spacing-7) var(--spacing-5) var(--spacing-10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-7);
}

.features-table .sticky-plans-nav .account-type {
    color: var(--color-link-disabled);
    text-align: unset;
}

.features-table .inner-tables {
    padding-bottom: var(--spacing-12);
}

/* Breakpoint M */
@media screen and (min-width: 768px) and (max-width: 1080px) {
    .features-table .sticky-plans-nav .plans-header .button {
        display: none;
    }
}

/* Breakpoint S */
@media screen and (min-width: 0) and (max-width: 768px) {
    .features-table .sticky-plans-nav {
        display: none;
    }

    .features-table .button {
        padding-bottom: var(--spacing-5);
    }
}

