/* pay.smmpremium.net — estilos da pagina de pagamento */

:root {
    --bg: #0b0f17;
    --bg-grad: radial-gradient(1200px 600px at 50% -10%, #16233b 0%, #0b0f17 55%);
    --card: #121826;
    --card-borda: #202a3d;
    --texto: #eef2f8;
    --texto-fraco: #8d9ab2;
    --primaria: #2f6bff;
    --primaria-hover: #1f58e8;
    --sucesso: #16c784;
    --erro: #ff5d6c;
    --aviso: #f5a524;
    --raio: 16px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    background-image: var(--bg-grad);
    background-attachment: fixed;
    color: var(--texto);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

.wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 40px 16px 32px;
}

/* ---------- Topo ---------- */
.topo { text-align: center; margin-bottom: 24px; }

.marca {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.subtitulo {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--texto-fraco);
}

/* ---------- Card ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--card-borda);
    border-radius: var(--raio);
    padding: 24px 20px;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7);
}

.oculto { display: none !important; }

/* ---------- Formulario ---------- */
.campo { display: block; margin-bottom: 18px; }

.rotulo {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--texto-fraco);
    margin-bottom: 7px;
}

.rotulo em { font-style: normal; font-weight: 400; opacity: .7; }

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: #0d121d;
    border: 1px solid var(--card-borda);
    border-radius: 11px;
    color: var(--texto);
    font-size: 16px;
    font-family: inherit;
    padding: 13px 14px;
    transition: border-color .15s, box-shadow .15s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primaria);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .18);
}

input::placeholder, textarea::placeholder { color: #55617a; }

.input-moeda { position: relative; }

.input-moeda .prefixo {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--texto-fraco);
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
}

.input-moeda input {
    padding-left: 42px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.dica {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--texto-fraco);
}

/* ---------- Botoes ---------- */
.botao {
    width: 100%;
    border: none;
    border-radius: 11px;
    background: var(--primaria);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .15s, transform .08s;
}

.botao:hover:not(:disabled) { background: var(--primaria-hover); }
.botao:active:not(:disabled) { transform: scale(.985); }
.botao:disabled { opacity: .6; cursor: not-allowed; }

.botao.secundario {
    background: #1c2638;
    border: 1px solid var(--card-borda);
    margin-top: 10px;
}

.botao.secundario:hover:not(:disabled) { background: #243249; }

.spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gira .7s linear infinite;
}

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

.link-voltar {
    display: block;
    width: 100%;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--texto-fraco);
    font-size: 13px;
    font-family: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.link-voltar:hover { color: var(--texto); }

/* ---------- Erro ---------- */
.erro {
    background: rgba(255, 93, 108, .1);
    border: 1px solid rgba(255, 93, 108, .3);
    color: #ff9aa4;
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14px;
    margin: 0 0 16px;
}

/* ---------- Status ---------- */
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 165, 36, .12);
    border: 1px solid rgba(245, 165, 36, .3);
    color: var(--aviso);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.status .ponto {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: pulsa 1.6s ease-in-out infinite;
}

.status[data-pago="1"] {
    background: rgba(22, 199, 132, .12);
    border-color: rgba(22, 199, 132, .35);
    color: var(--sucesso);
}

.status[data-pago="1"] .ponto { animation: none; }

@keyframes pulsa { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Resumo ---------- */
.resumo { margin-bottom: 20px; }

.resumo-valor {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}

.resumo-nome {
    display: block;
    font-size: 14px;
    color: var(--texto-fraco);
    margin-top: 2px;
}

/* ---------- QR ---------- */
.qr-area {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.qr-area img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
    image-rendering: pixelated;
}

.instrucao {
    font-size: 14px;
    color: var(--texto-fraco);
    margin: 0 0 18px;
}

.instrucao strong { color: var(--texto); font-weight: 600; }

/* ---------- Copia e cola ---------- */
.copia-cola textarea {
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    resize: none;
    word-break: break-all;
    color: var(--texto-fraco);
}

/* ---------- Sucesso ---------- */
.sucesso { text-align: center; padding: 8px 0 4px; }

.sucesso .check {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(22, 199, 132, .14);
    border: 2px solid var(--sucesso);
    color: var(--sucesso);
    font-size: 30px;
    line-height: 58px;
}

.sucesso h2 { margin: 0 0 6px; font-size: 20px; }
.sucesso p { margin: 0; font-size: 14px; color: var(--texto-fraco); }

/* ---------- Rodape ---------- */
.rodape-nota {
    font-size: 12px;
    color: var(--texto-fraco);
    text-align: center;
    margin: 18px 0 0;
}

.rodape {
    text-align: center;
    font-size: 12px;
    color: #5b6782;
    margin-top: 22px;
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    background: var(--sucesso);
    color: #04231a;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
    animation: sobe .25s ease-out;
    z-index: 50;
}

@keyframes sobe {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 420px) {
    .wrap { padding-top: 26px; }
    .card { padding: 20px 16px; }
    .resumo-valor { font-size: 28px; }
}
