/* ===========================
   HOME DASHBOARD
=========================== */

.dashboard{
    max-width:1100px;
    margin:auto;
    padding:40px 20px 80px;
}

/* ===========================
   HERO
=========================== */

.hero{
    margin-bottom:35px;
}

.hero h1{
    font-size:42px;
    color:#ffffff;
    margin-bottom:8px;
}

.hero p{
    color:#d6d6d6;
    font-size:17px;
}

/* ===========================
   SECTION HEADER
=========================== */

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.section-header h2{
    color:white;
    font-size:30px;
}

.schedule-subtitle{
    min-height:22px;
    color:#dbeafe;
    font-size:15px;
    font-weight:600;
    margin-top:6px;
}

.section-header a{
    color:#6ea8fe;
    text-decoration:none;
    font-weight:600;
}

.section-header a:hover{
    text-decoration:underline;
}

/* ===========================
   TIMELINE
=========================== */

.timeline{

    position:relative;

    display:flex;

    flex-direction:column;

    gap:22px;

    padding-left:35px;

    max-height:620px;

    overflow-y:auto;

    overflow-x:hidden;

    scroll-behavior:smooth;

    padding-right:8px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:13px;

    top:0;

    bottom:0;

    width:4px;

    background:#3b82f6;

    border-radius:10px;

}

/* ===========================
   CARD
=========================== */

.class-card{

    position:relative;

    background:white;

    border-radius:8px;

    padding:22px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.class-card:hover{

    transform:translateY(-4px);

}

/* ===========================
   TIMELINE DOT
=========================== */

.timeline-dot{

    position:absolute;

    left:-31px;

    top:28px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:white;

    border:5px solid #3b82f6;

}

/* ===========================
   TOP ROW
=========================== */

.card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:12px;

}

.time{

    color:#2563eb;

    font-weight:bold;

    font-size:15px;

    margin:0;

}

.status{

    padding:6px 12px;

    border-radius:25px;

    font-size:12px;

    font-weight:bold;

    text-transform:uppercase;

}

/* ===========================
   SUBJECT
=========================== */

.class-card > h3{

    font-size:24px;

    color:#1f2937;

    margin-bottom:10px;

}

.class-card p{

    color:#555;

    margin-bottom:8px;

}

.class-card small{

    color:#888;

}

.subject-details{

    margin-bottom:10px;

}

.subject-details:last-child{

    margin-bottom:0;

}

.subject-details small{

    display:block;

    line-height:1.5;

}

.empty-state{

    color:white;

    font-size:22px;

}

.free-label{
    color:#64748b;
    font-weight:700;
    margin:0;
}

.full-timetable-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:22px;
    padding:12px 18px;
    border-radius:8px;
    background:#ffffff;
    color:#23468a;
    text-decoration:none;
    font-weight:800;
    box-shadow:0 10px 22px rgba(5,16,40,.14);
}

.full-timetable-link:hover{
    background:#eaf2ff;
}

/* ===========================
   COMPLETED
=========================== */

.class-card.completed{

    opacity:.55;

    border-left:6px solid #9ca3af;

}

.class-card.completed .status{

    background:#e5e7eb;

    color:#555;

}

.class-card.completed .timeline-dot{

    border-color:#9ca3af;

}

.class-card.previous{

    opacity:.68;

    border-left:6px solid #94a3b8;

}

.class-card.previous .status{

    background:#e2e8f0;

    color:#475569;

}

.class-card.previous .timeline-dot{

    border-color:#94a3b8;

}

/* ===========================
   CURRENT
=========================== */

.class-card.current{

    border:3px solid #1d4ed8;

    background:#eff6ff;

    box-shadow:0 15px 35px rgba(37,99,235,.22);

}

.class-card.current .status{

    background:#1d4ed8;

    color:white;

}

.class-card.current .timeline-dot{

    border-color:#1d4ed8;

}

/* ===========================
   UPCOMING
=========================== */

.class-card.upcoming{

    border-left:6px solid #3b82f6;

}

.class-card.upcoming .status{

    background:#dbeafe;

    color:#2563eb;

}

.class-card.upcoming .timeline-dot{

    border-color:#3b82f6;

}

/* ===========================
   PULSE
=========================== */

@keyframes pulse{

    0%{

        box-shadow:0 0 0 0 rgba(34,197,94,.7);

    }

    70%{

        box-shadow:0 0 0 14px rgba(34,197,94,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(34,197,94,0);

    }

}

/* ===========================
   QUICK ACTIONS
=========================== */

.quick-actions{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}

.feature-card{

    background:white;

    border-radius:18px;

    padding:25px;

    text-align:center;

    text-decoration:none;

    color:#222;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.25s;

}

.feature-card:hover{

    transform:translateY(-5px);

}

.feature-card h3{

    margin-bottom:10px;

    color:#2563eb;

}

.feature-card p{

    color:#666;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.dashboard{

    padding:25px 15px 60px;

}

.hero h1{

    font-size:32px;

}

.section-header{

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

}

.timeline{

    padding-left:25px;

}

.timeline-dot{

    left:-22px;

}

.quick-actions{

    grid-template-columns:repeat(2,1fr);

}

.class-card > h3{

    font-size:20px;

}

}
.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.full-timetable-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #244A99;
    font-weight: 600;
    text-decoration: none;
}

.full-timetable-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .schedule-header {
        align-items: flex-start;
    }

    .full-timetable-link {
        font-size: 14px;
    }
}