/* 注册页面样式 */
.login-page {
    padding: 20px 15px;
    min-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
}

.login-header {
    margin-bottom: 20px;
}

.title-wrapper {
    display: flex;
    align-items: center;
}

.title-bar {
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #C9A86C;
    margin-right: 12px;
}

.title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.login-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#registerForm {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    border-color: #B5975F;
}

.password-group {
    position: relative;
}

.password-group .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 22px;
    height: 22px;
}

/* 验证码输入框 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-input {
    flex: 1;
    width: auto;
}

.captcha-img {
    width: 120px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
    object-fit: cover;
}

.btn-login {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    -webkit-appearance: none;
}

.btn-login:active {
    opacity: 0.9;
}

.login-link {
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

.login-link .arrow {
    margin-right: 6px;
    font-size: 11px;
    color: #B5975F;
}

.login-link:hover {
    color: #B5975F;
}
