/* Landing Page Styles for Liberty Bible Baptist Academy */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #0047AB;
    /* Royal Blue */
    --primary-dark: #003380;
    --accent-gold: #FFC107;
    /* Amber/Gold */
    --accent-gold-dark: #E6AC00;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --max-width: 1280px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a:not(.cta-button) {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px -1px rgba(0, 71, 171, 0.3);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -1px rgba(0, 71, 171, 0.4);
    background: var(--primary-dark);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A 0%, #003380 50%, #0047AB 100%);
    z-index: -1;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(0, 71, 171, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features */
.features {
    padding: 8rem 2rem;
    background: var(--white);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.75rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--off-white);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 71, 171, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover * {
    color: var(--white) !important;
    z-index: 1;
    position: relative;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.feature-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: var(--off-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-box {
    background: var(--white);
    padding: 3.5rem;
    border-left: 8px solid var(--accent-gold);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.quote-box i.fa-quote-left {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 2rem;
    color: var(--off-white);
}

.quote-box blockquote {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}

.quote-box cite {
    display: block;
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Improvements */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 6rem 2rem 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto 4rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #94A3B8;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 8px;
}

.legacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #94A3B8 !important;
    margin-top: 1rem;
    transition: var(--transition);
}

.legacy-badge:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold) !important;
}

/* Modal Improvements */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    width: 95%;
    max-width: 480px;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: modalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
}

.modal-body {
    padding: 3rem 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 1.25rem;
    color: var(--primary-blue);
    opacity: 0.5;
    transition: var(--transition);
}

.form-group input {
    width: 100%;
    background: var(--off-white);
    border: 2px solid #E2E8F0;
    padding: 1rem 1rem 1rem 3.25rem;
    border-radius: 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1);
    outline: none;
}

.form-group input:focus+i {
    opacity: 1;
    transform: scale(1.1);
}

.login-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px -5px rgba(0, 71, 171, 0.3);
}

.login-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 71, 171, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.dev-shortcuts-box {
    background: #f8fafc;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 1.5rem;
    border: 1px dashed #cbd5e1;
}

.dev-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.dev-tabs {
    display: flex;
    gap: 0.5rem;
    background: #e2e8f0;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.dev-tab-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 0.35rem;
    cursor: pointer;
    transition: var(--transition);
}

.dev-tab-btn.active {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.dev-tab-btn:hover:not(.active) {
    color: var(--text-dark);
}

.dev-login-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.dev-login-btn {
    background: #f1f5f9;
    border: 1px solid #E2E8F0;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.dev-login-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.dev-staff-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.dev-staff-list::-webkit-scrollbar {
    width: 6px;
}

.dev-staff-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.dev-staff-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dev-staff-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.dev-staff-item:hover {
    border-color: var(--primary-blue);
    background: #eff6ff;
}

.dev-staff-item .staff-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.dev-staff-item .staff-id {
    font-size: 0.7rem;
    color: var(--text-light);
    font-family: monospace;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Animations */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links:not(.cta-button) {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.cta-button) {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }
}

/* =====================================================
   Staff Portal Tab
   ===================================================== */
.staff-portal-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: radial-gradient(circle at top, #f8fafc 0%, #f1f5f9 100%);
}

.staff-portal-section .portal-container {
    width: 100%;
    max-width: 440px;
    animation: portalCardAppear 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes portalCardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Text */
.staff-portal-section .portal-header-text {
    text-align: center;
    margin-bottom: 2.5rem;
}

.staff-portal-section .institutional-title {
    font-family: 'Playfair Display', serif;
    color: #1E3A8A;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.staff-portal-section .portal-subtitle {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* Card */
.staff-portal-section .login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

/* Navy Header */
.staff-portal-section .card-navy-header {
    background: #1E3A8A;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
}

.staff-portal-section .card-navy-header .header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(180, 145, 47, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.staff-portal-section .card-navy-header .header-icon i {
    font-size: 1.5rem;
    color: #B4912F;
}

.staff-portal-section .card-navy-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.staff-portal-section .card-navy-header p {
    font-size: 0.85rem;
    opacity: 0.75;
    font-weight: 400;
    color: #fff;
}

/* Dev Shortcuts */
.staff-portal-section .dev-shortcuts-refined {
    background: #fdfdfd;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
}

.staff-portal-section .dev-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.staff-portal-section .dev-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7c3aed;
}

.staff-portal-section .dev-label i {
    font-size: 0.75rem;
    color: #7c3aed;
}

.staff-portal-section .dev-label span {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7c3aed;
}

.staff-portal-section .dev-tabs {
    display: flex;
    gap: 4px;
    background: transparent;
    padding: 0;
}

.staff-portal-section .dev-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.staff-portal-section .dev-btn.active {
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
}

.staff-portal-section .dev-btn:hover:not(.active) {
    background: #f1f5f9;
}

.staff-portal-section .dev-pane-grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.staff-portal-section .dev-pane-grid.active {
    display: grid;
}

.staff-portal-section .btn-dev-action {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.staff-portal-section .btn-dev-action:hover {
    background: #f5f3ff;
    color: #7c3aed;
    border-color: #c4b5fd;
}

.staff-portal-section .btn-dev-action i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.staff-portal-section .dev-pane-list {
    display: none;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 4px;
}

.staff-portal-section .dev-pane-list.active {
    display: block;
}

.staff-portal-section .staff-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.staff-portal-section .staff-item:hover {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #7c3aed;
}

.staff-portal-section .staff-item i {
    color: #8b5cf6;
}

.staff-portal-section .no-records {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    padding: 1.5rem;
}

/* Form */
.staff-portal-section .card-form-body {
    padding: 2.5rem 2rem;
}

.staff-portal-section .form-field {
    margin-bottom: 1.5rem;
}

.staff-portal-section .form-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.staff-portal-section .input-wrapper {
    position: relative;
}

.staff-portal-section .input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.3s;
}

.staff-portal-section .input-wrapper input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
    color: #0F172A;
    box-sizing: border-box;
}

.staff-portal-section .input-wrapper input:focus {
    border-color: #1E3A8A;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

.staff-portal-section .input-wrapper input:focus~i {
    color: #1E3A8A;
}

.staff-portal-section .btn-authenticate {
    width: 100%;
    padding: 1rem;
    background: #1E3A8A;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.staff-portal-section .btn-authenticate:hover {
    background: #15307a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.staff-portal-section .btn-authenticate:active {
    transform: translateY(0);
}

.staff-portal-section .portal-footer-links {
    text-align: center;
    margin-top: 1.5rem;
}

.staff-portal-section .portal-footer-links .legacy-link {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.staff-portal-section .portal-footer-links .legacy-link:hover {
    color: #1E3A8A;
}

/* Scrollbar */
.staff-portal-section .dev-pane-list::-webkit-scrollbar {
    width: 5px;
}

.staff-portal-section .dev-pane-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.staff-portal-section .dev-pane-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Login Error Alert */
.staff-portal-section .login-error-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
    border-bottom: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.85rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.staff-portal-section .login-error-alert i {
    font-size: 1rem;
    flex-shrink: 0;
    color: #dc2626;
}

/* Card shake on login error */
@keyframes cardShake {

    0%,
    100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-6px);
    }

    30% {
        transform: translateX(6px);
    }

    45% {
        transform: translateX(-4px);
    }

    60% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-2px);
    }

    90% {
        transform: translateX(2px);
    }
}

.staff-portal-section .login-card.card-shake {
    animation: cardShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}