/* ==========================================================================
   SDRIA - DESIGN SYSTEM & STYLING (APPLE STYLE / BRANCO E VERDE)
   ========================================================================== */

/* Color Tokens & Variables */
:root {
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Apple Colors & Premium Green Palette */
    --bg-app: #f5f5f7;
    --bg-card: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-muted: #a1a1a6;
    
    --accent-green: #00875a;         /* Emerald Green */
    --accent-green-hover: #006644;   /* Darker Emerald */
    --accent-green-light: #e8f5e9;   /* Pastel green tint */
    --accent-green-glow: rgba(0, 135, 90, 0.15);
    
    --border-color: #e5e5e7;
    --border-hover: #d2d2d7;
    
    --input-bg: #fafafa;
    --input-focus-bg: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.8);
    
    /* Status Badge Colors */
    --status-novo-bg: #e3f2fd;
    --status-novo-text: #0d47a1;
    --status-contato-bg: #fff3e0;
    --status-contato-text: #e65100;
    --status-interessado-bg: #e8f5e9;
    --status-interessado-text: #1b5e20;
    --status-convertido-bg: #00875a;
    --status-convertido-text: #ffffff;
    --status-sem-interesse-bg: #ffebee;
    --status-sem-interesse-text: #c62828;

    /* Shadow Design */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-round: 50%;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Mode Overrides */
body.dark-theme {
    --bg-app: #121214;
    --bg-card: #1c1c1e;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-muted: #5e5e62;
    --accent-green-light: rgba(0, 135, 90, 0.08);
    --border-color: #2c2c2e;
    --border-hover: #3a3a3c;
    --input-bg: #252528;
    --input-focus-bg: #1c1c1e;
    --bg-header: rgba(28, 28, 30, 0.8);
    
    --status-novo-bg: rgba(13, 71, 161, 0.25);
    --status-novo-text: #64b5f6;
    --status-contato-bg: rgba(230, 81, 0, 0.25);
    --status-contato-text: #ffb74d;
    --status-interessado-bg: rgba(27, 94, 32, 0.25);
    --status-interessado-text: #81c784;
    --status-convertido-bg: var(--accent-green);
    --status-convertido-text: #ffffff;
    --status-sem-interesse-bg: rgba(198, 40, 40, 0.25);
    --status-sem-interesse-text: #e57373;
}

/* Dark Mode Specific Component Fixes */
body.dark-theme .pricing-tooltip-trigger {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-theme .pricing-tooltip-content {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.dark-theme .pricing-tooltip-card::before {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.dark-theme .chat-bubble.received {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

body.dark-theme .btn-close:hover {
    background-color: var(--border-hover) !important;
    color: var(--text-primary) !important;
}

body.dark-theme .toast {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color);
}

/* Dark Mode Component Contrast & Readability Fixes */
body.dark-theme .btn-secondary {
    background-color: var(--input-bg) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.dark-theme .btn-secondary:hover {
    background-color: var(--border-hover) !important;
    border-color: var(--border-hover) !important;
}

body.dark-theme .btn-icon-action:hover {
    background-color: var(--border-hover) !important;
}

body.dark-theme .btn-landing-secondary-lg:hover {
    background-color: var(--border-hover) !important;
}

body.dark-theme .nav-tab:hover {
    background-color: var(--border-hover) !important;
}

body.dark-theme .main-table th {
    background-color: var(--bg-card) !important;
}

body.dark-theme .main-table tr:hover td {
    background-color: var(--input-bg) !important;
}

body.dark-theme .badge-tag {
    background-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.dark-theme .badge-status.progresso {
    background-color: rgba(230, 81, 0, 0.25) !important;
    color: #ffb74d !important;
}

body.dark-theme .chat-bubble.sent {
    background-color: #005c4b !important;
    color: #f5f5f7 !important;
}

body.dark-theme option {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
}


/* Reset & Core Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-app);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Helpers */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

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

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Buttons */
button {
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-smooth);
}

.pricing-tooltip-card {
    position: absolute;
    top: 28px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 5;
    pointer-events: none;
}

.pricing-tooltip-trigger {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    pointer-events: auto;
}

.pricing-tooltip-trigger:hover,
.pricing-tooltip-trigger:focus {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.pricing-tooltip-content {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.pricing-tooltip-card:hover .pricing-tooltip-content,
.pricing-tooltip-card:focus-within .pricing-tooltip-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.pricing-tooltip-content strong {
    font-size: 0.95rem;
    display: block;
}

.pricing-tooltip-content p {
    margin: 8px 0 0 0;
}

.pricing-tooltip-card::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 16px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    opacity: 0;
    transition: var(--transition-smooth);
}

.pricing-tooltip-card:hover::before,
.pricing-tooltip-card:focus-within::before {
    opacity: 1;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 135, 90, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 135, 90, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-secondary {
    background-color: #f5f5f7;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: #e8e8ed;
    border-color: var(--border-hover);
}

.btn-full {
    width: 100%;
}

.btn-theme {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-theme:hover {
    background-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-logout {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-logout:hover {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

/* Inputs & Form Elements */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-group label i {
    width: 16px;
    height: 16px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--accent-green);
    background-color: var(--input-focus-bg);
    box-shadow: 0 0 0 4px var(--accent-green-glow);
}

.label-with-hint {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at top right, var(--accent-green-light), var(--bg-app) 60%);
}

.login-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.login-logo {
    margin-bottom: 30px;
}

.logo-icon-container {
    width: 64px;
    height: 64px;
    background-color: var(--accent-green-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent-green);
    box-shadow: 0 8px 16px rgba(0, 135, 90, 0.1);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.login-logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.login-logo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.login-footer {
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.auth-toggle-link {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-toggle-link a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.auth-toggle-link a:hover {
    color: var(--accent-green-hover);
    text-decoration: underline;
}

/* App Container and Header */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 72px;
    background-color: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.app-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
}

.header-nav {
    display: flex;
    gap: 8px;
}

.nav-tab {
    background: transparent;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tab i {
    width: 16px;
    height: 16px;
}

.nav-tab:hover {
    background-color: #f2f2f7;
    color: var(--text-primary);
}

.nav-tab.active {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-info {
    text-align: right;
    display: flex;
    flex-direction: column;
}

#user-display-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile Menu Button */
.btn-mobile-menu {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-mobile-menu:hover {
    background-color: var(--bg-app);
}

.btn-mobile-menu i {
    width: 24px;
    height: 24px;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 12px 0;
    z-index: 99;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu.visible {
    display: flex;
}

.mobile-nav-item {
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    text-align: left;
}

.mobile-nav-item:hover {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.mobile-nav-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.mobile-theme-toggle,
.mobile-logout {
    border-top: 1px solid var(--border-color);
}

.mobile-logout:hover {
    background-color: rgba(198, 40, 40, 0.08);
    color: #c62828;
}

/* App Main Content */

.app-content {
    flex: 1;
    padding: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.tab-panel {
    animation: fadeIn 0.4s ease;
}

.panel-header {
    margin-bottom: 30px;
}

.panel-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.panel-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.panel-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.panel-header-with-actions h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.panel-header-with-actions p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* TAB: OVERVIEW (Stats Cards) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrapper.green-light {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.stat-icon-wrapper.blue-light {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.stat-icon-wrapper.emerald-light {
    background-color: #e0f2f1;
    color: #00796b;
}

.stat-icon-wrapper.purple-light {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.stat-icon {
    width: 26px;
    height: 26px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 4px;
}

/* Charts Grid */
.dashboard-charts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.chart-wrapper {
    height: 280px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign-list-wrapper {
    overflow-x: auto;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
}

.simple-table th {
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.simple-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f2f2f7;
    font-size: 0.85rem;
}

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

/* Status Indicators in Table */
.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

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

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

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

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

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

.badge-status.finalizado, 
.badge-status.concluido {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.badge-status.progresso {
    background-color: #fff3e0;
    color: #e65100;
}

/* TAB: CAPTURE LEADS */
.capture-layout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.8fr);
    gap: 24px;
    align-items: start;
}

.capture-results-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 16px;
    align-items: stretch;
}

.card-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.card-header-with-actions h3 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.idle .indicator-dot {
    background-color: var(--text-muted);
}

.status-indicator.running .indicator-dot {
    background-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    animation: pulse 1.5s infinite;
}

.console-screen {
    background-color: #1e1e24;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.76rem;
    color: #e5e5e7;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.capture-leads-card {
    min-width: 0;
}

.capture-leads-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: var(--accent-green-light);
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
}

.capture-leads-list {
    height: 372px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.capture-empty-state {
    min-height: 180px;
    height: 100%;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 0.84rem;
}

.capture-lead-item {
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-green);
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.capture-lead-item:hover {
    border-color: var(--accent-green);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.capture-lead-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.capture-lead-topline strong {
    color: var(--text-primary);
    font-size: 0.88rem;
    line-height: 1.25;
    word-break: break-word;
}

.capture-lead-detail,
.capture-lead-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    margin-top: 5px;
    min-width: 0;
}

.capture-lead-detail span,
.capture-lead-meta span {
    overflow-wrap: anywhere;
}

.capture-lead-detail i {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.capture-lead-meta {
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    font-weight: 600;
}

.capture-lead-tags {
    margin-top: 8px;
}

.console-line {
    word-break: break-all;
    line-height: 1.4;
}

.console-line.system-line {
    color: var(--text-muted);
}

.console-line.success-line {
    color: #4caf50;
}

.console-line.info-line {
    color: #00bcd4;
}

.console-line.warning-line {
    color: #ffeb3b;
}

.console-progress-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar-bg {
    background-color: var(--border-color);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: var(--accent-green);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* TAB: ORGANIZE LEADS */
.table-filters-card {
    margin-bottom: 24px;
    padding: 16px 24px;
}

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-group input, 
.filter-group select {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    outline: none;
    transition: var(--transition-smooth);
}

.filter-group input:focus, 
.filter-group select:focus {
    border-color: var(--accent-green);
    background-color: var(--input-focus-bg);
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

.main-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.main-table th {
    background-color: #fafafa;
    padding: 16px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.main-table tr:hover td {
    background-color: #fafafa;
}

.main-table tr.lead-row-recent td {
    background-color: var(--accent-green-light);
}

.main-table tr.lead-row-recent:hover td {
    background-color: #dcf2df;
}

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

.actions-col {
    text-align: right;
    width: 120px;
}

.lead-name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.lead-recent-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background-color: var(--accent-green);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.pagination-summary,
.pagination-page {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pagination {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-pagination i {
    width: 16px;
    height: 16px;
}

.btn-pagination:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.badge-tag {
    background-color: #f2f2f7;
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
}

.btn-icon-action {
    background: transparent;
    padding: 6px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.btn-icon-action:hover {
    background-color: #e8e8ed;
    color: var(--text-primary);
}

.btn-icon-action.delete:hover {
    background-color: #ffebee;
    color: #c62828;
}

/* TAB: BROADCAST MESSAGES */
.broadcast-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr;
    gap: 24px;
    align-items: start;
}

.broadcast-monitor-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
    align-items: start;
}

/* Smartphone Preview Frame */
.smartphone-frame {
    width: 250px;
    height: 480px;
    border: 10px solid #1d1d1f;
    border-radius: 36px;
    margin: 0 auto;
    position: relative;
    background-color: #efeae2; /* WhatsApp chat background */
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-header {
    height: 24px;
    background-color: #1d1d1f;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 10;
}

.phone-speaker {
    width: 40px;
    height: 4px;
    background-color: #4a4a4a;
    border-radius: 2px;
}

.phone-camera {
    width: 6px;
    height: 6px;
    background-color: #4a4a4a;
    border-radius: 50%;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.chat-header {
    height: 48px;
    background-color: #075e54; /* Classic WA Green Header */
    color: #ffffff;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background-color: #eceff1;
    color: #546e7a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar i {
    width: 18px;
    height: 18px;
}

.chat-contact-info {
    display: flex;
    flex-direction: column;
}

.chat-contact-name {
    font-size: 0.75rem;
    font-weight: 700;
}

.chat-status {
    font-size: 0.6rem;
    color: #d1e7dd;
}

.chat-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 12px 12px;
}

.chat-bubble {
    max-width: 85%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    line-height: 1.3;
    position: relative;
    word-break: break-word;
}

.chat-bubble.received {
    background-color: #ffffff;
    color: var(--text-primary);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.chat-bubble.sent {
    background-color: #d9fdd3; /* WA light green chat bubble */
    color: #303030;
    align-self: flex-end;
    border-top-right-radius: 0;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    animation: scaleUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background-color: #f2f2f7;
    color: var(--text-primary);
}

.modal-grid-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

/* Toasts notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 300;
}

.global-usage-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 320px;
    height: 180px;
    max-width: calc(100vw - 32px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(60, 60, 67, 0.12);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    padding: 18px;
    z-index: 260;
    transition: transform 0.25s ease, opacity 0.25s ease, width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.global-usage-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

/* Estado Minimerizado (Estilo Loading de Carregamento Circular) */
.global-usage-widget.minimized {
    width: 72px;
    height: 72px;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.global-usage-widget.minimized:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.global-usage-widget-normal-content {
    opacity: 1;
    transition: opacity 0.15s ease;
}

.global-usage-widget.minimized .global-usage-widget-normal-content {
    opacity: 0;
    pointer-events: none;
    display: none;
}

.global-usage-widget-minimized-content {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.global-usage-widget.minimized .global-usage-widget-minimized-content {
    display: flex;
    opacity: 1;
}

/* Estilo do Anel de Progresso SVG */
.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.progress-ring__text {
    transform: rotate(90deg);
    transform-origin: 28px 28px;
    fill: var(--text-primary);
}

/* Ajuste no botão de alternar */
#btn-toggle-usage-widget {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
    border-radius: 4px;
}

#btn-toggle-usage-widget:hover {
    opacity: 1;
    background-color: rgba(60, 60, 67, 0.08);
    transform: scale(1.1);
}

body.dark-theme #btn-toggle-usage-widget:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.global-usage-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.global-usage-widget-tag {
    background: rgba(52, 168, 83, 0.14);
    color: #2a6f40;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.global-usage-widget-body {
    display: grid;
    gap: 10px;
}

.global-usage-widget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.global-usage-widget-row strong {
    color: var(--text-primary);
    font-weight: 700;
}

.toast {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-green);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    min-width: 280px;
    max-width: 380px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toast.error {
    border-left-color: #c62828;
}

.toast.info {
    border-left-color: #0d47a1;
}

.toast-message {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.toast-icon {
    width: 20px;
    height: 20px;
}

.toast-icon.success { color: var(--accent-green); }
.toast-icon.error { color: #c62828; }
.toast-icon.info { color: #0d47a1; }

/* Custom Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 135, 90, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-green);
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dashboard-charts-grid {
        grid-template-columns: 1fr;
    }
    
    .capture-layout-grid {
        grid-template-columns: 1fr;
    }

    .capture-results-grid {
        grid-template-columns: 1fr;
    }
    
    .broadcast-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .broadcast-monitor-grid {
        grid-template-columns: 1fr;
    }
    
    .app-header {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .btn-mobile-menu {
        display: flex;
    }
    
    .header-nav {
        display: none;
    }
    
    .header-user {
        gap: 8px;
    }
    
    .user-info {
        display: none;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-grid-fields {
        grid-template-columns: 1fr;
    }
    
    .app-content {
        padding: 20px;
    }
}

/* ==========================================================================
   SETTINGS TAB STYLING
   ========================================================================== */

.settings-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-green);
    margin: 20px 0 15px 0;
}

.settings-section-title i {
    width: 20px;
    height: 20px;
}

.settings-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 25px 0 15px 0;
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.help-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-badge {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.step-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 1024px) {
    .settings-layout-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   KANBAN BOARD AND VIEW TOGGLE STYLES
   ========================================================================== */

.view-toggle-buttons {
    display: inline-flex;
    background-color: var(--border-color);
    padding: 3px;
    border-radius: var(--radius-sm);
    gap: 2px;
}

.btn-toggle {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: calc(var(--radius-sm) - 2px);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-toggle i {
    width: 16px;
    height: 16px;
}

.btn-toggle:hover {
    color: var(--text-primary);
}

.btn-toggle.active {
    background-color: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.kanban-board-card {
    margin-top: 20px;
    animation: fadeIn 0.4s ease;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 16px;
    align-items: start;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 550px;
    max-height: 750px;
    transition: var(--transition-smooth);
}

.kanban-column.drag-over {
    border-color: var(--accent-green);
    background-color: var(--accent-green-light);
    box-shadow: 0 0 0 2px var(--accent-green);
}

.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.kanban-column-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.column-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-round);
    display: inline-block;
}

.dot-novo { background-color: #0d47a1; }
.dot-contato { background-color: #e65100; }
.dot-interessado { background-color: #1b5e20; }
.dot-convertido { background-color: #00875a; }
.dot-sem-interesse { background-color: #c62828; }

.column-count {
    font-size: 0.7rem;
    font-weight: 600;
    background-color: var(--border-color);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 10px;
}

.kanban-cards-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
    min-height: 480px;
}

.kanban-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    cursor: grab;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
    user-select: none;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.5;
    transform: scale(0.98);
    box-shadow: none;
}

.kanban-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.kanban-card.kanban-card-recent {
    border-color: var(--accent-green);
    background-color: var(--accent-green-light);
}

.kanban-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-word;
}

.kanban-card-phone {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.kanban-card-phone i {
    width: 12px;
    height: 12px;
}

.kanban-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.kanban-card-source {
    font-size: 0.62rem;
    font-weight: 600;
    background-color: var(--border-color);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.kanban-card-segment {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--accent-green);
}

/* ==========================================================================
   LANDING PAGE STYLES (PREMIUM MINIMALIST APPLE ACCENT GREEN STYLE)
   ========================================================================== */

.landing-container {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-app);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Styling */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: var(--bg-header);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.landing-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-green-light);
    color: var(--accent-green);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.landing-nav a:hover {
    color: var(--text-primary);
}

.landing-auth-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-landing-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-landing-login:hover {
    background-color: var(--border-color);
}

.btn-landing-cta {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 135, 90, 0.15);
    transition: var(--transition-smooth);
}

.btn-landing-cta:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 135, 90, 0.25);
}

/* Hero Section Styling */
.landing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 80px 8% 100px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.badge-new {
    font-size: 0.72rem;
    font-weight: 700;
    background-color: var(--accent-green-light);
    color: var(--accent-green);
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    width: 100%;
}

.btn-landing-cta-lg {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 135, 90, 0.2);
    transition: var(--transition-smooth);
}

.btn-landing-cta-lg:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 135, 90, 0.3);
}

.btn-landing-secondary-lg {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-landing-secondary-lg:hover {
    background-color: #fafafa;
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* Hero visual (mockup window) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mockup-window {
    width: 100%;
    max-width: 580px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: floatAnimation 6s ease-in-out infinite;
}

.mockup-header {
    background-color: #f1f1f3;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

body.dark-theme .mockup-header {
    background-color: #242426;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.mockup-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mockup-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 300px;
    background-color: var(--bg-app);
}

.mockup-sidebar {
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-nav-item {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
}

.mockup-nav-item.active {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.mockup-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mockup-stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.mockup-stat-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.mockup-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mockup-stat-trend {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 2px;
}

.mockup-stat-trend.green {
    color: #2e7d32;
}

.mockup-chart-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.mockup-chart-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
}

.mockup-chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    flex-grow: 1;
    height: 90px;
    padding-bottom: 4px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 25%;
}

.bar-col span {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.bar-val {
    width: 20px;
    background-color: var(--accent-green);
    border-radius: 4px 4px 0 0;
}

/* Features Section */
.landing-features {
    padding: 80px 8%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: left;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How it works */
.landing-steps {
    padding: 80px 8%;
    background-color: var(--bg-app);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    text-align: left;
    transition: var(--transition-smooth);
}

.step-item:hover {
    transform: translateY(-2px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 24px;
    width: 36px;
    height: 36px;
    background-color: var(--accent-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 135, 90, 0.3);
}

.step-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tech specifications */
.landing-tech {
    padding: 80px 8%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.tech-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.tech-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-list li {
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.tech-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 800;
}

.tech-graphic {
    display: flex;
    justify-content: center;
}

.tech-stack-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    animation: floatStack 6s ease-in-out infinite alternate;
}

.tech-bubble:hover {
    transform: scale(1.1);
}

.tech-bubble.python {
    width: 90px;
    height: 90px;
    background-color: #3776ab;
    color: white;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.tech-bubble.fastapi {
    width: 100px;
    height: 100px;
    background-color: #009688;
    color: white;
    top: 90px;
    right: 20px;
    animation-delay: 1.5s;
}

.tech-bubble.playwright {
    width: 95px;
    height: 95px;
    background-color: #2e8b57;
    color: white;
    bottom: 20px;
    left: 40px;
    animation-delay: 3s;
}

.tech-bubble.docker {
    width: 85px;
    height: 85px;
    background-color: #2496ed;
    color: white;
    top: 150px;
    left: 140px;
    animation-delay: 0.5s;
}

.tech-bubble.sql {
    width: 80px;
    height: 80px;
    background-color: #f29111;
    color: white;
    bottom: 50px;
    right: 40px;
    animation-delay: 2.2s;
}

/* Call to action banner */
.landing-cta-banner {
    padding: 80px 8%;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
    color: #ffffff;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-banner-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-banner-content .btn-landing-cta-lg {
    background-color: #ffffff;
    color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.dark-theme .cta-banner-content .btn-landing-cta-lg {
    background-color: var(--bg-card);
    color: var(--accent-green-light);
    border: 1px solid var(--border-color);
}

.cta-banner-content .btn-landing-cta-lg:hover {
    background-color: #f1f1f3;
    color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

body.dark-theme .cta-banner-content .btn-landing-cta-lg:hover {
    background-color: var(--border-hover);
    color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Landing footer */
.landing-footer {
    padding: 40px 8%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes floatStack {
    from { transform: translateY(0px); }
    to { transform: translateY(-15px); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 50px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .tech-container {
        grid-template-columns: 1fr;
    }
    
    .tech-graphic {
        margin-top: 30px;
    }
    
    .landing-nav {
        display: none;
    }
}

/* Login back button style */
.btn-back-to-home {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-back-to-home:hover {
    color: var(--text-primary);
}

.auth-back-container {
    text-align: center;
    margin-top: 12px;
}

#btn-google-login {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

#btn-google-login:hover {
    background-color: var(--bg-app) !important;
}

/* Pricing & Checkout Plan Options style modifications */
.plan-option-card:hover {
    border-color: var(--accent-color) !important;
    background-color: var(--bg-app) !important;
}

.plan-option-card.selected {
    border-color: var(--accent-color) !important;
    background-color: rgba(52, 168, 83, 0.05) !important;
}

.dark-theme .plan-option-card.selected {
    background-color: rgba(52, 168, 83, 0.15) !important;
}

.pricing-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color) !important;
    box-shadow: var(--shadow-md);
}

.pro-card:hover {
    transform: scale(1.06) translateY(-5px) !important;
}

/* ==========================================================================
   ADMIN USER MANAGEMENT PANEL
   ========================================================================== */

/* Stats Grid */
.admin-users-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px !important;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.admin-stat-icon i {
    width: 22px;
    height: 22px;
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.admin-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Users Table Card */
.admin-users-table-card {
    padding: 0 !important;
    overflow: hidden;
}

.admin-users-table-card .card-header-with-actions {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
}

.admin-users-table {
    width: 100%;
}

.admin-users-table thead th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--input-bg);
    white-space: nowrap;
}

.admin-users-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.85rem;
}

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

.admin-users-table tbody tr {
    transition: background-color 0.15s ease;
}

.admin-users-table tbody tr:hover {
    background-color: var(--accent-green-light);
}

.dark-theme .admin-users-table tbody tr:hover {
    background-color: rgba(0, 135, 90, 0.08);
}

/* User Avatar */
.admin-user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Role Badges */
.admin-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-role-admin {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    color: #764ba2;
}

.dark-theme .admin-role-admin {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
    color: #c4a1e8;
}

.admin-role-member {
    background: rgba(0, 135, 90, 0.1);
    color: var(--accent-green);
}

.dark-theme .admin-role-member {
    background: rgba(0, 135, 90, 0.2);
    color: #43e97b;
}

.admin-role-director {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.dark-theme .admin-role-director {
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
}

/* Status Badges */
.admin-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-status-active {
    background-color: rgba(0, 135, 90, 0.12);
    color: #00875a;
}

.dark-theme .admin-status-active {
    background-color: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}

.admin-status-inactive {
    background-color: rgba(198, 40, 40, 0.1);
    color: #c62828;
}

.dark-theme .admin-status-inactive {
    background-color: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

.admin-status-pending {
    background-color: rgba(230, 81, 0, 0.1);
    color: #e65100;
}

.dark-theme .admin-status-pending {
    background-color: rgba(255, 167, 38, 0.15);
    color: #ffa726;
}

/* Action Buttons Group */
.admin-actions-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-action-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.admin-action-btn:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.admin-action-role:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: #667eea;
    border-color: #667eea;
}

.admin-action-status:hover {
    background: rgba(0, 135, 90, 0.08);
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.admin-action-delete:hover {
    background: rgba(198, 40, 40, 0.08);
    color: #c62828;
    border-color: #c62828;
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-users-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-users-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-users-table-card .table-responsive {
        overflow-x: auto;
    }
    
    .admin-users-table {
        min-width: 800px;
    }
}

/* Dark Theme Support for Global Usage Widget */
body.dark-theme .global-usage-widget {
    background: rgba(28, 28, 30, 0.96);
    border-color: rgba(86, 86, 90, 0.2);
}

body.dark-theme .global-usage-widget-tag {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}

/* User Profile Dropdown Styles */
.user-info {
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.user-info:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-theme .user-info:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 80px;
    width: 220px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
    animation: userDropdownFadeIn 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.user-dropdown.show {
    display: flex;
}

.user-dropdown-item {
    background: transparent;
    border: none;
    padding: 11px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: var(--transition-smooth);
    width: 100%;
}

.user-dropdown-item:hover {
    background-color: var(--accent-green-light);
    color: var(--accent-green);
}

body.dark-theme .user-dropdown-item:hover {
    background-color: rgba(0, 135, 90, 0.15);
}

.user-dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 6px 0;
}

@keyframes userDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modals Plan Cards */
.modal-plan-card.selected {
    border: 2px solid var(--accent-green) !important;
    background: var(--accent-green-light) !important;
}

body.dark-theme .modal-plan-card.selected {
    border: 2px solid var(--accent-green) !important;
    background: rgba(0, 135, 90, 0.15) !important;
}

/* Bulk Action Bar - Sticky at bottom */
.bulk-action-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 16px 28px;
    z-index: 1000;
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.dark-theme .bulk-action-bar {
    background: rgba(30, 30, 30, 0.85);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.bulk-action-bar.hidden {
    display: none !important;
    opacity: 0;
    transform: translate(-50%, 50px);
}

.bulk-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

.bulk-selected-count {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

#bulk-count-number {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.bulk-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bulk-action-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bulk-action-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

.bulk-action-group select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-app);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.col-selection {
    width: 40px;
    text-align: center;
}
