/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面背景和字体设置 */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #00a2e8 0%, #0056b3 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 登录容器样式 */
.login-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
}

/* 标题样式 */
h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* 标签样式 */
.form-group label {
    display: flex;
    align-items: center;
    color: #34495e;
    font-weight: 500;
    margin-bottom: 0.7rem;
}

/* 图标样式 */
.fas {
    margin-right: 8px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* 输入框样式 */
input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

input:focus {
    outline: none;
    border-color: #00a2e8;
    box-shadow: 0 0 0 3px rgba(0, 162, 232, 0.2);
    background-color: white;
}

/* 验证码区域样式 */
.verification-code {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.verification-code-input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.verification-code input {
    flex: 1;
}

/* 验证码图片样式 */
#verificationCodeImage {
    height: 46px;
    min-width: 100px;
    cursor: pointer;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 2px;
}

#verificationCodeImage:hover {
    transform: scale(1.02);
    border-color: #00a2e8;
}

/* 密码输入框容器 */
.password-container {
    position: relative;
}

/* 密码显示/隐藏图标 */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.3s ease;
    padding: 5px;
}

.toggle-password:hover {
    color: #00a2e8;
}

/* 按钮样式 */
button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00a2e8 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 162, 232, 0.3);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }
} 