/* ============================================
   REVIZNOW MASTER STYLESHEET - RATIONALISED
   All page styles consolidated in one file
   ============================================ */

/* ----- TABLE OF CONTENTS -----
   1. CSS Variables & Reset
   2. Base Styles
   3. Accessibility
   4. Header
   5. Navigation
   6. Carousel
   7. Subject Large
   8. Dashboard Cards
   9. Privacy Bar
   10. Footer
   11. Lecture Page (stlec.php)
   12. AI Learning Objects (stilo.php)
   13. Past Papers (stpps.php)
   14. About Page (stabout.php)
   15. Settings Page (stset.php)
   16. Performance Page (stperf.php)
   17. Utility Classes
   ============================== */

/* ===== 1. CSS VARIABLES & RESET ===== */
:root {
    --reviz-primary: #4361ee;
    --reviz-primary-dark: #3a56d4;
    --reviz-secondary: #7209b7;
    --reviz-accent: #f72585;
    --reviz-gold: #f9c74f;
    --reviz-success: #4cc9f0;
    
    --reviz-dark: #0b0e1a;
    --reviz-dark-blue: #141829;
    --reviz-mid: #2a3050;
    --reviz-light: #f0f2f8;
    --reviz-card: #ffffff;
    --reviz-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --reviz-shadow-hover: 0 12px 48px rgba(67, 97, 238, 0.20);
    --reviz-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--reviz-font);
    background: var(--reviz-light);
    color: var(--reviz-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

.wrapper { flex: 1 0 auto; }
a { text-decoration: none; }

/* ===== 2. ACCESSIBILITY ===== */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--reviz-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--reviz-gold);
    color: var(--reviz-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ===== 3. HEADER ===== */
.reviz-header {
    background: linear-gradient(135deg, #0b0e1a 0%, #1a1f35 50%, #141829 100%);
    padding: 1.8rem 0;
    border-bottom: 5px solid var(--reviz-secondary);
    position: relative;
    overflow: hidden;
}
.reviz-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.reviz-header .container { position: relative; z-index: 1; }
.reviz-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: -1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(67, 97, 238, 0.3);
}
.reviz-header h1 i {
    color: var(--reviz-gold);
    font-size: 3rem;
    filter: drop-shadow(0 0 12px rgba(249, 199, 79, 0.3));
}
.reviz-header .subject-title {
    font-weight: 500;
    font-size: 2rem;
    margin: 0;
    color: #a78bfa;
    border-left: 3px solid rgba(167, 139, 250, 0.3);
    padding-left: 1.5rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.reviz-header .subject-title i {
    color: var(--reviz-success);
    margin-right: 0.5rem;
}
@media (max-width: 768px) {
    .reviz-header h1 { font-size: 2rem; }
    .reviz-header h1 i { font-size: 2.2rem; }
    .reviz-header .subject-title { font-size: 1.3rem; padding-left: 1rem; border-left: 2px solid rgba(167, 139, 250, 0.3); }
}
@media (max-width: 576px) {
    .reviz-header { padding: 1.2rem 0; }
    .reviz-header h1 { font-size: 1.6rem; }
    .reviz-header .subject-title { font-size: 1rem; padding-left: 0.6rem; }
}

/* ===== 4. NAVIGATION ===== */
.navbar-reviz {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 0.6rem 0;
    border-bottom: 3px solid var(--reviz-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar-reviz .navbar-nav { justify-content: center; width: 100%; }
.navbar-reviz .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    transition: all 0.25s ease;
    margin: 0 0.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}
.navbar-reviz .nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}
.navbar-reviz .nav-link:hover {
    background: rgba(114, 9, 183, 0.3);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.navbar-reviz .nav-link:hover i { transform: scale(1.15); }
.navbar-reviz .nav-link.active {
    background: var(--reviz-secondary);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.4);
}
.navbar-reviz .nav-link.active i { color: var(--reviz-gold); }
.navbar-reviz .navbar-toggler { border: 2px solid rgba(255, 255, 255, 0.3); padding: 0.5rem 0.8rem; }
.navbar-reviz .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 768px) {
    .navbar-reviz .nav-link { padding: 0.6rem 1rem; font-size: 0.9rem; }
    .navbar-reviz .navbar-nav { justify-content: flex-start; }
}

/* ===== 5. CAROUSEL ===== */
.carousel-reviz {
    background: var(--reviz-card);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.08);
    margin-bottom: 2.5rem;
    transition: box-shadow 0.3s ease;
}
.carousel-reviz:hover { box-shadow: var(--reviz-shadow-hover); }
.carousel-reviz .carousel-item {
    border-radius: 20px;
    overflow: hidden;
    min-height: 350px;
    padding: 0;
    position: relative;
}
.carousel-reviz .carousel-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.carousel-reviz .carousel-item .carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2.5rem 2rem 2rem;
    color: #ffffff;
}
.carousel-reviz .carousel-item .carousel-overlay h4 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.carousel-reviz .carousel-item .carousel-overlay h4 i {
    margin-right: 10px;
    color: var(--reviz-gold);
}
.carousel-reviz .carousel-item .carousel-overlay p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
}
.carousel-reviz .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.carousel-reviz .carousel-indicators .active {
    background-color: var(--reviz-gold);
    border-color: #ffffff;
    transform: scale(1.2);
}
.carousel-reviz .carousel-control-prev-icon,
.carousel-reviz .carousel-control-next-icon {
    background-color: rgba(114, 9, 183, 0.7);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 60%;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.carousel-reviz .carousel-control-prev-icon:hover,
.carousel-reviz .carousel-control-next-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: var(--reviz-secondary);
}
@media (max-width: 768px) {
    .carousel-reviz .carousel-item { min-height: 250px; }
    .carousel-reviz .carousel-item img { height: 250px; }
    .carousel-reviz .carousel-item .carousel-overlay h4 { font-size: 1.4rem; }
}

/* ===== 6. SUBJECT LARGE ===== */
.subject-large {
    color: var(--reviz-dark);
    letter-spacing: -0.5px;
    font-weight: 800;
    font-size: 3.2rem;
}
.subject-large i {
    color: var(--reviz-secondary);
    margin-right: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(114, 9, 183, 0.2));
}
@media (max-width: 768px) { .subject-large { font-size: 2.2rem; } }

/* ===== 7. DASHBOARD CARDS ===== */
.dash-card {
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    box-shadow: var(--reviz-shadow);
    transition: all 0.3s ease;
    height: 100%;
    color: #ffffff;
    border: none;
}
.dash-card:hover {
    box-shadow: var(--reviz-shadow-hover);
    transform: translateY(-6px);
}
.dash-card i {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}
.dash-card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.dash-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.dash-card.card-purple { background: linear-gradient(135deg, #7209b7 0%, #9d4edd 100%); }
.dash-card.card-blue { background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%); }
.dash-card.card-green { background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%); }
.dash-card.card-orange { background: linear-gradient(135deg, #f8961e 0%, #f9c74f 100%); }
.dash-card.card-pink { background: linear-gradient(135deg, #f72585 0%, #b5179e 100%); }
.dash-card.card-teal { background: linear-gradient(135deg, #0f7173 0%, #23b5b5 100%); }

/* ===== 8. PRIVACY BAR ===== */
.privacy-bar-wrapper {
    background: var(--reviz-dark-blue);
    padding: 1rem 0;
    border-top: 3px solid var(--reviz-secondary);
    border-bottom: 2px solid rgba(167, 139, 250, 0.1);
    margin-top: 2rem;
}
.privacy-bar {
    background: linear-gradient(135deg, #252b42 0%, #2a3050 100%);
    padding: 1rem 1.5rem;
    color: #c8d0e6;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(167, 139, 250, 0.15);
    width: 100%;
}
.privacy-bar .brand-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}
.privacy-bar .brand-info i {
    color: var(--reviz-gold);
    font-size: 1.6rem;
}
.privacy-bar .brand-info span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}
.privacy-bar .brand-info small {
    color: #a8b4d6;
    font-weight: 400;
    font-size: 0.9rem;
}
.privacy-bar .links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.privacy-bar .links a {
    color: #b8c4e6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.privacy-bar .links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}
.privacy-bar .links a i { font-size: 1.1rem; }
.privacy-bar .support-email {
    color: #a8b4d6;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.privacy-bar .support-email i { color: var(--reviz-success); }
@media (max-width: 768px) {
    .privacy-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
        border-radius: 12px;
    }
    .privacy-bar .brand-info { justify-content: center; }
    .privacy-bar .links { justify-content: center; gap: 1rem; }
}

/* ===== 9. FOOTER ===== */
.footer-reviz {
    background: var(--reviz-dark);
    color: #8892b0;
    padding: 1.5rem 0 1.2rem;
    border-top: 3px solid var(--reviz-secondary);
}
.footer-reviz p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ===== 10. LECTURE PAGE (stlec.php) ===== */
.section-block {
    border-radius: 28px;
    padding: 1.8rem 1.8rem 1.2rem;
    box-shadow: var(--reviz-shadow);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: box-shadow 0.3s ease;
}
.section-block:hover { box-shadow: var(--reviz-shadow-hover); }

.section-block.section-1 { background: linear-gradient(135deg, #f8f4ff 0%, #ede6f7 100%); border-left: 5px solid #7209b7; }
.section-block.section-2 { background: linear-gradient(135deg, #f0f7ff 0%, #e3efff 100%); border-left: 5px solid #4361ee; }
.section-block.section-3 { background: linear-gradient(135deg, #f0faf6 0%, #e0f2e8 100%); border-left: 5px solid #06d6a0; }
.section-block.section-4 { background: linear-gradient(135deg, #f8f4ff 0%, #ede6f7 100%); border-left: 5px solid #7209b7; }
.section-block.section-5 { background: linear-gradient(135deg, #f0f7ff 0%, #e3efff 100%); border-left: 5px solid #4361ee; }

.section-title {
    font-weight: 700;
    color: var(--reviz-dark);
    border-bottom: 3px solid var(--reviz-secondary);
    padding-bottom: 0.8rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}
.section-title i {
    color: var(--reviz-secondary);
    font-size: 1.8rem;
}

/* Section Announcements */
.section-announcement {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    border-left: 4px solid var(--reviz-secondary);
    font-size: 0.95rem;
    color: #4a5a7a;
}
.section-announcement i {
    font-size: 1.4rem;
    color: var(--reviz-secondary);
    flex-shrink: 0;
}
.section-announcement strong { color: var(--reviz-dark); }
.section-announcement.announcement-info { background: linear-gradient(135deg, #f0f7ff, #e3efff); border-left-color: #4361ee; }
.section-announcement.announcement-info i { color: #4361ee; }
.section-announcement.announcement-success { background: linear-gradient(135deg, #f0faf6, #e0f2e8); border-left-color: #06d6a0; }
.section-announcement.announcement-success i { color: #06d6a0; }
.section-announcement.announcement-warning { background: linear-gradient(135deg, #fef9f0, #fdf0e0); border-left-color: #f8961e; }
.section-announcement.announcement-warning i { color: #f8961e; }
.section-announcement.announcement-danger { background: linear-gradient(135deg, #fde8e8, #fccfcf); border-left-color: #dc3545; }
.section-announcement.announcement-danger i { color: #dc3545; }

/* Lecture Items - Updated with clear Assessment button */
.lecture-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    transition: all 0.2s ease;
    flex-wrap: wrap;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.lecture-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.lecture-item .lecture-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 200px;
}
.lecture-item .lecture-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lecture-link {
    font-weight: 600;
    color: var(--reviz-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}
.lecture-link i {
    font-size: 1.2rem;
    color: var(--reviz-secondary);
    transition: transform 0.2s ease;
}
.lecture-link:hover {
    color: var(--reviz-primary-dark);
    text-decoration: underline;
}
.lecture-link:hover i { transform: scale(1.15); }

/* Action Buttons - Video & Notes as Icons, Assessment as Text Button */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
}

/* Video Button - Icon only */
.action-btn.btn-video {
    width: 36px;
    height: 36px;
    background: #ff0000;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 50%;
}
.action-btn.btn-video:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.3);
}

/* Notes Button - Icon only */
.action-btn.btn-notes {
    width: 36px;
    height: 36px;
    background: #2d7d46;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 50%;
}
.action-btn.btn-notes:hover {
    background: #1a5c30;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 125, 70, 0.3);
}

/* Assessment Button - Clear Text Button (Most Prominent) */
.action-btn.btn-assessment {
    background: linear-gradient(135deg, var(--reviz-primary), var(--reviz-secondary));
    color: #ffffff;
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
}
.action-btn.btn-assessment i { margin-right: 0.4rem; }
.action-btn.btn-assessment:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 24px rgba(67, 97, 238, 0.4);
    color: #ffffff;
}

/* Coming Soon - Disabled state */
.action-btn.btn-coming-soon {
    background: #e4e9f2;
    color: #6c7a9a;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
}
.action-btn.btn-coming-soon i { margin-right: 0.3rem; }

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f8961e;
    background: rgba(248, 150, 30, 0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.coming-soon-badge i { font-size: 0.7rem; }

.lecture-item.coming-soon {
    opacity: 0.7;
    background: rgba(248, 150, 30, 0.05);
    border: 1px dashed rgba(248, 150, 30, 0.3);
}
.lecture-item.coming-soon:hover {
    transform: none;
    background: rgba(248, 150, 30, 0.08);
}

/* End of Section Test */
.section-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(114, 9, 183, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}
.section-footer .test-warning {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #6c757d;
    font-size: 0.9rem;
}
.section-footer .test-warning i {
    color: var(--reviz-accent);
    font-size: 1.2rem;
}
.end-section-btn {
    background: linear-gradient(135deg, #f72585, #b5179e);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 0.8rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.4);
    animation: pulse-glow 2s infinite;
}
.end-section-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(247, 37, 133, 0.5);
    color: white;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 4px 20px rgba(247, 37, 133, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(247, 37, 133, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(247, 37, 133, 0.4); }
}

@media (max-width: 768px) {
    .lecture-item {
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.5);
        padding: 0.8rem;
        border-radius: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .lecture-item .lecture-info { justify-content: space-between; width: 100%; }
    .lecture-item .lecture-actions {
        justify-content: flex-start;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        gap: 0.4rem;
    }
    .section-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .section-footer .test-warning { justify-content: center; }
    .end-section-btn { width: 100%; justify-content: center; }
    .section-announcement { font-size: 0.85rem; padding: 0.6rem 1rem; }
    .action-btn.btn-assessment { font-size: 0.75rem; padding: 0.4rem 1rem; }
}

@media (max-width: 576px) {
    .action-btn.btn-video,
    .action-btn.btn-notes {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .action-btn.btn-assessment { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
    .lecture-item .lecture-actions { gap: 0.3rem; }
}

/* ===== 11. AI LEARNING OBJECTS (stilo.php) ===== */
.ilo-subtitle {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--reviz-gold);
    box-shadow: var(--reviz-shadow);
}
.ilo-subtitle h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ilo-subtitle h3 i {
    color: var(--reviz-gold);
    font-size: 1.8rem;
}
.ilo-subtitle p {
    color: #b8c4e6;
    margin: 0.3rem 0 0 0;
    font-size: 1rem;
}
.ilo-intro {
    background: var(--reviz-card);
    border-radius: 20px;
    padding: 1.2rem 2rem;
    box-shadow: var(--reviz-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(67, 97, 238, 0.08);
}
.ilo-intro p {
    color: #4a5a7a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.ilo-intro .how-to {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eef2f9;
}
.ilo-intro .how-to span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5a7a;
    font-size: 0.9rem;
}
.ilo-intro .how-to span i {
    color: var(--reviz-success);
    font-size: 1rem;
}
.ilo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--reviz-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    border: none;
}
.ilo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--reviz-shadow-hover);
}
.ilo-card.card-purple { background: linear-gradient(145deg, #7209b7 0%, #9d4edd 100%); }
.ilo-card.card-blue { background: linear-gradient(145deg, #4361ee 0%, #4cc9f0 100%); }
.ilo-card.card-green { background: linear-gradient(145deg, #06d6a0 0%, #118ab2 100%); }
.ilo-card.card-orange { background: linear-gradient(145deg, #f8961e 0%, #f9c74f 100%); }
.ilo-card.card-pink { background: linear-gradient(145deg, #f72585 0%, #b5179e 100%); }
.ilo-card.card-teal { background: linear-gradient(145deg, #0f7173 0%, #23b5b5 100%); }
.ilo-card.card-red { background: linear-gradient(145deg, #d62828 0%, #e63946 100%); }
.ilo-card.card-indigo { background: linear-gradient(145deg, #4a4e69 0%, #22223b 100%); }
.ilo-card .card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: rgba(0, 0, 0, 0.1);
}
.ilo-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.85;
}
.ilo-card:hover .card-image img { transform: scale(1.05); }
.ilo-card .card-image .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--reviz-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.ilo-card:hover .card-image .overlay-icon { opacity: 1; }
.ilo-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ilo-card .card-body .card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
}
.ilo-card .card-body .card-title i {
    margin-right: 0.5rem;
    opacity: 0.9;
}
.ilo-card .card-body .card-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}
.ilo-card .card-body .card-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}
.ilo-card .card-body .card-footer-link {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ilo-card .card-body .card-footer-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.ilo-card .card-body .card-footer-link a:hover {
    background: rgba(255, 255, 255, 0.35);
    gap: 0.8rem;
    transform: translateX(4px);
}
.ilo-card .card-body .card-footer-link .badge-ilo {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
    .ilo-subtitle { padding: 1rem; }
    .ilo-subtitle h3 { font-size: 1.2rem; flex-wrap: wrap; }
    .ilo-subtitle h3 i { font-size: 1.4rem; }
    .ilo-subtitle p { font-size: 0.9rem; }
    .ilo-intro { padding: 1rem; }
    .ilo-intro p { font-size: 0.9rem; }
    .ilo-intro .how-to { gap: 0.3rem 1rem; }
    .ilo-intro .how-to span { font-size: 0.85rem; }
    .ilo-card .card-image { height: 160px; }
    .ilo-card .card-image .overlay-icon { width: 50px; height: 50px; font-size: 1.5rem; }
}
@media (max-width: 576px) {
    .ilo-card .card-image { height: 140px; }
    .ilo-card .card-body .card-text { font-size: 0.85rem; }
}

/* ===== 12. PAST PAPERS (stpps.php) ===== */
.papers-subtitle {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--reviz-gold);
    box-shadow: var(--reviz-shadow);
}
.papers-subtitle h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.papers-subtitle h3 i {
    color: var(--reviz-gold);
    font-size: 1.8rem;
}
.papers-subtitle p {
    color: #b8c4e6;
    margin: 0.3rem 0 0 0;
    font-size: 1rem;
}
.paper-section {
    border-radius: 24px;
    padding: 1.8rem 1.8rem 1.5rem;
    box-shadow: var(--reviz-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
}
.paper-section:hover { box-shadow: var(--reviz-shadow-hover); }
.paper-section.section-1 { background: linear-gradient(135deg, #f8f4ff 0%, #ede6f7 100%); border-left: 5px solid #7209b7; }
.paper-section.section-2 { background: linear-gradient(135deg, #f0f7ff 0%, #e3efff 100%); border-left: 5px solid #4361ee; }
.paper-section.section-3 { background: linear-gradient(135deg, #f0faf6 0%, #e0f2e8 100%); border-left: 5px solid #06d6a0; }
.paper-section.section-4 { background: linear-gradient(135deg, #fef9f0 0%, #fdf0e0 100%); border-left: 5px solid #f8961e; }
.paper-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.paper-section .section-header h3 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}
.paper-section .section-header h3 i {
    color: var(--reviz-secondary);
    font-size: 1.6rem;
}
.paper-section .section-header .paper-count {
    font-size: 0.85rem;
    color: #5a6a8a;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}
.paper-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    transition: all 0.25s ease;
    flex-wrap: wrap;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.paper-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.paper-item .paper-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}
.paper-item .paper-info .paper-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: #ffffff;
}
.paper-item .paper-info .paper-icon.icon-purple { background: linear-gradient(135deg, #7209b7, #9d4edd); }
.paper-item .paper-info .paper-icon.icon-blue { background: linear-gradient(135deg, #4361ee, #4cc9f0); }
.paper-item .paper-info .paper-icon.icon-green { background: linear-gradient(135deg, #06d6a0, #118ab2); }
.paper-item .paper-info .paper-icon.icon-orange { background: linear-gradient(135deg, #f8961e, #f9c74f); }
.paper-item .paper-info .paper-icon.icon-pink { background: linear-gradient(135deg, #f72585, #b5179e); }
.paper-item .paper-info .paper-icon.icon-teal { background: linear-gradient(135deg, #0f7173, #23b5b5); }
.paper-item .paper-info .paper-details { flex: 1; }
.paper-item .paper-info .paper-details .paper-name {
    font-weight: 600;
    color: var(--reviz-dark);
    font-size: 1rem;
}
.paper-item .paper-info .paper-details .paper-meta {
    font-size: 0.8rem;
    color: #6c7a9a;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.1rem;
}
.paper-item .paper-info .paper-details .paper-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.paper-item .paper-info .paper-details .paper-meta i { font-size: 0.85rem; }
.paper-item .paper-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.paper-item .paper-actions .btn-download {
    background: var(--reviz-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.4rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.paper-item .paper-actions .btn-download:hover {
    background: var(--reviz-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.3);
    color: #ffffff;
}
.paper-item .paper-actions .btn-view {
    background: rgba(255, 255, 255, 0.8);
    color: var(--reviz-dark);
    border: 1px solid #d5ddee;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.paper-item .paper-actions .btn-view:hover {
    background: var(--reviz-secondary);
    color: #ffffff;
    border-color: var(--reviz-secondary);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .papers-subtitle { padding: 1rem; }
    .papers-subtitle h3 { font-size: 1.2rem; flex-wrap: wrap; }
    .papers-subtitle h3 i { font-size: 1.4rem; }
    .papers-subtitle p { font-size: 0.9rem; }
    .paper-section { padding: 1.2rem; }
    .paper-section .section-header h3 { font-size: 1.2rem; }
    .paper-item { flex-direction: column; align-items: stretch; padding: 0.8rem; }
    .paper-item .paper-info { flex: 1; }
    .paper-item .paper-actions {
        justify-content: flex-start;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    .paper-item .paper-actions .btn-download,
    .paper-item .paper-actions .btn-view { flex: 1; justify-content: center; }
}
@media (max-width: 576px) {
    .paper-item .paper-info .paper-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .paper-item .paper-info .paper-details .paper-name { font-size: 0.9rem; }
    .paper-item .paper-info .paper-details .paper-meta { font-size: 0.75rem; gap: 0.5rem; }
}

/* ===== 13. ABOUT PAGE (stabout.php) ===== */
.about-subtitle {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--reviz-gold);
    box-shadow: var(--reviz-shadow);
}
.about-subtitle h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.about-subtitle h3 i {
    color: var(--reviz-gold);
    font-size: 1.8rem;
}
.about-subtitle p {
    color: #b8c4e6;
    margin: 0.3rem 0 0 0;
    font-size: 1rem;
}
.about-section {
    background: var(--reviz-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--reviz-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
}
.about-section:hover { box-shadow: var(--reviz-shadow-hover); }
.about-section .section-icon {
    font-size: 2.5rem;
    color: var(--reviz-secondary);
    margin-bottom: 1rem;
}
.about-section h4 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.about-section h4 i { color: var(--reviz-secondary); }
.about-section p {
    color: #4a5a7a;
    line-height: 1.8;
    font-size: 1.05rem;
}
.about-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.about-section ul li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #4a5a7a;
    line-height: 1.6;
    border-bottom: 1px solid #f0f2f8;
}
.about-section ul li:last-child { border-bottom: none; }
.about-section ul li i {
    color: var(--reviz-success);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.about-section ul li .highlight {
    color: var(--reviz-primary);
    font-weight: 600;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8faff;
    border-radius: 16px;
    transition: all 0.3s ease;
}
.feature-item:hover {
    background: #edf2ff;
    transform: translateY(-4px);
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--reviz-secondary);
    margin-bottom: 0.8rem;
}
.feature-item h6 {
    font-weight: 600;
    color: var(--reviz-dark);
    margin-bottom: 0.3rem;
}
.feature-item p {
    font-size: 0.85rem;
    color: #6c7a9a;
    margin: 0;
}
.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.syllabus-item {
    background: #f8faff;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--reviz-secondary);
    transition: all 0.3s ease;
}
.syllabus-item:hover {
    background: #edf2ff;
    transform: translateX(4px);
}
.syllabus-item h6 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin-bottom: 0.3rem;
}
.syllabus-item h6 i {
    color: var(--reviz-secondary);
    margin-right: 0.5rem;
}
.syllabus-item p {
    font-size: 0.9rem;
    color: #6c7a9a;
    margin: 0;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    border-radius: 16px;
}
.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--reviz-secondary);
}
.stat-item .label {
    font-size: 0.9rem;
    color: #6c7a9a;
    margin-top: 0.2rem;
}
.mission-card {
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(114, 9, 183, 0.1);
}
.mission-card i {
    font-size: 2rem;
    color: var(--reviz-secondary);
    margin-bottom: 0.8rem;
}
.mission-card h5 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin-bottom: 0.5rem;
}
.mission-card p {
    color: #4a5a7a;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .about-subtitle { padding: 1rem; }
    .about-subtitle h3 { font-size: 1.2rem; flex-wrap: wrap; }
    .about-subtitle h3 i { font-size: 1.4rem; }
    .about-subtitle p { font-size: 0.9rem; }
    .about-section { padding: 1.2rem; }
    .about-section p { font-size: 0.95rem; }
    .about-section h4 { font-size: 1.2rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .syllabus-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .feature-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat-item .number { font-size: 2rem; }
}

/* ===== 14. SETTINGS PAGE (stset.php) ===== */
.settings-subtitle {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--reviz-gold);
    box-shadow: var(--reviz-shadow);
}
.settings-subtitle h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.settings-subtitle h3 i {
    color: var(--reviz-gold);
    font-size: 1.8rem;
}
.settings-subtitle p {
    color: #b8c4e6;
    margin: 0.3rem 0 0 0;
    font-size: 1rem;
}
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 992px) {
    .settings-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.profile-card {
    background: var(--reviz-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
}
.profile-card:hover { box-shadow: var(--reviz-shadow-hover); }
.profile-card .profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f2f8;
}
.profile-card .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--reviz-secondary), var(--reviz-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(114, 9, 183, 0.3);
}
.profile-card .profile-info h4 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0 0 0.2rem 0;
}
.profile-card .profile-info .profile-role {
    color: #6c7a9a;
    font-size: 0.9rem;
    margin: 0;
}
.profile-card .profile-info .profile-role i {
    color: var(--reviz-gold);
    margin-right: 0.3rem;
}
.profile-card .profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 576px) {
    .profile-card .profile-details { grid-template-columns: 1fr; }
}
.profile-card .profile-details .detail-item {
    padding: 0.8rem;
    background: #f8faff;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.profile-card .profile-details .detail-item:hover { background: #edf2ff; }
.profile-card .profile-details .detail-item .detail-label {
    font-size: 0.75rem;
    color: #6c7a9a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}
.profile-card .profile-details .detail-item .detail-value {
    font-weight: 600;
    color: var(--reviz-dark);
    font-size: 1rem;
}
.profile-card .profile-details .detail-item .detail-value i {
    color: var(--reviz-success);
    font-size: 0.8rem;
    margin-left: 0.3rem;
}
.profile-card .profile-details .detail-item .detail-value.text-muted {
    color: #6c7a9a;
    font-weight: 400;
}
.btn-edit-profile {
    background: linear-gradient(135deg, var(--reviz-primary), var(--reviz-secondary));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
}
.btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.3);
    color: #ffffff;
}
.password-card {
    background: var(--reviz-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
}
.password-card:hover { box-shadow: var(--reviz-shadow-hover); }
.password-card .password-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f2f8;
}
.password-card .password-header h4 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.password-card .password-header h4 i { color: var(--reviz-secondary); }
.password-card .password-header p {
    color: #6c7a9a;
    font-size: 0.9rem;
    margin: 0.3rem 0 0 0;
}
.settings-form .form-group { margin-bottom: 1.2rem; }
.settings-form .form-group label {
    font-weight: 600;
    color: var(--reviz-dark);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}
.settings-form .form-group label .required {
    color: var(--reviz-accent);
    margin-left: 0.2rem;
}
.settings-form .form-group .input-group-text {
    background: #f8faff;
    border: 2px solid #e4e9f2;
    border-right: none;
    color: #6c7a9a;
}
.settings-form .form-control {
    border: 2px solid #e4e9f2;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background: #fafcff;
}
.settings-form .form-control:focus {
    border-color: var(--reviz-primary);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    background: #ffffff;
}
.settings-form .form-text {
    font-size: 0.8rem;
    color: #6c7a9a;
    margin-top: 0.3rem;
}
.settings-form .form-text i { color: var(--reviz-success); }
.password-strength {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.password-strength .strength-bar {
    flex: 1;
    height: 4px;
    background: #e4e9f2;
    border-radius: 4px;
    overflow: hidden;
}
.password-strength .strength-bar .strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}
.password-strength .strength-bar .strength-fill.weak { width: 25%; background: #dc3545; }
.password-strength .strength-bar .strength-fill.medium { width: 50%; background: #f8961e; }
.password-strength .strength-bar .strength-fill.strong { width: 75%; background: #4361ee; }
.password-strength .strength-bar .strength-fill.very-strong { width: 100%; background: #06d6a0; }
.password-strength .strength-text {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}
.password-strength .strength-text.weak { color: #dc3545; }
.password-strength .strength-text.medium { color: #f8961e; }
.password-strength .strength-text.strong { color: #4361ee; }
.password-strength .strength-text.very-strong { color: #06d6a0; }
.password-requirements {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1rem;
}
@media (max-width: 576px) {
    .password-requirements { grid-template-columns: 1fr; }
}
.password-requirements li {
    font-size: 0.8rem;
    color: #6c7a9a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0;
}
.password-requirements li i { font-size: 0.9rem; transition: all 0.2s ease; }
.password-requirements li .bi-check-circle { color: var(--reviz-success); }
.password-requirements li .bi-x-circle { color: #dc3545; }
.password-requirements li.fulfilled { color: var(--reviz-success); }
.password-requirements li.unfulfilled { color: #dc3545; }
.btn-update-password {
    background: linear-gradient(135deg, var(--reviz-secondary), var(--reviz-accent));
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
}
.btn-update-password:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.3);
    color: #ffffff;
}
.btn-update-password:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
.session-info {
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(114, 9, 183, 0.1);
}
.session-info h6 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.session-info h6 i { color: var(--reviz-secondary); }
.session-info .session-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.session-info .session-details span {
    font-size: 0.85rem;
    color: #4a5a7a;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.session-info .session-details span i {
    color: var(--reviz-secondary);
    font-size: 0.9rem;
}
.settings-alert {
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
}
.settings-alert i { font-size: 1.2rem; }
.settings-alert.alert-success {
    background: linear-gradient(135deg, #e0f2e8, #c8f0e0);
    color: #0f7173;
}
.settings-alert.alert-danger {
    background: linear-gradient(135deg, #fde8e8, #fccfcf);
    color: #c0392b;
}
.settings-alert.alert-info {
    background: linear-gradient(135deg, #e3efff, #c8dfff);
    color: #2c5f8a;
}
@media (max-width: 768px) {
    .settings-subtitle { padding: 1rem; }
    .settings-subtitle h3 { font-size: 1.2rem; flex-wrap: wrap; }
    .settings-subtitle h3 i { font-size: 1.4rem; }
    .settings-subtitle p { font-size: 0.9rem; }
    .profile-card { padding: 1.2rem; }
    .profile-card .profile-header { flex-direction: column; text-align: center; gap: 1rem; }
    .password-card { padding: 1.2rem; }
    .session-info .session-details { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 576px) {
    .profile-card .profile-avatar { width: 64px; height: 64px; font-size: 2rem; }
    .profile-card .profile-info h4 { font-size: 1.1rem; }
}

/* ===== 15. PERFORMANCE PAGE (stperf.php) ===== */
.performance-subtitle {
    background: linear-gradient(135deg, #1a1f35 0%, #2a3050 100%);
    padding: 1.2rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--reviz-gold);
    box-shadow: var(--reviz-shadow);
}
.performance-subtitle h3 {
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.performance-subtitle h3 i {
    color: var(--reviz-gold);
    font-size: 1.8rem;
}
.performance-subtitle p {
    color: #b8c4e6;
    margin: 0.3rem 0 0 0;
    font-size: 1rem;
}
.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 992px) {
    .perf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 576px) {
    .perf-stats-grid { grid-template-columns: 1fr; }
}
.perf-stat-card {
    background: var(--reviz-card);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.perf-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--reviz-shadow-hover);
}
.perf-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.perf-stat-card.card-lectures::before { background: linear-gradient(90deg, #7209b7, #9d4edd); }
.perf-stat-card.card-assignments::before { background: linear-gradient(90deg, #4361ee, #4cc9f0); }
.perf-stat-card.card-ilo::before { background: linear-gradient(90deg, #06d6a0, #118ab2); }
.perf-stat-card.card-papers::before { background: linear-gradient(90deg, #f8961e, #f9c74f); }
.perf-stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}
.perf-stat-card .stat-icon.lectures { color: #7209b7; }
.perf-stat-card .stat-icon.assignments { color: #4361ee; }
.perf-stat-card .stat-icon.ilo { color: #06d6a0; }
.perf-stat-card .stat-icon.papers { color: #f8961e; }
.perf-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--reviz-dark);
    line-height: 1.2;
}
.perf-stat-card .stat-label {
    font-size: 0.95rem;
    color: #6c7a9a;
    font-weight: 500;
}
.perf-stat-card .stat-detail {
    font-size: 0.8rem;
    color: #6c7a9a;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f2f8;
}
.perf-stat-card .stat-detail .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 600;
}
.perf-stat-card .stat-detail .stat-change.up { color: #06d6a0; }
.perf-stat-card .stat-detail .stat-change.down { color: #dc3545; }
.perf-stat-card .stat-detail .stat-change.neutral { color: #f8961e; }
.progress-section {
    background: var(--reviz-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.06);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}
.progress-section:hover { box-shadow: var(--reviz-shadow-hover); }
.progress-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f2f8;
}
.progress-section .section-header h4 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.progress-section .section-header h4 i { color: var(--reviz-secondary); }
.progress-section .section-header .progress-overall {
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--reviz-dark);
    font-size: 0.9rem;
}
.progress-item { margin-bottom: 1.2rem; }
.progress-item:last-child { margin-bottom: 0; }
.progress-item .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}
.progress-item .progress-header .progress-label {
    font-weight: 600;
    color: var(--reviz-dark);
    font-size: 0.95rem;
}
.progress-item .progress-header .progress-label i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}
.progress-item .progress-header .progress-value {
    font-weight: 700;
    color: var(--reviz-dark);
    font-size: 0.95rem;
}
.progress-item .progress-bar-track {
    width: 100%;
    height: 10px;
    background: #f0f2f8;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.progress-item .progress-bar-track .progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease;
    position: relative;
}
.progress-item .progress-bar-track .progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.progress-bar-fill.purple { background: linear-gradient(90deg, #7209b7, #9d4edd); }
.progress-bar-fill.blue { background: linear-gradient(90deg, #4361ee, #4cc9f0); }
.progress-bar-fill.green { background: linear-gradient(90deg, #06d6a0, #118ab2); }
.progress-bar-fill.orange { background: linear-gradient(90deg, #f8961e, #f9c74f); }
.progress-bar-fill.pink { background: linear-gradient(90deg, #f72585, #b5179e); }
.progress-bar-fill.teal { background: linear-gradient(90deg, #0f7173, #23b5b5); }
.progress-bar-fill.cyan { background: linear-gradient(90deg, #4cc9f0, #4895ef); }
.graphs-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (max-width: 992px) {
    .graphs-section { grid-template-columns: 1fr; gap: 1.5rem; }
}
.graph-card {
    background: var(--reviz-card);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--reviz-shadow);
    border: 1px solid rgba(67, 97, 238, 0.06);
    transition: all 0.3s ease;
}
.graph-card:hover { box-shadow: var(--reviz-shadow-hover); }
.graph-card .graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f2f8;
}
.graph-card .graph-header h5 {
    font-weight: 700;
    color: var(--reviz-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.graph-card .graph-header h5 i { color: var(--reviz-secondary); }
.graph-card .graph-header .graph-badge {
    font-size: 0.7rem;
    background: #f8faff;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    color: #6c7a9a;
}
.bar-chart {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0.5rem;
    padding: 0.5rem 0;
}
.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}
.bar-item .bar {
    width: 100%;
    max-width: 40px;
    border-radius: 6px 6px 0 0;
    transition: height 1.5s ease;
    min-height: 4px;
}
.bar-item .bar.purple { background: linear-gradient(180deg, #9d4edd, #7209b7); }
.bar-item .bar.blue { background: linear-gradient(180deg, #4cc9f0, #4361ee); }
.bar-item .bar.green { background: linear-gradient(180deg, #118ab2, #06d6a0); }
.bar-item .bar.orange { background: linear-gradient(180deg, #f9c74f, #f8961e); }
.bar-item .bar.pink { background: linear-gradient(180deg, #b5179e, #f72585); }
.bar-item .bar-label {
    font-size: 0.7rem;
    color: #6c7a9a;
    margin-top: 0.3rem;
    text-align: center;
    font-weight: 500;
}
.line-chart {
    width: 100%;
    height: 180px;
    position: relative;
    padding: 0.5rem 0;
}
.line-chart .chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0.5rem;
}
.line-chart .chart-grid .grid-line {
    border-bottom: 1px dashed #eef2f9;
    width: 100%;
    height: 0;
}
.line-chart .chart-grid .grid-line:last-child { border-bottom: none; }
.line-chart .chart-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 0 0.5rem;
}
.line-chart .chart-points .point {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--reviz-secondary);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(114, 9, 183, 0.3);
    transform: translateY(6px);
    cursor: pointer;
    transition: all 0.3s ease;
}
.line-chart .chart-points .point:hover { transform: translateY(6px) scale(1.3); }
.performance-summary {
    background: linear-gradient(135deg, #f8f4ff, #ede6f7);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(114, 9, 183, 0.1);
    margin-top: 0.5rem;
}
.performance-summary .summary-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.performance-summary .summary-item .summary-icon {
    font-size: 1.8rem;
    color: var(--reviz-secondary);
}
.performance-summary .summary-item .summary-text {
    font-size: 0.9rem;
    color: #4a5a7a;
}
.performance-summary .summary-item .summary-text strong { color: var(--reviz-dark); }
.performance-summary .summary-item .summary-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--reviz-secondary);
}
@media (max-width: 768px) {
    .performance-subtitle { padding: 1rem; }
    .performance-subtitle h3 { font-size: 1.2rem; flex-wrap: wrap; }
    .performance-subtitle h3 i { font-size: 1.4rem; }
    .performance-subtitle p { font-size: 0.9rem; }
    .progress-section { padding: 1.2rem; }
    .graph-card { padding: 1rem; }
    .performance-summary { flex-direction: column; text-align: center; padding: 1.2rem; }
    .performance-summary .summary-item { justify-content: center; }
    .bar-item .bar { max-width: 30px; }
}
@media (max-width: 576px) {
    .perf-stat-card .stat-number { font-size: 2rem; }
    .bar-item .bar { max-width: 24px; }
    .bar-item .bar-label { font-size: 0.6rem; }
}

/* ===== 16. UTILITY CLASSES ===== */
.text-gold { color: var(--reviz-gold); }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }