:root {
    --brand: #1971d6;
    --brand-dark: #1557b0;
    --brand-light: #e8f1fd;
    --accent: #12b76a;
    --accent-dark: #0d9a58;
    --accent-light: #e6f7ee;
    --bg: #f4f6f9;
    --card: #ffffff;
    --border: #e3e9f0;
    --text: #1f2933;
    --text-muted: #6b7a8c;
    --card-radius: 12px;
    --shadow: 0 1px 3px rgba(20, 40, 70, 0.08), 0 4px 14px rgba(20, 40, 70, 0.04);
    --shadow-hover: 0 6px 24px rgba(20, 40, 70, 0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ---------- Navbar (white) ---------- */
.navbar-aviso {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(20, 40, 70, 0.05);
}

.navbar-aviso .navbar-brand {
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--brand);
}

.navbar-aviso .navbar-brand:hover {
    color: var(--brand-dark);
}

.navbar-aviso .nav-link {
    color: #45536b;
    font-weight: 600;
    font-size: 13px;
    padding: 0.6rem 0.9rem !important;
}

.navbar-aviso .nav-link:hover {
    color: var(--brand);
}

.navbar-aviso .nav-link.active {
    color: var(--brand);
}

.navbar-aviso .nav-link.active::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    margin-top: 4px;
}

/* ---------- Aviso 1200px fixed layout (3 columns) ---------- */
.container-aviso {
    max-width: 1200px;
}

@media (min-width: 992px) {
    .navbar-aviso .container {
        max-width: 1200px;
    }
}

.layout-aviso {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .layout-aviso {
        grid-template-columns: 240px minmax(0, 1fr) 220px;
    }

    .layout-aviso.earn {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
}

.side-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.side-panel-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: #fbfcfe;
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid rgba(227, 233, 240, 0.6);
}

.side-link:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}

.side-link.active {
    background: var(--brand);
    color: #fff;
}

.side-link .count {
    font-size: 11px;
    font-weight: 600;
    background: var(--brand-light);
    color: var(--brand);
    border-radius: 10px;
    padding: 1px 8px;
    white-space: nowrap;
}

.side-link.active .count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------- Category cards (sidebar) ---------- */
.cat-section {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.cat-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2740;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
}

.cat-section-title .badge {
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    padding: 2px 8px;
}

.cat-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #334155;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cat-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.cat-card.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.cat-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    background: var(--brand);
}

.cat-card-icon.red { background: #f43f5e; }
.cat-card-icon.purple { background: #8b5cf6; }
.cat-card-icon.teal { background: #14b8a6; }
.cat-card-icon.orange { background: #f0860a; }
.cat-card-icon.green { background: var(--accent); }

.cat-card.active .cat-card-icon {
    background: rgba(255, 255, 255, 0.25);
}

.cat-card-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.cat-card-count {
    font-size: 11px;
    color: var(--text-muted);
}

.cat-card.active .cat-card-count {
    color: rgba(255, 255, 255, 0.85);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
}

.balance-pill {
    background: var(--accent-light);
    border: 1px solid #bfe8d0;
    color: var(--accent-dark);
    border-radius: 50px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.balance-pill:hover {
    background: #d8f3e4;
    color: var(--accent-dark);
}

/* ---------- Buttons ---------- */
.btn-brand {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(25, 113, 214, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(18, 183, 106, 0.3);
}

.btn-outline-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: #45536b;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-ghost:hover {
    background: var(--brand-light);
    color: var(--brand);
    border-color: var(--brand);
}

/* ---------- Hero (light, clean) ---------- */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #eef4fc 100%);
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.4px;
    color: var(--text);
}

.hero .lead {
    color: var(--text-muted);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    border: 1px solid #bfe8d0;
    color: var(--accent-dark);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero .btn-accent {
    background: var(--accent);
}

.hero-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--brand);
}

.hero .stat-value {
    color: var(--brand);
}

.hero-visual .card {
    border-radius: 14px;
    border: 1px solid var(--border);
}

/* ---------- Stats bar ---------- */
.stats-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.stats-bar .stat-item {
    text-align: center;
    padding: 18px 10px;
    border-right: 1px solid var(--border);
}

.stats-bar .stat-item:last-child {
    border-right: none;
}

.stats-bar .stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
}

.stats-bar-sm .stat-item {
    padding: 10px 10px;
}

.stats-bar-sm .stat-num {
    font-size: 1.1rem;
}

.stats-bar .stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---------- Section titles ---------- */
.section-title {
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text);
}

.section-sub {
    color: var(--text-muted);
    max-width: 560px;
}

.overline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 8px;
}

/* ---------- Method cards ---------- */
.method-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 20px;
    height: 100%;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.method-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.method-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.method-icon.green { background: var(--accent); }
.method-icon.blue { background: var(--brand); }
.method-icon.orange { background: #f0860a; }
.method-icon.purple { background: #8b5cf6; }
.method-icon.red { background: #f43f5e; }
.method-icon.teal { background: #14b8a6; }

/* ---------- How it works ---------- */
.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    padding: 22px;
    height: 100%;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Task cards ---------- */
.card-task {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    height: 100%;
}

.card-task:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-task-vip {
    border-color: #f0b429;
    box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.18);
}

.serial-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 17px;
    padding: 0 5px;
    border-radius: 5px;
    background: var(--brand);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

/* ---------- Quest list rows (1111-style) ---------- */
.quest-counter {
    font-size: 12px;
    color: var(--text-muted);
}

.quest-counter strong {
    color: #16a34a;
    font-weight: 800;
}

.task-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 9px;
    margin-bottom: 5px;
    transition: box-shadow 0.15s ease;
}

.task-row:hover {
    box-shadow: var(--shadow-hover);
}

.task-row-vip {
    background: #fffde7;
    border-color: #f5e6a8;
}

.task-row-badge {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 7px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-row-vip .task-row-badge {
    background: #f0b429;
}

.task-row-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #fff;
    flex-shrink: 0;
}

.task-row-icon.blue {
    background: var(--brand);
}

.task-row-icon.gold {
    background: linear-gradient(135deg, #f6c445, #e79b0c);
}

.task-row-main {
    min-width: 0;
}

.task-row-title {
    color: var(--brand);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.task-row-title:hover {
    text-decoration: underline;
}

.task-row-url {
    font-size: 11px;
    color: #8a97a8;
    font-weight: 400;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-row-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.task-row-meta em {
    color: #6b7a8c;
}

.task-row-right {
    flex-shrink: 0;
}

.task-row-price {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    white-space: nowrap;
}

.task-row-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.task-row-stars {
    color: #f5b301;
    font-size: 12px;
    white-space: nowrap;
    line-height: 1;
}

.task-row-stars .bi-star {
    color: #d5dbe2;
}

.task-row-controls .btn-icon {
    background: none;
    border: none;
    padding: 0 2px;
    font-size: 14px;
    color: #98a4b3;
    line-height: 1;
    text-decoration: none;
}

.task-row-controls .btn-icon:hover {
    color: var(--brand);
}

@media (max-width: 575px) {
    .task-row {
        flex-wrap: wrap;
        gap: 6px;
    }

    .task-row-main {
        flex: 1 1 calc(100% - 68px);
    }

    .task-row-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.task-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: var(--brand);
    flex-shrink: 0;
}

.task-category-icon.blue { background: var(--brand); }
.task-category-icon.orange { background: #f0860a; }
.task-category-icon.purple { background: #8b5cf6; }
.task-category-icon.red { background: #f43f5e; }
.task-category-icon.teal { background: #14b8a6; }
.task-category-icon.green { background: var(--accent); }

.price-tag {
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 1.15rem;
}

.vip-badge {
    background: #fef3d6;
    border: 1px solid #f0b429;
    color: #92610a;
    font-size: 0.62rem;
    font-weight: 800;
    border-radius: 6px;
    padding: 2px 7px;
}

/* ---------- Filter tabs ---------- */
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    color: #45536b;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: #fff;
    transition: all 0.15s ease;
}

.filter-tab:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
}

.filter-tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ---------- Timer ---------- */
.timer-ring-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.timer-ring {
    transform: rotate(-90deg);
}

.timer-ring circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
}

.timer-ring .track {
    stroke: #e8eef5;
}

.timer-ring .value {
    stroke: var(--brand);
    transition: stroke-dashoffset 0.25s linear;
}

.timer-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.timer-number .num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.timer-number .lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ads-viewer {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ads-frame {
    width: 100%;
    height: 380px;
    border: none;
    background: #fbfcfe;
}

.ads-bar {
    background: var(--brand);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ads-bar .text-white-50 { color: rgba(255, 255, 255, 0.85) !important; }

.ads-circle {
    background: radial-gradient(circle at 30% 25%, #2563eb 0%, #1e40af 60%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 28px 24px;
    min-height: 240px;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.35);
}

/* ---------- Cards / alerts ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.alert {
    border-radius: 12px;
    border: none;
}

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--border);
    padding: 0.6rem 0.85rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(25, 113, 214, 0.15);
}

/* ---------- Dashboard sidebar ---------- */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #45536b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.15s ease;
}

.sidebar-link:hover {
    color: var(--brand);
    background: var(--brand-light);
}

.sidebar-link.active {
    color: #fff;
    background: var(--brand);
}

.dashboard-stat {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.dashboard-stat .icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.dashboard-stat .icon.green { background: var(--accent); }
.dashboard-stat .icon.blue { background: var(--brand); }
.dashboard-stat .icon.orange { background: #f0860a; }
.dashboard-stat .icon.purple { background: #8b5cf6; }

.dashboard-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.dashboard-stat-icon.green { background: var(--accent); }
.dashboard-stat-icon.blue { background: var(--brand); }
.dashboard-stat-icon.orange { background: #f0860a; }
.dashboard-stat-icon.purple { background: #8b5cf6; }

/* ---------- Tables ---------- */
.table > :not(caption) > * > * {
    padding: 0.8rem 1rem;
}

.table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #f8fafc;
}

/* ---------- Pagination ---------- */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    color: var(--brand);
    font-weight: 600;
    border: 1px solid var(--border);
}

.pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ---------- Footer (light) ---------- */
.footer-aviso {
    background: #fff;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.footer-aviso a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-aviso a:hover {
    color: var(--brand);
}

.footer-aviso .footer-title {
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand) 0%, #3d8bdb 100%);
    border-radius: 16px;
    color: #fff;
}

.advertiser-card {
    background: linear-gradient(135deg, #f3f7ff, #eefbf3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.advertiser-card::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
}

.advertiser-card .overline {
    color: var(--brand);
}

/* ---------- Misc ---------- */
.text-brand { color: var(--brand) !important; }

.rounded-4 { border-radius: 16px !important; }

.divider { border-top: 1px solid var(--border); }

.task-timer {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

/* ---------- Social accounts ---------- */
.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.social-icon i.bi-youtube { color: #ff0000; }
.social-icon i.bi-facebook { color: #1877f2; }
.social-icon i.bi-twitter-x { color: #0f1419; }
.social-icon i.bi-instagram { color: #e1306c; }
.social-icon i.bi-linkedin { color: #0a66c2; }
.social-icon i.bi-send-fill { color: #229ed9; }
.social-icon i.bi-people-fill { color: #0077ff; }
.social-icon i.bi-music-note-beamed { color: #fe2c55; }

.bg-accent-soft { background: #e8f8f0; }

.social-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

/* ---------- Home category chips ---------- */
.category-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.category-chip:hover {
    color: var(--text);
    border-color: var(--brand);
    box-shadow: 0 6px 18px rgba(25, 113, 214, 0.10);
    transform: translateY(-2px);
}

.pay-chip {
    display: flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--border);
    border-radius: .5rem;
    padding: .28rem .55rem;
    cursor: pointer;
    transition: .15s;
    font-size: .8rem;
    width: 100%;
}
.balance-link {
    text-decoration: none;
    border-radius: .5rem;
    padding: .2rem .4rem;
    transition: .15s;
}
.balance-link:hover {
    background: #eef2f7;
    padding-left: .6rem;
}
.pay-chip:hover { border-color: var(--brand); background: #f5f9ff; }
.pay-chip.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.pay-chip.active small { color: #fff !important; }
.pay-icon,
.coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
}
.coin-icon svg { width: 100%; height: 100%; }
.coin-icon.sm { width: 1.1rem; height: 1.1rem; margin-right: .25rem; }
.pay-addr { font-family: monospace; font-size: .78rem; word-break: break-all; }

.offer-card { transition: .15s; border-color: #eef0f4; }
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important; }
.offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .6rem;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.offer-icon-img {
    background: #fff !important;
    border: 1px solid #e9ebf0;
    border-radius: .6rem;
}
.offer-icon-img img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.offer-strip {
    overflow-x: auto;
    scrollbar-width: thin;
}
.offer-strip::-webkit-scrollbar { height: 5px; }
.offer-strip::-webkit-scrollbar-thumb { background: #d6dae1; border-radius: 3px; }
.offer-strip-item {
    min-width: 4.5rem;
    padding: .35rem .2rem;
    color: #444;
    transition: .15s;
}
.offer-strip-item:hover { color: var(--brand); transform: translateY(-2px); }
.offer-strip-item.disabled { opacity: .45; pointer-events: none; }
.offer-strip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e9ebf0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.offer-strip-icon img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

/* ---------- Aviso dashboard (blue nav / header / filters / sidebars) ---------- */
.blue-nav {
    background: var(--brand);
    padding: 6px 0;
}

.blue-nav-link {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    line-height: 1;
}

.blue-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.blue-nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.blue-nav-link.competition {
    background: #dc3545;
    color: #fff;
}

.blue-nav-link.competition:hover {
    background: #c02a3a;
}

.blue-nav-order {
    background: #ffd24a;
    color: #6b4e00;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.blue-nav-order:hover {
    background: #ffc733;
    color: #5a4300;
}

.page-head {
    background: #334e68;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.filter-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.wallet-value {
    font-size: 14px;
}

.hof-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f6c445, #e79b0c);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.text-ad {
    font-size: 13px;
    color: var(--brand);
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 1px dashed var(--border);
}

.text-ad:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.text-ad:last-child {
    border-bottom: none;
}

.promo-banner {
    background: linear-gradient(160deg, #8b5cf6, #6d28d9);
    border: none;
}

.side-link.active {
    background: var(--brand);
    color: #fff;
}

.side-link.active .small {
    color: rgba(255, 255, 255, 0.85) !important;
}

.banner-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.banner-item {
    display: block;
    flex: 1 1 200px;
    max-width: 100%;
}

.banner-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.lb-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
}

.lb-rank-1 { background: linear-gradient(135deg, #f6c445, #d99a06); box-shadow: 0 0 0 2px #fff5d6; }
.lb-rank-2 { background: linear-gradient(135deg, #c0c9d4, #8a94a3); box-shadow: 0 0 0 2px #f0f2f5; }
.lb-rank-3 { background: linear-gradient(135deg, #e0a07a, #b06a3e); box-shadow: 0 0 0 2px #fdeee4; }

.vip-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px 0;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), transparent);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
}

.vip-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px 0;
    min-width: 90px;
}

.vip-crown {
    font-size: 20px;
    line-height: 1;
    height: 22px;
}

.vip-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f6c445, #e79b0c);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.vip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-col-1 .vip-avatar {
    width: 64px;
    height: 64px;
    border: 3px solid #f6c445;
}

.vip-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a2740;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vip-stats {
    font-size: 10px;
    color: var(--text-muted);
}

.vip-block {
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    border-radius: 6px 6px 0 0;
    margin-top: 4px;
}

.vip-block-1 { background: linear-gradient(180deg, #f6c445, #d99a06); height: 58px; line-height: 46px; }
.vip-block-2 { background: linear-gradient(180deg, #c0c9d4, #8a94a3); height: 42px; line-height: 30px; }
.vip-block-3 { background: linear-gradient(180deg, #e0a07a, #b06a3e); height: 34px; line-height: 22px; }

/* ---------- Auth (Facebook-style clean card) ---------- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 220px);
    padding: 2.5rem 1rem;
    background: #f0f2f5;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 432px;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.08);
}

.auth-card-inner {
    padding: 1.6rem 1.5rem;
}

@media (min-width: 576px) {
    .auth-card-inner {
        padding: 1.9rem 1.7rem;
    }
}

.auth-brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
}

.auth-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
}

.auth-brand-word {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--brand);
    font-size: 1.05rem;
}

.auth-greeting {
    font-weight: 700;
    color: #1c1e21;
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}

.auth-sub {
    color: #606770;
    font-size: 0.92rem;
}

.auth-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #606770;
    margin-bottom: 0.35rem;
}

.auth-field {
    width: 100%;
    height: 52px;
    font-size: 17px;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    background: #ffffff;
    color: #1c1e21;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth-field::placeholder {
    color: #9aa0a6;
}

.auth-field:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(25, 113, 214, 0.2);
    background: #ffffff;
    outline: none;
}

.auth-field.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.auth-check-zone {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    margin-top: 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.auth-check-zone:hover {
    background: #f0f2f5;
}

.auth-check-zone .form-check-input {
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.15rem;
    cursor: pointer;
    border: 2px solid #c3cfdf;
    border-radius: 4px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-check-zone .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.auth-check-zone .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(25, 113, 214, 0.18);
}

.auth-check-zone .form-check-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.auth-check-zone .form-check-label {
    font-size: 0.92rem;
    color: #3d4d66;
    cursor: pointer;
    line-height: 1.45;
}

.auth-check-zone .form-check-label a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.auth-check-zone .form-check-label a:hover {
    text-decoration: underline;
}

.js-terms-hint {
    display: block;
    color: #dc3545;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.btn-auth {
    display: block;
    width: 100%;
    height: 50px;
    background: var(--brand);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-auth:hover,
.btn-auth:focus {
    background: var(--brand-dark);
    color: #ffffff;
}

.btn-auth:active {
    transform: scale(0.985);
}

.btn-auth[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-auth-green {
    background: var(--accent);
}

.btn-auth-green:hover,
.btn-auth-green:focus {
    background: var(--accent-dark);
    color: #ffffff;
}

.btn-auth-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: #ffffff;
    color: #385898;
    font-size: 17px;
    font-weight: 700;
    border: 1px solid #ccd0d5;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-auth-outline:hover {
    background: #f5f7fa;
    border-color: #ccd0d5;
    color: #385898;
    text-decoration: none;
}

.btn-auth-outline:active {
    transform: scale(0.985);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #606770;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 1.1rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dadde1;
}

.auth-footer-link {
    color: #606770;
    font-size: 0.9rem;
}

.auth-footer-link a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

.auth-alert {
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    background: #fff3f3;
    color: #1c1e21;
}

.auth-alert-success {
    border-left: 4px solid #12b76a;
    background: #eefaf4;
    color: #1c1e21;
}

.auth-small-link {
    font-size: 0.82rem;
    color: #606770;
}

.auth-small-link a {
    color: var(--brand);
    text-decoration: none;
}

.auth-small-link a:hover {
    text-decoration: underline;
}

.auth-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .auth-sidebar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        max-width: 380px;
        color: #1c1e21;
    }

    .auth-sidebar .auth-logo {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .auth-sidebar h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #606770;
        line-height: 1.3;
    }
}

.auth-perk {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: #33415c;
}

.auth-perk i {
    color: var(--accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.auth-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .auth-row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4rem;
    }
}

/* ---------- Auth promotional card (Login / Signup) ---------- */
.auth-promo {
    width: 100%;
    max-width: 432px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #1971d6 0%, #0f8fda 55%, #12b76a 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 1.9rem 1.7rem;
    box-shadow: 0 14px 44px rgba(25, 113, 214, 0.28);
}

.auth-promo::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.auth-promo::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.promo-title {
    position: relative;
    z-index: 1;
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.promo-desc {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.3rem;
}

.promo-benefit {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    color: #ffffff;
}

.promo-benefit i {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.05rem;
}

.promo-benefit strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.promo-benefit small {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.05rem;
}

.promo-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    height: 50px;
    background: #ffffff;
    color: var(--brand-dark);
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: 9px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: background-color 0.15s ease, transform 0.1s ease, color 0.15s ease;
}

.promo-cta:hover,
.promo-cta:focus {
    background: #eef3fb;
    color: var(--brand);
    text-decoration: none;
}

.promo-cta:active {
    transform: scale(0.985);
}

/* ============================================================
   AUTH - Minimal (Login / Signup) - scoped to auth pages
   ============================================================ */
body.vs-auth-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(900px 560px at 88% -10%, rgba(25, 113, 214, 0.07), transparent 62%),
        radial-gradient(800px 500px at 2% 112%, rgba(18, 183, 106, 0.05), transparent 60%),
        #f4f7fb;
    color: #17263c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Header (brand left, empty right) ---------- */
.vs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.15rem 1.25rem;
}

.vs-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.vs-header-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.vs-header-brand span {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--brand-dark);
}

.vs-header-end {
    /* Intentionally empty - top-right reserved area */
    display: flex;
    align-items: center;
}

/* ---------- Auth area (centered form) ---------- */
.vs-auth {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}

.vs-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 14px 40px rgba(22, 41, 70, 0.1);
}

.vs-h2 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #102a43;
}

.vs-lead {
    margin: 0 0 1.6rem;
    color: #64748b;
    font-size: 0.95rem;
}

.vs-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3f5063;
}

.vs-input-wrap { position: relative; }

.vs-field {
    width: 100%;
    height: 52px;
    padding: 0.6rem 2.8rem 0.6rem 1rem;
    background: #fafbfd;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    color: #17263c;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.vs-field::placeholder { color: #9aa9ba; opacity: 1; }

.vs-field:hover { border-color: #bfccdb; }

.vs-field:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(25, 113, 214, 0.15);
}

.vs-field.is-invalid {
    border-color: #e06a6a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(220, 90, 90, 0.12);
}

.vs-field.is-invalid:focus { border-color: #d64545; }

.vs-eye {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    padding: 0.35rem 0.5rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: #8b98a9;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.vs-eye:hover,
.vs-eye:focus { color: var(--brand); outline: none; }

.vs-eye:focus-visible { box-shadow: 0 0 0 3px rgba(25, 113, 214, 0.3); }

.vs-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vs-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.88rem;
    color: #5b6b7c;
    cursor: pointer;
}

.vs-meta-link {
    font-size: 0.88rem;
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.vs-meta-link:hover { color: var(--brand-dark); text-decoration: underline; }

.vs-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.vs-terms .form-check-label {
    font-size: 0.85rem;
    color: #5b6b7c;
    cursor: pointer;
}

.vs-check .form-check-input,
.vs-terms .form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.05em;
    cursor: pointer;
    accent-color: var(--brand);
}

.vs-check .form-check-input:focus,
.vs-terms .form-check-input:focus { box-shadow: 0 0 0 0.2rem rgba(25, 113, 214, 0.2); border-color: var(--brand); }

.vs-terms a {
    color: var(--brand);
    text-decoration: none;
}

.vs-terms a:hover { color: var(--brand-dark); text-decoration: underline; }

.vs-btn {
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(25, 113, 214, 0.28);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.vs-btn:hover,
.vs-btn:focus {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 10px 22px rgba(25, 113, 214, 0.34);
    transform: translateY(-1px);
}

.vs-btn:active { transform: translateY(0) scale(0.99); }

.vs-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(25, 113, 214, 0.35); }

.vs-alert {
    border-radius: 10px;
    border: 1px solid rgba(220, 90, 90, 0.35);
    background: #fdf1f1;
    color: #b3261e;
    font-size: 0.88rem;
}

.vs-alert a { color: #b3261e; font-weight: 700; }

.vs-alert-ok {
    border-color: rgba(22, 163, 74, 0.35);
    background: #f0faf3;
    color: #157347;
}

.vs-alert-info {
    border-color: rgba(25, 113, 214, 0.3);
    background: #f0f6ff;
    color: #1d4ed8;
}

.vs-switch {
    text-align: center;
    font-size: 0.92rem;
    color: #5b6b7c;
    margin-top: 1.25rem;
}

.vs-switch a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.vs-switch a:hover { color: var(--brand-dark); text-decoration: underline; }

.vs-switch.tiny { font-size: 0.82rem; margin-top: 0.5rem; }

/* ---------- Footer (minimal) ---------- */
.vs-footer {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.4rem 1.25rem 2rem;
}

.vs-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    border-top: 1px solid #e3eaf2;
    padding-top: 1.4rem;
    font-size: 0.82rem;
    color: #7a879c;
}

.vs-footer-links {
    display: flex;
    gap: 1.2rem;
}

.vs-footer-links a {
    color: #5b6b7c;
    text-decoration: none;
}

.vs-footer-links a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
    .vs-header { padding: 1rem 1rem; }
    .vs-auth { padding: 2.5rem 1rem; }
    .vs-card { padding: 1.8rem 1.3rem; }
    .vs-footer { padding: 1.2rem 1rem 1.6rem; }
    .vs-footer-inner { justify-content: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .vs-auth * {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Advertiser: Aviso-style category switcher ---------- */
.cat-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; height: 100%; width: 100%; border: 1px solid var(--border); border-radius: 6px; background: linear-gradient(135deg,#eaf2ff,#f5f9ff); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.cat-box:hover { border-color: var(--brand); box-shadow: 0 2px 8px rgba(25,113,214,.14); }
.cat-box .cb-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: #fff; color: var(--brand); font-size: 13px; border: 1px solid #dbe6f7; }
.cat-box .cb-body { min-width: 0; }
.cat-box .cb-title { display: block; font-size: 0.8rem; font-weight: 700; color: #123a7a; line-height: 1.15; }
.cat-box .cb-desc { display: block; font-size: 0.7rem; color: #5b76a6; margin-top: 1px; line-height: 1.25; }
.cat-box.active { background: var(--brand); border-color: var(--brand); box-shadow: 0 3px 10px rgba(25,113,214,.28); }
.cat-box.active .cb-icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); color: #fff; }
.cat-box.active .cb-title { color: #fff; }
.cat-box.active .cb-desc { color: #d7e6ff; }
@media (min-width: 992px) { .cat-box .cb-desc { display: none; } }

/* ---------- Advertiser: compact table form ---------- */
.atable { width: 100%; }
.at-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: flex-start; padding: 9px 14px; border-bottom: 1px solid #eef1f5; font-size: 13px; }
.at-row:last-child { border-bottom: 0; }
.at-row.alert-aside { background: #f7fbff; }
.at-label { flex: 0 0 200px; color: #42536b; font-size: 0.85rem; font-weight: 600; display: flex; align-items: flex-start; gap: 6px; padding-top: 4px; line-height: 1.35; }
.at-control { flex: 1 1 280px; min-width: 0; }
.at-control .form-control-sm,
.at-control .form-select-sm,
.at-control .input-group-sm .form-control,
.at-control .input-group-sm .input-group-text { font-size: 13px; }
.at-control .form-text { font-size: 12px; margin-top: 3px; }
.at-help { width: 16px; height: 16px; min-width: 16px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0; margin-top: 1px; }
.at-help:hover { background: var(--brand-dark, #11448a); }
.cost-line { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--text-muted); }
.cost-line .ci-item strong { color: var(--brand); }
.geo-inline .form-check { margin: 0; padding-left: 1.35em; }
@media (max-width: 575.98px) { .cat-grid { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .at-label { flex: 0 0 100%; } }
