/* ═══════════════════════════════════════════════════════════════════
   registro.css — Estilos del formulario de registro y páginas auxiliares
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --primary:      #d92027;
    --primary-dark: #b31b20;
    --border:       #e5e7eb;
    --muted:        #6b7280;
    --accent:       #c39c43;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #1a202c;
}

.page-wrap {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ── Left Panel (dark) ── */
.left {
    background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 3rem; }
.brand-name {
    font-size: 2.2rem; font-weight: 900;
    letter-spacing: -1px; line-height: 1;
}
.brand-name span.r { color: var(--primary); }
.brand-name span.g { color: white; }
.brand-name span.c { color: white; font-size: 1.2rem; font-weight: 600; }

.left h2  { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; }
.left p   { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 2rem; }

.plan-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px; padding: 1.25rem; margin-bottom: 1.5rem;
}
.plan-pill .label { font-size: 0.78rem; opacity: 0.7; margin-bottom: 0.25rem; }
.plan-pill .name  { font-size: 1.15rem; font-weight: 800; }
.plan-pill .price { font-size: 0.875rem; opacity: 0.8; margin-top: 0.15rem; }

.features-list { list-style: none; }
.features-list li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.875rem; padding: 0.3rem 0;
    color: rgba(255,255,255,0.85);
}

.left-footer { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── Right Panel / Form ── */
.right {
    background: white; padding: 3rem 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
}

.right h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.right .sub { color: var(--muted); font-size: 0.875rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
    display: block; font-size: 0.82rem; font-weight: 700;
    color: #374151; margin-bottom: 0.4rem;
}
.form-group input,
.form-group select {
    width: 100%; padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.95rem;
    outline: none; transition: border-color 0.2s;
    background: white; color: #1a202c;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-hint { font-size: 0.77rem; color: var(--muted); margin-top: 0.3rem; }

.alert-err {
    background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b;
    padding: 0.9rem; border-radius: 8px; font-size: 0.875rem; margin-bottom: 1.25rem;
}

.plan-selector { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.plan-opt {
    border: 2px solid var(--border); border-radius: 8px;
    padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
    text-decoration: none; color: var(--muted);
}
.plan-opt.active { border-color: var(--primary); color: var(--primary); background: #e8f0fd; }
.plan-opt:hover  { border-color: var(--primary); color: var(--primary); }

.btn-submit {
    width: 100%; padding: 0.95rem;
    background: var(--primary); color: white;
    border: none; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s; margin-top: 0.75rem;
}
.btn-submit:hover    { background: var(--primary-dark); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.dev-notice {
    background: #fef9c3; border: 1px solid #fde068; color: #854d0e;
    padding: 0.75rem; border-radius: 8px; font-size: 0.8rem; margin-bottom: 1rem;
}

.terms { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }
.terms a { color: var(--primary); text-decoration: none; }

/* ── Páginas de éxito / cancelación ── */
.result-page {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa; min-height: 100vh;
    display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.result-card {
    background: white; border-radius: 20px;
    padding: 3rem 2.5rem; max-width: 440px; width: 100%;
    text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.result-icon  { font-size: 4rem; margin-bottom: 1.25rem; display: block; }
.result-card h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.result-card p  { color: #6b7280; margin-bottom: 1.5rem; line-height: 1.6; }

.result-steps {
    background: #f5f7fa; border-radius: 12px;
    padding: 1.25rem; margin-bottom: 1.75rem; text-align: left;
}
.result-steps h3 {
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; margin-bottom: 0.75rem;
}
.step-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; padding: 0.4rem 0; }
.step-num  {
    width: 24px; height: 24px;
    background: #0f52ba; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}

.result-btn {
    display: block; background: #0f52ba; color: white;
    padding: 1rem; border-radius: 12px; text-decoration: none;
    font-weight: 700; font-size: 1rem; transition: background 0.2s;
}
.result-btn:hover { background: #0a3d8f; color: white; text-decoration: none; }

.result-btn-outline {
    display: inline-block; background: #0f52ba; color: white;
    padding: 0.85rem 2rem; border-radius: 10px; text-decoration: none; font-weight: 700;
}

@media (max-width: 700px) {
    .page-wrap { grid-template-columns: 1fr; }
    .left { display: none; }
    .right { padding: 2rem 1.5rem; }
}
