/* ========== 登录/注册弹窗样式 ========== */
.auth-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.auth-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-camera {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    font-size: 12px;
    padding: 4px;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: var(--text-secondary-color);
}

.form-input.with-icon {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    background: var(--background-color);
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
}

.form-input.with-icon:focus {
    border-color: var(--primary-color);
}

.send-code-btn {
    padding: 10px 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary-color);
    padding: 4px;
}

.password-toggle-btn:hover {
    color: var(--primary-color);
}

.send-code-btn:disabled {
    background: var(--border-color);
    color: var(--text-secondary-color);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.auth-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}
