/*
 * user-register.css
 * 来源: user/register.php
 */

@import url('user-auth-common.css');

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}
.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: 1px solid var(--border-color);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.step-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
}
[data-theme="light"] .step-dot.active {
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.user-auth-register-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.register-type-switch {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.register-type-switch__item {
    position: relative;
    z-index: 2;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.62rem 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.register-type-switch__item.is-active {
    color: var(--text-main);
}

.register-type-switch__thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 255, 157, 0.18);
    border-right: 1px solid rgba(0, 255, 157, 0.25);
    transition: transform 0.22s ease;
}

.register-type-switch__thumb.is-right {
    transform: translateX(100%);
    border-right: 0;
    border-left: 1px solid rgba(0, 255, 157, 0.25);
}

[data-theme="light"] .register-type-switch__thumb {
    background: rgba(5, 150, 105, 0.16);
    border-color: rgba(5, 150, 105, 0.25);
}

/* 用户类型说明 - 极简样式 */
.form-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.type-hint {
    display: inline;
}

.type-hint.is-hidden {
    display: none;
}
