/* 基础样式重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 主容器 */
.container {
    max-width: 600px;
    width: 100%;
    margin: 30px 15px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 标题样式 */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
}

p {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* 表单样式 */
form {
    margin-top: 30px;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 隐藏数字输入框的箭头，实现纯手动输入 */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 按钮样式 */
button {
    margin-top: 30px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

button:hover:before {
    left: 100%;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

button:active {
    transform: translateY(0);
}

/* 消息提示样式 */
.success {
    background: #e0ffe0;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #8bc34a;
    color: #2e7d32;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.error {
    background: #ffe0e0;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #f44336;
    color: #d32f2f;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* 语言切换样式 */
.lang-switch {
    text-align: right;
    margin-bottom: 25px;
}

.lang-switch a {
    margin-left: 15px;
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lang-switch a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 验证码样式 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.captcha-group img {
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.captcha-group img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.captcha-group input {
    flex-grow: 1;
    margin-top: 0;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        background: #667eea;
    }
    
    .container {
        margin: 20px;
        padding: 30px 25px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-group img {
        margin-top: 15px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
        margin: 15px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    input, textarea, button {
        font-size: 16px;
    }
}```