/* Material Symbols font removed — school icon uses SVG (.school-icon-svg) */

/* assets/css/style.css - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8B5CF6;
    --dark-purple: #7C3AED;
    --light-purple: #A78BFA;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --border-gray: #E5E7EB;
    --success: #10B981;
    --error: #8B5CF6;
    --warning: #F59E0B;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    background: white;
    overflow: hidden;
}

/* Left Side - Carousel with Background Images */
.login-left {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-brand {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-brand svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    margin-bottom: 12px;
}

.login-brand h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-brand p {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 30px 40px 40px;
    color: white;
}

/* Social Media Interaction Icons */
.social-interactions {
    position: absolute;
    right: 20px;
    bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.interaction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.interaction-item:hover {
    transform: scale(1.1);
}

.interaction-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.interaction-icon i {
    font-size: 20px;
    color: #1f2937;
}

.interaction-icon.primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

.interaction-icon.primary i {
    color: white;
}

.interaction-count {
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

/* Bottom Content Area */
.carousel-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-preview {
    margin-bottom: 20px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.preview-username {
    font-weight: 600;
    font-size: 15px;
}

.verified {
    color: #60A5FA;
    font-size: 18px;
}

.social-preview h3 {
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.social-preview p {
    opacity: 0.95;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
}

.preview-hashtags {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 24px;
}

.stats-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-item i {
    font-size: 20px;
}

.stat-value {
    font-weight: 700;
    font-size: 16px;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    color: var(--primary-purple);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.audio-player span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

/* Carousel Navigation */
.carousel-nav {
    display: none;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    width: 24px;
    border-radius: 4px;
    background: white;
}

/* Right Side - Login Form */
.login-right {
    padding: 48px 48px;
    background: #ffffff;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.login-form-container {
    max-width: 420px;
    width: 100%;
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 1;
}

.form-brand {
    text-align: center;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.form-brand .brand-logo {
    max-width: 100%;
    width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.form-brand .fallback-brand {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-brand .fallback-brand h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #3B82F6, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-brand .fallback-brand p {
    font-size: 16px;
    margin: 8px 0 0 0;
    color: #6B7280;
}

.form-brand svg {
    filter: drop-shadow(0 8px 16px rgba(139,92,246, 0.4));
}

.login-right h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #111827;
    text-align: center;
}

.subtitle {
    color: #6B7280;
    margin-bottom: 22px;
    text-align: center;
    font-size: 14px;
}

.login-form {
    margin-bottom: 24px;
}

.login-form select {
    width: 100%;
    padding: 13px 16px 13px 48px;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    background: #EEF2FF;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
}

.login-form select:hover {
    border-color: #9CA3AF;
}

.login-form select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(139,92,246, 0.1);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.login-form select option {
    padding: 12px;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: 8px;
}

.login-form select option:first-child {
    color: var(--text-gray);
}

.login-form select option:hover {
    background: rgba(139,92,246, 0.1);
    border-radius: 8px;
}

.login-form select:invalid {
    color: var(--text-gray);
}

.login-form select:valid {
    color: var(--text-dark);
}

.alert {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.alert-error {
    background: #EDE9FE;
    color: #7C3AED;
}

.login-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i.fa-lock,
.input-with-icon i.fa-envelope,
.input-with-icon i.fa-user,
.input-with-icon i.fa-phone,
.input-with-icon i.fa-school,
.input-with-icon i.fa-calendar,
.input-with-icon i.fa-briefcase,
.input-with-icon i.fa-building,
.input-with-icon i.fa-linkedin {
    position: absolute;
    left: 16px;
    color: var(--text-gray);
    font-size: 16px;
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 13px 48px 13px 48px;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    background: #EEF2FF;
    color: #1F2937;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: #EEF2FF;
    box-shadow: 0 0 0 4px rgba(139,92,246, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-gray);
    font-size: 18px;
    z-index: 10;
    padding: 8px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-purple);
}

.password-field input {
    padding-right: 48px !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139,92,246, 0.3);
}

.account-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.account-type {
    padding: 14px;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-type:hover {
    border-color: var(--primary-purple);
    background: rgba(139,92,246, 0.05);
}

.account-type i {
    font-size: 22px;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.account-type div {
    flex: 1;
}

.account-type span {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-dark);
    font-size: 13px;
}

.account-type p {
    font-size: 11px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.3;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.alumni-register-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-gray);
}

.alumni-register-link p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.alumni-register-link a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.alumni-register-link a:hover {
    color: var(--dark-purple);
    gap: 8px;
}

.alumni-register-link a i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 32px 24px;
        align-items: center;
    }
}

@media (max-width: 640px) {
    /* Mobile Login Page */
    .login-page {
        padding: 0;
        align-items: stretch;
        min-height: 100vh;
        height: auto;
        overflow: hidden;
    }
    
    .login-container {
        border-radius: 0;
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
    }
    
    .login-right {
        padding: 16px 14px;
        display: flex;
        align-items: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        height: 100vh;
        max-height: 100vh;
        background: #ffffff;
    }
    
    .login-form-container {
        width: 100%;
        padding: 0;
        border-radius: 0;
        margin: auto 0;
        background: transparent;
        box-shadow: none;
    }
    
    .form-brand {
        margin-bottom: 8px;
        padding: 0;
        overflow: visible;
    }
    
    .form-brand .brand-logo {
        width: 260px;
        max-width: 90%;
        height: auto;
    }
    
    .form-brand .fallback-brand h2 {
        font-size: 24px;
    }
    
    .form-brand .fallback-brand p {
        font-size: 13px;
    }
    
    .brand-icon-small {
        width: 56px;
        height: 56px;
        margin-bottom: 8px;
    }
    
    .brand-icon-small i {
        font-size: 24px;
    }
    
    .login-right h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .alert {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .input-with-icon input {
        padding: 11px 48px 11px 42px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .input-with-icon i {
        left: 14px;
        font-size: 15px;
    }
    
    .toggle-password {
        right: 8px;
        font-size: 16px;
        padding: 6px;
    }
    
    .password-field input {
        padding-right: 44px !important;
    }
    
    .form-options {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 14px;
    }
    
    .checkbox {
        font-size: 13px;
    }
    
    .forgot-link {
        font-size: 13px;
    }
    
    .btn-primary {
        padding: 12px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .alumni-register-link {
        margin-top: 14px;
        padding-top: 14px;
    }
    
    .alumni-register-link p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .alumni-register-link a {
        font-size: 14px;
    }
    
    /* Alumni Registration Page - Compact for mobile */
    .login-form select {
        padding: 11px 42px 11px 42px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    /* Mobile optimizations */
    .login-form input:focus,
    .login-form select:focus {
        box-shadow: 0 0 0 3px rgba(139,92,246, 0.1);
    }
    
    /* Prevent zoom on input focus for iOS */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    .login-right {
        padding: 12px 16px;
    }
    
    .login-form-container {
        padding-top: 15px;
    }
    
    .form-brand .brand-logo {
        width: 180px;
        margin-top: -30px;
        margin-bottom: -25px;
    }
    
    .login-right h1 {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .input-with-icon input,
    .login-form select {
        padding: 10px 44px 10px 38px;
        font-size: 14px;
    }
    
    .input-with-icon i {
        left: 12px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 11px;
        font-size: 14px;
    }
    
    .alumni-register-link {
        margin-top: 10px;
        padding-top: 10px;
    }
}
/* ── School Icon: Material Symbols ── */
.school-icon-ms {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    line-height: 1;
    vertical-align: -0.15em;
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
}
/* Stat boxes */
.stat-box .school-icon-ms,
.stat-icon .school-icon-ms {
    font-size: 22px !important;
    line-height: 1;
    vertical-align: middle;
}
/* White in dark/purple contexts */
.hero .school-icon-ms,
.sch-hero .school-icon-ms,
.stat-box .school-icon-ms,
.feature-badge .school-icon-ms,
.mobile-bottom-nav .school-icon-ms,
.s-nav-item .school-icon-ms,
.admin-sidebar .school-icon-ms,
.sch-top-nav .school-icon-ms,
.stat-icon .school-icon-ms {
    color: #ffffff;
}
/* Hero — large prominent size */
.hero .school-icon-ms,
.sch-hero .school-icon-ms {
    font-size: 22px !important;
    vertical-align: middle;
}
/* Feature badges */
.feature-badge .school-icon-ms {
    font-size: 16px !important;
    vertical-align: middle;
}
/* Dark in light contexts */
.nav-link .school-icon-ms,
.usb-nav-item .school-icon-ms,
.result-item .school-icon-ms,
.quick-filter-btn .school-icon-ms,
.conn-card-type .school-icon-ms,
.req-card-meta .school-icon-ms,
.about-intro-item .school-icon-ms,
.intro-section .school-icon-ms {
    color: #374151;
}

/* ── Legacy school-icon-img (kept for safety) ── */
.school-icon-img {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: -0.2em;
    object-fit: contain;
    flex-shrink: 0;
}
/* Larger in stat boxes and hero */
.stat-box .school-icon-img,
.stat-icon .school-icon-img {
    width: 32px;
    height: 32px;
}
/* Hero — large prominent size */
.hero .school-icon-img,
.sch-hero .school-icon-img {
    width: 2.4rem;
    height: 2.4rem;
}
/* In purple/dark contexts → white */
.hero .school-icon-img,
.sch-hero .school-icon-img,
.stat-box .school-icon-img,
.feature-badge .school-icon-img,
.mobile-bottom-nav .school-icon-img,
.s-nav-item .school-icon-img,
.admin-sidebar .school-icon-img,
.sch-top-nav .school-icon-img,
.stat-icon .school-icon-img,
nav.sch-top-nav .school-icon-img {
    filter: brightness(0) invert(1);
}
/* In white/light backgrounds → dark */
.nav-link .school-icon-img,
.usb-nav-item .school-icon-img,
.result-item .school-icon-img,
.quick-filter-btn .school-icon-img,
.conn-card-type .school-icon-img,
.req-card-meta .school-icon-img,
.about-intro-item .school-icon-img,
.intro-section .school-icon-img {
    filter: brightness(0);
}

/* ── School Graduation Cap Icon ──────────────────────────────────────── */
.school-icon-img {
    width: 1.6em;
    height: 1.6em;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

/* Invert to white when inside dark navbars / topbars */
.sch-top-nav .school-icon-img,
.student-bottom-nav .school-icon-img,
.admin-bottom-bar .school-icon-img,
.mobile-menu .school-icon-img,
.sch-menu-item .school-icon-img,
.sch-nav-item .school-icon-img,
[style*="background: #8B5CF6"] .school-icon-img,
[style*="background:#8B5CF6"] .school-icon-img,
[style*="background: linear-gradient"] .school-icon-img,
.nav-item.active .school-icon-img,
.usb-nav-item.active .school-icon-img {
    filter: invert(1) brightness(10);
}

/* Stat cards / hero — use purple tint */
.stat-icon .school-icon-img,
.hero .school-icon-img,
.sch-hero .school-icon-img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(500%) hue-rotate(230deg) brightness(90%);
}

/* ── School icon SVG — pixel-perfect match to Font Awesome icon sizes ───── */
.school-icon-svg {
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    fill: currentColor;
    color: inherit;
}

/* ── Nav / sidebar contexts — match FA font-size exactly ── */
/* Desktop sidebars: FA font-size:15px in width:18px box */
.s-menu-link .school-icon-svg,
.usb-nav-item .school-icon-svg,
.sch-nav-item .school-icon-svg,
.sch-dropdown-item .school-icon-svg,
.admin-nav-item .school-icon-svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    color: inherit;
}
/* Mobile bottom sheets: FA font-size:18px in width:24px box */
.sch-menu-item .school-icon-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    color: inherit;
}
/* Student mobile sheet (.s-menu-link i { font-size:18px }) */
.s-menu-link .school-icon-svg {
    width: 18px;
    height: 18px;
}

/* ── Size + colour: stat-box (FA uses font-size:18px here) ── */
/* .stat-box .school-icon-svg size is set inline via .stat-icon-wrap + per-dashboard CSS */

/* ── Colour: dark/purple hero contexts → white ── */
.hero .school-icon-svg,
.sch-hero .school-icon-svg,
[style*="background: #8B5CF6"] .school-icon-svg,
[style*="background:#8B5CF6"] .school-icon-svg,
[style*="background: linear-gradient"] .school-icon-svg {
    fill: #fff;
    color: #fff;
}

/* ── Colour: light/card contexts → purple ── */
.card .school-icon-svg,
.feature-badge .school-icon-svg,
.notification-card .school-icon-svg,
.about-intro-item .school-icon-svg,
.conn-card-type .school-icon-svg,
.req-card-meta .school-icon-svg {
    width: 14px;
    height: 14px;
    fill: #8B5CF6;
    color: #8B5CF6;
}

/* ── Larger in headings / stat icons ── */
.stat-icon .school-icon-svg,
h2 .school-icon-svg {
    width: 24px;
    height: 24px;
}

/* ── Decorative empty state ── */
.empty-state .school-icon-svg {
    width: 48px;
    height: 48px;
    fill: #8B5CF6;
    opacity: 0.6;
}


/* ── school-icon-svg — extended context coverage ────────────────────────────
   Covers all the same cases previously handled by .school-icon-ms
   (Material Symbols font removed for performance)
*/

/* Purple hero + stat boxes + admin sidebar → white */
.admin-sidebar .school-icon-svg,
.sch-top-nav .school-icon-svg,
.mobile-bottom-nav .school-icon-svg,
.s-nav-item .school-icon-svg,
.stat-icon .school-icon-svg,
.feature-badge .school-icon-svg {
    fill: #fff;
    color: #fff;
}

/* Feature badge inside light card → keep purple */
.card .feature-badge .school-icon-svg {
    fill: #8B5CF6;
    color: #8B5CF6;
}

/* Nav/search results/filter → dark */
.nav-link .school-icon-svg,
.result-item .school-icon-svg,
.quick-filter-btn .school-icon-svg,
.intro-section .school-icon-svg {
    fill: #374151;
    color: #374151;
    width: 18px;
    height: 18px;
}

/* Post badge in feed → purple */
.post-school-badge .school-icon-svg {
    width: 14px;
    height: 14px;
    fill: #8B5CF6;
    color: #8B5CF6;
    vertical-align: -0.1em;
}

/* school-icon-ms kept as alias → SVG sizing fallback */
.school-icon-ms {
    display: none !important; /* Font removed — hide any remaining instances */
}
