﻿
.schedule-dashboard {
    --schedule-bg: linear-gradient(180deg, #f3f7fb 0%, #edf4ff 48%, #f8fbff 100%);
    --schedule-surface: rgba(255, 255, 255, 0.92);
    --schedule-border: rgba(148, 163, 184, 0.2);
    --schedule-shadow: 0 20px 48px rgba(148, 163, 184, 0.16);
    --schedule-text: #013cc7;
    --schedule-muted: #fbfdff;
    --schedule-accent: #2563eb;
    min-height: 100vh;
    background: var(--schedule-bg);
    color: var(--schedule-text);
}

.schedule-dashboard .schedule-shell {
    min-height: 100vh;
}

.schedule-dashboard .dashboard-content {
    padding: 12px;
}

.schedule-dashboard .content-body {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.schedule-dashboard .schedule-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border: 1px solid var(--schedule-border);
    border-radius: 24px;
    background: var(--schedule-surface);
    box-shadow: var(--schedule-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.schedule-dashboard .schedule-page-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.schedule-dashboard .schedule-page-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--schedule-accent);
}

.schedule-dashboard .schedule-page-copy strong {
    font-size: clamp(1.2rem, 1rem + 0.7vw, 1.8rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--schedule-text);
}

.schedule-dashboard .schedule-page-copy p {
    margin: 0;
    max-width: 760px;
    color: var(--schedule-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.schedule-dashboard .schedule-page-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.schedule-dashboard .schedule-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    color: var(--schedule-text);
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12);
}

.schedule-dashboard .schedule-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.schedule-dashboard .schedule-filter-select {
    min-width: min(100%, 280px);
    padding: 11px 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--schedule-text);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.schedule-dashboard .schedule-filter-select:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 12px 28px rgba(148, 163, 184, 0.16);
}

.schedule-dashboard .state-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--schedule-border);
    border-radius: 22px;
    background: var(--schedule-surface);
    box-shadow: var(--schedule-shadow);
}

.schedule-dashboard .state-card-compact {
    max-width: 720px;
}

.schedule-dashboard .state-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--schedule-text);
}

.schedule-dashboard .state-card p {
    margin: 0;
    color: var(--schedule-muted);
    line-height: 1.55;
}

.schedule-dashboard .state-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef5ff 0%, #dceafe 100%);
    color: var(--schedule-accent);
    font-size: 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(96, 130, 214, 0.16);
}

.schedule-dashboard .state-icon-loading i {
    animation: schedule-spin 1s linear infinite;
}

@keyframes schedule-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .schedule-dashboard .dashboard-content {
        padding: 64px 8px 12px;
    }

    .schedule-dashboard .content-body {
        gap: 12px;
    }

    .schedule-dashboard .schedule-page-header {
        padding: 16px;
        border-radius: 20px;
    }

    .schedule-dashboard .schedule-page-meta {
        justify-content: flex-start;
    }

    .schedule-dashboard .schedule-meta-pill {
        min-height: 36px;
        font-size: 0.8rem;
    }

    .schedule-dashboard .schedule-filter-select {
        width: 100%;
        min-width: 0;
    }

    .schedule-dashboard .state-card {
        padding: 16px;
    }
}
