
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    background: linear-gradient(120deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #749ce7;
}

.login-container {
    width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-header {
    background: linear-gradient(135deg, #409EFF 0%, #64b5f6 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-header::before,
.login-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.login-header::before {
    width: 150px;
    height: 150px;
    top: -60px;
    left: -60px;
}

.login-header::after {
    width: 100px;
    height: 100px;
    bottom: -40px;
    right: -30px;
}

.login-body {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #606266;
}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4cc;
    font-size: 16px;
}

.form-control {
    width: 100%;
    height: 40px;
    padding: 0 15px 0 40px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #409EFF;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.code-container {
    display: flex;
    gap: 10px;
}

.code-container .form-control {
    flex: 1;
}

.send-btn {
    width: 120px;
    height: 40px;
    background: #ecf5ff;
    border: 1px solid #b3d8ff;
    color: #409EFF;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.send-btn:hover {
    background: #409EFF;
    color: white;
}

.send-btn.disabled {
    background: #f5f7fa;
    color: #c0c4cc;
    cursor: not-allowed;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me input {
    margin-right: 8px;
}

.submit-btn {
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, #409EFF 0%, #64b5f6 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.4);
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #909399;
    background: #f5f7fa;
    border-top: 1px solid #ebeef5;
}

.footer a {
    color: #409EFF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-container {
        width: 90%;
    }
}
