/* ── Sihate Affiliate Pro — Register CSS ── */
.sah-register-wrap {
    max-width: 560px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.sah-register-card,
.sah-success-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(99,102,241,.13);
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
}
.sah-register-header {
    text-align: center;
    margin-bottom: 2rem;
}
.sah-register-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.sah-register-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 .5rem;
    line-height: 1.3;
}
.sah-register-header p { color: #6b7280; font-size: .9rem; margin: 0; line-height: 1.5; }

.sah-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.sah-form-group { margin-bottom: 1.1rem; }
.sah-form-group label {
    display: block;
    font-size: .83rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .35rem;
    letter-spacing: .01em;
}
.sah-form-group label .req { color: #ef4444; margin-left: 2px; }
.sah-field-hint { display: block; font-size: .75rem; color: #9ca3af; margin-top: .3rem; }

.sah-form-group input,
.sah-form-group textarea,
.sah-form-group select {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: .9rem;
    color: #111827;
    background: #f9fafb;
    transition: border-color .18s, box-shadow .18s, background .18s;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}
.sah-form-group input:focus,
.sah-form-group textarea:focus,
.sah-form-group select:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.sah-form-group textarea { resize: vertical; min-height: 80px; }

.sah-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .72rem 1.5rem;
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .18s, transform .1s, box-shadow .18s;
    text-decoration: none;
    letter-spacing: .01em;
    font-family: inherit;
}
.sah-btn:active { transform: scale(.97); }
.sah-btn:disabled { opacity: .55; cursor: not-allowed; }
.sah-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(99,102,241,.3);
}
.sah-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 16px rgba(99,102,241,.4);
    color: #ffffff;
    text-decoration: none;
}
.sah-btn-full { width: 100%; }
.sah-btn-sm { padding: .4rem .85rem; font-size: .78rem; border-radius: 7px; }

.sah-msg {
    padding: .75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .87rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    line-height: 1.5;
}
.sah-msg.success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }

/* Success card */
.sah-success-card { text-align: center; }
.sah-success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.sah-success-card h2 { font-size: 1.4rem; color: #166534; margin-bottom: .75rem; }
.sah-success-card p { color: #374151; margin-bottom: 1.5rem; line-height: 1.7; font-size: .9rem; }
.sah-success-steps { display: flex; flex-direction: column; gap: .6rem; margin: 1.25rem 0; text-align: left; }
.sah-step {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    background: #f0fdf4;
    border-radius: 8px;
    font-size: .88rem;
    color: #166534;
    font-weight: 500;
}
.sah-step-pending { background: #f9fafb; color: #6b7280; }
.sah-step-num {
    width: 24px; height: 24px;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.sah-step-pending .sah-step-num { background: #d1d5db; color: #6b7280; }

@media (max-width: 520px) {
    .sah-form-row-2 { grid-template-columns: 1fr; }
    .sah-register-card, .sah-success-card { padding: 1.5rem; }
    .sah-register-wrap { margin: 1rem auto; }
}
