/* Modern Clean Stylesheet for E-Voting SMA Kristen YPKPM Ambon */

:root {
    --ypkpm-primary: #1b365d;
    --ypkpm-primary-dark: #0f223d;
    --ypkpm-secondary: #0d6efd;
    --ypkpm-accent: #f39c12;
    --ypkpm-accent-light: #fff3cd;
    --ypkpm-bg: #f4f6f9;
    --ypkpm-card-bg: #ffffff;
    --ypkpm-text: #2c3e50;
    --ypkpm-muted: #6c757d;
    --ypkpm-border-radius: 16px;
    --ypkpm-shadow: 0 8px 24px rgba(27, 54, 93, 0.08);
    --ypkpm-shadow-hover: 0 12px 32px rgba(27, 54, 93, 0.16);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--ypkpm-bg);
    color: var(--ypkpm-text);
    min-height: 100vh;
}

/* Brand Navbar */
.navbar-ypkpm {
    background-color: var(--ypkpm-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 0.85rem 1.5rem;
}

.navbar-ypkpm .navbar-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.school-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Card Styles */
.card-ypkpm {
    background: var(--ypkpm-card-bg);
    border: none;
    border-radius: var(--ypkpm-border-radius);
    box-shadow: var(--ypkpm-shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.card-ypkpm:hover {
    box-shadow: var(--ypkpm-shadow-hover);
}

/* Candidate Voting Card */
.candidate-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.candidate-card:hover {
    border-color: var(--ypkpm-secondary);
    transform: translateY(-6px);
}

.candidate-badge-number {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--ypkpm-primary), var(--ypkpm-secondary));
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 2;
}

.candidate-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1131 / 1600;
    background: #eef2f7;
    overflow: hidden;
}

.candidate-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.candidate-card:hover .candidate-img-wrapper img {
    transform: scale(1.04);
}

.candidate-info-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.candidate-names {
    color: var(--ypkpm-primary);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.candidate-role-label {
    font-size: 0.85rem;
    color: var(--ypkpm-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.candidate-moto-quote {
    background: #f8fafc;
    border-left: 4px solid var(--ypkpm-accent);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1.25rem;
}

.btn-vote-submit {
    background: linear-gradient(135deg, var(--ypkpm-primary), var(--ypkpm-secondary));
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    width: 100%;
}

.btn-vote-submit:hover {
    background: linear-gradient(135deg, var(--ypkpm-primary-dark), #0b5ed7);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

/* Stat Cards for Admin */
.stat-card {
    border-left: 5px solid var(--ypkpm-primary);
}
.stat-card.siswa { border-left-color: #0d6efd; }
.stat-card.guru { border-left-color: #198754; }
.stat-card.pegawai { border-left-color: #0dcaf0; }
.stat-card.total { border-left-color: #6f42c1; }
.stat-card.voted { border-left-color: #20c997; }
.stat-card.belum { border-left-color: #ffc107; }

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Admin Sidebar Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--ypkpm-primary);
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.admin-sidebar .sidebar-brand {
    padding: 1.25rem 1.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--ypkpm-accent);
}

.admin-content {
    flex-grow: 1;
    background: var(--ypkpm-bg);
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-main {
    padding: 2rem;
    flex-grow: 1;
}

/* Responsive sidebar */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -260px;
    }
    .admin-sidebar.show {
        left: 0;
    }
}

/* Presentation Public Result Screen */
.preview-container {
    background: linear-gradient(135deg, #0f223d 0%, #1b365d 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 2.5rem;
}

.preview-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.preview-sub {
    font-size: 1.4rem;
    color: var(--ypkpm-accent);
    font-weight: 700;
}

.candidate-preview-box {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.75rem;
    transition: transform 0.3s ease;
}

.candidate-preview-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.vote-number-big {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.vote-percentage-badge {
    background: var(--ypkpm-accent);
    color: #0f223d;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
}

/* -------------------------------------------------------------
 * Deep Royal Purple Login Styling (Ultra-Modern Glassmorphism)
 * ------------------------------------------------------------- */
.login-bg-purple {
    background: radial-gradient(circle at 50% 15%, #3c1685 0%, #1e094a 45%, #0d0426 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.purple-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.purple-orb-1 {
    top: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: rgba(168, 85, 247, 0.35);
    animation: floatOrb1 10s infinite alternate ease-in-out;
}

.purple-orb-2 {
    bottom: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: rgba(124, 58, 237, 0.3);
    animation: floatOrb2 12s infinite alternate-reverse ease-in-out;
}

.purple-orb-3 {
    top: 40%;
    left: 60%;
    width: 250px;
    height: 250px;
    background: rgba(236, 72, 153, 0.18);
    animation: floatOrb3 14s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -50px) scale(1.2); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 40px) scale(1.15); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -30px) scale(1.25); }
}

.login-card-purple {
    background: rgba(244, 240, 253, 0.95);
    border-radius: 32px;
    box-shadow: 0 35px 85px rgba(8, 2, 28, 0.7), 0 0 50px rgba(168, 85, 247, 0.35);
    padding: 2.85rem 2.35rem;
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 10;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-badge-ring {
    width: 78px;
    height: 78px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 10px 25px rgba(0, 0, 0, 0.25);
    border: 4px solid #f2eefb;
    margin-bottom: 1.25rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-badge-ring:hover {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.7), 0 14px 30px rgba(0, 0, 0, 0.3);
}

.login-title-purple {
    color: #260c5a;
    font-weight: 900;
    font-size: 2.05rem;
    letter-spacing: -0.7px;
    line-height: 1.2;
}

.login-sub-purple {
    color: #614e8e;
    font-weight: 700;
    font-size: 1.02rem;
}

.purple-pill-guide {
    background: #e4dbfa;
    border: 1px solid #d1c1f7;
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 0.83rem;
    font-weight: 800;
    color: #551c8a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 8px rgba(119, 41, 183, 0.12);
}

.form-label-purple {
    color: #3f2a6a;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
    display: block;
}

.login-input-group-purple {
    position: relative;
}

.login-input-group-purple .input-group-text {
    background-color: #ffffff;
    border: 1.8px solid #d4c8f5;
    border-right: none;
    color: #7c3aed;
    border-radius: 18px 0 0 18px;
    padding-left: 1.25rem;
    padding-right: 0.9rem;
    font-size: 1.1rem;
}

.login-input-group-purple .form-control {
    background-color: #ffffff !important;
    border: 1.8px solid #d4c8f5 !important;
    border-left: none !important;
    border-radius: 0 18px 18px 0 !important;
    padding: 0.9rem 1.2rem !important;
    font-weight: 700;
    font-size: 1rem;
    color: #1e0747 !important;
    transition: all 0.25s ease;
}

.login-input-group-purple .form-control:focus {
    border-color: #9333ea !important;
    box-shadow: none !important;
}

.login-input-group-purple:focus-within .input-group-text,
.login-input-group-purple:focus-within .form-control,
.login-input-group-purple:focus-within .btn-toggle-pass-purple {
    border-color: #9333ea !important;
}

.login-input-group-purple:focus-within {
    box-shadow: 0 0 0 4.5px rgba(147, 51, 234, 0.28) !important;
    border-radius: 18px;
}

.btn-toggle-pass-purple {
    background-color: #ffffff;
    border: 1.8px solid #d4c8f5;
    border-left: none;
    color: #8b79b8;
    border-radius: 0 18px 18px 0;
    padding-right: 1.15rem;
    transition: color 0.2s ease;
}

.btn-toggle-pass-purple:hover {
    color: #7c3aed;
}

.btn-purple-action {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #6b21a8 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.18rem;
    letter-spacing: 0.5px;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    border: none;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.48);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
}

.btn-purple-action:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7e22ce 50%, #581c87 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.6);
}

.btn-purple-action:active {
    transform: translateY(1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
}

@media (max-width: 575.98px) {
    .login-card-purple {
        padding: 2.35rem 1.6rem;
        border-radius: 26px;
    }
}
/* -------------------------------------------------------------
 * Royal Purple Admin Panel Styling (Matches User Mockup Exactly)
 * ------------------------------------------------------------- */
.admin-body {
    background-color: #f4f6fc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e0747;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f4f6fc;
}

.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, #1d074d 0%, #16053d 60%, #0d0226 100%);
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.15rem;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 6px 0 25px rgba(13, 4, 38, 0.35);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-brand .brand-logo-ring {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.sidebar-brand .brand-title {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: -0.3px;
    color: #ffffff;
    line-height: 1.15;
}

.sidebar-brand .brand-sub {
    font-size: 0.7rem;
    color: #a78bfa;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.sidebar-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #8b5cf6;
    text-transform: uppercase;
    padding: 1rem 0.85rem 0.4rem 0.85rem;
}

.admin-sidebar .nav-link {
    color: #c4b5fd;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.25rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.admin-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    color: #a78bfa;
    transition: all 0.25s ease;
}

.admin-sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.admin-sidebar .nav-link:hover i {
    color: #c084fc;
}

.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
}

.admin-sidebar .nav-link.active i {
    color: #ffffff;
}

.btn-sidebar-logout {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

.btn-sidebar-logout:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.admin-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: #ffffff;
    height: 72px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(17, 7, 48, 0.03);
    border-bottom: 1px solid #eef2f7;
}

.admin-main {
    padding: 2rem;
    flex-grow: 1;
}

.admin-footer {
    background: #ffffff;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #eef2f7;
}

/* Stat Cards Matching User Mockup */
.stat-card-accent {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 6px 20px rgba(27, 10, 60, 0.05);
    border: 1px solid #f0ecf9;
    border-left: 5px solid #7c3aed;
    transition: all 0.25s ease;
}

.stat-card-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(27, 10, 60, 0.1);
}

.stat-card-accent.purple { border-left-color: #7c3aed; }
.stat-card-accent.green { border-left-color: #10b981; }
.stat-card-accent.blue { border-left-color: #0284c7; }
.stat-card-accent.amber { border-left-color: #f59e0b; }

.stat-card-accent .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card-accent .icon-badge.purple { background: #f3eefc; color: #7c3aed; }
.stat-card-accent .icon-badge.green { background: #ecfdf5; color: #10b981; }
.stat-card-accent .icon-badge.blue { background: #f0f9ff; color: #0284c7; }
.stat-card-accent .icon-badge.amber { background: #fffbe6; color: #d97706; }

/* Responsive Sidebar Drawer for Mobile */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -280px;
        z-index: 1050;
    }
    .admin-sidebar.show {
        left: 0;
    }
    .admin-main {
        padding: 1.25rem;
    }
}

/* -------------------------------------------------------------
 * Split Screen Mockup Layout (Matches User Design Mockup)
 * ------------------------------------------------------------- */
.login-split-page {
    background: linear-gradient(135deg, #3c1685 0%, #200852 50%, #0d0426 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    color: #2b1660;
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .login-split-page {
        padding: 2.5rem 3rem;
    }
}

.login-split-container {
    max-width: 1140px;
    width: 100%;
    margin: auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(18, 6, 50, 0.65);
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .login-split-container {
        flex-direction: row;
        min-height: 700px;
    }
}

/* Left Hero Banner Side */
.login-split-hero {
    flex: 1;
    background: url('../img/school_building.jpg') center center / cover no-repeat;
    position: relative;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 380px;
    color: #ffffff;
}

.login-split-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 10, 70, 0.72) 0%, rgba(20, 5, 55, 0.4) 60%, rgba(35, 12, 85, 0.75) 100%);
    z-index: 1;
}

.login-quote-box {
    position: relative;
    z-index: 2;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-quote-box .quote-mark {
    font-size: 2.2rem;
    color: #ffd700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.login-quote-box p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.login-quote-box .quote-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

/* Right Form Side */
.login-split-form-side {
    flex: 1.15;
    background: #ffffff;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1200px) {
    .login-split-form-side {
        padding: 3.5rem 3.8rem;
    }
}

.split-school-logo {
    width: 86px;
    height: 86px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(119, 41, 183, 0.22);
    border: 3px solid #f2eefb;
    margin: 0 auto 1rem auto;
}

.split-welcome-sub {
    font-size: 1.25rem;
    color: #6b21a8;
    font-weight: 700;
}

.split-welcome-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #1e0747;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 0.35rem;
}

.split-welcome-school {
    color: #581c87;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.split-role-pills {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.split-role-pill {
    background: #f3eefc;
    border: 1px solid #e2d5f8;
    border-radius: 14px;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #6b21a8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.split-input-group {
    position: relative;
    border-radius: 16px;
    border: 1.8px solid #e2d9f7;
    background: #faf8ff;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

.split-input-group:focus-within {
    border-color: #7c3aed;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

.split-input-icon {
    padding-left: 1.2rem;
    padding-right: 0.8rem;
    color: #7c3aed;
    font-size: 1.1rem;
}

.split-input-field {
    border: none !important;
    background: transparent !important;
    padding: 0.95rem 1rem 0.95rem 0 !important;
    font-weight: 600;
    font-size: 0.98rem;
    color: #1e0747 !important;
    box-shadow: none !important;
}

.split-input-field:focus {
    box-shadow: none !important;
    outline: none !important;
}

.btn-split-submit {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #6b21a8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 16px;
    padding: 0.95rem 1.75rem;
    border: none;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-split-submit:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7e22ce 50%, #581c87 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
}

.split-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9485b5;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1.75rem 0 1.25rem 0;
}

.split-divider::before,
.split-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9e3f7;
}

.split-divider:not(:empty)::before {
    margin-right: .8em;
}

.split-divider:not(:empty)::after {
    margin-left: .8em;
}

.btn-admin-only-link {
    background: #f6f3fc;
    border: 1.5px solid #e5dbf7;
    color: #581c87;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.btn-admin-only-link:hover {
    background: #eedefc;
    border-color: #9333ea;
    color: #4c1d95;
    transform: translateY(-2px);
}

.split-features-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0eafb;
    text-align: center;
}

.split-feature-item i {
    font-size: 1.35rem;
    color: #7c3aed;
    margin-bottom: 0.4rem;
}

.split-feature-item .title {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1e0747;
}

.split-feature-item .desc {
    font-size: 0.72rem;
    color: #7c68a6;
    line-height: 1.3;
}

/* -------------------------------------------------------------
 * Precise Mockup Replica Styling (Matches User Image Reference)
 * ------------------------------------------------------------- */
.login-mockup-wrapper {
    background: linear-gradient(135deg, #4c26b3 0%, #35158e 50%, #1e095a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 992px) {
    .login-mockup-wrapper {
        padding: 2.5rem 2rem;
    }
}

.mockup-container {
    max-width: 1040px;
    width: 100%;
    margin: auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 35px 95px rgba(12, 3, 38, 0.6);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 992px) {
    .mockup-container {
        flex-direction: row;
        min-height: 760px;
    }
}

/* Left Hero Side */
.mockup-hero-side {
    flex: 1;
    background: url('../img/school_building.jpg') center center / cover no-repeat;
    position: relative;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 420px;
    color: #ffffff;
}

.mockup-hero-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 7, 50, 0.6) 0%, rgba(15, 4, 40, 0.3) 60%, rgba(25, 8, 60, 0.65) 100%);
    z-index: 1;
}

.hero-quote-container {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.hero-quote-container .quote-icon {
    font-size: 2.8rem;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.2rem;
    font-family: Georgia, serif;
    opacity: 0.95;
}

.hero-quote-container .quote-text {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-quote-container .quote-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Curved Wave Separator between Left Image & Right White Card */
.hero-wave-curve {
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 65px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    display: none;
}

@media (min-width: 992px) {
    .hero-wave-curve {
        display: block;
    }
}

/* Right White Form Side */
.mockup-form-side {
    flex: 1.15;
    background: #ffffff;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 5;
    border-radius: 40px;
}

@media (min-width: 1200px) {
    .mockup-form-side {
        padding: 3.5rem 3.5rem;
    }
}

.top-logo-badge {
    width: 82px;
    height: 82px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(119, 41, 183, 0.18);
    border: 3px solid #f2eefb;
    margin: 0 auto 0.85rem auto;
}

.top-logo-badge img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.welcome-script-text {
    font-family: 'Dancing Script', 'Caveat', cursive;
    font-size: 1.8rem;
    color: #6b21a8;
    font-weight: 700;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.welcome-main-title {
    font-size: 2.35rem;
    font-weight: 900;
    color: #1a064f;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.welcome-school-title {
    color: #523f85;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.4rem;
}

.role-pills-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}

.role-pill-item {
    background: #f4f0fd;
    border: 1px solid #e5dcf8;
    border-radius: 14px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b21a8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.field-label {
    color: #220952;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    display: block;
}

.field-input-group {
    position: relative;
    border-radius: 16px;
    border: 1.8px solid #e3dafa;
    background: #faf8fe;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
}

.field-input-group:focus-within {
    border-color: #7c3aed;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

.field-icon {
    padding-left: 0.9rem;
    padding-right: 0.6rem;
    color: #7c3aed;
    font-size: 1.05rem;
}

.field-control {
    border: none !important;
    background: transparent !important;
    padding: 0.8rem 0.8rem 0.8rem 0 !important;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e0747 !important;
    box-shadow: none !important;
    width: 100%;
}

.field-control:focus {
    outline: none !important;
    box-shadow: none !important;
}

.field-toggle-btn {
    background: transparent;
    border: none;
    color: #8b79b8;
    padding: 0 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.field-toggle-btn:hover {
    color: #7c3aed;
}

.btn-mockup-submit {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #6b21a8 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.12rem;
    border-radius: 16px;
    padding: 0.9rem 1.5rem;
    border: none;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-mockup-submit:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7e22ce 50%, #581c87 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
}

.mockup-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9b8cb8;
    font-size: 0.83rem;
    font-weight: 600;
    margin: 1.6rem 0 1.1rem 0;
}

.mockup-divider::before,
.mockup-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ebe4f8;
}

.mockup-divider:not(:empty)::before {
    margin-right: .8em;
}

.mockup-divider:not(:empty)::after {
    margin-left: .8em;
}

.btn-mockup-admin {
    background: #f5f0fd;
    border: 1.5px solid #e2d5f8;
    color: #581c87;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 14px;
    padding: 0.72rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    width: 100%;
}

.btn-mockup-admin:hover {
    background: #eedefc;
    border-color: #9333ea;
    color: #4c1d95;
    transform: translateY(-2px);
}

.mockup-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid #f0eafb;
    text-align: center;
}

.feature-box i {
    font-size: 1.3rem;
    color: #7c3aed;
    margin-bottom: 0.35rem;
}

.feature-box .title {
    font-weight: 800;
    font-size: 0.82rem;
    color: #1e0747;
}

.feature-box .desc {
    font-size: 0.7rem;
    color: #7c68a6;
    line-height: 1.3;
}

.mockup-page-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1040px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .mockup-page-footer {
        flex-direction: row;
    }
}

