/* login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(rgba(135, 206, 235, 0.5), rgba(135, 206, 235, 0.3)), url('images/loginx.jpg')no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #57a7d8;
    font-size: 28px;
    font-weight: bold;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: #57a7d8;
    box-shadow: 0 0 5px rgba(87, 167, 216, 0.5);
}

.captcha-group {
    position: relative;
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-img {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #57a7d8, #3a8bc2);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(to right, #3a8bc2, #2c6b99);
}

.footer {
    text-align: center;
    color: #fff;
    padding: 20px;
    font-size: 14px;
    width: 100%;
	padding-bottom: 60px;
    
}

/* H5适配 */
@media (max-width: 768px) {
    .login-box {
        margin: 20px;
        padding: 30px 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-form input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .captcha-img {
        height: 36px;
		
    }
    
    .login-btn {
        padding: 10px;
        font-size: 16px;
    }
    
    body {
        background-attachment: scroll;
    }
    
    .footer {
        font-size: 12px;
        padding: 15px;
		padding-bottom: 30px
    }
}

@media (max-width: 480px) {
 
    
    .captcha-img {
        margin-top: 5px;
        width: 100%;
        max-width: 150px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
}