/* ===========================
   BASE DA PÁGINA
   =========================== */

:root {
    --bg-page: #f3f4f6;
    --card-bg: #ffffff;
    --border-soft: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #2563eb;
    --primary-soft: #eff6ff;
    --success: #16a34a;
    --success-soft: #dcfce7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, .10);
    --shadow-card: 0 18px 45px rgba(15, 23, 42, .12);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;
}

body {
    background: var(--bg-page);
}

/* ===== FORÇAR OS CARDS A USAREM A LARGURA DA TELA ===== */

/* todos os cards da página de sorteio */
.det-page .det-card,
.det-page .progresso-card {
    /* ignora max-width do container pai */
    max-width: none;
    width: min(600px, 100vw - 40px); /* largura real do card */
    
    /* centraliza em relação à tela, não ao container pai */
    margin-left: 50%;
    transform: translateX(-50%);
}


/* ===========================
   CARD PRINCIPAL DO SORTEIO
   =========================== */

.det-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 18px;
}

/* ===========================
   BASE DA PÁGINA
=========================== */

:root {
    --bg-page: #f3f4f6;
    --card-bg: #ffffff;
    --border-soft: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #2563eb;
    --primary-soft: #eff6ff;
    --success: #16a34a;
    --success-soft: #dcfce7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, .10);
    --shadow-card: 0 18px 45px rgba(15, 23, 42, .12);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;
}

body {
    background: var(--bg-page);
}

/* ===========================
   CARD PRINCIPAL DO SORTEIO
=========================== */

.det-card {
    max-width: 960px;
    margin: 16px auto 24px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
    overflow: hidden; /* corta bordas da imagem */
    padding: 0;
}

/* bloco da imagem do sorteio */
.det-header-img {
    position: relative;
    width: 100%;
    height: 380px;
    background: #e5e7eb;
    overflow: hidden;
}

/* imagem preenche o bloco como banner */
.det-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* selo "garanta já" no topo da imagem */
.badge-top {
    position: absolute;
    left: 22px;
    top: 18px;
    padding: 6px 16px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    box-shadow: 0 12px 30px rgba(239, 68, 68, .45);
    animation: badgePulse 1.8s ease-in-out infinite;
}

/* animação do selo */
@keyframes badgePulse {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        opacity: 1;
        transform: scale(1.03);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

.det-body {
    padding: 24px 28px 24px;
}

.det-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.det-sub {
    font-size: .9rem;
    color: #4b5563;
    margin-top: 4px;
}

.det-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.det-label {
    font-size: .85rem;
    color: var(--text-muted);
}

/* preço por número */
.det-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #ffffff;
    font-size: .86rem;
    font-weight: 600;
}

/* texto de chances / observações */
.det-info {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--primary-soft);
    font-size: .85rem;
    color: #1f2937;
}

/* ===========================
   PROGRESSO DAS VENDAS
=========================== */

.progresso-card {
    max-width: 960px;
    margin: 0 auto 18px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 14px 18px 12px;
}

.progresso-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: .9rem;
}

.progresso-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text-main);
}

/* bolinha verde */
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: var(--radius-pill);
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .20);
}

.progresso-perc {
    font-size: .9rem;
    font-weight: 600;
    color: var(--success);
}

.progresso-bar-outer {
    position: relative;
    margin: 6px 0;
    width: 100%;
    height: 10px;
    border-radius: var(--radius-pill);
    background: #e5e7eb;
    overflow: hidden;
}

.progresso-bar-inner {
    position: absolute;
    inset: 0 0 0 0;
    width: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #22c55e, #4ade80);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .3);
    transition: width .2s ease-out;
}

.progresso-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 6px;
}

.progresso-bottom strong {
    color: var(--text-main);
}

.progresso-restantes {
    text-align: right;
    color: var(--danger);
    font-weight: 600;
}

/* ===========================
   CARD DE COTAS
=========================== */

.cotas-card {
    max-width: 960px;
    margin: 0 auto 18px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 14px 16px 16px;
}

.cotas-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: .9rem;
}
.cotas-title-row strong {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cotas-title-row span.small {
    font-size: .8rem;
    color: var(--text-muted);
}

/* botão "Ver meus números" */
.cotas-btn-meus {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-pill);
    border: none;
    padding: 8px 0;
    font-size: .85rem;
    font-weight: 500;
    background: #111827;
    color: #ffffff;
    margin-bottom: 10px;
    cursor: pointer;
}

/* grid dos pacotes */
.cotas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.cota-item {
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    background: #f9fafb;
    font-size: .85rem;
    position: relative;
    transition: all .15s ease-out;
}
.cota-item span.qtd {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}
.cota-item span.sub {
    font-size: .8rem;
    color: var(--text-muted);
}

/* selo "Mais popular" */
.cota-item.most-popular {
    padding-top: 18px;
}
.cota-item.most-popular::after {
    content: "Mais popular";
    position: absolute;
    top: -5px;
    right: 8px;
    background: #f97316;
    color: #ffffff;
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    pointer-events: none;
}

.cota-item:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.cota-item.selected {
    border-color: var(--success);
    background: #ecfdf5;
}

.cotas-limites {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.cotas-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.cotas-qty-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
}
.cotas-qty-input input#cotasQtd {
    width: 90px;
    padding: 6px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid #d1d5db;
    text-align: center;
    font-size: .9rem;
}

.cotas-btn-participar {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: var(--radius-pill);
    border: none;
    padding: 9px 16px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--success);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(22,163,74,.35);
    white-space: nowrap;
}
.cotas-btn-participar .price {
    display: inline-block;
    background: rgba(15,23,42,.15);
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    font-size: .8rem;
}

@media (max-width: 600px) {
    .cotas-qty-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cotas-btn-participar {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   MODAL DE CHECKOUT
=========================== */

.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.checkout-modal-overlay.is-visible {
    display: flex;
}

.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;
}

.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;
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.checkout-header .checkout-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6c8d9c3d;
    color: #ea580c;
    font-size: 18px;
}

.checkout-title {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.checkout-subtitle {
    font-size: 13px;
    color: #6b7280;
}

.checkout-resumo {
    margin-bottom: 12px;
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}
.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;
}

.checkout-divider {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    margin: 12px 0 16px;
}

.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;
}

.checkout-termos-text {
    font-size: 12px;
    color: #6b7280;
    margin: 10px 0 14px;
}
.checkout-termos-text a {
    color: var(--btn-sec, #2563eb);
    text-decoration: underline;
}

.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);
}

.checkout-link-secondary {
    margin-top: 8px;
    width: 100%;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

/* 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;
}

.checkout-alert i {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #dc2626;
    font-size: 12px;
    flex-shrink: 0;
}

.checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.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);
}

.checkout-btn-phone {
    background: var(--btn-primary, #ef4444);
    color: #ffffff;
    border: 0;
    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);
}

.checkout-erro {
    margin-top: 6px;
    padding: 8px 10px 8px 32px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 12px;
    line-height: 1.3;
    display: none;
    position: relative;
}
.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;
}

.checkout-btn-primary {
    margin-top: 12px;
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #ff2b1c;
    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);
}

@media (max-height: 640px) {
    .checkout-modal {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===========================
   MODAL DE ERRO DAS COTAS
=========================== */

.cotas-erro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.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;
}

.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;
}

.cotas-erro-titulo {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.cotas-erro-texto {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 14px;
}

.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);
}

/* ===========================
   PRÊMIOS INSTANTÂNEOS
=========================== */

.inst-premios-section {
    max-width: 1120px;
    margin: 16px auto 24px;
    padding: 16px 18px 18px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 32px rgba(15,23,42,.06);
}

.inst-premios-header h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inst-premios-header p {
    margin: 0 0 10px;
    font-size: 12px;
    color: #6b7280;
}

.inst-premios-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.inst-btn {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    color: #374151;
    transition: background .15s ease, color .15s ease, border-color .15s ease,
                transform .05s ease;
}
.inst-btn:hover {
    background: #eef2ff;
    transform: translateY(-1px);
}
.inst-btn.inst-active {
    background: #16a34a;
    border-color: #16a34a;
    color: #f9fafb;
}

.inst-premios-list {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inst-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
}

/* número da sorte */
.inst-num {
    min-width: 78px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    background: #f9fafb;
    color: #111827;
    border: 1px solid #d1d5db;
}

/* disponível / já saiu */
.inst-row.inst-free {
    background: #ecfdf3;
    border-color: #bbf7d0;
}
.inst-row.inst-win {
    background: #fef2f2;
    border-color: #fecaca;
}

.inst-info {
    flex: 1;
}
.inst-title {
    font-weight: 500;
    color: #111827;
}
.inst-winner {
    font-size: 12px;
    color: #374151;
    margin-top: 1px;
}

.inst-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.inst-row.inst-free .inst-status {
    background: #16a34a;
    color: #ecfdf5;
}
.inst-row.inst-win .inst-status {
    background: #f97316;
    color: #fffbeb;
}

@media (max-width: 640px) {
    .inst-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .inst-num {
        min-width: 0;
    }
    .inst-status {
        margin-top: 4px;
    }
}

/* ===========================
   DESCRIÇÃO / REGULAMENTO
=========================== */

.det-desc-section {
    max-width: 620px;
    margin: 2px auto 0;
}

.det-desc-toggle {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #16a34a;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(22,163,74,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.det-desc-toggle:hover {
    filter: brightness(1.05);
}

.det-desc-box {
    max-width: 620px;
    margin: 10px auto 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    display: none;
}
.det-desc-box.is-open {
    display: block;
}

/* texto dentro da descrição */
.det-desc-box p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.0;
    font-weight: 600;
    color: #111827;
}
.det-desc-box p:last-child {
    margin-bottom: 0;
}

.det-desc-empty {
    color: #9ca3af;
    font-style: italic;
}

/* ===========================
   REGULAMENTO (versão card)
=========================== */

.st-regulamento-card {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #111827;
    color: #f9fafb;
}
.st-regulamento-toggle {
    width: 100%;
    border: none;
    background: #111827;
    color: #f9fafb;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.st-regulamento-icon {
    font-size: 0.85rem;
}
.st-regulamento-card .st-regulamento-body {
    display: none;
    background: #f9fafb;
    color: #111827;
    padding: 10px 14px 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.st-regulamento-toggle.open + .st-regulamento-body {
    display: block;
}

/* ===========================
   BARRA PRÊMIOS + MODAL
=========================== */

.premios-bar {
    max-width: 1120px;
    margin: 10px auto 0;
}

.premios-bar-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.premios-bar-btn:hover {
    background: #d1d5db;
}
.premios-bar-icon {
    font-size: 16px;
}

/* overlay do modal */
.premios-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 16px;
}
.premios-modal-overlay.is-open {
    display: flex;
}

.premios-modal {
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
    padding: 20px 22px 22px;
    position: relative;
}

.premios-modal-close {
    position: absolute;
    right: 14px;
    top: 14px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
}
.premios-modal-close:hover {
    color: #111827;
}

.premios-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.premios-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #ecfdf5;
}

.premios-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.premios-modal-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.premios-modal-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 8px 0 12px;
}

/* lista de prêmios */

.premios-modal-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premios-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}
.premios-modal-item:last-child {
    border-bottom: none;
}

.premios-modal-pos {
    min-width: 32px;
    font-size: 17px;
    font-weight: 700;
    color: #16a34a;
}

.premios-modal-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.premios-modal-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.premios-modal-item-desc {
    font-size: 13px;
    color: #6b7280;
}

/* primeiro prêmio destacado */
.premios-modal-item-first {
    padding: 12px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid #bbf7d0;
}
.premios-modal-item-first .premios-modal-pos {
    font-size: 24px;
    font-weight: 800;
    color: #16a34a;
}
.premios-modal-item-first .premios-modal-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}
.premios-modal-item-first .premios-modal-item-desc {
    color: #15803d;
}

/* ===========================
   RESPONSIVO GERAL
=========================== */

@media (max-width: 480px) {
    .det-card,
    .progresso-card,
    .cotas-card,
    .inst-premios-section,
    .premios-bar {
        border-radius: 18px;
        margin-left: 0;
        margin-right: 0;
    }
}
