/* Portal VeroStaff.AI — mesmo visual da tela de login do Dashboard TG */
:root {
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --gold-light: rgba(212, 175, 55, 0.14);
    --navy: #141a29;
    --ink: #0d1117;
    --muted: #7a859a;
    --line: #e2e8f0;
    --field: #f7f9fc;
    --ok: #16a34a;
    --err: #dc2626;
    --font: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: #050a14; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--gold-dark); }
[hidden] { display: none !important; }

.portal { display: flex; min-height: 100vh; }

/* ---------------- Lado esquerdo: como funciona ---------------- */
.pt-left {
    flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
    padding: 56px 72px; color: #fff;
    background:
        radial-gradient(ellipse 100% 80% at 10% 0%, rgba(212, 175, 55, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 90% 100%, rgba(184, 148, 31, 0.12) 0%, transparent 50%),
        linear-gradient(170deg, #050d1f 0%, #080f22 50%, #060c1c 100%);
}
.pt-left::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px); background-size: 36px 36px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-1 { width: 400px; height: 400px; top: -100px; left: -100px; background: rgba(212, 175, 55, 0.15); }
.orb-2 { width: 300px; height: 300px; bottom: -60px; right: 60px; background: rgba(184, 148, 31, 0.1); }

.pt-left-content { position: relative; z-index: 1; max-width: 520px; }
.pt-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 34px; }
.pt-brand span { color: var(--gold); }
.pt-headline { font-size: 2.1rem; font-weight: 800; line-height: 1.22; letter-spacing: -0.5px; margin-bottom: 14px; }
.pt-headline em {
    font-style: normal; background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pt-sub { color: rgba(255, 255, 255, 0.55); line-height: 1.7; font-size: 0.95rem; }

.pt-how-title { margin: 34px 0 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); }
.pt-steps { list-style: none; display: grid; gap: 12px; }
.pt-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.pt-steps li strong { color: #fff; }
.pt-steps li span {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-light); border: 1px solid rgba(212, 175, 55, 0.4); color: var(--gold); font-weight: 700; font-size: 0.8rem;
}
.pt-rules {
    margin-top: 28px; display: grid; gap: 9px; padding: 16px 18px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.62);
}
.pt-rules i { color: var(--gold); width: 18px; }

/* ---------------- Lado direito: acesso ---------------- */
.pt-right {
    width: 500px; flex-shrink: 0; background: #fff; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 56px 80px;
}
.pt-right-inner { width: 100%; max-width: 380px; }

.pt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--field); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; }
.pt-tab {
    border: 0; background: transparent; padding: 10px 8px; border-radius: 9px; cursor: pointer;
    font: 600 0.84rem var(--font); color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center;
}
.pt-tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(16, 24, 40, 0.1); }
.pt-tab.active i { color: var(--gold-dark); }

.pt-view { display: none; }
.pt-view.active { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pt-top { margin-bottom: 26px; }
.pt-top h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 6px; }
.pt-top p { font-size: 0.86rem; color: var(--muted); }

.pt-field { margin-bottom: 16px; }
.pt-field label { display: block; font-size: 0.72rem; font-weight: 700; color: #4a5568; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px; }
.pt-input { position: relative; }
.pt-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #b0bac9; font-size: 0.85rem; pointer-events: none; }
.pt-input input {
    width: 100%; padding: 13px 42px 13px 40px; background: var(--field); border: 1.5px solid var(--line); border-radius: 10px;
    font: 0.92rem var(--font); color: var(--ink); outline: none; transition: 0.2s;
}
.pt-input input:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px var(--gold-light); }
.pt-input:focus-within > i { color: var(--gold-dark); }
.pt-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #9aa4b5; cursor: pointer; padding: 6px; }

.pt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: #4a5568; line-height: 1.5; margin: 4px 0 6px; cursor: pointer; }
.pt-check input { margin-top: 3px; accent-color: var(--gold-dark); }

.pt-btn {
    width: 100%; margin-top: 12px; padding: 14px; border: 0; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
    font: 700 0.95rem var(--font); display: flex; gap: 10px; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35); transition: 0.2s;
}
.pt-btn:hover { filter: brightness(1.07); }
.pt-btn:disabled { opacity: 0.65; cursor: wait; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: rot 0.7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.pt-link { display: flex; gap: 6px; align-items: center; justify-content: center; width: 100%; margin-top: 16px; background: none; border: 0; cursor: pointer; font: 600 0.82rem var(--font); color: var(--gold-dark); }
.pt-link:hover { text-decoration: underline; }
.pt-muted { color: var(--muted); }

.pt-alert { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 9px; font-size: 0.82rem; line-height: 1.45; gap: 9px; align-items: flex-start; }
.pt-alert.show { display: flex; }
.pt-alert i { margin-top: 2px; }
.pt-alert-error { background: #fff1f1; border: 1px solid #fca5a5; color: var(--err); }
.pt-alert-success { background: #f0fdf4; border: 1px solid #86efac; color: var(--ok); }
.pt-alert-info { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; margin: 0 0 20px; }

.pt-result { border: 1.5px solid #86efac; background: #f6fef9; border-radius: 14px; padding: 20px; }
.pt-result-head { font-weight: 700; color: var(--ok); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.pt-cred { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.pt-cred span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); width: 52px; }
.pt-cred code { flex: 1; font: 700 1.05rem ui-monospace, Menlo, Consolas, monospace; color: var(--ink); letter-spacing: 0.5px; word-break: break-all; }
.pt-copy { border: 0; background: var(--gold-light); color: var(--gold-dark); border-radius: 8px; padding: 7px 9px; cursor: pointer; }
.pt-copy.done { background: #dcfce7; color: var(--ok); }
.pt-result-note { font-size: 0.8rem; color: #4a5568; margin: 8px 0 0; line-height: 1.5; }
.pt-result-note i { color: var(--gold-dark); }

.pt-foot { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 0.72rem; color: #b0bac9; }
.pt-foot a { font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
    .portal { flex-direction: column-reverse; }
    .pt-left { padding: 40px 24px; }
    .pt-headline { font-size: 1.6rem; }
    .pt-right { width: 100%; padding: 32px 20px 72px; }
    .pt-right-inner { max-width: 440px; }
}
