/* STUDENT TOP NAVBAR */
.student-topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
    font-family: 'Inter', sans-serif
}

.dark-mode .student-topnav {
    background: rgba(30, 30, 40, .85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.stn-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.stn-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #334155;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px
}

.stn-logo {
    display: flex;
    align-items: center;
    gap: 8px
}

.stn-logo img {
    height: 34px;
    width: auto;
    object-fit: contain
}

.stn-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: -.5px
}

.stn-center {
    display: flex;
    align-items: center;
    gap: 2px
}

.stn-link {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px
}

.stn-link:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, .06)
}

.stn-link.active {
    color: #4f46e5;
    font-weight: 600
}

.stn-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #4f46e5;
    border-radius: 3px
}

.stn-link i {
    font-size: 16px
}

.stn-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.stn-notif {
    position: relative
}

.stn-notif-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748b;
    transition: .2s;
    cursor: pointer;
    position: relative
}

.stn-notif-btn:hover {
    background: rgba(79, 70, 229, .08);
    color: #4f46e5
}

.stn-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px
}

.stn-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 10px;
    transition: .2s
}

.stn-user-area:hover {
    background: rgba(79, 70, 229, .05)
}

.stn-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.stn-username {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2
}

.dark-mode .stn-username {
    color: #e2e8f0
}

.stn-role-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500
}

.stn-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, .25);
    flex-shrink: 0
}

.stn-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.stn-logout-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: .2s;
    cursor: pointer
}

.stn-logout-btn:hover {
    background: rgba(239, 68, 68, .08)
}

/* STUDENT APP */
.student-app {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
    padding: 28px 36px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    background: #f8fafc
}

.dark-mode .student-app {
    background: transparent
}

.student-view {
    display: none;
    animation: sdashFade .35s ease
}

.student-view.active {
    display: block
}

@keyframes sdashFade {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* DASHBOARD 3-COL GRID */
.sdash-main-grid {
    display: grid;
    grid-template-columns: 28% 44% 28%;
    gap: 22px;
    margin-bottom: 24px
}

.sdash-col {
    display: flex;
    flex-direction: column;
    gap: 20px
}

/* CARDS */
.sdash-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border: 1px solid #f1f5f9
}

.dark-mode .sdash-card {
    background: rgba(30, 30, 40, .6);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, .06)
}

.sdash-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08)
}

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

.sdash-card-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px
}

.dark-mode .sdash-card-header h3 {
    color: #e2e8f0
}

.sdash-card-header h3 i {
    font-size: 18px;
    color: #4f46e5
}

.sdash-view-all {
    font-size: 12px;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer
}

.sdash-view-all:hover {
    text-decoration: underline
}

.sdash-filter-select {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    outline: none
}

.dark-mode .sdash-filter-select {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
    color: #e2e8f0
}

/* MY CLASSES LIST */
.sdash-class-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px
}

.sdash-class-row:last-child {
    border-bottom: none
}

.sdash-subj-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0
}

.sdash-class-info {
    flex: 1;
    min-width: 0
}

.sdash-class-info .subj-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b
}

.dark-mode .sdash-class-info .subj-name {
    color: #e2e8f0
}

.sdash-class-info .subj-grade {
    font-size: 11px;
    color: #94a3b8
}

.sdash-class-count {
    text-align: center
}

.sdash-class-count .count-num {
    font-size: 16px;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79, 70, 229, .08);
    padding: 2px 10px;
    border-radius: 8px;
    display: block
}

.sdash-class-count .count-label {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px
}

.sdash-upcoming-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, .08), rgba(129, 140, 248, .06));
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px
}

.sdash-upcoming-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px
}

.sdash-upcoming-subj {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b
}

.dark-mode .sdash-upcoming-subj {
    color: #e2e8f0
}

.sdash-upcoming-time {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px
}

.sdash-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 20px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none
}

.sdash-join-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, .3)
}

.sdash-join-btn:disabled,
.sdash-join-btn.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

/* ATTENDANCE DONUT */
.sdash-att-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap
}

.sdash-donut-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center
}

.sdash-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center
}

.sdash-donut-pct {
    font-size: 32px;
    font-weight: 700;
    color: #4f46e5;
    display: block;
    line-height: 1
}

.sdash-donut-label {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px
}

.sdash-att-legend {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center
}

.sdash-legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px
}

.sdash-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.sdash-legend-bar {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden
}

.sdash-legend-bar-fill {
    height: 100%;
    border-radius: 6px
}

.sdash-legend-count {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap
}

.sdash-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px
}

.sdash-mini-stat {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
    text-align: center
}

.dark-mode .sdash-mini-stat {
    background: rgba(255, 255, 255, .04)
}

.sdash-mini-stat .ms-icon {
    font-size: 20px;
    margin-bottom: 4px
}

.sdash-mini-stat .ms-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    display: block
}

.dark-mode .sdash-mini-stat .ms-value {
    color: #e2e8f0
}

.sdash-mini-stat .ms-label {
    font-size: 10px;
    color: #94a3b8
}

/* ATTENDANCE TREND */
.sdash-chart-container {
    height: 220px;
    position: relative
}

/* ANNOUNCEMENTS */
.sdash-announce-row {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start
}

.sdash-announce-row:last-child {
    border-bottom: none
}

.sdash-announce-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9
}

.sdash-announce-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sdash-announce-body {
    flex: 1;
    min-width: 0
}

.sdash-announce-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.dark-mode .sdash-announce-body h4 {
    color: #e2e8f0
}

.sdash-announce-body p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.sdash-announce-time {
    font-size: 10px;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0
}

.sdash-view-all-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #4f46e5;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    text-decoration: none
}

/* RECORDINGS LIST */
.sdash-rec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9
}

.sdash-rec-row:last-child {
    border-bottom: none
}

.sdash-rec-thumb {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: #fff;
    flex-shrink: 0
}

.sdash-rec-info {
    flex: 1;
    min-width: 0
}

.sdash-rec-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b
}

.dark-mode .sdash-rec-info h4 {
    color: #e2e8f0
}

.sdash-rec-info p {
    font-size: 11px;
    color: #94a3b8
}

.sdash-rec-dur {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-right: 8px
}

.sdash-watch-btn {
    padding: 5px 14px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    display: inline-block
}

.sdash-watch-btn:hover {
    background: #4338ca;
    transform: translateY(-1px)
}

/* TODAY'S CLASSES FULL WIDTH */
.sdash-today-card {
    margin-bottom: 24px
}

.sdash-today-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    gap: 16px
}

.sdash-today-row:last-child {
    border-bottom: none
}

.sdash-today-accent {
    width: 4px;
    height: 40px;
    border-radius: 4px;
    flex-shrink: 0
}

.sdash-today-info {
    flex: 1
}

.sdash-today-info .t-subj {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b
}

.dark-mode .sdash-today-info .t-subj {
    color: #e2e8f0
}

.sdash-today-info .t-topic {
    font-size: 12px;
    color: #94a3b8
}

.sdash-today-time {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap
}

.sdash-today-join {
    padding: 6px 16px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none
}

.sdash-today-join:hover {
    background: #4338ca;
    transform: translateY(-1px)
}

.sdash-today-join:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none
}

/* FOOTER */
.sdash-footer {
    text-align: center;
    padding: 24px 0;
    margin-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8
}

.sdash-footer .heart {
    color: #ef4444
}

/* FULL VIEW PAGES */
.sdash-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px
}

.sdash-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #f1f5f9
}

.dark-mode .sdash-stat-card {
    background: rgba(30, 30, 40, .6);
    border-color: rgba(255, 255, 255, .06)
}

.sdash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1)
}

.sdash-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0
}

.sdash-stat-icon.blue {
    background: rgba(59, 130, 246, .1);
    color: #3b82f6
}

.sdash-stat-icon.green {
    background: rgba(34, 197, 94, .1);
    color: #22c55e
}

.sdash-stat-icon.orange {
    background: rgba(245, 158, 11, .1);
    color: #f59e0b
}

.sdash-stat-icon.red {
    background: rgba(239, 68, 68, .1);
    color: #ef4444
}

.sdash-stat-info h3 {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500
}

.sdash-stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-top: 2px;
    color: #1e293b
}

.dark-mode .sdash-stat-value {
    color: #e2e8f0
}

/* RECORDINGS GRID */
.sdash-recordings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.sdash-recording-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    text-decoration: none;
    color: inherit;
    display: block
}

.sdash-recording-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1)
}

.sdash-recording-thumb {
    height: 160px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    display: flex;
    align-items: center;
    justify-content: center
}

.sdash-recording-thumb i {
    font-size: 48px;
    color: rgba(255, 255, 255, .7)
}

.sdash-recording-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sdash-recording-info {
    padding: 14px 16px
}

.sdash-recording-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e293b
}

.sdash-recording-info p {
    font-size: 12px;
    color: #94a3b8
}

/* PAYMENTS TABLE */
.sdash-payments-table-wrap {
    overflow-x: auto
}

/* CONTACT */
.sdash-contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px
}

.sdash-contact-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .2s
}

.sdash-contact-card:hover {
    transform: translateY(-3px)
}

.sdash-contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4f46e5, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    overflow: hidden
}

.sdash-contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sdash-contact-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b
}

.sdash-contact-info p {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px
}

.sdash-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    background: #25d366;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s
}

.sdash-wa-btn:hover {
    background: #1ebe57;
    transform: translateY(-1px)
}

/* ANNOUNCEMENTS FULL */
.sdash-announcements {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.sdash-announcement {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 16px;
    border-left: 4px solid #4f46e5;
    transition: .2s
}

.sdash-announcement:hover {
    background: #f1f5f9
}

.sdash-announcement h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e293b
}

.sdash-announcement p {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5
}

.sdash-announcement-meta {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px
}

.sdash-announcement-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px
}

.sdash-announcement-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* DASHBOARD BUILDER */
.dbs-section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px
}

.dbs-section-row:last-child {
    border-bottom: none
}

.dbs-section-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1
}

.dbs-section-left input[type="text"] {
    flex: 1;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #1e293b;
    outline: none
}

.dbs-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #e2e8f0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s
}

.dbs-toggle.active {
    background: #4f46e5
}

.dbs-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.dbs-toggle.active::after {
    left: 22px
}

/* TEACHER ANNOUNCEMENTS */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.announcement-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .2s
}

.announcement-card:hover {
    transform: translateY(-2px)
}

.announcement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px
}

.announcement-card-header h3 {
    font-size: 16px;
    font-weight: 600
}

.announcement-card-actions {
    display: flex;
    gap: 6px
}

.announcement-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5
}

.announcement-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 12px
}

.announcement-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.announcement-card-meta {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 10px
}

/* NOTIFICATION DROPDOWN */
.student-notif-dropdown {
    position: fixed;
    top: 56px;
    right: 80px;
    z-index: 300;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    display: none
}

.student-notif-dropdown.active {
    display: block
}

.dark-mode .student-notif-dropdown {
    background: rgba(30, 30, 40, .95);
    border-color: rgba(255, 255, 255, .1)
}

/* RESPONSIVE */
@media(max-width:1200px) {
    .sdash-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sdash-col:nth-child(3) {
        grid-column: 1/-1
    }
}

@media(max-width:1024px) {
    .stn-center {
        display: none
    }

    .stn-hamburger {
        display: flex
    }

    .student-topnav.nav-open .stn-center {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 16px;
        gap: 2px;
        z-index: 300;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .1)
    }

    .dark-mode .student-topnav.nav-open .stn-center {
        background: rgba(30, 30, 40, .95)
    }

    .student-topnav.nav-open .stn-link {
        padding: 12px 16px;
        border-radius: 8px
    }

    .student-topnav.nav-open .stn-link.active::after {
        display: none
    }

    .student-topnav.nav-open .stn-link.active {
        background: rgba(79, 70, 229, .08)
    }

    .stn-user-info {
        display: none
    }
}

@media(max-width:900px) {
    .sdash-main-grid {
        grid-template-columns: 1fr
    }

    .sdash-recordings-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .student-app {
        padding: 16px
    }

    .sdash-att-layout {
        flex-direction: column;
        align-items: center
    }

    .sdash-recordings-grid {
        grid-template-columns: 1fr
    }

    .sdash-mini-stats {
        grid-template-columns: 1fr 1fr
    }
}