.register-panel {
    max-width: 720px;
    padding: 36px 44px;
}
.register-wizard {
    display: flex;
    justify-content: space-between;
    margin: 18px 0 28px;
    position: relative;
}
.register-wizard::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(to right, #22c55e var(--progress, 0%), #e5e7eb var(--progress, 0%));
    z-index: 0;
}
.wizard-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}
.wizard-step .step-num {
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #94a3b8;
    font-weight: 600;
    transition: all .25s;
}
.wizard-step.active .step-num {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.wizard-step.done .step-num {
    background: #22c55e;
    color: #fff;
}
.wizard-step .step-label {
    font-size: 13px;
    color: #64748b;
}
.wizard-step.active .step-label {
    color: #0f172a;
    font-weight: 500;
}
.register-section {
    display: none;
}
.register-section.active {
    display: block;
    animation: fadeIn .3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0 22px;
}
.role-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    cursor: pointer;
    transition: all .2s;
    background: #fafbfc;
}
.role-card:hover {
    border-color: #22c55e;
    background: #fff;
}
.role-card.selected {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.role-card .role-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.role-card .role-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}
.role-card .role-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}
.input-with-icon {
    position: relative;
}
.input-with-icon .input {
    padding-right: 80px;
}
.input-with-icon .input-action {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #22c55e;
    cursor: pointer;
    font-size: 13px;
}
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}
.password-strength .bar {
    height: 3px;
    flex: 1;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background .2s;
}
.password-strength .bar.weak { background: #ef4444; }
.password-strength .bar.medium { background: #f59e0b; }
.password-strength .bar.strong { background: #22c55e; }
.password-strength-text {
    font-size: 12px;
    margin-top: 4px;
    color: #94a3b8;
}
.password-strength-text.weak { color: #ef4444; }
.password-strength-text.medium { color: #f59e0b; }
.password-strength-text.strong { color: #22c55e; }
.field-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}
.field-hint.error {
    color: #ef4444;
}
.field-hint.success {
    color: #22c55e;
}
.input-feedback {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
}
.input-feedback.ok { color: #22c55e; }
.input-feedback.fail { color: #ef4444; }
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
    margin: 8px 0;
}
.checkbox-row a { color: #22c55e; text-decoration: none; }
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.form-actions .btn {
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
}
.register-success-state {
    text-align: center;
    padding: 30px 0;
}
.register-success-state .success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #22c55e;
}
.register-success-state h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 8px;
}
.register-success-state p {
    color: #64748b;
    margin-bottom: 6px;
}
.register-success-state .countdown {
    color: #22c55e;
    font-weight: 500;
}
.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.step-actions .btn-prev {
    flex: 0 0 100px;
}
.step-actions .btn-next {
    flex: 1;
}
@media (max-width: 600px) {
    .register-panel { padding: 24px 18px; }
    .role-selector { grid-template-columns: 1fr; }
}