/**
 * Computer Age - Faculty Stylesheet
 * Faculty.css
 */

:root {
    --fac-primary: #1e40af;
    --fac-primary-hover: #1d4ed8;
    --fac-accent: #2563eb;
    --fac-accent-light: #eff6ff;
    --fac-dark: #0f172a;
    --fac-gray: #64748b;
    --fac-light: #f8fafc;
    --fac-border: #e2e8f0;
    --fac-card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --fac-hover-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.2), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --fac-radius: 16px;
    --fac-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FACULTY HERO BANNER
   ========================================================================== */
.faculty-hero {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.faculty-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.faculty-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.faculty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.faculty-hero h1 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.faculty-hero h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.faculty-hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Faculty Hero Stats */
.faculty-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.faculty-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 24px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--fac-transition);
}

.faculty-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.faculty-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.faculty-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FACULTY FILTER & CONTROLS SECTION
   ========================================================================== */
.faculty-controls-section {
    background: #ffffff;
    border-bottom: 1px solid var(--fac-border);
    padding: 24px 0;
    position: sticky;
    top: 60px;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faculty-controls-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faculty-search-bar {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.faculty-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fac-gray);
    font-size: 15px;
    pointer-events: none;
}

.faculty-search-input {
    width: 100%;
    padding: 12px 42px 12px 44px;
    border: 1.5px solid var(--fac-border);
    border-radius: 30px;
    font-size: 14px;
    font-family: inherit;
    color: var(--fac-dark);
    background: #f8fafc;
    transition: var(--fac-transition);
    outline: none;
}

.faculty-search-input:focus {
    border-color: var(--fac-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.faculty-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    display: none;
}

.faculty-search-clear:hover {
    color: #ef4444;
}

/* Category Filter Tabs */
.faculty-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.faculty-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--fac-border);
    background: #ffffff;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fac-transition);
    white-space: nowrap;
}

.faculty-tab-btn i {
    font-size: 13px;
    color: #64748b;
    transition: var(--fac-transition);
}

.faculty-tab-btn:hover {
    background: var(--fac-accent-light);
    color: var(--fac-primary);
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

.faculty-tab-btn:hover i {
    color: var(--fac-accent);
}

.faculty-tab-btn.active {
    background: linear-gradient(135deg, var(--fac-primary) 0%, var(--fac-accent) 100%);
    color: #ffffff;
    border-color: var(--fac-primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.faculty-tab-btn.active i {
    color: #ffffff;
}

.faculty-count-badge {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 11px;
}

.faculty-tab-btn.active .faculty-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   FACULTY GRID & CARDS
   ========================================================================== */
.faculty-section {
    padding: 50px 0 80px;
    background: #f8fafc;
    min-height: 500px;
}

.faculty-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 4px;
}

.faculty-results-count {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.faculty-results-count strong {
    color: var(--fac-dark);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* Faculty Card */
.faculty-card {
    background: #ffffff;
    border-radius: var(--fac-radius);
    border: 1px solid var(--fac-border);
    overflow: hidden;
    box-shadow: var(--fac-card-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--fac-transition);
    position: relative;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fac-hover-shadow);
    border-color: #cbd5e1;
}

/* Card Header & Photo */
.faculty-card-header {
    position: relative;
    padding: 28px 24px 16px;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
    text-align: center;
}

.faculty-card-category {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--fac-primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}

.faculty-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--fac-accent) 0%, #60a5fa 50%, #e0e7ff 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
    transition: var(--fac-transition);
}

.faculty-card:hover .faculty-avatar-wrapper {
    transform: scale(1.04);
}

.faculty-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    display: block;
}

.faculty-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
}

.faculty-verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: #10b981;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.faculty-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--fac-dark);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.faculty-designation {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fac-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Card Badges Row */
.faculty-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.fac-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.fac-pill--exp {
    background: #fef3c7;
    color: #92400e;
}

.fac-pill--qual {
    background: #e0e7ff;
    color: #3730a3;
}

/* Card Body */
.faculty-card-body {
    padding: 16px 22px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.faculty-skills-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.faculty-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.faculty-skill-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 6px;
    transition: var(--fac-transition);
}

.faculty-card:hover .faculty-skill-tag {
    border-color: #cbd5e1;
    background: #ffffff;
}

.faculty-bio-preview {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Footer */
.faculty-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.faculty-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.faculty-social-link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: var(--fac-transition);
}

.faculty-social-link:hover {
    background: var(--fac-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.faculty-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--fac-accent-light);
    color: var(--fac-primary);
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    cursor: pointer;
    transition: var(--fac-transition);
    text-decoration: none;
}

.faculty-profile-btn:hover {
    background: var(--fac-primary);
    color: #ffffff;
    border-color: var(--fac-primary);
}

/* Empty State */
.faculty-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: var(--fac-radius);
    border: 1px dashed #cbd5e1;
}

.faculty-empty-icon {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.faculty-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.faculty-empty-desc {
    color: #64748b;
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 20px;
}

/* ==========================================================================
   FACULTY MODAL
   ========================================================================== */
.faculty-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: facModalFadeIn 0.25s ease-out;
}

.faculty-modal.active {
    display: flex;
}

@keyframes facModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.faculty-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: facModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes facModalSlideUp {
    from { transform: translateY(30px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.faculty-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fac-transition);
    z-index: 10;
}

.faculty-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.faculty-modal-header {
    padding: 35px 30px 20px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--fac-border);
}

.faculty-modal-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 16px;
    padding: 4px;
    background: linear-gradient(135deg, var(--fac-primary) 0%, #3b82f6 100%);
}

.faculty-modal-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.faculty-modal-body {
    padding: 25px 30px 35px;
}

.faculty-modal-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 10px;
}

.faculty-modal-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 25px;
}

.faculty-modal-contact-row {
    background: #f8fafc;
    border: 1px solid var(--fac-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
}

.faculty-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 13.5px;
}

.faculty-contact-item i {
    color: var(--fac-accent);
}

/* ==========================================================================
   JOIN OUR FACULTY CTA
   ========================================================================== */
.faculty-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
    text-align: center;
}

.faculty-cta-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.faculty-cta-wrapper h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.faculty-cta-wrapper p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 28px;
    line-height: 1.6;
}

.faculty-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--fac-primary);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--fac-transition);
}

.faculty-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
    color: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faculty-hero {
        padding: 50px 0 40px;
    }
    .faculty-stats-row {
        gap: 10px;
    }
    .faculty-stat-card {
        min-width: 140px;
        padding: 10px 14px;
    }
    .faculty-grid {
        grid-template-columns: 1fr;
    }
    .faculty-controls-section {
        top: 55px;
        padding: 16px 0;
    }
    .faculty-filter-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .faculty-filter-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* ==========================================================================
   ADMIN FACULTY MANAGEMENT STYLES
   ========================================================================== */
.fac-admin-header {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.fac-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fac-header-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.fac-header-text h1 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.fac-header-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.fac-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fac-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.fac-stat-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fac-stat-info h4 {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
}

.fac-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin: 0;
}

.fac-stat-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-green { background: #ecfdf5; color: #10b981; }
.icon-purple { background: #faf5ff; color: #a855f7; }
.icon-orange { background: #fff7ed; color: #f97316; }

.fac-toolbar {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.fac-search-box {
    position: relative;
    min-width: 280px;
    flex-grow: 1;
    max-width: 400px;
}

.fac-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.fac-search-box input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
}

.fac-search-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fac-filters-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.fac-select {
    padding: 9px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    color: #334155;
    background: #ffffff;
    outline: none;
    cursor: pointer;
}

.fac-table-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    overflow: hidden;
}

.fac-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.fac-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.fac-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.fac-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.fac-table tr:hover td {
    background: #f8fafc;
}

.fac-avatar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fac-avatar-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.fac-avatar-fallback-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.fac-meta-name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.fac-meta-designation {
    font-size: 12px;
    color: #64748b;
}

.fac-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.fac-badge--active {
    background: #ecfdf5;
    color: #065f46;
}

.fac-badge--inactive {
    background: #fef2f2;
    color: #991b1b;
}

.fac-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.fac-badge--active .fac-badge-dot { background: #10b981; }
.fac-badge--inactive .fac-badge-dot { background: #ef4444; }

.fac-actions-btn-group {
    display: flex;
    gap: 6px;
}

.fac-btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.fac-btn-action:hover {
    color: #2563eb;
    border-color: #2563eb;
    background: #eff6ff;
}

.fac-btn-action.delete:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: #fef2f2;
}

.adm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.adm-modal-overlay.active {
    display: flex;
}

.adm-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: admModalZoom 0.25s ease-out;
}

@keyframes admModalZoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.adm-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adm-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.adm-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
}

.adm-modal-close:hover { color: #ef4444; }

.adm-modal-body {
    padding: 24px;
}

.adm-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.adm-form-group {
    margin-bottom: 16px;
}

.adm-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.adm-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.adm-form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.adm-image-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1.5px dashed #e2e8f0;
    border-radius: 10px;
}

.adm-preview-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}

.adm-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

