.elective-subject-schedule {
    background-color: white;
    border-radius: 50px;
    width: 100%;
    height: 100%;
    padding: 44px;
    box-sizing: border-box;
    overflow-y: auto;
    min-height: 900px;
    margin-left: 360px;

    .header {
        background: var(--strong-blue);
        color: white;
        padding: 40px 30px;
        text-align: center;
        border-radius: 12px;
    }

    .header h1 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .content {
        padding: 25px 0;
    }

    .week-section {
        margin-bottom: 30px;
    }

    .week-title {
        display: flex;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--strong-blue);
        margin-bottom: 20px
    }

    .week-title::before {
        content: '';
        width: 4px;
        height: 24px;
        background: var(--strong-blue);
        border-radius: 2px;
        margin-right: 12px;
    }

    .schedule-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .schedule-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
        position: relative;
        overflow: hidden;
    }

    .subject {
        padding: 16px;
    }

    .subject + .subject {
        padding-top: 10px;
        border-top: 1px solid #dee2e6;
    }

    .day {
        font-size: 0.9rem;
        font-weight: 600;
        color: white;
        background-color: var(--mandarine);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid #dee2e6;
        padding: 8px 16px;
    }

    .subject-name {
        font-weight: 700;
        display: flex;
        flex-direction: column;
    }

    .flow {
        font-size: 12px;
        color: var(--secondary);
    }

    .time-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(206, 212, 218, 0.2);
        padding: 12px;
        border-radius: 8px;
        margin-top: 8px;
    }

    .time {
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .type {
        font-size: 0.8rem;
        color: #7f8c8d;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
        margin-top: 25px;
        padding: 20px;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        border-radius: 12px;
    }

    .stat-card {
        text-align: center;
        padding: 12px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: #667eea;
        margin-bottom: 3px;
    }

    .stat-label {
        color: #7f8c8d;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    @media (max-width: 768px) {
        .header h1 {
            font-size: 1.5rem;
        }

        .content {
            padding: 15px 0;
        }

        .stats {
            grid-template-columns: repeat(2, 1fr);
            padding: 15px;
        }
    }

    @media screen and (max-width: 1200px) {
        border-radius: 0;
        padding: 20px 20px 20px 80px;
        margin-left: 0;
    }

    @media screen and (max-width: 600px) {
        padding: 20px 10px 20px 70px;
    }
}

body:has(.elective-subject-schedule) {
    .container {
        max-width: 100%;
    }
}