/* 注册页面特定样式 */
.register-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-box {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.register-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

/* 表单样式 */
.register-box .form-group {
    margin-bottom: 20px;
}

.register-box .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

/* 协议勾选框特殊样式 */
.register-box .form-group:nth-last-child(2) label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-weight: normal;
}

.register-box .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

/* 协议勾选框输入样式 */
.register-box .form-group:nth-last-child(2) input {
    width: auto;
    margin-right: 8px;
    padding: 0;
}

.register-box .form-group input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* 注册按钮 */
.register-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* 登录链接 */
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-link a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* 验证码相关样式 */
.register-box .captcha-group {
    margin-bottom: 20px;
}

.register-box .captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.register-box #captcha {
    flex: 1;
    max-width: 150px;
}

#captcha-image {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
}

#captcha-image:hover {
    border-color: #2196F3;
}

/* 错误信息 */
.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* 提示信息 */
.flash-message {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196F3;
}

/* 邮箱验证通知样式 */
.verify-notice {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #4caf50;
}

.verify-notice p {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.verify-notice strong {
    color: #2e7d32;
    font-weight: 600;
}

.verify-tip {
    color: #666;
    font-size: 14px;
    margin-top: 15px !important;
    font-style: italic;
}

.verify-actions {
    display: flex;
    gap: 15px;
}

.verify-actions .register-btn,
.verify-actions .secondary-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.verify-actions .register-btn {
    background-color: #2196F3;
    color: white;
    border: none;
}

.verify-actions .register-btn:hover {
    background-color: #1976D2;
}

.verify-actions .secondary-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.verify-actions .secondary-btn:hover {
    background-color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .register-box {
        padding: 30px 20px;
    }
    
    .register-box h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .register-box .form-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .register-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    .verify-actions {
        flex-direction: column;
    }
    
    .verify-actions .register-btn,
    .verify-actions .secondary-btn {
        width: 100%;
    }
}