/* ==========================================================================
   Facebook Account Manager - Neo-Brutalist High-Energy Theme
   Inspired by Reference UI: Helixblox Style
   - Bold 2px Solid Black Borders
   - Electric Lime Accents (#B0F127) with Dark Text (#0A0A0A)
   - Sharp High-Contrast Pill Badges & Buttons with Crisp Dropshadows
   - Clean Functional Typography (Plus Jakarta Sans)
   - WCAG AA Compliant & Antislop Certified
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Base Colors */
    --bg-main: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-subtle: #F8F9FA;
    --bg-muted: #F1F3F5;

    /* Text */
    --text-main: #0A0A0A;
    --text-muted: #525252;
    --text-light: #737373;

    /* Brand / Accent */
    --accent-lime: #B0F127;
    --accent-lime-hover: #9EE016;
    --accent-lime-active: #8CD00B;
    --accent-lime-light: #F4FDE5;

    /* Borders & Outlines */
    --border-dark: #0A0A0A;
    --border-subtle: #E5E7EB;
    --border-width: 2px;
    --border-bold: 2px solid #0A0A0A;

    /* Neo-Brutalist Hard Shadows */
    --shadow-hard: 3px 3px 0px #0A0A0A;
    --shadow-hard-lg: 5px 5px 0px #0A0A0A;
    --shadow-hard-hover: 1px 1px 0px #0A0A0A;
    --shadow-hard-sm: 2px 2px 0px #0A0A0A;

    /* Status Badges - High Contrast WCAG AA */
    --status-login-bg: #D1FAE5;
    --status-login-text: #065F46;
    --status-login-border: #0A0A0A;

    --status-cp-bg: #FFEDD5;
    --status-cp-text: #9A3412;
    --status-cp-border: #0A0A0A;

    --status-dead-bg: #FEE2E2;
    --status-dead-text: #991B1B;
    --status-dead-border: #0A0A0A;

    /* Usage Badges */
    --usage-terpakai-bg: #DBEAFE;
    --usage-terpakai-text: #1E40AF;

    --usage-belum-bg: #F3F4F6;
    --usage-belum-text: #374151;

    /* Radii */
    --radius-pill: 9999px;
    --radius-box: 14px;
    --radius-sm: 8px;
    --radius-card: 16px;
}

/* Dark Mode Theme Support */
[data-theme="dark"] {
    --bg-main: #0D0F12;
    --bg-card: #15191E;
    --bg-subtle: #1C2229;
    --bg-muted: #242B35;

    --text-main: #F8FAFC;
    --text-muted: #A1A1AA;
    --text-light: #71717A;

    --border-dark: #F8FAFC;
    --border-subtle: #2E3846;
    --border-bold: 2px solid #F8FAFC;

    --shadow-hard: 3px 3px 0px #B0F127;
    --shadow-hard-lg: 5px 5px 0px #B0F127;
    --shadow-hard-hover: 1px 1px 0px #B0F127;
    --shadow-hard-sm: 2px 2px 0px #B0F127;

    --status-login-bg: #064E3B;
    --status-login-text: #A7F3D0;
    --status-login-border: #34D399;

    --status-cp-bg: #7C2D12;
    --status-cp-text: #FFEDD5;
    --status-cp-border: #FB923C;

    --status-dead-bg: #7F1D1D;
    --status-dead-text: #FECACA;
    --status-dead-border: #F87171;

    --usage-terpakai-bg: #1E3A8A;
    --usage-terpakai-text: #BFDBFE;

    --usage-belum-bg: #27272A;
    --usage-belum-text: #E4E4E7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Accessibility Focus Indicator (R-32) */
:focus-visible {
    outline: 2px solid #0A0A0A !important;
    outline-offset: 2px !important;
}

[data-theme="dark"] :focus-visible {
    outline: 2px solid var(--accent-lime) !important;
}

/* Container */
.container {
    max-width: 98%;
    width: 98%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Brand Square Mark */
.brand-mark {
    width: 36px;
    height: 36px;
    background: var(--accent-lime);
    border: 2px solid #0A0A0A;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: #0A0A0A;
    box-shadow: 2px 2px 0px #0A0A0A;
    flex-shrink: 0;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-main);
    text-transform: lowercase;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -2px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    background: var(--bg-main);
    border-bottom: 2px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    position: relative;
    font-family: inherit;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   Buttons (Brutalist Pill & Outlined)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    border: 2px solid #0A0A0A;
    box-shadow: var(--shadow-hard);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #0A0A0A;
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #0A0A0A;
}

.btn-lime {
    background-color: var(--accent-lime);
    color: #0A0A0A;
}

.btn-lime:hover {
    background-color: var(--accent-lime-hover);
}

.btn-dark {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

.btn-dark:hover {
    background-color: #262626;
}

.btn-white {
    background-color: #FFFFFF;
    color: #0A0A0A;
}

.btn-white:hover {
    background-color: var(--bg-subtle);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-dark);
    color: var(--text-main);
    box-shadow: var(--shadow-hard-sm);
}

.btn-outline:hover {
    background-color: var(--bg-subtle);
}

.btn-icon-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    color: #0A0A0A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-hard-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-icon-toggle:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #0A0A0A;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    box-shadow: var(--shadow-hard-sm);
}

/* ==========================================================================
   Hero Section (Neo-Brutalist Layout)
   ========================================================================== */
.hero-section {
    padding: 48px 0 36px 0;
    background: var(--bg-main);
    border-bottom: 2px solid var(--border-dark);
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0A0A0A;
    box-shadow: var(--shadow-hard-sm);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-pill-tag svg {
    color: var(--text-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-headline {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.hero-headline .highlight-lime {
    background-color: var(--accent-lime);
    color: #0A0A0A;
    padding: 0 10px;
    border-radius: 6px;
    display: inline-block;
    border: 2px solid #0A0A0A;
    box-shadow: 2px 2px 0px #0A0A0A;
    margin-top: 4px;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 18px;
    max-width: 600px;
    line-height: 1.55;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-badge-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hero-badge-note .star-box {
    width: 26px;
    height: 26px;
    background: var(--accent-lime);
    border: 1.5px solid #0A0A0A;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    box-shadow: 1.5px 1.5px 0px #0A0A0A;
}

/* Hero Visual Diagram (Helixblox style circular illustration) */
.hero-visual-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.hero-circle-center {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--accent-lime);
    border: 3px solid #0A0A0A;
    box-shadow: var(--shadow-hard-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-circle-center .h-logo {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: #0A0A0A;
}

.hero-circle-center .h-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #0A0A0A;
    margin-top: 2px;
}

.hero-circle-ring {
    position: absolute;
    width: 320px;
    height: 220px;
    border: 2px dashed #D4D4D8;
    border-radius: 50%;
    transform: rotate(-15deg);
    z-index: 1;
}

.hero-float-bubble {
    position: absolute;
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: var(--shadow-hard);
    z-index: 3;
}

.bubble-left {
    top: 20px;
    left: 20px;
    transform: rotate(-4deg);
}

.bubble-right {
    bottom: 24px;
    right: 24px;
    transform: rotate(3deg);
}

/* ==========================================================================
   Stat Cards (Brutalist Bento / Feature Cards)
   ========================================================================== */
.stats-section {
    padding: 36px 0;
    border-bottom: 2px solid var(--border-dark);
    background: var(--bg-subtle);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 22px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.stat-card {
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: var(--radius-card);
    padding: 20px;
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.stat-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #0A0A0A;
}

.stat-card-featured {
    background: var(--accent-lime);
    box-shadow: var(--shadow-hard);
}

.stat-card-icon {
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 2px 2px 0px #0A0A0A;
    color: #0A0A0A;
}

.stat-card-num {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0A0A0A;
}

.stat-card-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0A0A0A;
    margin-top: 6px;
}

.stat-card-desc {
    font-size: 0.78rem;
    font-weight: 500;
    color: #3F3F46;
    margin-top: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   Toolbar & Filter Bar
   ========================================================================== */
.main-content-section {
    padding: 36px 0 60px 0;
}

.toolbar-card {
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: var(--radius-card);
    padding: 16px 20px;
    box-shadow: var(--shadow-hard);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #0A0A0A;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border-radius: var(--radius-pill);
    border: 2px solid #0A0A0A;
    background: #FFFFFF;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 600;
    color: #0A0A0A;
    box-shadow: 2px 2px 0px #0A0A0A;
    transition: all 0.15s;
}

.search-input:focus {
    outline: none;
    box-shadow: 3px 3px 0px #0A0A0A;
    background: #FFFFFF;
}

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

.select-custom {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    border: 2px solid #0A0A0A;
    background: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: inherit;
    color: #0A0A0A;
    cursor: pointer;
    box-shadow: var(--shadow-hard-sm);
    outline: none;
    transition: all 0.12s;
}

.select-custom:focus {
    box-shadow: 3px 3px 0px #0A0A0A;
}

/* ==========================================================================
   Table Component - Full Width Adaptive Fit (No Scroll / No Wrapper)
   ========================================================================== */
.table-card {
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hard-lg);
    overflow: hidden;
    width: 100%;
}

table.account-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

table.account-table th {
    background: #F4F4F5;
    padding: 10px 8px;
    font-weight: 800;
    font-size: 0.78rem;
    color: #0A0A0A;
    border-bottom: 2px solid #0A0A0A;
    white-space: nowrap;
    user-select: none;
    letter-spacing: -0.01em;
}

table.account-table th.sortable {
    cursor: pointer;
}

table.account-table th.sortable:hover {
    background: #E4E4E7;
}

table.account-table td {
    padding: 8px 6px;
    border-bottom: 1.5px solid #E5E7EB;
    vertical-align: middle;
    color: var(--text-main);
}

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

table.account-table tbody tr:hover {
    background-color: var(--accent-lime-light);
}

/* Checkbox Style */
.checkbox-custom {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid #0A0A0A;
    cursor: pointer;
    accent-color: #0A0A0A;
    display: inline-block;
    vertical-align: middle;
}

/* Cell Specifics - Compact & Auto-Ellipsis */
.cell-email {
    font-weight: 700;
    color: var(--text-main);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
}

.cell-password {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
}

.cell-password .pwd-plain,
.cell-password .pwd-mask {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cell-alt {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cell-keterangan {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    color: var(--text-main);
    font-weight: 500;
}

.cell-waktu {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

/* Badges Status & Inline Selects */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    border: 1.5px solid #0A0A0A;
    cursor: pointer;
    user-select: none;
    box-shadow: 1px 1px 0px #0A0A0A;
    transition: transform 0.1s;
    position: relative;
    white-space: nowrap;
}

.badge-status:hover {
    transform: translate(-1px, -1px);
}

.badge-status.status-login {
    background: var(--status-login-bg);
    color: var(--status-login-text);
}

.badge-status.status-cp {
    background: var(--status-cp-bg);
    color: var(--status-cp-text);
}

.badge-status.status-dead {
    background: var(--status-dead-bg);
    color: var(--status-dead-text);
}

/* Badge Usage */
.badge-usage-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.badge-usage {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    border: 1.5px solid #0A0A0A;
    cursor: pointer;
    box-shadow: 1px 1px 0px #0A0A0A;
    transition: transform 0.1s;
    background: #FFFFFF;
    color: #0A0A0A;
    position: relative;
    white-space: nowrap;
}

.badge-usage:hover {
    transform: translate(-1px, -1px);
}

.badge-time-elapsed {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Invisible Select overlay inside status & usage pills */
.inline-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
    padding-right: 1px;
}

/* Quick Copy Pill Group & Action Buttons in Table */
.cell-action-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
}

.copy-group {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
}

.btn-copy-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #0A0A0A;
    background: #FFFFFF;
    color: #0A0A0A;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 1px 1px 0px #0A0A0A;
    transition: all 0.1s;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-copy-item svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.btn-copy-item:hover {
    background: var(--accent-lime);
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #0A0A0A;
}

.btn-copy-item:active {
    transform: translate(1px, 1px);
    box-shadow: none;
}

.btn-copy-item.copied {
    background: #D1FAE5;
    color: #065F46;
    border-color: #065F46;
}

.row-actions {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.btn-icon-action {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1.5px solid #0A0A0A;
    background: #FFFFFF;
    color: #0A0A0A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 1px 1px 0px #0A0A0A;
    transition: all 0.1s;
    padding: 0;
    flex-shrink: 0;
}

.btn-icon-action:hover {
    background: var(--accent-lime);
    transform: translate(-1px, -1px);
}

.btn-icon-action.btn-del:hover {
    background: #FEE2E2;
    color: #991B1B;
}

.btn-icon-action:active {
    transform: translate(1px, 1px);
    box-shadow: none;
}

/* Pagination Bar */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #F4F4F5;
    border-top: 2px solid #0A0A0A;
    flex-wrap: wrap;
    gap: 12px;
}

.page-btn {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #0A0A0A;
    background: #FFFFFF;
    color: #0A0A0A;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 1.5px 1.5px 0px #0A0A0A;
    transition: all 0.1s;
}

.page-btn:hover:not(:disabled) {
    background: var(--accent-lime);
    transform: translate(-1px, -1px);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ==========================================================================
   Bulk Floating Toolbar
   ========================================================================== */
.bulk-toolbar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #0A0A0A;
    color: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.bulk-toolbar.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.bulk-count-badge {
    background: var(--accent-lime);
    color: #0A0A0A;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 900;
    border: 1.5px solid #0A0A0A;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #FFFFFF;
    border: 3px solid #0A0A0A;
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 580px;
    box-shadow: 8px 8px 0px #0A0A0A;
    transform: scale(0.96);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 2px solid #0A0A0A;
    background: #F4F4F5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0A0A0A;
    letter-spacing: -0.02em;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    transition: background 0.15s;
}

.modal-close:hover {
    background: #E4E4E7;
}

.modal-body {
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 2px solid #0A0A0A;
    background: #F4F4F5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    color: #0A0A0A;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #0A0A0A;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    color: #0A0A0A;
    background: #FFFFFF;
    box-shadow: 2px 2px 0px #0A0A0A;
    transition: box-shadow 0.12s;
}

.form-control:focus {
    outline: none;
    box-shadow: 4px 4px 0px #0A0A0A;
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1100;
}

.toast {
    background: #FFFFFF;
    border: 2px solid #0A0A0A;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 4px 4px 0px #0A0A0A;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0A0A0A;
    animation: toastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .navbar-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 12px;
    }
    .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-headline {
        font-size: 2.2rem;
    }
}
