@charset "utf-8";

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[v-cloak] {
    display: none !important;
}

/* 登录容器 */
.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;

}

.login-bg-img {
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;

}



/* 语言选择器 */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.language-selector .fa-language {
    font-size: 22px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s;
}

.language-selector .fa-language:hover {
    /* color: #409eff; */
    transform: scale(1.1);
}

/* 左侧背景区域 */
.login-left {
    flex: 1;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    /* position: relative; */
    position: absolute;
    top: 40px;
    left: 60px;
}

/* Logo样式 */
.logo {
    position: absolute;
    top: 40px;
    left: 60px;
}

.logo img {
    height: 100px;
    object-fit: contain;
}

/* 右侧登录区域 */
.login-right {
    width: 480px;
    height: 610px;
    padding: 60px 60px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;
    z-index: 2;
    box-shadow: 0px 1px 14px #00293ee0;
}

.login-tab {
    width: 100%;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;

}
.login-tab .gap-split {
    width: 50px;
    height: 30px;
}

.login-tab .tab-content {
    height: 66px;
    line-height: 66px;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    position: relative;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}
.login-tab .tab-content .active::after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: #36a9ff;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.login-tab .tab-content:hover {
    color: #409eff;
}

.login-tab .tab-content .active {
    color: #36a9ff;
}

/* 登录头部标题 */
.login-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-title {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 14px;
    color: #666;
}


/* 表单容器 */
.login-form-container {
    width: 100%;
}

.login-form {
    width: 100%;
}

/* 表单输入框 */
.form-input {
    width: 100%;
    height: 52px;
    line-height: 52px;
}

.form-input .el-input__inner {
    height: 52px;
    line-height: 52px;
    border-radius: 6px;
    box-shadow: 0px 5px 10px 0px #b3b3b320;
}
.form-input .el-input__prefix {
    left: 10px;
}

.form-input .el-input-group__append {
    border-radius: 6px;
    padding: 0;
    padding-left: 20px;
    border: none;
    background-color: transparent;
}

/* 输入框前缀图标 */
.icon.prefix {
    color: #c0c4cc;
    font-size: 16px;
}

/* 验证码图片 */
.captcha-img {
    width: 120px;
    height: 100%;
    cursor: pointer;
    vertical-align: middle;
    border: none;
}

/* 短信按钮 */
.sms-btn {
    color: #409eff;
    padding: 0 15px;
    font-size: 14px;
}

.sms-btn:disabled {
    color: #c0c4cc;
    cursor: not-allowed;
}

.form-button {
    margin-top: 60px;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 52px;
    font-size: 16px;
    border-radius: 6px;
    background: linear-gradient(to right, #0272fc, #03a0fa);
    box-shadow: 0px 4px 14px #03a0fa7a;
}

.login-btn.el-button--primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    background: linear-gradient(to right, #1479f7, #13a7fb);
}

.login-btn.el-button--primary:active {
    border-color: #66b1ff;
    background: linear-gradient(to right, #0272fc, #03a0fa);
}



/* 响应式适配 */
@media (max-width: 768px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        width: 100%;
        padding: 0 30px;
    }
    
    .logo {
        left: 30px;
        top: 20px;
    }
}