* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
   
    background-size: cover;
    background-position: center;
}

.container {
    
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 150px;
    height: auto;
}

.login-form {
    background: rgba(17, 17, 17, 0.7);
    border-radius: 5px;
    padding: 20px;
}

.form-main {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-wrapper {
    flex: 1;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group input {
    width: 100%;
    height: 38px;
    padding: 0 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    line-height: 38px;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.user-icon {
    background-image: url('user-icon.png');
}

.lock-icon {
    background-image: url('lock-icon.png');
}

.login-btn {
    width: 120px;
    height: 134px;
    background-image: url('../img/bgs.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: none;
    border-radius: 3px;
    color: #000;
    font-size: 14px;
    cursor: pointer;
}

.bottom-options {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    color: #fff;
    font-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.language-select select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    padding: 2px;
}

.language-select select option {
    background: #000;
    color: #fff;
}

.bg {
    width: 100%;
    height: 60vh;
    margin: 20vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../img/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 20px;
}

.input-group span {
    min-width: 80px;
    text-align: right;
    margin-right: 10px;
    background-image: url('../img/bgs.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 5px 8px;
    border-radius: 3px;
    color: #000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        max-width: 320px;
        padding: 15px;
    }
    
    .logo img {
        width: 100px;
    }
    
    .login-form {
        padding: 15px;
    }
    
    .form-main {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-btn {
        width: 100%;
        height: 38px;
    }
    
    .bottom-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .language-select {
        width: 100%;
        text-align: left;
    }
    
    .bg {
        background-image: none;  /* 移除手机端的背景图片 */
    }
} 
@media (max-width: 768px) {
    .input-group span {
        display: none; /* 隐藏手机端的 <span> */
    }
    
}
/* 手机端背景 */
@media (max-width: 768px) {
    body {
        background-image: url('../img/mobile-bg.jpg'); /* 手机端背景图 */
    }
}

