/* ==========================================================================
   1. VARIABLES, CONFIGURATION & BASE RESETS
   ========================================================================== */
:root {
    --bg: #ffffff;
    --card-bg: #ede5e5;
    --border-color: #979798;
    --text: #0f172a;
    --text-muted: #6c757d;
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --transition-speed: 0.3s;

    /* Dedicated Directory Colors */
    --dir-blue-primary: #003366;
    --dir-blue-dark: #001f4d;
    --dir-blue-accent: #0056b3;
    --dir-blue-focus: #004085;
    --dir-border: #e3e7ee;
    --dir-text: #495057;
}

body.dark {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #60a5fa;
    --primary-hover: #2563eb;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background var(--transition-speed), color var(--transition-speed);
}

.text-muted { color: var(--text-muted) !important; }
.rounded-circle { border-radius: 100% !important; }

.btn {
    border-radius: 8px;
    font-weight: 500;
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.alumni-navbar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    padding: 12px 0;
}

body.dark .alumni-navbar {
    background: #111827 !important;
}

.navbar-logo {
    width: 60px;       /* Increased from 45px */
    height: 60px;      /* Increased from 45px */
    max-width: 100%;
    height: auto;      /* Safely scales while maintaining block restrictions */
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    color: #334155;
    transition: var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

body.dark .nav-link {
    color: #cbd5e1;
}

.mode-btn {
    width: 42px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. HERO SECTION & UTILITIES
   ========================================================================== */
.hero { position: relative; }

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #ffffff;
    z-index: 5;
}

/* Social Icons */
.social-icons i {
    transition: var(--transition-speed) ease;
    cursor: pointer;
}

.social-icons i:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.social-icons .facebook { color: #1877f2; }
.social-icons .linkedin { color: #0a66c2; }
.social-icons .youtube  { color: #ff0000; }

/* ==========================================================================
   4. CARD COMPONENT SYSTEM
   ========================================================================== */
.custom-card,
.news-card,
.event-card,
.job-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.news-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.job-card { border-radius: 14px; }

/* Card Hover States */
.custom-card:hover,
.event-card:hover,
.job-card:hover,
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.news-card:hover { transform: translateY(-8px); }

/* Dark Mode Card Overrides */
body.dark .custom-card,
body.dark .news-card,
body.dark .event-card,
body.dark .job-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

/* Card Bodies & Structural Actions */
.custom-card .card-body,
.news-content,
.job-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 28px 22px;
}

.custom-card .card-body { padding: 16px 14px; }

.card-actions,
.news-btn,
.job-actions {
    margin-top: auto;
}

.card-actions {
    padding: 10px 12px 12px 12px;
    display: flex;
    gap: 8px;
}

.job-actions { border-top: 1px solid rgba(0, 0, 0, 0.08); }
body.dark .job-actions { border-top: 1px solid var(--border-color); }

/* ==========================================================================
   5. COMPONENT ASSETS (JOB, EVENT, NEWS)
   ========================================================================== */
/* Job Module */
.job-img-wrapper {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    overflow: hidden;
}

body.dark .job-img-wrapper { background: #0f172a; }

.job-img-wrapper img.job-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.job-logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.job-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.job-meta { font-size: 13px; }

/* Event Module */
.section-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.event-image,
.event-thumbnail {
    width: 100%;
    object-fit: cover;
}
.event-image { height: 320px; }
.event-thumbnail { height: 220px; }

.event-date, .news-date {
    font-size: 14px;
    color: var(--text-muted);
}
.event-date i, .news-date i {
    color: var(--primary);
    margin-right: 5px;
}

.event-title {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 6px;
}

.event-short {
    color: #64748b;
    min-height: 50px;
    margin-bottom: 12px;
}

/* News Module */
.news-section { overflow: hidden; }
.news-image-wrapper { width: 100%; height: 220px; overflow: hidden; }

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-card:hover .news-image { transform: scale(1.08); }
.news-date { margin-bottom: 12px; }
.news-date i { margin-right: 6px; }

.news-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.news-description {
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.news-btn {
    width: max-content;
    align-self: flex-start;
}

body.dark .news-btn {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

body.dark .news-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* ==========================================================================
   6. ICON BOX, COUNTER & SCHOLARSHIP
   ========================================================================== */
.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f1ff;
    color: var(--primary);
    font-size: 30px;
}

.counter {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #ffffff;
}

.scholarship-box {
    position: relative;
    height: 320px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.scholarship-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.scholarship-box:hover .scholarship-img { transform: scale(1.08); }

.scholarship-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13,110,253,0.75), rgba(102,16,242,0.65), rgba(0,212,255,0.55));
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
}

.scholarship-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    z-index: 2;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================================================
   7. GALLERY & MODALS
   ========================================================================== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: var(--transition-speed);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition-speed);
}

.gallery-item:hover::after { background: rgba(0, 0, 0, 0.4); }

.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-speed);
    z-index: 2;
}

.gallery-item:hover .zoom-btn { opacity: 1; }

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    transition: var(--transition-speed);
    filter: invert(16%) sepia(98%) saturate(7496%) hue-rotate(358deg) brightness(95%) contrast(118%);
}

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

.modal-event-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================================================
   8. PROFILE & USER INFORMATION CARDS
   ========================================================================== */
.profile-info-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 12px 16px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

.profile-info-row:last-child { border-bottom: none; }

.profile-label {
    width: 35%;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-label i { font-size: 14px; color: #0d6efd; }

.profile-value {
    width: 65%;
    max-width: 55%;
    font-size: 13px;
    color: #222;
    text-align: right;
    word-break: break-word;
}

.profile-image {
    width: 145px;
    height: 145px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f1f1f1;
}

.profile-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.summary-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.summary-item:last-child { margin-bottom: 0; }
.summary-item i { font-size: 20px; color: #0d6efd; }
.summary-item small { display: block; color: #777; }
.summary-item strong { display: block; }

/* Profile Card - Dark Mode overrides */
body.dark .profile-info-card { background: #1e293b; }
body.dark .profile-info-row { border-color: #334155; }
body.dark .profile-label { color: #f1f5f9; }
body.dark .profile-value { color: #cbd5e1; }
body.dark .profile-label i { color: #60a5fa; }

/* ==========================================================================
   9. FORM CONTROLS & BOOTSTRAP OVERRIDES
   ========================================================================== */
.form-control {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
}

.form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 .2rem rgba(37,99,235,.15) !important;
}

/* Form Controls - Dark Mode Overrides */
body.dark .form-control {
    background: #0f172a !important;
    color: #e2e8f0 !important;
    border: 1px solid #64748b !important;
}

body.dark .form-control:hover { border-color: #94a3b8 !important; }

body.dark .form-control:focus {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #60a5fa !important;
    box-shadow: 0 0 0 .2rem rgba(96,165,250,.25) !important;
}

body.dark .form-control::placeholder { color: #94a3b8 !important; }

/* Dark Mode Bootstrap Contextual Overrides */
body.dark .alert-primary { background-color: #1e3a8a; border-color: #2563eb; color: #dbeafe; }
body.dark .alert-success { background-color: #14532d; border-color: #16a34a; color: #dcfce7; }
body.dark .alert-warning { background-color: #78350f; border-color: #f59e0b; color: #fef3c7; }

body.dark .btn-outline-primary { color: #60a5fa; border-color: #60a5fa; }
body.dark .btn-outline-primary:hover { background: #2563eb; color: #ffffff; }
body.dark .carousel-control-prev-icon, body.dark .carousel-control-next-icon { filter: invert(1); }
body.dark .modal-content { background: #1e293b; color: #e2e8f0; }
body.dark .btn-close { filter: invert(1); }

/* MISCELLANEOUS UTILITIES */
.alumni-card {
    background-color: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
}

.alumni-meta { font-size: 13px; color: var(--text-muted); }
footer { background: #111827; color: #d1d5db; }
footer a { color: #d1d5db; text-decoration: none; }
footer a:hover { color: #ffffff; }
.carousel-control-prev, .carousel-control-next { width: 55px; }

/* ==========================================================================
   10. ISOLATED DIRECTORY WRAPPER SYSTEM
   ========================================================================== */
#directoryIsolationWrapper {
    all: unset;
    display: block;
    background-color: #f4f7fa !important;
    padding: 35px 20px !important;
    border-radius: 16px !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    box-sizing: border-box !important;
}

#directoryIsolationWrapper * {
    box-sizing: border-box !important;
}

#directoryIsolationWrapper .directory-header {
    color: var(--dir-blue-dark) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    background: transparent !important;
}

/* Search Module */
#directoryIsolationWrapper .search-box-row {
    margin-bottom: 40px !important;
    display: flex !important;
    justify-content: center !important;
    background: transparent !important;
}

#directoryIsolationWrapper .search-wrap {
    position: relative !important;
    display: block !important;
    background: transparent !important;
}

#directoryIsolationWrapper .search-icon {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 15px !important;
    color: #8a94a6 !important;
    pointer-events: none !important;
    line-height: 1 !important;
    background: transparent !important;
}

#directoryIsolationWrapper .search-input {
    border-radius: 8px !important;
    height: 46px !important;
    border: 1px solid #ced4da !important;
    padding-left: 42px !important;
    padding-right: 15px !important;
    font-size: 14px !important;
    background-color: #ffffff !important;
    color: #212529 !important;
    width: 100% !important;
}

#directoryIsolationWrapper .search-input:focus {
    outline: none !important;
    border-color: var(--dir-blue-focus) !important;
    box-shadow: 0 0 0 3px rgba(0, 64, 133, 0.12) !important;
}

/* Committee Layout Wrapper */
#directoryIsolationWrapper .committee-wrapper {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 35px 25px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #eef1f6 !important;
    display: block !important;
}

#directoryIsolationWrapper .committee-title {
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 35px !important;
    color: var(--dir-blue-primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .committee-title::before,
#directoryIsolationWrapper .committee-title::after {
    content: "" !important;
    height: 1px !important;
    flex-grow: 1 !important;
    max-width: 250px !important;
    background-color: #dee2e6 !important;
    display: inline-block !important;
}

#directoryIsolationWrapper .committee-title-text {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .title-diamond {
    color: var(--dir-blue-primary) !important;
    font-size: 12px !important;
    display: inline-block !important;
    background: transparent !important;
}

/* Member Cards & Grids */
#directoryIsolationWrapper .members-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .member-col {
    flex: 0 0 auto !important;
    width: 25% !important;
    padding: 12px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .member-card {
    background-color: #ffffff !important;
    border: 1px solid var(--dir-border) !important;
    border-radius: 12px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    position: relative !important;
    height: 100% !important;
    display: block !important;
    box-shadow: 0 6px 16px rgba(15, 32, 67, 0.08) !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

#directoryIsolationWrapper .member-card:hover {
    box-shadow: 0 10px 24px rgba(15, 32, 67, 0.14) !important;
    transform: translateY(-2px) !important;
}

#directoryIsolationWrapper .img-container {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 15px auto !important;
    background: transparent !important;
}

#directoryIsolationWrapper .member-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #e7f0ff !important;
    display: block !important;
}

/* Badges & Text Customization */
#directoryIsolationWrapper .badge-sl {
    position: absolute !important;
    top: 2px !important;
    right: -10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    z-index: 5 !important;
    display: inline-block !important;
    line-height: 1.2 !important;
}

#directoryIsolationWrapper .bg-sl-blue { background-color: var(--dir-blue-accent) !important; }
#directoryIsolationWrapper .bg-sl-green { background-color: #28a745 !important; }
#directoryIsolationWrapper .bg-sl-orange { background-color: #ffc107 !important; color: #212529 !important; }
#directoryIsolationWrapper .bg-sl-red { background-color: #dc3545 !important; }

#directoryIsolationWrapper .member-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 2px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .member-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .text-title-green { color: #28a745 !important; }
#directoryIsolationWrapper .text-title-blue { color: var(--dir-blue-accent) !important; }
#directoryIsolationWrapper .text-title-red { color: #dc3545 !important; }
#directoryIsolationWrapper .card-divider {
    height: 1px !important;
    background-color: #edf0f5 !important;
    margin: 14px 0 !important;
    display: block !important;
}

/* Metadata Containers */
#directoryIsolationWrapper .info-container {
    font-size: 13px !important;
    color: var(--dir-text) !important;
    text-align: left !important;
    display: block !important;
    background: transparent !important;
}

#directoryIsolationWrapper .info-row {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 7px !important;
    gap: 8px !important;
    color: var(--dir-text) !important;
    background: transparent !important;
}

#directoryIsolationWrapper .info-icon {
    font-size: 13px !important;
    width: 18px !important;
    text-align: center !important;
    display: inline-block !important;
    background: transparent !important;
}

#directoryIsolationWrapper .info-label {
    color: var(--dir-text) !important;
    font-weight: 500 !important;
    display: inline-block !important;
    background: transparent !important;
}

/* Loader Assets */
#directoryIsolationWrapper .loader-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 70px 20px !important;
    background: transparent !important;
}

#directoryIsolationWrapper .loader-spinner {
    width: 42px !important;
    height: 42px !important;
    border: 4px solid var(--dir-border) !important;
    border-top-color: var(--dir-blue-focus) !important;
    border-radius: 50% !important;
    animation: directorySpin 0.8s linear infinite !important;
    display: inline-block !important;
}

#directoryIsolationWrapper .loader-text {
    margin-top: 14px !important;
    color: #6c757d !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: transparent !important;
}

@keyframes directorySpin {
    to { transform: rotate(360deg); }
}

#directoryIsolationWrapper .summary-footer {
    text-align: center !important;
    color: #4a6585 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-top: 30px !important;
    margin-bottom: 10px !important;
    background: transparent !important;
}

/* ==========================================================================
   11. ISOLATED DIRECTORY - DARK MODE LAYER OVERRIDES
   ========================================================================== */
body.dark #directoryIsolationWrapper {
    background-color: #0f172a !important;
}

body.dark #directoryIsolationWrapper .directory-header {
    color: #f8fafc !important;
}

body.dark #directoryIsolationWrapper .search-input {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

body.dark #directoryIsolationWrapper .committee-wrapper,
body.dark #directoryIsolationWrapper .member-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

body.dark #directoryIsolationWrapper .committee-title {
    color: #60a5fa !important;
}

body.dark #directoryIsolationWrapper .committee-title::before,
body.dark #directoryIsolationWrapper .committee-title::after {
    background-color: #334155 !important;
}

body.dark #directoryIsolationWrapper .title-diamond {
    color: #60a5fa !important;
}

body.dark #directoryIsolationWrapper .member-name {
    color: #f8fafc !important;
}

body.dark #directoryIsolationWrapper .card-divider {
    background-color: #334155 !important;
}

body.dark #directoryIsolationWrapper .info-container,
body.dark #directoryIsolationWrapper .info-row,
body.dark #directoryIsolationWrapper .info-label {
    color: #94a3b8 !important;
}

body.dark #directoryIsolationWrapper .summary-footer {
    color: #94a3b8 !important;
}

/* ==========================================================================
   12. MEDIA QUERIES & RESPONSIVENESS
   ========================================================================== */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 95% !important;
    }
}

@media (max-width: 992px) {
    .navbar-nav,
    .navbar .d-flex {
        margin-top: 15px;
    }
    #directoryIsolationWrapper .member-col { width: 33.333% !important; }
}

@media (max-width: 768px) {
    .hero-img { height: 350px; }
    .hero-content h1 { font-size: 32px; }
    .job-img-wrapper,
    .news-image-wrapper { height: 200px; }
    .event-image,
    .event-thumbnail { height: 220px; }
    .scholarship-box { height: 240px; }
    .scholarship-content {
        padding: 20px;
        text-align: center;
        align-items: center;
    }
    #directoryIsolationWrapper .member-col { width: 50% !important; }
}

@media (max-width: 480px) {
    #directoryIsolationWrapper .member-col { width: 100% !important; }
}

/* Toggleable Logos Logic */
.logo-dark {
    display: none!important;
}

body.dark .logo-light {
    display: none!important;
}
body.dark .logo-dark {
    display: block!important;
}

/* ==========================================================================
   13. SUPERVISOR CARD COMPONENT SYSTEM
   ========================================================================== */
#supervisorCard {
    background-color: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: background-color var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed), transform .25s ease, box-shadow .25s ease;
}

#supervisorCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12) !important;
}

#supervisorCard .btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#supervisorCard .rounded-circle {
    transition: .25s ease;
    border: 3px solid var(--border-color);
}

#supervisorCard:hover .rounded-circle {
    transform: scale(1.05);
}

/* Supervisor Card - Dark Mode Layer Override */
body.dark #supervisorCard {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .35) !important;
}

body.dark #supervisorCard .text-muted {
    color: var(--text-muted) !important;
}