/* Ingesto PIX — Estilos */

.ingesto-paywall,
.ingesto-doacao {
    margin: 32px 0;
    font-family: inherit;
}

/* Bloco de bloqueio com fade */
.ingesto-paywall__bloqueio {
    position: relative;
    max-height: 200px;
    overflow: hidden;
}

.ingesto-paywall__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: 1;
    pointer-events: none;
}

/* CTA e formulário */
.ingesto-paywall__cta,
.ingesto-paywall__formulario,
.ingesto-paywall__qrcode,
.ingesto-doacao__form {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.ingesto-paywall__titulo {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.ingesto-paywall__subtitulo {
    font-size: 14px;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* Botão principal */
.ingesto-paywall__btn {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 320px;
}

.ingesto-paywall__btn:hover {
    background: #333;
}

.ingesto-paywall__btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Input de e-mail e nome */
.ingesto-input {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 14px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.ingesto-input:focus {
    border-color: #1a1a1a;
    outline: none;
}

/* Mensagem de erro */
.ingesto-paywall__erro {
    color: #c00;
    font-size: 13px;
    margin: 10px 0 0;
}

/* QR Code */
.ingesto-qr-img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ingesto-pix-label {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}

.ingesto-pix-copia {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto 16px;
}

.ingesto-pix-codigo {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    background: #f0f0f0;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ingesto-btn-copiar {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.ingesto-btn-copiar:hover {
    background: #333;
}

/* Aguardando pagamento */
.ingesto-aguardando {
    font-size: 13px;
    color: #555;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Spinner animado */
.ingesto-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: ingesto-spin 0.8s linear infinite;
    flex-shrink: 0;
}

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

/* Doação — botões de valor */
.ingesto-doacao__valores {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ingesto-doacao__valor-btn {
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    color: #1a1a1a;
}

.ingesto-doacao__valor-btn:hover {
    border-color: #1a1a1a;
}

.ingesto-doacao__valor-btn.selecionado {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.ingesto-doacao__custom {
    margin-bottom: 14px;
}

.ingesto-doacao__custom label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

/* Conteúdo liberado */
.ingesto-conteudo-liberado {
    /* sem estilo especial — exibe normalmente */
}
