
/* ══════════════════════════════════════════
   STEVIA — Register CSS
══════════════════════════════════════════ */

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --error: #ef4444;
    --success: #22c55e;
}

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); }

/* ── SPLIT LAYOUT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* ── LEFT ── */
.split-left {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    padding: 60px 48px;
    display: flex; align-items: center;
    position: sticky; top: 0; height: 100vh;
    overflow: hidden;
}

.split-left::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
    pointer-events: none;
}

.brand-content { position: relative; z-index: 1; }

.brand-logo {
    font-size: 14px; font-weight: 700;
    letter-spacing: 4px; color: var(--primary);
    text-transform: uppercase; margin-bottom: 40px;
}

.brand-title {
    font-size: 36px; font-weight: 700;
    color: white; line-height: 1.2;
    margin-bottom: 16px;
}

.brand-desc {
    font-size: 15px; color: rgba(255,255,255,0.5);
    line-height: 1.7; margin-bottom: 40px;
}

.brand-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.feature-item {
    display: flex; align-items: flex-start; gap: 14px;
}

.feature-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

.feature-title { font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
.feature-desc { font-size: 12px; color: rgba(255,255,255,0.4); }

.brand-testimonial {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 20px;
}

.testimonial-stars { color: var(--primary); font-size: 14px; margin-bottom: 8px; }
.testimonial-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 10px; font-style: italic; }
.testimonial-author { font-size: 12px; color: rgba(255,255,255,0.35); font-weight: 600; }

/* ── RIGHT ── */
.split-right {
    padding: 60px 48px;
    overflow-y: auto;
    display: flex; align-items: center; justify-content: center;
}

.form-container { width: 100%; max-width: 420px; }

.form-header { margin-bottom: 32px; }
.form-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-muted); }
.form-subtitle a { color: var(--primary); text-decoration: none; font-weight: 600; }
.form-subtitle a:hover { text-decoration: underline; }

/* ── STEPS ── */
.steps {
    display: flex; align-items: center; margin-bottom: 32px;
}

.step {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}

.step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-alt); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: var(--text-muted);
    transition: all 0.3s;
}

.step.active .step-num {
    background: var(--primary); border-color: var(--primary); color: white;
}

.step.done .step-num {
    background: var(--success); border-color: var(--success); color: white;
}

.step-label { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; }
.step.active .step-label { color: var(--primary); }

.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; margin-bottom: 16px; }

/* ── FORM ── */
.form-step { display: flex; flex-direction: column; gap: 20px; }
.form-step.hidden { display: none; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 13px; font-weight: 600;
    color: var(--text); letter-spacing: 0.3px;
}

.input-wrap { position: relative; }

.form-input {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: var(--text); background: var(--bg);
    outline: none; transition: all 0.2s;
}

.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,0.08); }
.form-input.error { border-color: var(--error); }
.form-input.success { border-color: var(--success); }

.input-wrap .form-input { padding-right: 44px; }

.input-toggle {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 16px; opacity: 0.5;
    transition: opacity 0.2s;
}
.input-toggle:hover { opacity: 1; }

.input-hint {
    font-size: 12px; color: var(--text-muted);
    margin-top: 2px;
}

.input-hint.slug { color: var(--primary); font-weight: 600; }

/* PASSWORD STRENGTH */
.password-strength {
    display: flex; gap: 4px; margin-top: 6px;
}
.pwd-bar {
    height: 3px; flex: 1; border-radius: 3px;
    background: var(--border); transition: background 0.3s;
}
.pwd-bar.weak { background: var(--error); }
.pwd-bar.medium { background: #f59e0b; }
.pwd-bar.strong { background: var(--success); }

/* ERROR */
.form-error {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 10px; padding: 10px 14px;
    font-size: 13px; color: var(--error); font-weight: 600;
}
.form-error.hidden { display: none; }

/* SUBMIT */
.btn-submit {
    width: 100%; padding: 14px;
    background: var(--primary); color: white;
    border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: 'Outfit', sans-serif;
    transition: all 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-terms {
    font-size: 12px; color: var(--text-muted);
    text-align: center; line-height: 1.6;
}
.form-terms a { color: var(--primary); text-decoration: none; }

/* SUCCESS */
.success-box { text-align: center; padding: 20px 0; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.success-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.success-info {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 12px; padding: 16px; margin-bottom: 24px;
    font-size: 13px; text-align: left;
}
.success-info p { margin-bottom: 6px; color: var(--text-muted); }
.success-info strong { color: var(--text); }
.success-info .slug-url { color: var(--primary); font-weight: 700; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-left { display: none; }
    .split-right { padding: 40px 24px; }
}
