@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Ocean Blue Light Theme Palette */
    --ocean-50: #f0f9ff;
    --ocean-100: #e0f2fe;
    --ocean-200: #bae6fd;
    --ocean-500: #0ea5e9;
    --ocean-600: #0284c7;
    --ocean-700: #0369a1;
    --ocean-800: #075985;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --bg-main: var(--ocean-50);
    /* Lightest Blue/White Background */
    --bg-secondary: #ffffff;
    /* White components */
    --bg-card: #ffffff;
    /* White cards */
    --bg-hover: var(--ocean-100);
    /* Light Blue Hover */

    --text-primary: var(--slate-900);
    /* Dark Text */
    --text-secondary: var(--slate-600);
    /* Muted Text */
    --text-muted: #94a3b8;

    --primary: var(--ocean-600);
    /* Ocean Blue Primary */
    --primary-hover: var(--ocean-700);
    --primary-light: var(--ocean-100);

    --border: var(--slate-200);
    /* Light Borders */
    --border-light: var(--slate-100);

    --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.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-glow: 0 0 15px rgba(14, 165, 233, 0.25);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Sidebar - Premium Dark Look */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.logo {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0.5rem;
}

.logo h2 {
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-transform: tracking-tight;
}

.sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar li {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.sidebar li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(5px);
}

.sidebar li .icon {
    font-size: 1.25rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.sidebar li.active {
    background: linear-gradient(135deg, var(--ocean-600) 0%, var(--ocean-500) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar li:hover {
    background-color: var(--bg-hover);
    color: var(--primary);
}

.sidebar li.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.sidebar li.active .icon {
    opacity: 1;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 1rem;
    overflow-y: auto;
    /* Soft Mesh Background */
    background:
        radial-gradient(at 0% 0%, hsla(199, 89%, 95%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(187, 85%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(199, 89%, 94%, 1) 0, transparent 50%),
        var(--bg-main);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: none;
    animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.tab-content.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Dashboard Stats */
/* Stats Cards - Modern Look */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card h3 {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* Table Section */
.table-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem 0.5rem;
    margin-top: 2.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-box input[type="text"] {
    border: none !important;
    background: transparent !important;
    padding: 0.6rem 1rem !important;
    width: 100% !important;
    color: var(--text-primary);
}

.search-confirm-btn {
    background: transparent;
    border: none;
    border-left: 1.5px solid var(--ocean-200);
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-confirm-btn:hover {
    background: var(--ocean-100);
    color: var(--primary);
}

.search-icon {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.search-confirm-btn:hover .search-icon {
    transform: scale(1.1);
}

/* Table Action Button */
.table-print-btn {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--ocean-200);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.table-print-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Inputs - Keep for global use but modified for dashboard */
input[type="text"] {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

input[type="text"]::placeholder {
    color: var(--text-muted);
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Table Styling */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th,
td {
    padding: 0.75rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--slate-50);
    color: var(--slate-600);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 1rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}

th:first-child,
td:first-child {
    width: 50px;
    text-align: center;
}

td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Specific Column Widths */
th:nth-child(n+4):nth-child(-n+11),
td:nth-child(n+4):nth-child(-n+11) {
    width: 85px;
    text-align: center;
}

th:last-child,
td:last-child {
    width: 110px;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background-color 0.1s;
}

tbody tr:hover {
    background-color: var(--bg-hover);
}

td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

button {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

button:active {
    transform: scale(0.97);
}

button:disabled {
    background: var(--slate-100);
    color: var(--text-muted);
    border-color: var(--border-light);
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

/* Print Section */
.search-section {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.search-section input {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.search-section input:focus {
    background: var(--bg-card);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.school-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
    height: 100%;
}

.school-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.school-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.school-card .meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.school-card .meta::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.print-btn {
    background: var(--primary);
    border: 1px solid transparent;
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.print-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Settings */
.settings-container {
    max-width: 800px;
}

.setting-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.setting-group h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.setting-group p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Print Media Query - Unchanged Logic, just memastikan visibility */
/* Hide print area by default on screen */
#print-area {
    display: none;
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body {
        margin: 0;
        padding: 0;
        background: white;
    }

    .app-container {
        display: none !important;
    }

    #print-area {
        display: block !important;
        visibility: visible !important;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
    }

    @media print {
        body * {
            visibility: hidden;
        }

        #print-area,
        #print-area * {
            visibility: visible;
        }

        #print-area {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
        }
    }

    .sticker-page {
        display: grid;
        grid-template-columns: repeat(5, 38.1mm);
        grid-template-rows: repeat(13, 19.2mm);
        column-gap: 3mm;
        row-gap: 2mm;
        padding-top: 9.7mm;
        padding-bottom: 10.7mm;
        padding-left: 2mm;
        padding-right: 4mm;
        width: 210mm;
        height: 297mm;
        page-break-after: always;
        overflow: hidden;
        background: white;
        box-sizing: border-box;
    }

    .report-page {
        padding: 20mm;
        width: 210mm;
        background: white;
    }

    .report-header {
        text-align: center;
        margin-bottom: 2rem;
        border-bottom: 2px solid var(--primary);
        padding-bottom: 1rem;
    }

    .report-table {
        width: 100%;
        border-collapse: collapse;
    }

    .report-table th,
    .report-table td {
        border: 1px solid #ddd;
        padding: 8px;
        font-size: 9pt;
        text-align: left;
    }

    .report-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }

    .sticker {
        width: 38.1mm;
        height: 19.2mm;
        max-height: 19.2mm;
        min-height: 19.2mm;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-family: Arial, sans-serif;
        font-weight: 600;
        /* Slightly thinner than 800 to fit more text */
        color: black;
        line-height: 1.05;
        /* More compact line height */
        overflow: hidden;
        box-sizing: border-box;
        padding: 0.3mm 0.8mm;
        /* Reduced padding to fit more content */
        gap: 0.1mm;
        /* Minimum gap */
    }

    .sticker div {
        margin: 0;
        width: 100%;
    }

    .sticker .block-line {
        /* font-size handled by JS */
        text-transform: uppercase;
        width: 100%;
        margin: 0;
    }

    .sticker .block-line .sl-no {
        /* font-size handled by JS relative or specific */
        font-weight: 700;
        display: inline;
        margin-left: 2px;
    }

    .sticker .school-line {
        /* font-size handled by JS */
        text-transform: uppercase;
        width: 100%;
        margin: 0;
    }

    .sticker .class-sub-line {
        /* font-size handled by JS */
        width: 100%;
        margin: 0;
    }

    .sticker .cluster-line {
        /* font-size handled by JS */
        width: 100%;
        margin: 0;
        color: #333;
    }

    .sticker .qty-line {
        font-size: 11.5pt;
        margin-top: 0.1mm;
        font-weight: 900;
        width: 100%;
    }
}

/* Table Print Button Styling */
.table-print-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    background: var(--ocean-600);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
}

.table-print-btn:hover {
    background: var(--ocean-700);
}

/* Search Grid */
.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 800px;
    /* Wider to fill the page better */
    margin: 2rem auto;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-main);
    /* Light blue background for input fields */
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.search-btn-container {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}

.primary-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}


/* Footer */
.app-footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    color: #ddd;
    font-size: 0.8rem;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        position: sticky;
        top: 0;
    }

    .logo {
        margin-bottom: 0;
    }

    .sidebar nav ul {
        flex-direction: row;
    }

    .sidebar li span.icon {
        margin-right: 0;
    }

    .sidebar li {
        padding: 0.5rem;
    }

    /* Hide text on small screens for nav items if crowded */
    .sidebar li {
        font-size: 0;
    }

    .sidebar li .icon {
        font-size: 1.5rem;
        margin: 0;
    }

    .main-content {
        padding: 1rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .search-section input {
        width: 100%;
    }

    .search-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .search-grid .input-group {
        width: 100%;
    }

    .search-btn-container {
        margin-top: 1rem;
    }
}

/* Login Page Specifics */
/* Login Page Premium Background */
body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    overflow: hidden;
    background-color: #000;
    /* Black base for the dark theme */
    position: relative;
}

body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('login_bg_v2_1771058103917.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* 30% transparency usually means 0.7 opacity or 0.3 if user meant fade */
    /* Based on user request, setting opacity to 0.7 if they want it clear, or 0.3 if they want it subtle. 
       Usually "30% transparency" means 30% transparent / 70% visible.
       But if it's a background, 0.3 is often better for legibility.
       I'll go with 0.3 as it creates a more premium subtle look. */
    z-index: -1;
}

/* Background image prioritized */
.shape,
.background-animation {
    display: none;
}



.login-wrapper {
    width: 100%;
    max-width: 450px;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--ocean-500), var(--ocean-700));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    text-align: center;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Password Toggle Styles */
.password-field-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field-container input {
    padding-right: 3rem !important;
}

.toggle-password-btn {
    position: absolute;
    right: 0.5rem;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.toggle-password-btn:hover {
    transform: scale(1.2);
    background: transparent;
    border-color: transparent;
}

.toggle-password-btn:active {
    transform: scale(0.9);
}

.login-footer p {
    border-top: none !important;
    padding-top: 0;
    margin-top: 0;
    color: rgba(247, 244, 244, 0.966);

}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.district-dropdown {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: white;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    font-weight: 600;
}

.district-dropdown:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}