/* 登录页面样式 */

/* 重置body样式，使登录页面全屏显示 */
body.login-page {
    padding: 0;
    margin: 0;
    background-color: #000000;
    background-image: url('../icons/login-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 登录容器 */
.login-container {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.login-content {
    display: flex;
    width: 100%;
    height: 100%;
}

/* 左侧区域 - 业务模块图标和波浪背景 */
.login-left {
    flex: 2;
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* 波浪背景 */
.wave-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../icons/wave-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* 业务模块图标 */
.service-icons {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.service-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.icon-circle img {
    width: 24px;
    height: 24px;
}

.icon-label {
    color: #ff6b35;
    font-size: 12px;
    text-align: center;
}

/* 连接线 */
.service-icons::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../icons/connection-lines.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 2;
}

/* 右侧区域 - 登录表单 */
.login-right {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 320px;
}

.login-title {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

/* 表单样式 */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* 记住我复选框 */
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: #cccccc;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #e55a2a;
}

.login-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* 登录消息 */
.login-message {
    margin-top: 20px;
    text-align: center;
    color: #ff4d4f;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .login-container {
        max-width: 90%;
        height: auto;
    }
    
    .login-content {
        flex-direction: column;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 40px 20px;
    }
}