body {
    background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 40%, #eef1f7 100%);
}

main {
    min-height: 65vh;
}

.card,
.bg-white {
    border-radius: 1.25rem !important;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #f3f4f6;
}

.shadow-sm {
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08) !important;
}

.schedule-card {
    border: none;
    overflow: hidden;
}

.schedule-card__header {
    background: linear-gradient(135deg, #3a7afe 0%, #6c5ce7 100%);
    color: #fff;
    padding: 1.75rem 1.75rem 1.5rem;
}

.schedule-card__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    font-weight: 600;
    opacity: 0.75;
}

.schedule-card__title {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.schedule-card__subtitle {
    font-size: 0.9rem;
    max-width: 28rem;
    opacity: 0.85;
}

.schedule-card__header-meta {
    min-width: 200px;
}

.schedule-card__badge {
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.schedule-card__badge.badge-secondary {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.schedule-card__badge.badge-primary {
    background-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.schedule-card__badge.badge-info {
    background-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.schedule-card__meta {
    font-size: 0.8rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.schedule-form__label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4c5270;
}

.schedule-field select {
    border-radius: 1rem;
    border: 1px solid rgba(100, 116, 139, 0.25);
    padding: 0.65rem 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.schedule-field select:focus {
    border-color: #3a7afe;
    box-shadow: 0 0 0 0.2rem rgba(58, 122, 254, 0.15);
}

.schedule-field.has-error select {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.schedule-save-btn {
    border-radius: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 18px 30px rgba(58, 122, 254, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-save-btn:hover,
.schedule-save-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 34px rgba(58, 122, 254, 0.35);
}

.schedule-readonly {
    background: rgba(244, 246, 255, 0.9);
    border-radius: 1.1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.schedule-readonly__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c7293;
    margin-bottom: 0.3rem;
}

.schedule-readonly__value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2a6b;
}

.schedule-summary {
    background: linear-gradient(160deg, #ffffff 0%, #f5f7ff 100%);
    border-radius: 1.2rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.schedule-summary__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(58, 122, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a7afe;
    font-size: 1.3rem;
    margin-right: 1.1rem;
}

.schedule-summary__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c7293;
    margin-bottom: 0.25rem;
}

.schedule-summary__value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2a6b;
    margin-bottom: 0.5rem;
}

.schedule-summary__note {
    font-size: 0.85rem;
    color: #6c7293;
}

@media (max-width: 767.98px) {
    .schedule-card__header {
        text-align: center;
    }

    .schedule-card__header-meta {
        width: 100%;
        margin-top: 1rem;
        text-align: center !important;
    }

    .schedule-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-summary__icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
