.register-section {
    width: 100%;
    min-height: 600px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@media (max-width: 576px) {
    .register-section {
        min-height: auto;
        padding: 15px;
    }
    
    .register-container {
        padding: 20px;
    }
}

.register-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}



.form-group input:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.2);
}

.form-group.error input {
    border-color: #ff4444;
}

.form-group.error .error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 5px;
}

.verification-group {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.verification-group > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.verification-group .captcha-display {
    flex: 0 0 180px;
}

.verification-group label {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    line-height: 1.2;
}

.verification-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    height: 44px;
}

.verification-group button,
.verification-group #captchaText {
    background-color: white;
    color: #191970;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-top: 0;
    box-sizing: border-box;
}

.verification-group button:hover {
    background-color: #ff8c00;
}

.register-btn {
    width: 100%;
    background-color: #ffa500;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.register-btn:hover {
    background-color: #ff8c00;
}

.register-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.agreement-group {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.agreement-group input {
    margin-right: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.agreement-group a {
    color: #ffa500;
    text-decoration: none;
}

.agreement-group a:hover {
    text-decoration: underline;
}

/* 记住登录状态样式 */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    flex-shrink: 0;
}
.remember-me label {
    margin: 0;
    font-weight: normal;
    color: #666;
    cursor: pointer;
    vertical-align: middle;
    font-size: 14px;
    flex-shrink: 0;
}

/* 图形验证码样式 */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-container input {
    flex: 1;
    width: auto;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    height: 44px;
}
.captcha-container img,
.captcha-container #captchaText {
    width: 180px;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 5px;
    object-fit: contain;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* 安全验证触发器与弹窗 */
.slider-trigger-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #ffa500;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slider-trigger-btn:hover {
    background-color: #ff8c00;
}
.slider-status {
    margin-left: 12px;
    color: #5abc3c;
    font-weight: bold;
}
.slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    min-width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.slider-hint {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #666;
}
.slider-captcha-box {
    width: 100%;
    height: 50px;
    min-height: 50px;
}
.slider-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
}
.slider-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}
.slider-modal-close:hover {
    color: #333;
}