@import url("https://cdn.jsdelivr.net/npm/basecoat-css@0.3.10/dist/basecoat.cdn.min.css");
@import url("./00-settings.css");
@import url("./01-base.css");
@import url("./02-layout.css");
@import url("./03-auth.css");
@import url("./05-components.css");
@import url("./06-dashboard.css");
@import url("./07-schedule.css");
@import url("./08-settings.css");
@import url("./09-payments.css");
@import url("./10-staff.css");

/* FLEX UTILITIES */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 {
    gap: var(--space-1);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

/* SPACING UTILITIES */
.m-auto {
    margin: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-5 {
    margin-bottom: var(--space-5);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.p-2 {
    padding: var(--space-2);
}

.p-3 {
    padding: var(--space-3);
}

.p-4 {
    padding: var(--space-4);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

/* PRICING PAGE */
.pricing-page {
    min-height: auto;
    background: #ffffff;
    padding: 48px 24px 24px;
}

.pricing-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px;
}

.pricing-subtitle {
    font-size: 18px;
    color: #475569;
    margin: 0 0 32px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.plan-card {
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    max-width: 360px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-card:hover {
    border-color: #C7D2FE;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.plan-card--featured {
    border-color: rgba(11, 75, 255, 0.2);
    background: rgba(11, 75, 255, 0.04);
    box-shadow: 0 0 0 2px rgba(11, 75, 255, 0.2);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(11, 75, 255, 0.12);
    color: #0B4BFF;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px;
}

.plan-tagline {
    font-size: 15px;
    color: #475569;
    margin: 0 0 16px;
}

.plan-price {
    font-size: 40px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.plan-price-unit {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.plan-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 16px 0;
}

.plan-features {
    list-style: disc;
    margin: 0 0 8px;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    font-size: 16px;
    color: #0F172A;
}

.plan-cta {
    margin-top: auto;
}

.plan-cta-solid {
    background: #0B4BFF;
    color: #ffffff;
    border: 1px solid #0B4BFF;
}

.plan-cta-solid:hover {
    background: #0837C7;
}

.plan-cta-outline {
    background: transparent;
    border: 1px solid #0B4BFF;
    color: #0B4BFF;
}

.plan-cta-outline:hover {
    background: rgba(11, 75, 255, 0.06);
}

.pricing-note {
    margin: 24px 0 16px;
    color: #475569;
    font-size: 15px;
    text-align: center;
}

.pricing-footer {
    color: #475569;
    font-size: 15px;
    text-align: center;
}

.pricing-footer a {
    color: #0B4BFF;
    font-weight: 600;
}

@media (max-width: 1023px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-page {
        padding: 64px 16px 40px;
    }

    .pricing-title {
        font-size: 36px;
    }
}

/* PAGE LAYOUTS */
.page-header {
    margin-bottom: var(--space-8);
}

.page-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.schedule-view-toggle {
    margin-top: calc(var(--space-4) * -1 - 30px);
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.page-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

/* FILTER BAR */
.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    align-items: end;
}

.filter-bar__actions {
    justify-self: end;
    align-self: center;
}

.filter-bar__btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-inverse);
}

.filter-bar__btn:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar .container-wide {
        flex-direction: column;
        gap: var(--space-4);
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .page-header-with-action {
        flex-direction: column;
        gap: var(--space-4);
    }

    .table-container {
        overflow-x: auto;
    }

    table {
        min-width: 600px;
    }

}

/* UTILITY OVERRIDES — must come last to win specificity battles with basecoat-css */
.hidden {
    display: none !important;
}

