/* Aman Ad Intelligence - Dark Theme */
/* Background: #0f1117 | Card: #1a1d27 | Accent: #4F8EFF */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1117;
    color: #e1e4eb;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ── Header ── */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 24px;
    border-bottom: 1px solid #252836;
    margin-bottom: 24px;
}
.header-left h1 { font-size: 1.5rem; color: #4F8EFF; }
.header-left .subtitle { color: #8b8fa3; font-size: 0.85rem; margin-left: 8px; }
.header-right { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: #8b8fa3; flex-wrap: nowrap; overflow-x: auto; }
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #555; display: inline-block;
}
.status-dot.connected { background: #34d399; }
.btn-logout {
    color: #8b8fa3; text-decoration: none; padding: 6px 14px;
    border: 1px solid #333; border-radius: 6px; font-size: 0.8rem;
    transition: all 0.2s;
}
.btn-logout:hover { color: #e1e4eb; border-color: #4F8EFF; }

/* ── KPI Cards ── */
.kpi-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.kpi-card {
    background: #1a1d27;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #252836;
}
.kpi-label { font-size: 0.8rem; color: #8b8fa3; margin-bottom: 4px; }
.kpi-value { font-size: 1.8rem; font-weight: 700; color: #e1e4eb; }
.kpi-sub { font-size: 0.75rem; color: #6b7080; margin-top: 8px; }

/* ── Progress Bars ── */
.progress-bar {
    height: 6px; background: #252836; border-radius: 3px;
    overflow: hidden; flex: 1;
}
.progress-fill {
    height: 100%; background: #4F8EFF; border-radius: 3px;
    transition: width 0.5s ease;
}
.progress-fill.warning { background: #f59e0b; }
.progress-fill.danger { background: #ef4444; }

/* ── Sections ── */
.section { margin-bottom: 28px; }
.section h2 { font-size: 1.1rem; color: #e1e4eb; margin-bottom: 16px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 0; }

/* ── Tests Grid ── */
.tests-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.test-card {
    background: #1a1d27; border-radius: 12px; padding: 20px;
    border: 1px solid #252836;
}
.test-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.test-name { font-weight: 600; font-size: 1rem; }
.variants-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.variant-col { flex: 1; background: #151821; border-radius: 8px; padding: 12px; }
.variant-label {
    font-size: 0.75rem; font-weight: 700; color: #4F8EFF;
    margin-bottom: 6px; text-transform: uppercase;
}
.variant-col:last-child .variant-label { color: #FF6B6B; }
.variant-stat { font-size: 0.8rem; color: #8b8fa3; margin-bottom: 2px; }
.variant-stat strong { color: #e1e4eb; }
.vs {
    font-size: 0.7rem; color: #555; font-weight: 700;
    padding: 4px 8px; background: #252836; border-radius: 4px;
}
.confidence-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.8rem; color: #8b8fa3; margin-bottom: 12px;
}
.confidence-bar { flex: 1; }
.test-actions { display: flex; gap: 8px; }

/* ── Buttons ── */
.btn-small {
    padding: 6px 14px; font-size: 0.8rem; border: none;
    border-radius: 6px; cursor: pointer; font-weight: 500;
    background: #4F8EFF; color: #fff; transition: background 0.2s;
    white-space: nowrap;
}
.btn-small:hover { background: #3d72cc; }
.btn-outline {
    background: transparent; border: 1px solid #333; color: #8b8fa3;
}
.btn-outline:hover { border-color: #4F8EFF; color: #4F8EFF; background: transparent; }

/* ── Badges ── */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 12px;
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
.badge-running { background: rgba(52,211,153,0.15); color: #34d399; }
.badge-paused { background: rgba(245,158,11,0.15); color: #f59e0b; }
.badge-pending { background: rgba(139,143,163,0.15); color: #8b8fa3; }
.badge-approved { background: rgba(52,211,153,0.15); color: #34d399; }
.badge-rejected { background: rgba(239,68,68,0.15); color: #ef4444; }
.badge-type { background: rgba(79,142,255,0.15); color: #4F8EFF; }

/* ── Charts ── */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-card {
    background: #1a1d27; border-radius: 12px; padding: 20px;
    border: 1px solid #252836;
}
.chart-card h3 { font-size: 0.9rem; color: #8b8fa3; margin-bottom: 12px; }

/* ── Decisions Table ── */
.decisions-table table {
    width: 100%; border-collapse: collapse;
    background: #1a1d27; border-radius: 12px; overflow: hidden;
}
.decisions-table th {
    text-align: left; padding: 12px 16px;
    background: #151821; color: #8b8fa3;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.decisions-table td {
    padding: 10px 16px; border-top: 1px solid #252836;
    font-size: 0.85rem;
}

/* ── Creatives Grid ── */
.filter-group { display: flex; gap: 6px; }
.filter-btn {
    padding: 5px 14px; border-radius: 6px; border: 1px solid #333;
    background: transparent; color: #8b8fa3; cursor: pointer;
    font-size: 0.8rem; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { border-color: #4F8EFF; color: #4F8EFF; }
.creatives-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.creative-card {
    background: #1a1d27; border-radius: 12px; padding: 16px;
    border: 1px solid #252836;
}
.creative-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.creative-name { font-weight: 600; font-size: 0.9rem; }
.creative-type { font-size: 0.75rem; color: #8b8fa3; margin-bottom: 6px; }
.creative-headline { font-size: 0.85rem; color: #a0a4b8; font-style: italic; margin-bottom: 4px; }
.creative-review, .creative-expires { font-size: 0.75rem; color: #6b7080; }

/* ── Empty State ── */
.empty-state {
    text-align: center; padding: 40px; color: #555;
    background: #1a1d27; border-radius: 12px; border: 1px solid #252836;
}

/* ── Login Page ── */
.login-container {
    min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    background: #0f1117;
}
.login-box {
    width: 100%; max-width: 380px;
    background: #1a1d27; padding: 40px 32px;
    border-radius: 16px; border: 1px solid #252836;
    text-align: center;
}
.login-logo {
    width: 56px; height: 56px; border-radius: 14px;
    background: #4F8EFF; color: #fff; font-size: 1.4rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.login-box h1 { font-size: 1.3rem; color: #e1e4eb; margin-bottom: 4px; }
.login-subtitle { color: #8b8fa3; font-size: 0.85rem; margin-bottom: 28px; }
.login-error {
    background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444; padding: 10px; border-radius: 8px;
    font-size: 0.85rem; margin-bottom: 16px;
}
.login-box .form-group { text-align: left; margin-bottom: 16px; }
.login-box label { display: block; color: #8b8fa3; font-size: 0.8rem; margin-bottom: 6px; }
.login-box input {
    width: 100%; padding: 10px 14px; border-radius: 8px;
    border: 1px solid #333; background: #151821; color: #e1e4eb;
    font-size: 0.9rem; outline: none; transition: border 0.2s;
}
.login-box input:focus { border-color: #4F8EFF; }
.btn-login {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: #4F8EFF; color: #fff; font-size: 1rem;
    font-weight: 600; cursor: pointer; margin-top: 8px; transition: background 0.2s;
}
.btn-login:hover { background: #3d72cc; }

/* ── Toast Notifications ── */
.toast-container {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
}
.toast {
    padding: 12px 20px; border-radius: 8px; font-size: 0.85rem;
    color: #fff; opacity: 0; transform: translateX(40px);
    transition: all 0.3s ease; max-width: 360px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-info { background: #4F8EFF; }
.toast-success { background: #34d399; color: #0f1117; }
.toast-warn { background: #f59e0b; color: #0f1117; }
.toast-error { background: #ef4444; }

/* ── Confirm Modal ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.modal-box {
    background: #1a1d27; border: 1px solid #252836; border-radius: 14px;
    padding: 28px 32px; max-width: 420px; width: 90%;
}
.modal-title { font-size: 1.1rem; font-weight: 700; color: #e1e4eb; margin-bottom: 16px; }
.modal-body { font-size: 0.9rem; color: #a0a4b8; margin-bottom: 24px; line-height: 1.7; }
.modal-body strong { color: #e1e4eb; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── Collect Button ── */
.btn-collect {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 8px; border: 1px solid #333;
    background: transparent; color: #8b8fa3; font-size: 0.8rem;
    cursor: pointer; transition: all 0.2s;
}
.btn-collect:hover { border-color: #4F8EFF; color: #4F8EFF; }
.btn-collect.collecting { border-color: #34d399; color: #34d399; cursor: default; }
.collect-icon { font-size: 1rem; display: inline-block; }
.collect-icon.spinning { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Toggle Switch ── */
.test-header-right { display: flex; align-items: center; gap: 10px; }
.toggle-switch {
    position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0; background: #555; border-radius: 11px; transition: 0.3s;
}
.toggle-slider::before {
    content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px;
    background: #e1e4eb; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: #34d399; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ── Budget Panel ── */
.budget-panel {
    margin-top: 14px; padding-top: 14px; border-top: 1px solid #252836;
}
.budget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.budget-label { font-size: 0.8rem; color: #8b8fa3; }
.budget-current { font-size: 0.85rem; font-weight: 600; color: #e1e4eb; }
.budget-slider-row { margin-bottom: 8px; }
.budget-slider {
    width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
    background: #252836; border-radius: 3px; outline: none;
}
.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
    border-radius: 50%; background: #0d9488; cursor: pointer; border: 2px solid #14b8a6;
}
.budget-slider::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: #0d9488; cursor: pointer; border: 2px solid #14b8a6;
}
.budget-input-row { display: flex; align-items: center; gap: 8px; }
.budget-input {
    flex: 1; padding: 7px 12px; border-radius: 6px; border: 1px solid #333;
    background: #151821; color: #e1e4eb; font-size: 0.85rem; outline: none;
}
.budget-input:focus { border-color: #0d9488; }
.budget-unit { font-size: 0.8rem; color: #8b8fa3; }
.btn-budget { background: #0d9488 !important; }
.btn-budget:hover { background: #0f766e !important; }
.budget-change { font-size: 0.75rem; margin-top: 6px; color: #8b8fa3; }
.budget-up { color: #34d399; }
.budget-down { color: #ef4444; }

/* ============================================================ */
/* Phase 2: Campaign Wizard */
/* ============================================================ */
.modal-wide { max-width: 680px; width: 95%; max-height: 85vh; overflow-y: auto; }
.modal-close {
    background: none; border: none; color: #8b8fa3; font-size: 1.5rem;
    cursor: pointer; float: right; line-height: 1;
}
.modal-close:hover { color: #e1e4eb; }
.modal-title { display: flex; justify-content: space-between; align-items: center; }

/* Step Indicator */
.step-indicator {
    display: flex; gap: 4px; margin: 20px 0; padding: 0;
}
.step {
    flex: 1; text-align: center; padding: 10px 4px;
    background: #151821; border-radius: 8px; font-size: 0.75rem; color: #555;
    transition: all 0.3s;
}
.step.active { background: #4F8EFF; color: #fff; }
.step.done { background: #1a3a6a; color: #4F8EFF; }
.step-num { display: block; font-weight: 700; font-size: 1rem; }
.step-label { font-size: 0.7rem; }

.step-content { min-height: 200px; }
.step-content h3 { font-size: 1rem; color: #e1e4eb; margin-bottom: 16px; }

/* Objective Cards */
.objective-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.obj-card {
    background: #151821; border: 2px solid #252836; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.obj-card:hover { border-color: #4F8EFF; }
.obj-card.selected { border-color: #4F8EFF; background: rgba(79,142,255,0.1); }
.obj-icon { font-size: 2rem; margin-bottom: 8px; }
.obj-name { font-weight: 700; font-size: 0.95rem; color: #e1e4eb; margin-bottom: 4px; }
.obj-desc { font-size: 0.75rem; color: #8b8fa3; }

/* Form Elements */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: #8b8fa3; font-size: 0.8rem; margin-bottom: 6px; }
.form-input {
    width: 100%; padding: 10px 14px; border-radius: 8px;
    border: 1px solid #333; background: #151821; color: #e1e4eb;
    font-size: 0.9rem; outline: none; transition: border 0.2s;
}
.form-input:focus { border-color: #4F8EFF; }
select.form-input { cursor: pointer; }
.form-row { display: flex; gap: 16px; }
.flex1 { flex: 1; }

.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-label, .cb-label {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 6px; border: 1px solid #333;
    background: #151821; color: #8b8fa3; font-size: 0.8rem; cursor: pointer;
    transition: all 0.2s;
}
.radio-label:has(input:checked), .cb-label:has(input:checked) {
    border-color: #4F8EFF; color: #4F8EFF; background: rgba(79,142,255,0.1);
}
.radio-label input, .cb-label input { accent-color: #4F8EFF; }

.range-row { font-size: 0.85rem; color: #e1e4eb; margin-bottom: 8px; }
.dual-range { position: relative; }
.dual-range input[type="range"] { width: 100%; }

.field-warning {
    color: #ef4444; font-size: 0.75rem; margin-top: 4px;
    padding: 4px 8px; background: rgba(239,68,68,0.1); border-radius: 4px;
}

/* Step Nav */
.step-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid #252836; }
.btn-primary { background: #4F8EFF !important; color: #fff !important; }
.btn-primary:hover { background: #3d72cc !important; }

/* Summary */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary-item {
    display: flex; justify-content: space-between; padding: 8px 12px;
    background: #151821; border-radius: 6px; font-size: 0.85rem;
}
.summary-label { color: #8b8fa3; }
.camp-summary { margin-bottom: 16px; }

.compliance-pass {
    padding: 8px 12px; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3);
    color: #34d399; border-radius: 8px; font-size: 0.85rem; margin-top: 8px;
}
.compliance-fail {
    padding: 8px 12px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444; border-radius: 8px; font-size: 0.85rem; margin-top: 8px;
}

/* Campaign meta in list */
.camp-meta { display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: #8b8fa3; margin-top: 8px; }
.camp-creatives-list { max-height: 200px; overflow-y: auto; }
.creative-select { margin-bottom: 4px; }

/* ============================================================ */
/* Phase 2: Copy Generation */
/* ============================================================ */
.skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.skeleton-card {
    height: 200px; background: linear-gradient(90deg, #1a1d27 25%, #252836 50%, #1a1d27 75%);
    background-size: 200% 100%; border-radius: 12px;
    animation: skeleton 1.5s infinite;
}
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes previewPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.copy-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 16px; }
.copy-card {
    background: #151821; border: 1px solid #252836; border-radius: 12px; padding: 16px;
}
.copy-card-header {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 0.9rem; color: #e1e4eb; margin-bottom: 12px;
}
.copy-field { margin-bottom: 10px; }
.copy-field label { display: block; font-size: 0.7rem; color: #8b8fa3; margin-bottom: 4px; }
.copy-text {
    background: #1a1d27; border: 1px solid #252836; border-radius: 6px;
    padding: 8px 10px; font-size: 0.85rem; color: #e1e4eb; min-height: 32px;
    outline: none; transition: border 0.2s;
}
.copy-text:focus { border-color: #4F8EFF; }
.forbidden-highlight { background: #ef4444; color: #fff; padding: 1px 4px; border-radius: 3px; }

.copy-actions { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.copy-campaign-select { flex: 1; padding: 6px 10px; font-size: 0.8rem; }

/* ============================================================ */
/* Phase 2: Upload */
/* ============================================================ */
.upload-zone {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 40px; border: 2px dashed #333; border-radius: 12px;
    background: #151821; cursor: pointer; transition: all 0.2s; min-height: 180px;
    color: #8b8fa3; font-size: 0.9rem;
}
.upload-zone.drag-over { border-color: #4F8EFF; background: rgba(79,142,255,0.05); }
.upload-icon { font-size: 2.5rem; }
.upload-hint { font-size: 0.7rem; color: #555; margin-top: 8px; }

.upload-preview-card {
    display: flex; gap: 16px; align-items: center; padding: 16px;
    background: #151821; border-radius: 12px; margin-bottom: 16px;
}
.upload-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.upload-video-icon {
    width: 80px; height: 80px; border-radius: 8px; background: #252836;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.upload-filename { font-weight: 600; font-size: 0.9rem; color: #e1e4eb; }
.upload-filesize { font-size: 0.8rem; color: #8b8fa3; }
.upload-info { flex: 1; }

.upload-success {
    padding: 16px; background: #151821; border-radius: 12px;
    font-size: 0.85rem; color: #e1e4eb;
}
.upload-success > div { margin-bottom: 6px; }

/* Uploaded creatives in grid */
.creative-thumb {
    width: 100%; height: 120px; object-fit: cover; border-radius: 8px 8px 0 0;
    margin-bottom: 8px;
}
.video-thumb {
    width: 100%; height: 120px; display: flex; align-items: center; justify-content: center;
    background: #252836; border-radius: 8px 8px 0 0; margin-bottom: 8px;
    font-size: 1.5rem; color: #8b8fa3;
}
.creative-meta { display: flex; gap: 8px; align-items: center; font-size: 0.75rem; color: #8b8fa3; margin-top: 4px; }
.btn-delete {
    background: none; border: none; color: #555; font-size: 1.2rem;
    cursor: pointer; padding: 0 4px; transition: color 0.2s;
}
.btn-delete:hover { color: #ef4444; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .container { padding: 12px 12px; }
    .kpi-section { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .charts-grid { grid-template-columns: 1fr; }
    .tests-grid { grid-template-columns: 1fr; }
    header { flex-direction: column; gap: 8px; text-align: center; padding: 12px 0 16px; }
    .header-left h1 { font-size: 1.2rem; }
    .header-left .subtitle { display: none; }
    .header-right { flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 0.75rem; }
    .objective-cards { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .summary-grid { grid-template-columns: 1fr; }
    .copy-cards-grid { grid-template-columns: 1fr; }
    .skeleton-grid { grid-template-columns: 1fr; }
    .creatives-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .creative-card { padding: 10px; }
    .creative-thumb { height: 90px; }
    .creative-name { font-size: 0.8rem; }
    .creative-meta { font-size: 0.65rem; }
    .section-header { flex-direction: column; gap: 8px; align-items: flex-start !important; }
    .section-header h2 { font-size: 1rem; }
    .modal-box { margin: 8px; max-height: 95vh; border-radius: 12px; }
    .modal-box.modal-wide { width: calc(100vw - 16px); max-width: none; }
    .upload-zone { padding: 24px; min-height: 120px; }
    .upload-preview-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .filter-group { flex-wrap: wrap; }
    .camp-meta { flex-wrap: wrap; }
    .card { padding: 16px; }
    .btn, .btn-small { font-size: 0.8rem; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .kpi-section { grid-template-columns: 1fr 1fr; gap: 6px; }
    .kpi-card { padding: 12px; }
    .kpi-card .value { font-size: 1.2rem; }
    .kpi-card .label { font-size: 0.65rem; }
    .creatives-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .creative-thumb { height: 80px; }
    .creative-card { padding: 8px; }
    .header-right .btn-small { padding: 4px 8px; font-size: 0.7rem; }
}
