/* ====================================================
   SITE LEADS SAAS - MAIN DESIGN SYSTEM (style.css)
   ==================================================== */
:root {
    --bg-dark: #070a12;
    --panel-bg: rgba(13, 19, 33, 0.75);
    --panel-border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --primary-hover: #4f46e5;
    --accent: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --cat-no-site-bg: rgba(239, 68, 68, 0.12);
    --cat-inaccessible-bg: rgba(249, 115, 22, 0.12);
    --cat-non-securise-bg: rgba(234, 179, 8, 0.12);
    --cat-date-bg: rgba(168, 85, 247, 0.12);
    --cat-conforme-bg: rgba(34, 197, 94, 0.12);
}

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

a { text-decoration: none; }
a:hover { text-decoration: none; }
button { cursor: pointer; outline: none; }

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    line-height: 1.6;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Background Glow Orbs */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}
.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
    top: -150px;
    left: -150px;
}
.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    bottom: -200px;
    right: -200px;
}
.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Navigation Header */
.navbar {
    border-bottom: 1px solid var(--panel-border);
    background: rgba(7, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo, .logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand-name { font-weight: 800; color: #fff; }
.brand-name .highlight {
    background: linear-gradient(135deg, #818cf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.nav-left { justify-self: start; }
.nav-center { justify-self: center; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.user-menu-pill {
    background: rgba(13, 19, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.35rem 0.35rem 0.8rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.user-menu-pill:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}
.user-email-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.btn-logout-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-logout-icon:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.05);
}
.memory-badge, .btn-memory-badge {
    background: rgba(13, 19, 33, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-memory-badge:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.hero-mini {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 1rem auto;
    padding: 1rem 0;
}
.hero-mini h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}
.hero-mini .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.btn-credits {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #f59e0b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-credits:hover { background: rgba(255, 255, 255, 0.1); }

.user-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-auth-nav {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Main Container (Centered Max-Width Layout) */
.main-container, .main-content {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Landing Page Hero */
.hero-section {
    text-align: center;
    padding: 4rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 850px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 15px 40px var(--primary-glow); }

.btn-secondary-lg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}
.btn-secondary-lg:hover { background: rgba(255, 255, 255, 0.1); }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Config Section & Card Containers (Generous Spacing) */
.launchpad-card, .live-monitor, .results-dashboard, .config-section {
    padding: 2.5rem 2.8rem;
}

@media (max-width: 768px) {
    .launchpad-card, .live-monitor, .results-dashboard, .config-section {
        padding: 1.5rem 1.2rem;
    }
}

.card-header, .section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-title i { color: var(--primary); }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.input-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="text"], input[type="email"], input[type="password"] {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 1rem 1.4rem;
    color: var(--text-main);
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

input::placeholder {
    color: rgba(148, 163, 184, 0.55);
    font-style: normal;
}

/* Pro Tip Box (Generous Padding) */
.pro-tip-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
}
.tip-icon {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.tip-content {
    line-height: 1.45;
}
.tip-content strong { color: #fff; }
.tip-content em { color: #a5b4fc; font-style: normal; }

/* Dup Check Banner */
.dup-check-banner {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-top: 0.8rem;
    transition: all 0.3s ease;
}

.dup-check-banner .banner-icon {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dup-check-banner.blocked {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
    color: #fca5a5 !important;
}
.dup-check-banner.blocked .banner-icon { color: #ef4444 !important; }

.dup-check-banner.success {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
    color: #86efac !important;
}
.dup-check-banner.success .banner-icon { color: #22c55e !important; }

.slider-header { display: flex; justify-content: space-between; align-items: center; }
.slider-val { font-family: var(--font-heading); font-weight: 700; color: var(--primary); font-size: 1.1rem; }

.form-select-stepped {
    background: rgba(13, 19, 33, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}
.form-select-stepped:focus, .form-select-stepped:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    accent-color: var(--primary);
    cursor: pointer;
}

.credit-estimate { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; }
.credit-estimate strong { color: #f59e0b; }

.options-row { margin-top: 0.5rem; }

.toggle-switch { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-slider {
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    transition: background 0.3s ease;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: 0.9rem; color: var(--text-muted); }

.launch-action { margin-top: 2rem; display: flex; justify-content: flex-end; }

.btn-launch {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-launch:hover { transform: translateY(-2px); box-shadow: 0 15px 40px var(--primary-glow); }

/* Gamified Live Monitor */
.live-monitor { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.monitor-header { display: flex; justify-content: space-between; align-items: center; }
.status-indicator { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; font-size: 1.05rem; }

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.live-timer {
    font-family: monospace;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    color: var(--primary);
}

.visual-hub { display: flex; align-items: center; gap: 3rem; }

.radar-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(0,0,0,0.5) 100%);
    flex-shrink: 0;
}
.radar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.6) 0deg, transparent 60deg);
    animation: rotate 2s linear infinite;
    border-radius: 50%;
}
.radar-sweep.paused, .pulse-dot.paused {
    animation-play-state: paused !important;
    opacity: 0.25 !important;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.radar-icon { font-size: 1.5rem; color: var(--primary); z-index: 2; }

.metrics-hub { flex-grow: 1; display: flex; flex-direction: column; gap: 1rem; }
.big-counter { display: flex; align-items: baseline; gap: 0.8rem; }
.counter-num { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1; }
.counter-label { font-size: 1rem; color: var(--text-muted); }

.progress-bar-container { width: 100%; height: 14px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent), #22c55e); border-radius: 10px; transition: width 0.3s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); }

.activity-ticker {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--panel-border);
    padding: 0.75rem 1.2rem;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.ticker-icon { color: var(--primary); }

/* Live Stream Feed (Line-by-Line with Newest on Top Line) */
.stream-feed-box {
    background: rgba(10, 15, 26, 0.75);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.stream-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.stream-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 220px;
    overflow-y: auto;
}
.stream-item {
    font-size: 0.86rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideDown 0.35s ease-out;
}
.stream-item-newest {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

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

.live-categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 0.5rem; }
.live-cat-pill { padding: 0.8rem 1rem; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; border: 1px solid rgba(255, 255, 255, 0.05); }
.live-cat-pill .cat-icon { font-size: 1.2rem; }
.live-cat-pill .cat-name { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.live-cat-pill .cat-count { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; }

.cat-pas-de-site { background: var(--cat-no-site-bg); border-color: rgba(239, 68, 68, 0.3); }
.cat-inaccessible { background: var(--cat-inaccessible-bg); border-color: rgba(249, 115, 22, 0.3); }
.cat-non-securise { background: var(--cat-non-securise-bg); border-color: rgba(234, 179, 8, 0.3); }
.cat-date { background: var(--cat-date-bg); border-color: rgba(168, 85, 247, 0.3); }
.cat-conforme { background: var(--cat-conforme-bg); border-color: rgba(34, 197, 94, 0.3); }

/* ====================================================
   RESULTS DASHBOARD & LEAD CARDS GRID SYSTEM (HIGH END)
   ==================================================== */
.results-dashboard {
    padding: 2.2rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    background: rgba(13, 19, 33, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.dashboard-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dashboard-header .subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.export-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

/* Tabs Bar */
.tabs-bar {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.65rem 1.2rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tab-btn.active {
    background: rgba(99, 102, 241, 0.18);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.tab-btn.tab-pas-de-site.active { border-color: #ef4444; background: rgba(239, 68, 68, 0.18); box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); }
.tab-btn.tab-inaccessible.active { border-color: #f97316; background: rgba(249, 115, 22, 0.18); box-shadow: 0 0 15px rgba(249, 115, 22, 0.3); }
.tab-btn.tab-non-securise.active { border-color: #eab308; background: rgba(234, 179, 8, 0.18); box-shadow: 0 0 15px rgba(234, 179, 8, 0.3); }
.tab-btn.tab-date.active { border-color: #a855f7; background: rgba(168, 85, 247, 0.18); box-shadow: 0 0 15px rgba(168, 85, 247, 0.3); }
.tab-btn.tab-conforme.active { border-color: #22c55e; background: rgba(34, 197, 94, 0.18); box-shadow: 0 0 15px rgba(34, 197, 94, 0.3); }

/* High-Density Data Table Layout */
.leads-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: rgba(10, 15, 26, 0.75);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.leads-table th {
    background: rgba(13, 19, 33, 0.95);
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.95rem 1.1rem;
    border-bottom: 1px solid var(--panel-border);
}

.lead-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.lead-row:hover {
    background: rgba(99, 102, 241, 0.08);
}

.lead-row td {
    padding: 0.9rem 1.1rem;
    vertical-align: middle;
}

.company-name-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.company-sub-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rating-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.reason-cell {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.4;
    max-width: 340px;
}

.contact-phone {
    font-weight: 600;
    color: #f8fafc;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.contact-web .lead-web-link {
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.8rem;
}
.contact-web .lead-web-link:hover {
    text-decoration: underline;
}

.action-buttons-group {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-table-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-table-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-table-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.btn-table-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

/* Individual Lead Card */
.lead-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.lead-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

/* Colored Left Border Accents per Category */
.lead-card-pas_de_site { border-left: 4px solid #ef4444; }
.lead-card-inaccessible { border-left: 4px solid #f97316; }
.lead-card-non_securise { border-left: 4px solid #eab308; }
.lead-card-date { border-left: 4px solid #a855f7; }
.lead-card-conforme { border-left: 4px solid #22c55e; }

.lead-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Badges */
.category-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-pas-de-site { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge-inaccessible { background: rgba(249, 115, 22, 0.15); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.4); }
.badge-non-securise { background: rgba(234, 179, 8, 0.15); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.4); }
.badge-date { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.4); }
.badge-conforme { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.4); }

/* Details Rows */
.lead-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.9rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-muted);
}

.detail-icon {
    width: 18px;
    color: var(--primary);
    flex-shrink: 0;
    text-align: center;
}

.lead-web-link {
    color: #60a5fa;
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
}

.lead-web-link:hover {
    text-decoration: underline;
    color: #93c5fd;
}

/* Diagnostic Box */
.reason-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.84rem;
}

.reason-label {
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reason-text {
    color: #e2e8f0;
    line-height: 1.45;
}

/* Action Buttons */
.lead-actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.btn-card-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.btn-card-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
}

.btn-card-primary:hover {
    box-shadow: 0 4px 18px var(--primary-glow);
}

/* Pricing Grid */
.pricing-section { max-width: 1280px; margin: 4rem auto; padding: 0 1.5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
    background: rgba(13, 19, 33, 0.8);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 40px var(--primary-glow); }
.badge-featured {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
}
.tier-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.tier-price { font-size: 2.2rem; font-weight: 800; color: #fff; }
.tier-credits { font-weight: 700; color: #f59e0b; font-size: 1.1rem; }
.tier-leads { font-size: 0.95rem; color: #22c55e; font-weight: 600; }
.tier-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); margin: 1rem 0; }
.tier-list i { color: var(--primary); margin-right: 0.4rem; }

.btn-buy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--panel-border);
    color: #fff;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-buy:hover { background: rgba(255, 255, 255, 0.16); }
.featured-btn { background: var(--primary); border: none; }
.featured-btn:hover { background: var(--primary-hover); }

/* Calculator Box */
.calc-results-box {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.c-res { display: flex; justify-content: space-between; font-size: 0.95rem; }

/* Auth Page */
.auth-page { display: flex; flex-direction: column; min-height: 100vh; }
.auth-container { max-width: 480px; margin: 3rem auto; padding: 0 1.5rem; width: 100%; }
.auth-card { padding: 2rem; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--panel-border); margin-bottom: 1.5rem; }
.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.auth-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-form { display: flex; flex-direction: column; gap: 1.2rem; }
.full-width-btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

.supabase-test-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.st-header { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.st-result { font-size: 0.85rem; padding: 0.6rem; background: rgba(0, 0, 0, 0.4); border-radius: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--panel-border); padding: 3rem 1.5rem; margin-top: 5rem; background: rgba(9, 13, 22, 0.9); }
.footer-container { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

.hidden { display: none !important; }

/* Export Modal Category Selector */
.export-category-choices {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.8rem 0;
}

.export-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.92rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.export-checkbox-row:hover {
    background: rgba(99, 102, 241, 0.12);
}

.export-checkbox-row.main-chk-row {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
}

.export-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid, .pricing-grid, .preview-stats { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .input-group.full-width { grid-column: span 1; }
    .live-categories { grid-template-columns: repeat(2, 1fr); }
    .visual-hub { flex-direction: column; text-align: center; }
    .footer-container { flex-direction: column; gap: 1.5rem; text-align: center; }
    .leads-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------
   LANDING PAGE CENTERING & BEAUTIFICATION
   ---------------------------------------------------- */
.hero-section {
    padding: 5rem 1.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    width: 100%;
}

.hero-badge {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #818cf8;
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #ffffff;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-sub {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
    color: #ffffff !important;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 1rem 2.2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: #ffffff !important;
}

/* Mockup Live Preview */
.hero-preview-container {
    width: 100%;
    max-width: 950px;
    margin: 3.5rem auto 1rem;
}

.hero-preview-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(16px);
}

.preview-bar {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-bar .dots {
    display: flex;
    gap: 0.4rem;
}

.preview-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.preview-bar .dot.red { background: #ef4444; }
.preview-bar .dot.yellow { background: #f59e0b; }
.preview-bar .dot.green { background: #10b981; }

.preview-url {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.3rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-grow: 1;
    max-width: 450px;
    text-align: center;
}

.preview-body {
    padding: 2.2rem;
}

.preview-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.p-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: left;
}

.p-stat-card.cat-pas-de-site { border-left: 4px solid #ef4444; }
.p-stat-card.cat-inaccessible { border-left: 4px solid #f97316; }
.p-stat-card.cat-non-securise { border-left: 4px solid #f59e0b; }
.p-stat-card.cat-date { border-left: 4px solid #a855f7; }

.p-stat-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.p-stat-val {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    margin-top: 0.4rem;
}

/* Features Section */
.features-section {
    padding: 4rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title-box {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem;
}

.section-title-box h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

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

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-opportunity-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-opportunity-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.15);
}

.f-icon-box {
    font-size: 2.2rem;
    line-height: 1;
}

.feature-opportunity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.feature-opportunity-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* =========================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Navbar */
    .nav-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-left, .nav-center {
        width: 100%;
        justify-content: center;
    }
    .nav-right {
        width: 100%;
        justify-content: center;
        flex-direction: column; /* Stack buttons to prevent overflow */
    }
    .nav-links {
        width: 100%;
        justify-content: space-evenly;
    }
    
    /* Layout */
    body {
        padding-bottom: 2rem;
    }
    .main-content {
        padding-top: 130px; /* accommodate taller stacked navbar */
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    
    /* Cards & Containers */
    .launchpad-card, .live-monitor, .results-dashboard, .config-section, .glass-panel {
        padding: 1.2rem 1rem !important;
        border-radius: 16px;
    }
    
    /* Typography */
    .section-title, .hero-title {
        font-size: 1.35rem;
    }
    .brand-name {
        font-size: 1.5rem;
    }
    
    /* Forms */
    .input-group label {
        font-size: 0.9rem;
    }
    .input-group input, .input-group select {
        padding: 0.85rem 1rem;
        font-size: 1rem; /* Prevent iOS zoom */
    }
    
    /* Buttons */
    .btn-primary, .btn-secondary, .btn-accent, .btn-analyze {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    /* Dashboard Live Stats */
    .stat-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .console-window {
        max-height: 250px;
        font-size: 0.8rem;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
    }
    
    /* History table / grids */
    .features-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .pricing-tier {
        transform: none !important;
    }
}

/* Modern Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 14, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-card {
    background: rgba(13, 19, 33, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(0) scale(1);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: translateY(50px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

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

.modal-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-header h3 i {
    color: var(--primary);
}

.btn-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.modal-sub {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.modal-card .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* ====================================================
   DROPDOWN, PROFILE & RUNPOD STYLE TOPUP ENHANCEMENTS
   ==================================================== */

/* Multi-Select & Header Dropdowns */
.ms-dropdown {
    position: relative;
    display: inline-block;
}

.ms-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.ms-toggle:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
}

.ms-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 0.6rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    z-index: 1000;
    animation: fadeInDown 0.2s ease;
}

.ms-menu.show {
    display: block !important;
}

.ms-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.ms-option:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #fff;
}

.ms-option.text-danger {
    color: #f87171;
}
.ms-option.text-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ms-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.4rem 0;
}

/* Profile Dropdown Specifics */
.profile-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 250px;
}

.profile-header-box {
    padding: 0.6rem 0.8rem;
}

.profile-email-label {
    font-size: 0.85rem;
    color: #94a3b8;
    word-break: break-all;
    margin-bottom: 0.4rem;
}

.plan-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.plan-badge-pill.tier-starter {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.plan-badge-pill.tier-pro {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.plan-badge-pill.tier-agency {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Topup Modal (RunPod Style) */
.balance-display-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.balance-display-box .b-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #fff;
}

.balance-display-box .b-row strong {
    color: var(--primary);
    font-size: 1.15rem;
}

.balance-display-box .b-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.currency-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-input-wrap input {
    width: 100%;
    padding: 0.85rem 4rem 0.85rem 1.2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.currency-input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.currency-tag {
    position: absolute;
    right: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-chips-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-btn .chip-c {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.78rem;
    margin-left: 2px;
}

.chip-btn:hover, .chip-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: #fff;
}

.topup-calc-result {
    background: rgba(99, 102, 241, 0.08);
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    padding: 1rem 1.2rem;
}

.topup-calc-result .calc-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calc-credits {
    font-size: 1.25rem;
    font-weight: 800;
    color: #818cf8;
    font-family: var(--font-heading);
}

.calc-leads {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
}

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


/* ====================================================
   RADAR ANIMATION, MONITOR & TABLE ENHANCEMENTS (SCREENSHOT ACCURATE)
   ==================================================== */

/* Live Monitor Container */
.live-monitor-v2 {
    background: rgba(13, 19, 33, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.monitor-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.monitor-status-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
    font-size: 1.05rem;
    font-weight: 600;
}

.status-dot-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 12px #6366f1;
    animation: pulse 1.5s infinite;
}

.timer-pill-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.35rem 0.8rem;
    color: #94a3b8;
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Radar & Big Progress */
.monitor-radar-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.radar-circle-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(13, 19, 33, 0.9) 70%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.3);
    overflow: hidden;
    flex-shrink: 0;
}

.radar-circle-wrap::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, transparent 60%);
    transform-origin: 100% 100%;
    animation: radarSweep 2s linear infinite;
    border-radius: 100% 0 0 0;
}

.radar-center-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #818cf8;
    box-shadow: 0 0 10px #818cf8;
    z-index: 2;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-info-box {
    flex-grow: 1;
}

.big-lead-counter {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.big-lead-counter .num-val {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1;
}

.big-lead-counter .num-label {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 600;
}

.monitor-bar-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.monitor-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.bar-ratio-text {
    text-align: right;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.4rem;
}

/* Activity stream boxes */
.live-stream-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.live-stream-box i {
    color: var(--primary);
}

/* 5 Bottom Category Cards (Screenshot 1 Accurate) */
.monitor-cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.m-cat-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 14px;
    padding: 1.1rem 0.8rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.m-cat-card:hover {
    transform: translateY(-3px);
}

.m-cat-card.card-pas-de-site {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.05);
}
.m-cat-card.card-inaccessible {
    border: 1px solid rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.05);
}
.m-cat-card.card-non-securise {
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.05);
}
.m-cat-card.card-date {
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.05);
}
.m-cat-card.card-conforme {
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.05);
}

.m-cat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}
.m-cat-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 0.3rem;
}
.m-cat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

/* ====================================================
   TABLE ROW STYLING (SCREENSHOT 2 ACCURATE)
   ==================================================== */
.leads-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.6rem;
}

.leads-table thead th {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leads-table tbody tr {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.leads-table tbody tr:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.leads-table tbody td {
    padding: 1.1rem 1rem;
    vertical-align: middle;
    color: #e2e8f0;
}

.leads-table tbody td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.leads-table tbody td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Date + Category Cell */
.cell-date-cat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.date-stamp {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Category Pill Badges */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
}
.badge-conforme {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.badge-pas-de-site {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.badge-inaccessible {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.35);
}
.badge-non-securise {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.badge-date {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

/* Company Title & Info */
.lead-title-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}
.lead-address-row {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.rating-pill {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.1rem 0.45rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Diagnostic Text */
.lead-diagnostic-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Contact & Site */
.lead-phone-row {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.lead-phone-row i {
    color: var(--primary);
}
.site-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
.site-link-btn:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

/* Launch Button Redesign */
.btn-analyze-v2 {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-analyze-v2:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.65) !important;
}

/* Stripe Button Styling in Modal */
.btn-stripe-pay {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    transition: all 0.2s ease !important;
}

.btn-stripe-pay:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.6) !important;
    color: #fff !important;
}

/* Search Campaign Folders in History */
.search-campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.campaign-folder-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.campaign-folder-card:hover, .campaign-folder-card.active {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.c-folder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.c-folder-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.c-folder-city {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.6rem;
}

.c-folder-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.6rem;
}

.all-leads-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(129, 140, 248, 0.35);
}

.all-leads-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.2));
}

.btn-all-leads {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.25));
    color: #e0e7ff;
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-all-leads:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.4));
    border-color: rgba(168, 85, 247, 0.7);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.history-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-back-campaigns {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-campaigns:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #fff;
    transform: translateX(-3px);
}

.dup-status-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0.5rem 0 1rem;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: fadeInDown 0.2s ease;
}

.dup-status-box.limit-reached {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.live-console-box {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    max-height: 190px;
    overflow-y: auto;
    padding: 0.8rem 1.1rem;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.console-row-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #cbd5e1;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeInDown 0.2s ease;
}

.console-row-item .c-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.console-row-item .c-name {
    color: #ffffff;
    font-weight: 700;
}

.console-row-item .c-city {
    color: #94a3b8;
    font-size: 0.8rem;
}

.console-row-item .c-status-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

/* Single Unified Export Dropdown */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.export-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.export-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.4rem;
    min-width: 215px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    animation: fadeInDown 0.15s ease;
}

.export-menu.hidden {
    display: none !important;
}

.export-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.15s ease;
}

.export-menu-item:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #ffffff;
    transform: translateX(2px);
}
