/* ===== DESIGN TOKENS ===== */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    --primary-glow: rgba(79, 70, 229, 0.15);

    --bg-color: #F0F2F5;
    --bg-secondary: #E4E7EC;
    --card-bg: #F0F2F5;
    --card-bg-raised: #FFFFFF;
    --text-main: #1A1D23;
    --text-secondary: #3D4450;
    --text-muted: #7C8495;
    --border-color: rgba(0, 0, 0, 0.06);

    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --info: #2563EB;
    --info-light: #DBEAFE;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --purple: #7C3AED;
    --purple-light: #EDE9FE;

    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;

    /* Neomorphic shadows */
    --neo-shadow: 6px 6px 12px rgba(0, 0, 0, 0.08), -6px -6px 12px rgba(255, 255, 255, 0.9);
    --neo-shadow-sm: 3px 3px 6px rgba(0, 0, 0, 0.07), -3px -3px 6px rgba(255, 255, 255, 0.85);
    --neo-shadow-lg: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.9);
    --neo-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.08), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
    --neo-inset-sm: inset 1px 1px 3px rgba(0, 0, 0, 0.06), inset -1px -1px 3px rgba(255, 255, 255, 0.7);

    --sidebar-width: 240px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

[data-theme="dark"] {
    --bg-color: #1A1D23;
    --bg-secondary: #13151A;
    --card-bg: #1A1D23;
    --card-bg-raised: #22252D;
    --text-main: #E8EAED;
    --text-secondary: #B0B5BF;
    --text-muted: #6B7280;
    --primary-color: #6366F1;
    --primary-hover: #818CF8;
    --primary-light: rgba(99, 102, 241, 0.12);
    --primary-glow: rgba(99, 102, 241, 0.2);
    --border-color: rgba(255, 255, 255, 0.06);

    --neo-shadow: 6px 6px 12px rgba(0, 0, 0, 0.35), -6px -6px 12px rgba(255, 255, 255, 0.03);
    --neo-shadow-sm: 3px 3px 6px rgba(0, 0, 0, 0.3), -3px -3px 6px rgba(255, 255, 255, 0.02);
    --neo-shadow-lg: 10px 10px 20px rgba(0, 0, 0, 0.4), -10px -10px 20px rgba(255, 255, 255, 0.03);
    --neo-inset: inset 2px 2px 5px rgba(0, 0, 0, 0.35), inset -2px -2px 5px rgba(255, 255, 255, 0.03);
    --neo-inset-sm: inset 1px 1px 3px rgba(0, 0, 0, 0.3), inset -1px -1px 3px rgba(255, 255, 255, 0.02);

    --success-light: rgba(5, 150, 105, 0.15);
    --warning-light: rgba(217, 119, 6, 0.15);
    --info-light: rgba(37, 99, 235, 0.15);
    --danger-light: rgba(220, 38, 38, 0.15);
    --purple-light: rgba(124, 58, 237, 0.15);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== LAYOUT ===== */
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    z-index: 100;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.04);
}

.sidebar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: translateX(2px);
}

.nav-link.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--neo-inset-sm);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem 2.5rem;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-main), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== AUTH ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    padding: 1rem;
}

.auth-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: calc(var(--border-radius) + 4px);
    box-shadow: var(--neo-shadow-lg);
    width: 100%;
    max-width: 420px;
    animation: slideUp 0.5s ease-out;
}

/* ===== CARDS (Neomorphic) ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--neo-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 1.75rem;
    transition: box-shadow var(--transition-normal);
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* ===== STAT CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neo-shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--neo-shadow-lg);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 0 var(--border-radius) 0 60px;
    opacity: 0.5;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    box-shadow: var(--neo-inset-sm);
    background-color: var(--bg-color);
    color: var(--text-main);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--neo-inset-sm), 0 0 0 3px var(--primary-glow);
    background-color: var(--card-bg-raised);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

[data-theme="dark"] .form-control {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-control:focus {
    background-color: var(--card-bg-raised);
    border-color: var(--primary-color);
}

[data-theme="dark"] select.form-control {
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

[data-theme="dark"] select option {
    background-color: var(--card-bg-raised);
    color: var(--text-main);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* ===== BUTTONS (Neomorphic) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
    position: relative;
    gap: 0.5rem;
    white-space: nowrap;

    /* Neomorphic default */
    background: var(--card-bg);
    color: var(--text-main);
    box-shadow: var(--neo-shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--neo-shadow);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--neo-inset-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: var(--neo-shadow-sm), 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: var(--neo-shadow), 0 6px 20px var(--primary-glow);
    filter: brightness(1.05);
}

.btn-primary:active {
    box-shadow: var(--neo-inset-sm);
    filter: brightness(0.97);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-secondary);
    box-shadow: var(--neo-shadow-sm);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    border-color: transparent;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #047857);
    color: white;
    box-shadow: var(--neo-shadow-sm), 0 4px 14px rgba(5, 150, 105, 0.2);
}

.btn-success:hover {
    box-shadow: var(--neo-shadow), 0 6px 20px rgba(5, 150, 105, 0.25);
    filter: brightness(1.05);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #B91C1C);
    color: white;
    box-shadow: var(--neo-shadow-sm), 0 4px 14px rgba(220, 38, 38, 0.2);
}

.btn-danger:hover {
    box-shadow: var(--neo-shadow), 0 6px 20px rgba(220, 38, 38, 0.25);
    filter: brightness(1.05);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    border-radius: var(--border-radius-xs);
}

.btn-block {
    display: flex;
    width: 100%;
}

[data-theme="dark"] .btn {
    box-shadow: var(--neo-shadow-sm);
}

[data-theme="dark"] .btn-secondary {
    background: var(--card-bg-raised);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

/* ===== TABLES ===== */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius-sm);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th,
.table td {
    padding: 0.85rem 1rem;
    text-align: left;
}

.table th {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bg-color);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1;
}

[data-theme="dark"] .table th {
    background: var(--bg-secondary);
}

.table td {
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--primary-light);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    gap: 0.3rem;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.status-new {
    background: var(--info-light);
    color: var(--info);
}

.status-new::before {
    background: var(--info);
}

.status-in-progress {
    background: var(--warning-light);
    color: var(--warning);
}

.status-in-progress::before {
    background: var(--warning);
}

.status-follow-up {
    background: var(--purple-light);
    color: var(--purple);
}

.status-follow-up::before {
    background: var(--purple);
}

.status-completed {
    background: var(--success-light);
    color: var(--success);
}

.status-completed::before {
    background: var(--success);
}

.status-inactive {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-muted);
}

.status-inactive::before {
    background: var(--text-muted);
}

/* ===== STAR BUTTON ===== */
.star-btn {
    cursor: pointer;
    font-size: 1.1rem;
    color: #9CA3AF; /* Visible gray */
    transition: all var(--transition-fast);
    background: none;
    border: none;
    padding: 2px;
    margin-right: 8px;
    vertical-align: middle;
    filter: grayscale(1);
    opacity: 0.7; /* Increased opacity */
}

.star-btn.starred {
    color: #F59E0B;
    filter: grayscale(0);
    opacity: 1;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.star-btn:hover {
    color: #FBBF24;
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.2);
}

/* ===== ACTIONS ROW ===== */
.actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background-color: var(--card-bg-raised);
    padding: 2rem;
    border-radius: calc(var(--border-radius) + 4px);
    width: 90%;
    max-width: 540px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--neo-shadow-lg), 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    margin: auto;
}

.close {
    color: var(--text-muted);
    align-self: flex-end;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    background: var(--bg-color);
    line-height: 1;
}

.close:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* ===== NOTIFICATION ===== */
.notification {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    box-shadow: var(--neo-shadow-sm);
}

.notification-success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.notification-error {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.notification-info {
    background: var(--info-light);
    color: var(--info);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.notification .close-notif {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    background: none;
    border: none;
    color: inherit;
    padding: 0 4px;
}

.notification .close-notif:hover {
    opacity: 1;
}

/* ===== CHECKBOX STYLING ===== */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
    border-radius: 4px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-nav {
        flex-direction: row;
        padding: 0.5rem;
        gap: 2px;
        overflow-x: auto;
    }

    .nav-link.active::before {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .layout {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .welcome-text {
        font-size: 1.4rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY: Lead distribution in dashboard ===== */
.lead-dist-item {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    background: var(--bg-color);
    box-shadow: var(--neo-inset-sm);
    transition: all var(--transition-normal);
}

.lead-dist-item:hover {
    box-shadow: var(--neo-shadow-sm);
    transform: translateY(-1px);
}

.lead-dist-value {
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
}

/* ===== SIDEBAR FOOTER ===== */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer .user-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
}

.sidebar-footer .user-info strong {
    color: var(--text-main);
    display: block;
    font-size: 0.85rem;
    margin-top: 2px;
}

.sidebar-footer .nav-link {
    margin: 0;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar .form-control,
.filter-bar select.form-control {
    width: auto;
    height: 36px;
    padding: 0 10px;
    font-size: 0.8rem;
    box-shadow: var(--neo-inset-sm);
}

.filter-bar .btn-sm {
    height: 36px;
    display: flex;
    align-items: center;
}

/* ===== INLINE ASSIGN SELECT (admin leads) ===== */
.assign-select {
    padding: 5px 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xs);
    font-size: 0.82rem;
    background: var(--bg-color);
    color: var(--text-main);
    box-shadow: var(--neo-inset-sm);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 120px;
}

.assign-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--neo-inset-sm), 0 0 0 2px var(--primary-glow);
    outline: none;
}

/* ===== BULK ACTIONS BAR ===== */
.bulk-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--neo-inset-sm);
}

/* ===== VIEW MODAL DETAILS ===== */
.detail-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.detail-box {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.4rem;
    white-space: pre-wrap;
    box-shadow: var(--neo-inset-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
/* ===== CUSTOM DATE PICKER STYLES ===== */
.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hide default calendar icon */
.date-input-wrapper input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 1;
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Let clicks pass through to the input's hidden indicator */
    color: var(--text-muted);
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; 
}

.input-ok-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 2px 8px;
    font-size: 0.75rem;
    display: none; /* Hidden by default */
}
