/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Palette Principale (Modern/Inter) */
    --bg: #f7f9fc;
    --bg-soft: #f8fafc;
    --text: #111827;
    --text-soft: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    
    /* Brand Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0ea5e9;

    /* Dashboard Specifics */
    --pillar-monetary: #2563eb;
    --pillar-reserve: #f59e0b;
    --pillar-infra: #10b981;
    
    /* UI Elements */
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --radius: 18px;
    --radius-sm: 12px;
    --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
h1, h2, h3, h4 { margin-top: 0; color: #1e293b; }

/* =========================================
   2. LAYOUT & GRID
   ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Grids Dashboard */
.grid-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.grid-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

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

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.86);
    border-bottom: 1px solid rgba(229,231,235,0.8);
}

.nav {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px; gap: 16px;
}

.brand {
    display: flex; align-items: center; gap: 12px;
    font-weight: 800; font-size: 1.05rem; color: var(--text);
}

.logo {
    width: 100px; 
}

.nav-links {
    display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
    color: #334155; font-weight: 600; font-size: 0.96rem;
}
.nav-links a:hover { color: var(--primary); }

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

/* =========================================
   4. BUTTONS & BADGES
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 18px; border-radius: var(--radius-sm);
    font-weight: 700; transition: 0.18s ease;
    border: 1px solid transparent; cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 8px 18px rgba(37,99,235,0.22);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-ghost {
    background: white; border-color: var(--border); color: #1f2937;
}
.btn-ghost:hover { background: #f8fafc; border-color: #cbd5e1; }

.btn-sm {
    padding: 4px 10px; border-radius: 999px;
    font-size: 0.75rem; font-weight: 700;
    background: #f1f5f9; color: #475569;
    border: none; cursor: default;
}

/* Status Badges */
.badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 10px; border-radius: 999px;
    font-size: 0.78rem; font-weight: 800;
}
.badge-ok { background: #dcfce7; color: #15803d; }
.badge-soft { background: #eff6ff; color: #1d4ed8; }
.badge-warn { background: #fff7ed; color: #b45309; }

.sync-badge {
    font-size: 0.75em; padding: 4px 8px; border-radius: 12px;
    position: absolute; top: 20px; right: 20px;
}
.sync-ok { background: #dcfce7; color: #15803d; }
.sync-warn { background: #fef3c7; color: #b45309; }

/* =========================================
   5. CARDS & DASHBOARD COMPONENTS
   ========================================= */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.card h3 {
    margin: 0 0 15px;
    font-size: 0.95rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin: 10px 0;
    line-height: 1.2;
}

.stat-sub {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* NAV Bar Component */
.nav-bar-container { margin-top: 15px; }
.nav-bar-labels {
    display: flex; justify-content: space-between;
    font-size: 0.75rem; color: var(--text-soft); margin-bottom: 5px;
}
.nav-bar {
    display: flex; height: 12px; border-radius: 6px;
    overflow: hidden; width: 100%; background: #f1f5f9;
}
.nav-seg {
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.6rem; font-weight: bold;
    transition: width 0.5s ease;
}
.seg-monetary { background: var(--pillar-monetary); }
.seg-reserve { background: var(--pillar-reserve); }
.seg-infra { background: var(--pillar-infra); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
th {
    text-align: left; padding: 10px; color: var(--text-soft);
    border-bottom: 1px solid var(--border); font-weight: 600;
}
td {
    padding: 12px 10px; border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.amount { font-weight: 700; color: #111827; }

/* Hash Chip */
.hash-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f8fafc; border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 8px;
    font-family: monospace; font-size: 0.8rem; color: #475569;
}
.hash-btn {
    background: none; border: none; color: var(--primary);
    cursor: pointer; font-weight: 600; padding: 0; font-size: 0.8rem;
}
.hash-btn:hover { text-decoration: underline; }

/* Action Buttons Grid */
.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-btn {
    display: block; text-align: center; padding: 12px;
    background: #f8fafc; border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: #334155; font-weight: 600; transition: 0.2s;
}
.action-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* Alerts */
.alert-warning {
    background: #fff7ed; border-left: 4px solid var(--warning);
    color: #9a3412; padding: 20px; border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.alert-success {
    background: #dcfce7; border-left: 4px solid var(--success);
    color: #15803d; padding: 15px; border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

/* Modal */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: none; align-items: center; justify-content: center;
    z-index: 1000; backdrop-filter: blur(4px);
}

.modal-hash {
    word-break: break-all; background: #f8fafc; padding: 10px;
    border-radius: 8px; font-family: monospace; margin: 15px 0;
    font-size: 0.85rem; border: 1px solid var(--border);
}
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* =========================================
   6. LANDING PAGE SECTIONS
   ========================================= */
.hero { padding: 72px 0 40px; }
.hero-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 26px; align-items: stretch;
}
.hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #13203f 100%);
    color: white; border-radius: 26px; padding: 34px;
    box-shadow: 0 18px 42px rgba(15,23,42,0.22);
    position: relative; overflow: hidden;
}
.hero-card::after {
    content: ""; position: absolute; width: 420px; height: 420px;
    right: -120px; top: -120px;
    background: radial-gradient(circle, rgba(96,165,250,0.18) 0%, rgba(96,165,250,0) 70%);
    pointer-events: none;
}
.eyebrow {
    display: inline-flex; gap: 8px; align-items: center;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: #dbeafe; border-radius: 999px; padding: 8px 12px;
    font-size: 0.82rem; font-weight: 700; margin-bottom: 18px;
}
.hero h1 {
    margin: 0 0 16px; font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02; letter-spacing: -0.03em; color: white;
}
.hero p {
    margin: 0; font-size: 1.06rem; line-height: 1.65;
     max-width: 760px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-kpis {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.hero-kpi {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px; padding: 16px;
}
.hero-kpi strong { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.hero-kpi span { color: rgba(255,255,255,0.74); font-size: 0.9rem; }

.pulse-card {
    background: white; border-radius: 26px; padding: 26px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.section-title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; }
.section-sub { margin: 0 0 18px;  line-height: 1.6; }
.status-stack { display: grid; gap: 14px; }
.status-item {
    border: 1px solid var(--border); 
    border-radius: 18px; padding: 16px;
}
.status-top {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin-bottom: 8px;
}
.status-label {
    font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: #64748b; font-weight: 800;
}
.status-value { font-size: 1.5rem; font-weight: 800; color: #111827; }
.status-note { font-size: 0.92rem; color: #64748b; }

.section { padding: 26px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card .icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: #eff6ff; color: var(--primary);
    font-size: 1.2rem; margin-bottom: 14px;
}

.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.explore-card {
    background: white; border: 1px solid var(--border);
    border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm);
    transition: 0.18s ease;
}
.explore-card:hover { transform: translateY(-3px); border-color: #cbd5e1; }
.explore-link { color: var(--primary); font-weight: 800; font-size: 0.95rem; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step {
    background: white; border: 1px solid var(--border);
    border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm);
    position: relative;
}
.step-num {
    width: 34px; height: 34px; border-radius: 999px;
    display: grid; place-items: center;
    background: #dbeafe; color: var(--primary-dark);
    font-weight: 900; margin-bottom: 12px;
}

.cta {
    margin: 28px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
    color: white; border-radius: 28px; padding: 34px;
    box-shadow: 0 18px 42px rgba(15,23,42,0.16);
}
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cta h2 { margin: 0 0 10px; font-size: 1.8rem; color: white; }
.cta p { margin: 0; color: rgba(255,255,255,0.82); line-height: 1.65; max-width: 760px; }

.site-footer {
    padding: 24px 0 50px; color: #64748b; font-size: 0.92rem;
    border-top: 1px solid var(--border); margin-top: 40px;
}
.footer-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap;
}

/* =========================================
   7. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav { padding: 12px 0; align-items: flex-start; }
    .nav-links { display: none; } /* Mobile Menu Toggle needed if desired */
    .hero { padding: 42px 0 24px; }
    .hero-card, .pulse-card, .cta { padding: 24px; }
    .hero-kpis { grid-template-columns: 1fr; }
    .cards-grid, .explore-grid, .flow { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .nav-actions { width: 100%; justify-content: flex-start; }
}




        h1, h2, h3, h4 { color: #2c3e50; margin-top: 0; }

    
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
            gap: 25px;
        }

        .info-box {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 30px;
            border-left: 6px solid var(--primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .badge-gas {
            background: var(--success);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
            box-shadow: 0 2px 4px rgba(40,167,69,0.3);
        }

        input, select, textarea {
            width: 100%;
            padding: 12px;
            margin: 8px 0;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-sizing: border-box;
            transition: all 0.3s;
            font-size: 0.95em;
        }

        input:focus, select:focus, textarea:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
        }

        button {
            cursor: pointer;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.2s;
            font-size: 0.95em;
        }

        button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .btn-primary { background: var(--primary); color: white; }
        .btn-success { background: var(--success); color: white; }
        .btn-danger  { background: var(--danger); color: white; }
        .btn-outline {
            background: transparent;
            border: 2px solid #ddd;
            color: #666;
        }
        .btn-outline:hover {
            border-color: #999;
            color: #333;
        }

        .vault-card {
            position: relative;
            border-top: 5px solid var(--primary);
            overflow: visible;
        }

        .vault-card:hover {
            transform: none !important;
        }

        .vault-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            gap: 10px;
        }

        .stats-row {
            display: flex;
            justify-content: space-between;
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .stat-item {
            text-align: center;
            flex: 1;
            border-right: 1px solid #eee;
        }

        .stat-item:last-child { border-right: none; }

        .stat-val {
            font-size: 1.4em;
            font-weight: 800;
            color: var(--primary);
        }

        .stat-lbl {
            font-size: 0.75em;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 5px;
        }

        .alert {
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 25px;
            font-weight: 500;
        }

        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .hidden-form {
            display: none;
            background: #f1f3f5;
            padding: 20px;
            border-radius: 10px;
            margin-top: 15px;
            animation: fadeIn 0.3s;
        }

        .policy-summary {
            background: #fff3cd;
            color: #856404;
            padding: 12px;
            border-radius: 8px;
            font-size: 0.9em;
            margin-top: 15px;
            border-left: 4px solid #ffeeba;
        }

        .actions-4 {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 12px;
        }

        @media (max-width: 900px) {
            .actions-4 { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 560px) {
            .actions-4 { grid-template-columns: 1fr; }
        }

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

        .modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.45);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            z-index: 9999;
        }

        .modal-backdrop.show { display: flex; }

        .modal {
            background: #fff;
            width: min(760px, 100%);
            max-height: 90vh;
            overflow: auto;
            border-radius: 14px;
            box-shadow: 0 20px 60px rgba(0,0,0,.18);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 22px;
            border-bottom: 1px solid #eee;
            position: sticky;
            top: 0;
            background: #fff;
            z-index: 1;
        }

        .modal-title {
            margin: 0;
            font-size: 1.05rem;
            color: #2c3e50;
        }

        .modal-close {
            border: none;
            background: transparent;
            font-size: 1.5rem;
            cursor: pointer;
            color: #666;
            padding: 0 6px;
            box-shadow: none;
            transform: none;
        }

        .modal-body { padding: 22px; }

        .form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }

        @media (max-width: 760px) {
            .form-grid-2 { grid-template-columns: 1fr; }
        }

        .field-group { margin-bottom: 16px; }

        .field-group label {
            display: block;
            font-weight: 600;
            font-size: 0.9em;
            margin-bottom: 8px;
            color: #555;
        }

        .policy-inline {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .tag-box {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            background: #fcfcfc;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 10px;
            min-height: 52px;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #eef4ff;
            color: #0b5ed7;
            border: 1px solid #cfe2ff;
            border-radius: 999px;
            padding: 8px 12px;
            font-size: 0.88em;
            font-weight: 600;
        }

        .tag button {
            border: none;
            background: transparent;
            color: #0b5ed7;
            cursor: pointer;
            padding: 0;
            font-size: 1em;
            line-height: 1;
            box-shadow: none;
            transform: none;
        }

        .tag button:hover { color: #dc3545; }

        .tag-input-row {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }

        .tag-input-row input { margin: 0; }

        .category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .category-pill {
            border: 1px solid #d0d7de;
            background: #fff;
            color: #333;
            border-radius: 999px;
            padding: 10px 14px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 600;
        }

        .category-pill.active {
            background: #e8f2ff;
            border-color: #7db4ff;
            color: #0b5ed7;
        }

        .hidden-checkboxes { display: none; }

        .api-card {
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 14px;
            background: #fafafa;
        }

        .api-prefix {
            font-family: monospace;
            color: #666;
            font-size: 0.9em;
            margin-top: 4px;
        }






.tabs { display: flex; border-bottom: 2px solid #eee; margin-bottom: 20px; }
.tab { flex: 1; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; color: #666; }
.tab.active { color: var(--primary); border-bottom: 3px solid var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.info-box { background: #e3f2fd; padding: 15px; border-radius: 6px; margin-bottom: 20px; display: flex; justify-content: space-between; }
.fee-breakdown { background: #f8f9fa; border: 1px solid #dee2e6; padding: 15px; border-radius: 8px; margin: 15px 0; font-size: 0.9em; }
.fee-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.fee-row.total { border-top: 1px solid #ccc; padding-top: 5px; margin-top: 5px; font-weight: bold; color: var(--primary); }
.fee-row.net { color: var(--success); font-weight: bold; }
.fee-row.usd-conv { color: #666; font-style: italic; font-size: 0.85em; border-bottom: 1px dashed #ddd; padding-bottom: 5px; margin-bottom: 5px;}
input, select { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }

.crypto-address { background: #f1f3f5; padding: 10px; border-radius: 6px; font-family: monospace; text-align: center; word-break: break-all; margin: 10px 0; color: #d63384; border: 1px dashed #ccc; }
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-success { background: #d4edda; color: #155724; }



.payout-card { background: #f8f9fa; border: 1px solid #dee2e6; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
input, select { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box;}

button:disabled { background: #ccc; cursor: not-allowed; }
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-success { background: #d4edda; color: #155724; }
.est-row { display: flex; justify-content: space-between; margin-top: 5px; font-size: 0.9em; color: #666; }
.method-option { display: flex; justify-content: space-between; align-items: center; }




.subtitle { color: #666; margin-top: 5px; }
label { font-weight: 600; font-size: 0.9em; color: #555; display: block; margin-bottom: 8px; margin-top: 15px; }
input[type="email"], input[type="password"], input[type="text"], input[type="tel"], select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1em; box-sizing: border-box; transition: border 0.3s; background: #fff; }
input:focus, select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }

.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; text-align: center; font-weight: 500; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-success { background: #d4edda; color: #155724; }
.info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.info-label { color: #666; font-size: 0.9em; }
.info-value { font-weight: 600; color: #2c3e50; }
/* Bank Section Specifics */
.bank-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.bank-item { background: #f8f9fa; border: 1px solid #e9ecef; padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.bank-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.2em; margin-right: 15px; }
.bg-paypal { background-color: var(--paypal); }
.bg-iban { background-color: #2c3e50; }
.bg-stripe { background-color: var(--stripe); }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.75em; font-weight: bold; text-transform: uppercase; }
.badge-saved { background: #d4edda; color: #155724; }
.badge-missing { background: #f8d7da; color: #721c24; }
.back-link { display: block; text-align: center; margin-top: 20px; color: #666; text-decoration: none; font-size: 0.9em; }
.back-link:hover { color: var(--primary); }
.section-note { font-size: 0.85em; color: #666; margin-top: 5px; font-style: italic; }

 :root{
            --bg:#0b1020; --bg-soft:#121a30; --card:#ffffff; --card-soft:#f5f7fb;
            --text:#111827; --text-soft:#5b6475; --white:#ffffff;
            --primary:#2563eb; --primary-dark:#1747b5; --success:#16a34a;
            --warning:#d97706; --border:#e5e7eb; --shadow:0 10px 30px rgba(0,0,0,.08);
            --radius:18px; --max:1180px;
        }
        
        *{box-sizing:border-box} html{scroll-behavior:smooth}
        body{ margin:0; font-family:Inter,system-ui,-apple-system,sans-serif; color:var(--text); background:linear-gradient(180deg,#f7f9fc 0%,#eef3fb 100%); }
        a{text-decoration:none;color:inherit} .container{max-width:var(--max);margin:0 auto;padding:0 20px}

/* Stili base per il modal prodotti */
#add-product-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#add-product-modal .modal {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.field-group { margin-bottom: 12px; }
.field-group label { display: block; margin-bottom: 4px; font-weight: 500; font-size: 14px; }
.field-group input, .field-group select, .field-group textarea {
    width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box;
}


.form-feedback.success { color: #28a745; }
.form-feedback.error { color: #dc3545; }

