/* ============================================
   SHERLOCK - Detective Agency Dashboard
   Theme: Bold Detective / Case File Aesthetic
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Primary Colors - Deep Navy */
    --navy-900: #0c1222;
    --navy-800: #0f172a;
    --navy-700: #1e293b;
    --navy-600: #334155;
    --navy-500: #475569;

    /* Accent Colors - Police Blue */
        --gold-500: #0d4f8b;
        --gold-400: #1a6fc2;
        --gold-300: #4a9ae6;
        --gold-glow: rgba(13, 79, 139, 0.3);

    /* Status Colors */
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-bg: rgba(16, 185, 129, 0.15);

    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-bg: rgba(245, 158, 11, 0.15);

    --crimson-500: #ef4444;
    --crimson-400: #f87171;
    --crimson-bg: rgba(239, 68, 68, 0.15);

    /* Neutrals */
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --white: #ffffff;

    /* Paper/Card Colors */
    --paper: #faf9f7;
    --paper-dark: #f5f4f2;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    --shadow-gold: 0 4px 14px rgba(251, 191, 36, 0.25);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: var(--slate-100);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
}

/* ==================== HEADERs ==================== */
.header {
    background: var(--navy-900);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: repeating-conic-gradient(var(--gold-500) 0deg 90deg,
            var(--white) 90deg 180deg) 50% / 22px 22px;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--gold-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--navy-700);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--slate-300);
    border: 1px solid var(--navy-600);
}

.shop-badge::before {
    content: '🏪';
    font-size: 12px;
}

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

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--white) 100%);
    color: var(--navy-900);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
    color: var(--navy-900);
}

.btn-secondary {
    background: var(--navy-700);
    color: var(--slate-200);
    border: 1px solid var(--navy-600);
}

.btn-secondary:hover {
    background: var(--navy-600);
    border-color: var(--gold-500);
}

.btn-outline {
    background: transparent;
    color: var(--gold-400);
    border: 2px solid var(--gold-500);
}

.btn-outline:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-danger {
    background: var(--crimson-500);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

/* ==================== MAIN LAYOUT ==================== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    text-align: center;
    padding: 40px 20px 30px;
    margin-bottom: 10px;
}

.hero-icon {
    font-size: 48px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--navy-700);
    border: 2px solid var(--gold-500);
    border-radius: 50%;
    filter: drop-shadow(0 0 20px var(--gold-glow));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(59, 130, 246, 0.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.hero-title .highlight {
    color: var(--gold-400);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--slate-400);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
.built-for-shopify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-300);
}

.built-for-shopify .shopify-logo {
    font-size: 18px;
}

/* ==================== PROTECTION STATUS (Main Card) ==================== */
.protection-card {
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
    border: 2px solid var(--navy-600);
    border-radius: var(--radius-xl);
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.protection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--navy-600);
}

.protection-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.protection-title-icon {
    font-size: 28px;
}

.protection-title h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.protection-body {
    padding: 28px;
}

.status-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.low {
    background: var(--emerald-bg);
    color: var(--emerald-400);
    border: 2px solid var(--emerald-500);
}

.status-badge.medium {
    background: var(--amber-bg);
    color: var(--amber-400);
    border: 2px solid var(--amber-500);
}

.status-badge.high {
    background: var(--crimson-bg);
    color: var(--crimson-400);
    border: 2px solid var(--crimson-500);
}

.status-badge .status-icon {
    font-size: 20px;
}

.status-meta {
    color: var(--slate-400);
    font-size: 14px;
}

.status-message {
    background: var(--navy-800);
    border-left: 4px solid var(--gold-500);
    padding: 16px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 24px;
}

.status-message p {
    color: var(--slate-300);
    font-size: 15px;
    line-height: 1.6;
}

.status-message .detective-quote {
    font-style: italic;
    color: var(--slate-400);
    margin-top: 8px;
    font-size: 14px;
}

/* Risk Reasons */
.risk-warnings {
    margin-bottom: 24px;
}

.risk-warning-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--amber-bg);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    color: var(--amber-400);
    font-size: 14px;
}

.risk-warning-item.high {
    background: var(--crimson-bg);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--crimson-400);
}

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

.protection-stat {
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}

.protection-stat:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
}

.protection-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.protection-stat-value.warning {
    color: var(--amber-400);
}

.protection-stat-value.danger {
    color: var(--crimson-400);
}

.protection-stat-value.success {
    color: var(--emerald-400);
}

.protection-stat-label {
    font-size: 11px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Info icon in stats */
.stat-info {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    color: var(--slate-500);
    cursor: help;
}

.stat-info:hover {
    color: var(--gold-400);
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: none;
    background: var(--navy-900);
    color: var(--slate-300);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    width: 250px;
    text-align: left;
    line-height: 1.5;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--navy-600);
    z-index: 100;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border: 8px solid transparent;
    border-top-color: var(--navy-600);
}

/* ==================== CASE FILES GRID ==================== */
.case-files-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.section-header .section-icon {
    font-size: 24px;
}

.case-files-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-file {
    background: var(--paper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
}

.case-file::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-600);
}

.case-file.status-clean::before {
    background: var(--emerald-500);
}

.case-file.status-warning::before {
    background: var(--amber-500);
}

.case-file.status-danger::before {
    background: var(--crimson-500);
}

.case-file:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.case-file-header {
    background: var(--navy-800);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-file-number {
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-file-number .case-icon {
    font-size: 20px;
}

.case-file-number span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-file-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.case-file-status.clean {
    background: var(--emerald-bg);
    color: var(--emerald-500);
}

.case-file-status.warning {
    background: var(--amber-bg);
    color: var(--amber-500);
}

.case-file-status.danger {
    background: var(--crimson-bg);
    color: var(--crimson-500);
}

.case-file-body {
    padding: 20px;
    color: var(--navy-800);
}

.case-file-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.case-file-desc {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.5;
    margin-bottom: 16px;
}

.case-file-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.case-file-metric .metric-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-900);
}

.case-file-metric .metric-value.warning {
    color: var(--amber-500);
}

.case-file-metric .metric-value.danger {
    color: var(--crimson-500);
}

.case-file-metric .metric-label {
    font-size: 14px;
    color: var(--slate-500);
}

.case-file-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-file-action .btn {
    background: var(--navy-700);
    color: var(--white);
    font-size: 13px;
    padding: 8px 14px;
}

.case-file-action .btn:hover {
    background: var(--navy-800);
}

/* ==================== CAPABILITIES SECTION ==================== */
.capabilities-section {
    margin-bottom: 30px;
}

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

.capability-card {
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s ease;
}

.capability-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
}

.capability-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.capability-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.capability-desc {
    font-size: 13px;
    color: var(--slate-400);
    line-height: 1.5;
}

/* ==================== TABS ==================== */
.tabs-container {
    margin-bottom: 24px;
}

.tabs {
    display: flex;
    gap: 4px;
    background: var(--navy-800);
    padding: 6px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    border: 1px solid var(--navy-600);
}

.tab {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-400);
    background: transparent;
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab:hover {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--white) 100%);
    color: var(--navy-900);
    border-color: transparent;
}

.tab.active {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--white) 100%);
    color: var(--navy-900);
    border-color: transparent;
    font-weight: 600;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--navy-600);
    flex-wrap: wrap;
    gap: 12px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 20px;
}

/* ==================== GRID SYSTEM ==================== */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==================== STATS CARDS ==================== */
.stat-card {
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-value.success {
    color: var(--emerald-400);
}

.stat-value.warning {
    color: var(--amber-400);
}

.stat-value.danger {
    color: var(--crimson-400);
}

.stat-label {
    font-size: 13px;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== TABLES ==================== */
.table-container {
    overflow-x: auto;
}

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

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--navy-600);
}

th {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--navy-800);
}

td {
    font-size: 14px;
    color: var(--slate-200);
}

tr:hover td {
    background: var(--navy-800);
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.badge-success {
    background: var(--emerald-bg);
    color: var(--emerald-400);
}

.badge-warning {
    background: var(--amber-bg);
    color: var(--amber-400);
}

.badge-danger {
    background: var(--crimson-bg);
    color: var(--crimson-400);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-gray {
    background: var(--navy-600);
    color: var(--slate-300);
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--slate-400);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}

/* ==================== LOADING ==================== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--navy-600);
    border-top-color: var(--gold-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.loading p {
    color: var(--slate-400);
    font-size: 14px;
}

/* ==================== NOTIFICATIONS ==================== */
#notifications {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

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

.notification-success {
    background: var(--emerald-500);
    color: var(--white);
}

.notification-error {
    background: var(--crimson-500);
    color: var(--white);
}

.notification-warning {
    background: var(--amber-500);
    color: var(--navy-900);
}

.notification-info {
    background: #3b82f6;
    color: var(--white);
}

.notification-close {
    background: none;
    border: none;
    color: currentColor;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 0 0 12px;
}

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

/* ==================== MODAL ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 18, 34, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--navy-600);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--slate-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--white);
}

.modal-body {
    padding: 24px;
}

.modal-body>p {
    color: var(--slate-400);
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    background: var(--navy-800);
    border-top: 1px solid var(--navy-600);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--slate-200);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-500);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--navy-800);
    color: var(--white);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--slate-500);
    margin-top: 6px;
}

/* ==================== TAB CONTENT ==================== */
.tab-content {
    animation: fadeIn 0.3s ease;
}

.tab-content.hidden {
    display: none;
}

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

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

/* ==================== SCAN STATUS ==================== */
.scan-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.scan-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.scan-status-dot.running {
    background: var(--amber-500);
    animation: pulse 1.5s ease-in-out infinite;
}

.scan-status-dot.completed {
    background: var(--emerald-500);
}

.scan-status-dot.failed {
    background: var(--crimson-500);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ==================== PROGRESS BANNER ==================== */
#scan-progress {
    margin-bottom: 20px;
}

.progress-banner {
    background: var(--navy-800);
    border: 1px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--slate-200);
}

.progress-content .spinner {
    width: 24px;
    height: 24px;
    margin: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--slate-500);
    font-size: 13px;
    border-top: 1px solid var(--navy-700);
    margin-top: 40px;
}

.footer a {
    color: var(--gold-400);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

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

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

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

/* ==================== CODE ==================== */
code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: var(--navy-800);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--gold-400);
}

/* ==================== SCAN PROGRESS INDICATOR ==================== */
.scan-progress-indicator {
    text-align: center;
    padding: 50px 20px;
}

.scan-progress-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid var(--navy-600);
    border-top-color: var(--gold-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

.scan-progress-indicator h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}

.scan-progress-indicator p {
    color: var(--slate-400);
    margin-bottom: 8px;
}

.scan-progress-indicator .scan-progress-note {
    font-size: 13px;
    color: var(--slate-500);
    font-style: italic;
}

/* ==================== APP LIST ==================== */
.app-list {
    list-style: none;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--navy-600);
}

.app-item:last-child {
    border-bottom: none;
}

.app-item.suspect {
    background: var(--crimson-bg);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.app-info {
    flex: 1;
}

.app-name {
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 2px;
}

.app-reason {
    font-size: 13px;
    color: var(--slate-400);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .case-files-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .protection-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .case-files-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .protection-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .status-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 576px) {

    .main-container,
    .container {
        padding: 16px;
    }

    .header {
        padding: 12px 16px;
    }

    .protection-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .protection-stat {
        padding: 16px 12px;
    }

    .protection-stat-value {
        font-size: 24px;
    }

    .tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-section {
        padding: 30px 10px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-icon {
        font-size: 48px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .case-file-metric .metric-value {
        font-size: 28px;
    }

    #notifications {
        left: 10px;
        right: 10px;
        max-width: none;
    }

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

/* ==================== PRINT ==================== */
@media print {

    .header,
    .tabs,
    .btn,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .header-inner {
        padding: 12px 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .tabs-container {
        padding: 0 20px;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .case-files-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .shop-badge {
        display: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .hero-section {
        padding: 30px 16px;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    .built-for-shopify {
        padding: 8px 16px;
        font-size: 12px;
    }

    .tabs-container {
        padding: 0 10px;
        overflow-x: auto;
    }

    .tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: max-content;
    }

    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .tab-content {
        padding: 20px 16px;
    }

    .protection-card {
        padding: 20px 16px;
    }

    .protection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .protection-header h2 {
        font-size: 18px;
    }

    .risk-badge {
        padding: 8px 16px;
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 16px 12px;
    }

    .stat-value {
        font-size: 28px;
    }

    .case-files-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .case-file-card {
        padding: 16px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .capability-card {
        padding: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    /* Modal responsive */
    .modal-content {
        margin: 10px;
        padding: 20px;
        max-height: 90vh;
    }

    .modal-header h2 {
        font-size: 20px;
    }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    .header-inner {
        padding: 10px 12px;
    }

    .logo {
        gap: 8px;
    }

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

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-tagline {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .btn-icon {
        display: none;
    }

    .hero-section {
        padding: 24px 12px;
    }

    .hero-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .tabs {
        gap: 4px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .tab-btn .tab-icon {
        display: none;
    }

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

    .stat-item {
        padding: 12px 8px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    .protection-status {
        flex-direction: column;
        gap: 8px;
    }

    .last-scan {
        font-size: 12px;
    }

    .case-file-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .case-number {
        font-size: 11px;
    }

    .case-status {
        font-size: 10px;
        padding: 4px 8px;
    }

    .case-file-body h3 {
        font-size: 16px;
    }

    .case-file-body p {
        font-size: 13px;
    }

    .case-stat {
        font-size: 24px;
    }

    .tooltip .tooltip-text {
        width: 200px;
        font-size: 12px;
        padding: 10px;
    }
}

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
    .main-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 700px;
    }

    .case-files-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
/* Rating Widget */
.rating-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

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

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

.rating-widget-inner {
    background: var(--navy-700);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.rating-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--slate-400);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.rating-close:hover {
    color: var(--white);
}

.rating-content,
.rating-success {
    text-align: center;
}

.rating-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.rating-content h3,
.rating-success h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.rating-content p,
.rating-success p {
    color: var(--slate-400);
    font-size: 14px;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.rating-stars .star {
    font-size: 32px;
    color: var(--navy-600);
    cursor: pointer;
    transition: all 0.2s;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: var(--gold-400);
    transform: scale(1.1);
}

.rating-stars .star.hovered {
    color: var(--gold-300);
}

.rating-comment {
    width: 100%;
    padding: 12px;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
    resize: none;
    margin-bottom: 16px;
}

.rating-comment:focus {
    outline: none;
    border-color: var(--gold-500);
}

.rating-comment::placeholder {
    color: var(--slate-500);
}

.rating-widget .btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .rating-widget {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .rating-widget-inner {
        width: 100%;
    }
}
/* Investigation Report Styles */
.investigation-report {
    background: var(--navy-800);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--navy-600);
}

.report-header h3 {
    font-size: 20px;
    margin: 0;
}

.risk-badge {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
}

.risk-badge.success {
    background: var(--emerald-bg);
    color: var(--emerald-400);
    border: 1px solid var(--emerald-500);
}

.risk-badge.warning {
    background: var(--amber-bg);
    color: var(--amber-400);
    border: 1px solid var(--amber-500);
}

.risk-badge.danger {
    background: var(--crimson-bg);
    color: var(--crimson-400);
    border: 1px solid var(--crimson-500);
}

.report-recommendation {
    background: var(--navy-700);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.report-recommendation p {
    margin: 0;
}

.report-evidence h4 {
    color: var(--slate-200);
}

.evidence-section {
    margin-bottom: 20px;
}

.evidence-section h4 {
    font-size: 14px;
    color: var(--slate-300);
    margin-bottom: 4px;
}

.evidence-section-desc {
    font-size: 12px;
    color: var(--slate-500);
    margin-bottom: 12px;
}

.evidence-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evidence-item {
    background: var(--navy-700);
    padding: 12px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold-500);
}

.evidence-title {
    color: var(--gold-400);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.evidence-title:hover {
    text-decoration: underline;
}

.evidence-snippet {
    font-size: 13px;
    color: var(--slate-400);
    margin: 8px 0;
    font-style: italic;
}

.evidence-source {
    font-size: 12px;
    color: var(--slate-500);
}

.evidence-issue-type {
    font-weight: 500;
    color: var(--slate-200);
}

.evidence-count {
    color: var(--slate-400);
    font-size: 13px;
    margin-left: 8px;
}

.evidence-conflict {
    color: var(--amber-400);
}
/* ==================== DIAGNOSIS ALERT BANNER ==================== */

.diagnosis-alert {
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border: 1px solid var(--gold-500);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.diagnosis-alert.hidden {
    display: none;
}

.diagnosis-alert.alert-danger {
    border-color: var(--red-500);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, var(--navy-900) 100%);
}

.diagnosis-alert.alert-warning {
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, var(--navy-900) 100%);
}

.diagnosis-alert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.diagnosis-alert-icon {
    font-size: 32px;
}

.diagnosis-alert-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-100);
    margin: 0;
}

.diagnosis-alert-subtitle {
    color: var(--slate-400);
    font-size: 14px;
    margin-top: 4px;
}

.diagnosis-suspect {
    background: var(--navy-700);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.diagnosis-suspect-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.diagnosis-suspect-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-400);
}

.diagnosis-confidence {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.diagnosis-confidence.very-likely {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-400);
}

.diagnosis-confidence.likely {
    background: rgba(245, 158, 11, 0.2);
    color: var(--gold-400);
}

.diagnosis-confidence.possibly {
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue-400);
}

.diagnosis-suspect-message {
    color: var(--slate-300);
    font-size: 14px;
    line-height: 1.5;
}

.diagnosis-actions {
    margin-top: 16px;
}

.diagnosis-actions-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-200);
    margin-bottom: 12px;
}

.diagnosis-action {
    background: var(--navy-700);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-left: 3px solid var(--gold-500);
}

.diagnosis-action-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.diagnosis-action-number {
    background: var(--gold-500);
    color: var(--navy-900);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.diagnosis-action-content {
    flex: 1;
}

.diagnosis-action-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-100);
    margin-bottom: 4px;
}

.diagnosis-action-description {
    font-size: 13px;
    color: var(--slate-400);
    line-height: 1.4;
}

.diagnosis-action-why {
    font-size: 12px;
    color: var(--slate-500);
    font-style: italic;
    margin-top: 4px;
}

.diagnosis-dismiss {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--white) 100%);
    border: none;
    color: var(--navy-900);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.2s;
    display: inline-block;
}

.diagnosis-dismiss:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
    transform: translateY(-1px);
}
/* ==================== ROLLBACK TAB ==================== */

.rollback-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rollback-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: 8px;
    transition: all 0.2s;
}

.rollback-file-item:hover {
    border-color: var(--gold-500);
    background: var(--navy-700);
}

.rollback-file-info {
    flex: 1;
}

.rollback-file-path {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.rollback-file-meta {
    margin-top: 4px;
}

.rollback-file-action {
    margin-left: 16px;
}

/* Version Timeline */
.version-timeline {
    position: relative;
    padding-left: 24px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--navy-600);
}

.version-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.version-item:not(:last-child) {
    border-bottom: 1px solid var(--navy-700);
}

.version-marker {
    position: absolute;
    left: -24px;
    top: 20px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--navy-800);
}

.version-content {
    flex: 1;
}

.version-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.version-date {
    font-weight: 600;
    color: var(--slate-200);
}

.version-meta {
    margin-bottom: 8px;
}

.version-current {
    background: rgba(16, 185, 129, 0.05);
    margin-left: -16px;
    padding-left: 16px;
    margin-right: -16px;
    padding-right: 16px;
    border-radius: 8px;
}

/* Rollback History */
.rollback-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rollback-history-item {
    padding: 12px 16px;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: 8px;
}

.rollback-history-info {
    flex: 1;
}
/* Simple Restore View */
.theme-protection-simple {
    padding: 8px 0;
}

.restore-options {
    margin-top: 16px;
}

/* Restore Date Picker */
.restore-date-picker {
    padding: 8px 0;
}

.restore-date-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.restore-date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--navy-800);
    border: 1px solid var(--navy-600);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restore-date-item:hover:not(.restore-date-current) {
    border-color: var(--gold-500);
    background: var(--navy-700);
}

.restore-date-current {
    cursor: default;
    border-color: var(--emerald-600);
    background: rgba(16, 185, 129, 0.1);
}

.restore-date-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.restore-date-label {
    font-weight: 600;
    color: var(--slate-200);
}

.restore-date-sub {
    font-size: 13px;
    color: var(--slate-500);
}
/* ============================================
   Toggle Switch Styles (Kill Switches)
   ============================================ */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ef4444;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #22c55e;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}
