/* /public_html/sorteios/css/rapidinha.css */

/* Esconde o título padrão da página só na Rapidinha */
.public-page-header {
    display: none;
}

/* ===========================
   CONTAINER GERAL
   =========================== */

.rapidinha-page {
    max-width: 620px;
    margin: 0rem auto 2.5rem;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===========================
   HERO / BANNER
   =========================== */

/* HERO AGORA É UM CARD IGUAL AO RESTO */
.rapidinha-hero {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.10);
    border: 1px solid #e5e7eb;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

/* banner grande */
.rapidinha-hero-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.rapidinha-hero-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* placeholder quando não tiver imagem */
.rapidinha-hero-img-wrap.sem-imagem {
    background: linear-gradient(135deg, #4f46e5, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f9fafb;
}

.rapidinha-hero-placeholder {
    font-size: .95rem;
    font-weight: 600;
}
.rapidinha-hero-placeholder span {
    display: block;
    font-size: .8rem;
    font-weight: 400;
    opacity: .9;
    margin-top: .25rem;
}

/* overlay de texto dentro do banner */
.rapidinha-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.6rem 1.8rem;
    text-align: center;
    background: linear-gradient(
        to top,
        rgba(15,23,42,0.65),
        rgba(15,23,42,0.15),
        transparent 60%
    );
    color: #f9fafb;
}

.rapidinha-hero-title {
    margin: 0 0 .25rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.rapidinha-hero-subtitle {
    margin: 0 0 .7rem;
    font-size: .95rem;
    opacity: .96;
}

/* pill de preço dentro do banner */
.rapidinha-preco-bloco {
    display: inline-flex;
    align-items: baseline;
    gap: .35rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    font-size: .9rem;
    font-weight: 500;
}
.rapidinha-preco-bloco strong {
    font-size: 1.1rem;
}

/* variação para usar dentro do banner */
.rapidinha-preco-bloco.rapidinha-hero-preco {
    background: rgba(22, 163, 74, 0.95);
    color: #e5fdf1;
}
.rapidinha-preco-bloco.rapidinha-hero-preco strong {
    color: #ffffff;
}

/* ===========================
   STATUS: LIVRES / RESERVADOS / PAGOS
   =========================== */

.rapidinha-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
}

.rapidinha-status-pill {
    flex: 1;
    min-width: 120px;
    border-radius: 999px;
    padding: .45rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    font-weight: 500;
}

.rapidinha-status-livre {
    background: #f3f4f6;
    color: #111827;
}
.rapidinha-status-reservado {
    background: #fffbeb;
    color: #92400e;
}
.rapidinha-status-pago {
    background: #ecfdf3;
    color: #166534;
}

.status-label {
    opacity: .9;
}
.status-value {
    font-weight: 700;
}

/* ===========================
   CARD DOS NÚMEROS
   =========================== */

.rapidinha-bingo-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.3rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.10);
    border: 1px solid #e5e7eb;
}

.rapidinha-bingo-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}
.rapidinha-bingo-header h2 {
    margin: 0 0 .2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}
.rapidinha-bingo-header p {
    margin: 0;
    font-size: .85rem;
    color: #6b7280;
}

.rapidinha-bingo-contador {
    font-size: .9rem;
    font-weight: 600;
    color: #111827;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #f3f4f6;
}

/* aviso de limite / mensagens */
.rapidinha-aviso {
    margin-bottom: .6rem;
    font-size: .82rem;
    color: #b45309;
    min-height: 1rem;
    opacity: 0;
    transition: opacity .15s ease;
}
.rapidinha-aviso.ativo {
    opacity: 1;
}

/* ===========================
   GRID DE NÚMEROS
   Retângulos iguais + cores estilo "print 2"
   =========================== */

/* ===========================
   GRID DE NÚMEROS – estilo bingo
   =========================== */

/* 7 colunas fixas, tudo alinhado */
.rapidinha-bingo-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .35rem;
    margin-bottom: 1rem;
}

/* botão base: retângulo mais “seco”, sem exagero de sombra */
.rapidinha-num {
    border-radius: 6px;
    border: none;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .12s ease,
        color .12s ease,
        transform .06s ease,
        box-shadow .08s ease;
}

/* LIVRE (disponível) -> VERDE */
.rapidinha-num.is-livre {
    background: #16a34a;
    color: #ecfdf5;
    box-shadow: 0 1px 4px rgba(15,23,42,.25);
}
.rapidinha-num.is-livre:hover {
    background: #22c55e;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(22,163,74,.45);
}

/* SELECIONADO PELO CLIENTE -> AZUL */
.rapidinha-num.is-selected {
    background: #2563eb;
    color: #f9fafb;
    box-shadow: 0 3px 10px rgba(37,99,235,.5);
    transform: translateY(-1px);
}

/* RESERVADO -> AMARELO (não clica) */
.rapidinha-num.is-reservado {
    background: #facc15;
    color: #92400e;
    cursor: not-allowed;
    box-shadow: none;
}

/* PAGO -> CINZA ESCURO (não clica) */
.rapidinha-num.is-pago {
    background: #111827;
    color: #e5e7eb;
    cursor: not-allowed;
    box-shadow: none;
}


/* ===========================
   BOTÕES DE AÇÃO
   =========================== */

.rapidinha-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: .5rem;
}

.rapidinha-btn-primary,
.rapidinha-btn-outline {
    border-radius: 999px;
    padding: .55rem 1.3rem;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.rapidinha-btn-primary {
    background: #16a34a;
    color: #f9fafb;
}
.rapidinha-btn-primary:hover {
    background: #15803d;
}

.rapidinha-btn-outline {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}
.rapidinha-btn-outline:hover {
    background: #f9fafb;
}

/* ===========================
   RESPONSIVO
   =========================== */

@media (max-width: 800px) {
    .rapidinha-page {
        padding: 0 .75rem;
    }

    .rapidinha-hero-img-wrap {
        border-radius: 0;
        border-radius: 0 0 24px 24px;
    }

    .rapidinha-hero-overlay {
        padding: 1.4rem 1.1rem;
    }

    .rapidinha-hero-title {
        font-size: 1.3rem;
    }

    .rapidinha-bingo-card {
        padding: 1rem;
    }

    .rapidinha-bingo-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rapidinha-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rapidinha-actions button {
        width: 100%;
    }
}
/* ===========================
   Selo pulsando no banner
   =========================== */

.rapidinha-hero-pulse {
    position: absolute;
    right: .50rem;
    top: 1.0rem;
    padding: .15rem .65rem;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.96); /* amarelo forte */
    color: #1f2933;
    font-size: .8rem;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    animation: rapidinhaPulse 1.6s infinite;
}

.rapidinha-hero-pulse span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .9;
}

.rapidinha-hero-pulse strong {
    font-size: .9rem;
}

/* animação de pulse */
@keyframes rapidinhaPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.8);
    }
    60% {
        transform: scale(1.04);
        box-shadow: 0 0 0 12px rgba(250, 204, 21, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

@media (max-width: 700px) {
    .rapidinha-hero-pulse {
        right: .7rem;
        top: .7rem;
        padding: .1rem .7rem;
        border-radius: 999px;
        font-size: .72rem;
        gap: 0;
    }

    .rapidinha-hero-pulse span {
        font-size: .65rem;
        letter-spacing: .06em;
    }

    .rapidinha-hero-pulse strong {
        font-size: .8rem;
    }
}
/* =======================
   MOBILE: diminuir o selo
   ======================= */
@media (max-width: 640px) {
    .rapidinha-hero-pulse {
        top: 10px;
        right: 10px;
        padding: 6px 5px;
        border-radius: 999px;
        font-size: 11px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
        transform-origin: top right;
    }

    .rapidinha-hero-pulse span {
        font-size: 8px;
    }

    .rapidinha-hero-pulse strong {
        font-size: 8px;
    }
}

/* =========================================
   MODAL DE CHECKOUT
========================================= */

/* overlay que cobre a tela toda */
.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.55); /* preto translúcido */
    display: none;                      /* JS troca pra flex */
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* classe que o JS adiciona ao abrir */
.checkout-modal-overlay.is-visible {
    display: flex;
}

/* card do modal */
.checkout-modal {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    max-width: 430px;
    width: 100%;
    padding: 20px 24px 24px;
    position: relative;
    font-size: 14px;
}

/* botão X de fechar */
.checkout-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #f3f4f6;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #111827;
}

/* header: ícone + títulos */
.checkout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* bolinha do carrinho */
.checkout-header .checkout-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6c8d9c3d;   /* cinza claro */
    color: #ea580c;        /* ícone escuro */
    font-size: 18px;
}

.checkout-title {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.checkout-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* bloco de resumo dos valores */
.checkout-resumo {
    margin-bottom: 12px;
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}

.checkout-resumo-titulo {
    margin-bottom: 8px;
}

.checkout-resumo-linha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.checkout-resumo-total {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-weight: 700;
}

/* linha cinza que separa resumo do resto */
.checkout-divider {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    margin: 12px 0 16px;
}

/* bloco de usuário logado */
.checkout-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.checkout-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #111827;
}

.checkout-user-nome {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.checkout-user-tel {
    font-size: 13px;
    color: #6b7280;
}

/* texto de termos */
.checkout-termos-text {
    font-size: 12px;
    color: #6b7280;
    margin: 10px 0 14px;
}

.checkout-termos-text a {
    color: var(--btn-sec, #2563eb);
    text-decoration: underline;
}

/* botão principal (quando logado) */
.btn-checkout-continuar {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: var(--btn-primary, #22c55e);
    color: #ffffff;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout-continuar:hover {
    filter: brightness(1.05);
}

/* link "Alterar conta" */
.checkout-link-secondary {
    margin-top: 8px;
    width: 100%;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

/* ALERTA (não logado) */
.checkout-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #facc15;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #78350f;
    margin-bottom: 12px;
}

/* ícone de exclamação dentro da faixa */
.checkout-alert i {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;   /* bolinha branca */
    color: #dc2626;   /* vermelho */
    font-size: 12px;
    flex-shrink: 0;
}

/* label do telefone */
.checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

/* linha com input + botão Continuar */
.checkout-phone-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.checkout-phone-row input[type="tel"] {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.checkout-phone-row input[type="tel"]:focus {
    border-color: var(--btn-sec, #2563eb);
}

/* botão "Continuar" escuro */
.checkout-btn-phone {
    background:  var(--btn-primary, #ef4444);           /* fundo branco */
    color: #ffffff;                /* texto escuro */
    border: 0px solid #111827;     /* borda escura */
    border-radius: 999px;
    padding: 0 18px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkout-btn-phone:hover {
    filter: brightness(1.05);
    
}

/* CARD DE ERRO ABAIXO DO TELEFONE */
.checkout-erro {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fee2e2;    /* vermelho bem claro */
    color: #b91c1c;         /* texto vermelho */
    font-size: 12px;
    line-height: 1.3;
    display: none;          /* começa escondido, o JS troca pra block */
    position: relative;
    padding-left: 32px;     /* espaço pra bolinha na esquerda */
}

/* bolinha branca com ! vermelho, igual estilo do alerta */
.checkout-erro::before {
    content: "!";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #dc2626;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* botão vermelho “Fazer cadastro rápido” */
.checkout-btn-primary {
    margin-top: 12px;
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #ff2b1cff;
    color: #ffffff;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn-primary:hover {
    filter: brightness(1.05);
}

.checkout-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* scroll no conteúdo se a tela for pequena */
@media (max-height: 640px) {
    .checkout-modal {
        max-height: 90vh;
        overflow-y: auto;
    }
}
/* =========================================
   MODAL DE ERRO DAS COTAS
   (Quantidade indisponível)
========================================= */

.cotas-erro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.55);
    display: none;                 /* o JS troca pra flex quando abre */
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* se o JS usar classe is-visible, já fica pronto */
.cotas-erro-overlay.is-visible {
    display: flex;
}

.cotas-erro-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    max-width: 360px;
    width: 100%;
    padding: 20px 22px 18px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
}

/* ícone de exclamação redondinho */
.cotas-erro-icone {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* título "Quantidade indisponível" */
.cotas-erro-titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

/* texto com explicação (ex: “só restam X títulos”) */
.cotas-erro-texto {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 14px;
}

/* botão "Ok, entendi" */
.cotas-erro-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--success, #16a34a);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cotas-erro-btn:hover {
    filter: brightness(1.05);
}
/* Avisos */
.rapidinha-aviso {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
    display: none;
}

.rapidinha-aviso-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.rapidinha-aviso-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

/* Resumo do checkout */
.checkout-resumo-numeros {
    margin-top: 16px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.checkout-numeros-lista {
    margin-top: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #374151;
    max-height: 100px;
    overflow-y: auto;
}
/* ===========================
   DESCRIÇÃO / REGULAMENTO (ACCORDION)
   =========================== */

.rapidinha-regulamento-box {
    max-width: 960px;
    margin: 16px auto 32px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: #f9fafb;
}

/* botão de cabeçalho */
.rapidinha-regulamento-head {
    width: 100%;
    border: none;
    background: var(--btn-primary, #22c55e);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rapidinha-regulamento-seta {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* conteúdo */
.rapidinha-regulamento-body {
    padding: 18px 22px;
    font-size: 0.9rem;
    color: #111827;
    line-height: 1.6;
}

/* frase topo e texto */
.rapidinha-regulamento-frase-topo {
    font-weight: 700;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.rapidinha-regulamento-text p {
    margin: 0 0 6px;
}

/* ESTADOS: fechado / aberto */
.rapidinha-regulamento-box.rr-closed .rapidinha-regulamento-body {
    display: none;
}

.rapidinha-regulamento-box.rr-open .rapidinha-regulamento-body {
    display: block;
}

/* seta vira pra cima quando aberto */
.rapidinha-regulamento-box.rr-open .rapidinha-regulamento-seta {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .rapidinha-regulamento-box {
        margin: 12px 12px 24px;
        border-radius: 18px;
    }

    .rapidinha-regulamento-body {
        padding: 14px 16px;
    }
}
.rapidinha-regulamento-body {
    padding: 18px 22px;
    font-size: 1rem;          /* antes 0.9rem – aumenta o tamanho */
    color: #111827;
    line-height: 1.7;
}

/* título "COMO PARTICIPAR..." */
.rapidinha-regulamento-frase-topo {
    font-weight: 800;         /* deixa bem grosso */
    font-size: 1.05rem;       /* um pouco maior */
    margin: 0 0 10px;
    text-transform: uppercase;
}

/* texto do regulamento */
.rapidinha-regulamento-text {
    font-size: 0.95rem;       /* maior que o padrão */
    font-weight: 500;         /* mais grosso */
}

.rapidinha-regulamento-text p {
    margin: 0 0 6px;
}
/* ============================
   BARRA "PRÊMIOS" (ABRE MODAL)
   ============================ */
.rapidinha-premios-box {
    margin: 24px auto 8px;
    max-width: 960px;
    padding: 0 16px;
}

.rapidinha-premios-trigger {
    width: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    background: #64748b;
    color: #111827;
    border-radius: 999px;
    padding: 5px 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.rapidinha-premios-trigger:hover {
    background: #c8ccd3;
    transform: translateY(-1px);
    
}

.rapidinha-premios-icone {
    font-size: 18px;
}

.rapidinha-premios-label {
    font-size: 15px;
}

/* ============================
   MODAL DE PRÊMIOS
   ============================ */
.premios-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;              /* JS troca para flex */
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
}

.premios-modal {
    background: #ffffff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 20px 22px 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    position: relative;
}

.premios-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #6b7280;
}

.premios-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.premios-header-icone {
    font-size: 22px;
}

.premios-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.premios-subtitulo {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.premios-modal-list {
    list-style: none;
    padding: 8px 0 4px;
    margin: 0;
    border-top: 1px solid #e5e7eb;
}

.premios-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.premios-modal-item:last-child {
    border-bottom: none;
}

.premios-posicao {
    font-weight: 600;
    color: #374151;
}

.premios-valor {
    font-weight: 500;
    color: #111827;
}

/* Destaque do 1º prêmio */
.premio-primeiro .premios-posicao,
.premio-primeiro .premios-valor {
    color: #16a34a;
    font-weight: 700;
}
/* =======================
   STATUS DENTRO DO CARD
   ======================= */
.rapidinha-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.rapidinha-status-inside {
    margin-top: 0;
    margin-bottom: 12px;
}

.rapidinha-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.rapidinha-status-livre .status-label,
.rapidinha-status-livre .status-value {
    color: #0f172a;
}

.rapidinha-status-reservado {
    background: #fef3c7;
    color: #92400e;
}

.rapidinha-status-pago {
    background: #dcfce7;
    color: #166534;
}

.status-label {
    opacity: 0.9;
}

.status-value {
    font-weight: 700;
}
.rapidinha-bingo-grid button {
    font-size: 14px;          /* volta a ficar menor/mais nítido */
    line-height: 1;
    touch-action: manipulation; /* ajuda a evitar double-tap zoom em muitos devices */
}

/* =======================
   GRADE COM ROLAGEM
   ======================= */
.rapidinha-bingo-grid {
    /* aqui mantém suas regras de grid já existentes
       e só acrescenta estas abaixo */
    max-height: 320px;      /* mostra +- até o 70 e depois rola */
    overflow-y: auto;
    padding-right: 4px;     /* espaço pro scroll não comer a borda */
}

/* Ajuste pra telas menores */
@media (max-width: 768px) {
    .rapidinha-bingo-grid {
        max-height: 260px;
    }
    .rapidinha-bingo-grid button {
    font-size: 11px;          /* volta a ficar menor/mais nítido */
    line-height: 1;
    touch-action: manipulation; /* ajuda a evitar double-tap zoom em muitos devices */
   }
}
/* Botões dos números da Rapidinha */

