/* ═══════════════════════════════════════════
   BINGOLHÕES — Design Premium
   Cores: #0B3D91 (Azul) | #FFD700 (Dourado)
   ═══════════════════════════════════════════ */

:root {
    --primary: #0B3D91;
    --primary-dk: #082d6b;
    --primary-lt: #1a5dc8;
    --gold: #FFD700;
    --gold-dk: #c9a800;
    --gold-lt: #ffe44d;
    --dark: #0d1117;
    --surface: #f4f6fb;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --text: #1e293b;
    --muted: #64748b;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(11,61,145,.10);
    --shadow-md: 0 8px 40px rgba(11,61,145,.16);
    --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--surface);
    color: var(--text);
    min-height: 100vh;
}

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* ── NAVBAR ────────────────────────────────── */
.navbar-bingo {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, var(--primary-lt) 100%);
    box-shadow: 0 2px 20px rgba(11,61,145,.35);
    padding: .75rem 0;
}

.navbar-brand-bingo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
}

    .navbar-brand-bingo .brand-dot {
        width: 10px;
        height: 10px;
        background: var(--gold);
        border-radius: 50%;
        display: inline-block;
    }

.navbar-bingo .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .45rem .9rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

    .navbar-bingo .nav-link:hover,
    .navbar-bingo .nav-link.active {
        color: #fff !important;
        background: rgba(255,255,255,.14);
    }

.credits-badge {
    background: var(--gold);
    color: var(--primary-dk);
    font-weight: 700;
    font-size: .82rem;
    padding: .3rem .7rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

/* ── CARDS ─────────────────────────────────── */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-header {
    border-radius: var(--radius) var(--radius) 0 0 !important;
    border-bottom: 1px solid var(--border);
}

.card-header-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
    color: #fff;
    border-bottom: none !important;
    padding: 1rem 1.25rem;
}

.card-header-gold {
    background: linear-gradient(135deg, var(--gold-dk) 0%, var(--gold) 100%);
    color: var(--primary-dk);
    border-bottom: none !important;
    padding: 1rem 1.25rem;
}

.card-header-dark {
    background: var(--primary-dk);
    color: #fff;
    border-bottom: none !important;
    padding: 1rem 1.25rem;
}

/* ── STAT CARDS ────────────────────────────── */
.stat-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

    .stat-card::after {
        content: '';
        position: absolute;
        top: -30%;
        right: -15%;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(255,255,255,.10);
    }

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

.stat-card-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
}

.stat-card-green {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.stat-card-gold {
    background: linear-gradient(135deg, var(--gold-dk) 0%, var(--gold) 100%);
    color: var(--primary-dk);
}

.stat-card-teal {
    background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
}

.stat-card-red {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
}

/* Laranja */
.stat-card-orange {
    background: linear-gradient( 135deg, #f97316 0%, #fb923c 100% );
}

/* Roxo */
.stat-card-purple {
    background: linear-gradient( 135deg, #7c3aed 0%, #a855f7 100% );
}

/* Vermelho */
.stat-card-red {
    background: linear-gradient( 135deg, #dc2626 0%, #ef4444 100% );
}

/* Preto */
.stat-card-black {
    background: linear-gradient( 135deg, #111827 0%, #374151 100% );
}

/* Cinza */
.stat-card-gray {
    background: linear-gradient( 135deg, #6b7280 0%, #9ca3af 100% );
}

/* Metálico Prata */
.stat-card-silver {
    background: linear-gradient( 135deg, #bfc5cc 0%, #eef2f5 50%, #a8b0b8 100% );
}

/* Metálico Aço */
.stat-card-steel {
    background: linear-gradient( 135deg, #4b5563 0%, #9ca3af 50%, #374151 100% );
}

/* Turquesa */
.stat-card-turquoise {
    background: linear-gradient( 135deg, #06b6d4 0%, #22d3ee 100% );
}

/* Verde Escuro */
.stat-card-emerald {
    background: linear-gradient( 135deg, #059669 0%, #10b981 100% );
}

/* Azul Administração */
.stat-card-admin {
    background: linear-gradient( 135deg, #4338ca 0%, #6366f1 100% );
}

.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: .82rem;
    opacity: .82;
    font-weight: 500;
    margin-top: .3rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: .25;
    position: absolute;
    bottom: .5rem;
    right: 1rem;
}

/* ── BUTTONS ───────────────────────────────── */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: .88rem;
    padding: .5rem 1.1rem;
}

.btn-primary-bingo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(11,61,145,.30);
}

    .btn-primary-bingo:hover {
        background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(11,61,145,.38);
    }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-dk) 0%, var(--gold) 100%);
    border: none;
    color: var(--primary-dk);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201,168,0,.35);
}

    .btn-gold:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(201,168,0,.45);
        color: var(--primary-dk);
    }

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

    .btn-outline-primary:hover {
        background: var(--primary);
        border-color: var(--primary);
    }

/* ── BOLAS (NÚMEROS DO SORTEIO) ────────────── */
.bola-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
}

.bola {
    width: clamp(32px, 5vw, 42px);
    height: clamp(32px, 5vw, 42px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .92rem;
    flex-shrink: 0;
    position: relative;
}

.bola-num {
    background: linear-gradient(145deg, var(--primary-lt), var(--primary));
    color: #fff;
    box-shadow: 0 3px 10px rgba(11,61,145,.45), inset 0 1px 2px rgba(255,255,255,.25);
}

    .bola-num.acertada {
        background: linear-gradient(145deg, #16a34a, #15803d);
        box-shadow: 0 3px 10px rgba(22,163,74,.5), inset 0 1px 2px rgba(255,255,255,.25);
        animation: bolaEntrada .5s ease;
    }

    .bola-num.nao-acertada {
        opacity: .45;
    }

.bola-star {
    background: linear-gradient(145deg, var(--gold), var(--gold-dk));
    color: var(--primary-dk);
    box-shadow: 0 3px 10px rgba(201,168,0,.5), inset 0 1px 2px rgba(255,255,255,.35);
    font-size: .78rem;
}

    .bola-star.acertada {
        background: linear-gradient(145deg, #f59e0b, #d97706);
        box-shadow: 0 3px 12px rgba(245,158,11,.6);
        animation: bolaEntrada .5s ease .1s both;
    }

    .bola-star.nao-acertada {
        opacity: .45;
    }

.bola-sm {
    width: 32px;
    height: 32px;
    font-size: .78rem;
}

.bola-lg {
    width: 54px;
    height: 54px;
    font-size: 1.05rem;
}

@keyframes bolaEntrada {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.15) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.bola-animated {
    animation: bolaEntrada .5s ease both;
}

    .bola-animated:nth-child(1) {
        animation-delay: .05s;
    }

    .bola-animated:nth-child(2) {
        animation-delay: .12s;
    }

    .bola-animated:nth-child(3) {
        animation-delay: .19s;
    }

    .bola-animated:nth-child(4) {
        animation-delay: .26s;
    }

    .bola-animated:nth-child(5) {
        animation-delay: .33s;
    }

.bola-star.bola-animated:nth-child(1) {
    animation-delay: .42s;
}

.bola-star.bola-animated:nth-child(2) {
    animation-delay: .50s;
}

/* ── BOLETIM (SELETOR DE CHAVE) ────────────── */
.boletim-card {
    background: linear-gradient(160deg, var(--primary-dk) 0%, var(--primary) 100%);
    border-radius: 18px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 12px 40px rgba(11,61,145,.4);
}

.boletim-section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}

.boletim-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: .35rem;
    margin-bottom: 1.25rem;
}

.boletim-grid-stars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .35rem;
}

.boletim-num, .boletim-star {
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .18s ease;
    user-select: none;
}

.boletim-num {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.85);
}

    .boletim-num:hover {
        background: rgba(255,255,255,.25);
        border-color: rgba(255,255,255,.4);
        transform: scale(1.08);
    }

    .boletim-num.selected {
        background: #fff;
        color: var(--primary);
        border-color: var(--gold);
        box-shadow: 0 2px 12px rgba(255,215,0,.5);
        transform: scale(1.1);
    }

.boletim-star {
    background: rgba(255,215,0,.18);
    color: rgba(255,215,0,.85);
    font-size: .78rem;
}

    .boletim-star:hover {
        background: rgba(255,215,0,.35);
        border-color: rgba(255,215,0,.5);
        transform: scale(1.08);
    }

    .boletim-star.selected {
        background: var(--gold);
        color: var(--primary-dk);
        border-color: #fff;
        box-shadow: 0 2px 12px rgba(255,215,0,.6);
        transform: scale(1.1);
    }

    .boletim-num.disabled, .boletim-star.disabled {
        opacity: .3;
        cursor: not-allowed;
        transform: none !important;
    }

.boletim-counter {
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: .6rem 1rem;
    font-size: .82rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

    .boletim-counter .count {
        font-weight: 800;
        font-size: 1.1rem;
    }

        .boletim-counter .count.complete {
            color: var(--gold);
        }

/* ── CHAVE CARD ────────────────────────────── */
.chave-card {
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: #fff;
    transition: var(--transition);
    overflow: hidden;
}

    .chave-card.em-jogo {
        border-color: var(--primary);
        box-shadow: 0 4px 20px rgba(11,61,145,.18);
    }

    .chave-card.completa {
        border-color: #16a34a;
        box-shadow: 0 4px 20px rgba(22,163,74,.25);
    }

    .chave-card .chave-header {
        padding: .7rem 1rem;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: .82rem;
        font-weight: 600;
        color: var(--muted);
    }

    .chave-card.em-jogo .chave-header {
        background: var(--primary);
        color: rgba(255,255,255,.85);
    }

    .chave-card .chave-body {
        padding: 1rem;
    }

.chave-progress {
    display: flex;
    gap: .4rem;
    margin-top: .5rem;
}

.chave-progress-num {
    height: 5px;
    border-radius: 3px;
    background: #e2e8f0;
    flex: 1;
    transition: var(--transition);
}

    .chave-progress-num.done {
        background: var(--primary);
    }

.chave-progress-star {
    height: 5px;
    border-radius: 3px;
    background: #e2e8f0;
    width: 20px;
    transition: var(--transition);
}

    .chave-progress-star.done {
        background: var(--gold-dk);
    }

/* ── TABELA ────────────────────────────────── */
.table {
    font-size: .88rem;
}

    .table > :not(caption) > * > * {
        vertical-align: middle;
        padding: .75rem .9rem;
    }

    .table thead th {
        font-size: .75rem;
        font-weight: 700;
        letter-spacing: .8px;
        text-transform: uppercase;
        color: var(--muted);
        border-bottom: 2px solid var(--border);
        background: var(--surface);
    }

    .table tbody tr {
        transition: background .15s;
    }

        .table tbody tr:hover {
            background: #f8faff;
        }

/* ── BADGES ────────────────────────────────── */
.badge {
    font-size: .72rem;
    font-weight: 700;
    padding: .35em .65em;
    border-radius: 6px;
}

.badge-estado-emcurso {
    background: #dcfce7;
    color: #15803d;
}

.badge-estado-terminada {
    background: #f1f5f9;
    color: #475569;
}

.badge-estado-pendente {
    background: #fef9c3;
    color: #854d0e;
}

.badge-garantido {
    background: #dcfce7;
    color: #15803d;
}

.badge-pendente {
    background: #fef9c3;
    color: #854d0e;
}

/* ── ALERTS ────────────────────────────────── */
.alert {
    border: none;
    border-radius: var(--radius);
    font-size: .9rem;
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border-left: 4px solid #22c55e;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid #f87171;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-left: 4px solid #60a5fa;
}

/* ── FORMULÁRIOS ───────────────────────────── */
.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(11,61,145,.12);
    }

.form-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text);
    margin-bottom: .35rem;
}

/* ── HERO SECTION ──────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 55%, var(--primary-lt) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255,215,0,.08);
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -80px;
        left: 30%;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
    }

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.5px;
}

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

.hero-sub {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.25rem 0 2rem;
}

.hero-balls {
    font-size: 3rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ── RONDA STATUS BANNER ───────────────────── */
.ronda-banner {
    background: linear-gradient(135deg, #0d2d6d 0%, var(--primary) 100%);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .ronda-banner .premio-val {
        font-size: 2.2rem;
        font-weight: 900;
        color: var(--gold);
        line-height: 1;
    }

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(34,197,94,.2);
    color: #4ade80;
    border: 1px solid #4ade80;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: .25rem .6rem;
    border-radius: 20px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(.85);
    }
}

/* ── FOOTER ────────────────────────────────── */
.footer {
    background: var(--primary-dk);
    color: rgba(255,255,255,.55);
    padding: 2rem 0;
    margin-top: 4rem;
    font-size: .82rem;
}

    .footer a {
        color: rgba(255,255,255,.6);
        text-decoration: none;
    }

        .footer a:hover {
            color: var(--gold);
        }

/* ── UTILITÁRIOS ───────────────────────────── */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

    .section-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}

    .empty-state .empty-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: .4;
    }

.text-gold {
    color: var(--gold-dk);
}

.text-primary-bingo {
    color: var(--primary);
}

.fw-800 {
    font-weight: 800;
}

/* ── ANIMAÇÕES GERAIS ──────────────────────── */
.fade-in {
    animation: fadeIn .4s ease both;
}

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

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── LOADING SPINNER ───────────────────────── */
.spinner-bingo {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
}

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

.btn.loading .spinner-bingo {
    display: inline-block;
}

.btn.loading .btn-text {
    display: none;
}

/* ── MOBILE ────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .boletim-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: .22rem;
    }

    .boletim-num, .boletim-star {
        font-size: .7rem;
    }

    .bola {
        width: 34px;
        height: 34px;
        font-size: .78rem;
    }

    .stat-card .stat-value {
        font-size: clamp(1.3rem, 4vw, 2.2rem);
    }
}




/* ==========================================
   RESPONSIVE MOBILE IMPROVEMENTS
   ========================================== */

html,
body {
    overflow-x: hidden;
}

img,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {

    .hero {
        padding: 3rem 2rem;
    }

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

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

@media (max-width: 768px) 
{

    .navbar-brand-bingo {
        font-size: 1.2rem;
    }

    .navbar-bingo .nav-link {
        padding: .75rem !important;
        text-align: center;
    }

    .credits-badge {
        width: 100%;
        justify-content: center;
        margin-top: .5rem;
    }

    .hero {
        padding: 2rem 1rem;
        border-radius: 14px;
        text-align: center;
    }

        .hero::before,
        .hero::after {
            display: none;
        }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-sub {
        font-size: .95rem;
    }

    .hero-balls {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-header-primary,
    .card-header-gold,
    .card-header-dark {
        padding: .85rem 1rem;
    }

    .boletim-card {
        padding: 1rem;
    }

    .boletim-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: .35rem;
    }

    .boletim-grid-stars {
        grid-template-columns: repeat(4, 1fr);
        gap: .35rem;
    }

    .boletim-num,
    .boletim-star {
        min-height: 42px;
        font-size: .85rem;
    }

    .chave-card .chave-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .btn {
        min-height: 44px;
    }

    .ronda-banner {
        padding: 1rem;
    }

        .ronda-banner .premio-val {
            font-size: 1.5rem;
        }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .table > :not(caption) > * > * {
            white-space: nowrap;
        }

    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px;
    }

    .creditos-header .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-sub {
        font-size: .9rem;
    }

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

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

    .boletim-counter {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-card .stat-value {
        font-size: 1.3rem;
    }
}

.ronda-scroll {
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

    .ronda-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .ronda-scroll::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.2);
        border-radius: 10px;
    }

    .ronda-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

html,
body {
    height: 100%;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    .site-wrapper main {
        flex: 1;
    }


