/* 
 * HTML和Body基础样式
 * 设置页面基本外观，包括字体、背景、边距等
 */
html, body {
    margin: 0;
    font-family: 'microsoft yahei';
    color: #676767;
    font-size: 12px;
    background: #eee url(../../res1/img/indexbg.png) no-repeat;
    overflow: hidden;
    background-size: 110% 100%;
    background-attachment: fixed;
}

/*
 * 背景容器样式
 * 用于全屏背景定位，层级最低
 */
#bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

/*
 * 链接样式设置
 * 统一设置页面中链接的颜色和装饰效果
 */
a {
    color: #676767;
}

a:visited {
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: rgb(254, 73, 21);
}

a:visited {
    text-decoration: none;
}

/*
 * 页面整体区域容器
 * 登录页面主要内容的容器，设置定位和层级
 */
#cover-box {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
}

/*
 * 登录对话框样式
 * 设置登录框的位置、大小、背景和阴影效果
 */
#login-box {
    position: absolute;
    right: 5vw;
    top: 15vh;
    width: 27vw;
    height: 78vh;
    background-color: #ffffff;
    box-shadow: 0px 1px 4px 0px rgba(21, 34, 50, 0.08);
    border-radius: 5px;
}

/*
 * 登录框标题区域
 * 设置登录框顶部标题区域的样式
 */
.login-box-title {
    height: 30px;
    font-size: 20px;
    padding-left: 40px;
    padding-top: 8px;
    position: relative;
}

/*
 * 登录按钮样式
 * 设置登录按钮的大小、颜色、背景渐变等样式
 */
.login-button {
    width: 23.5vw;
    height: 6vh;
    color: white;
    margin-top: 10px;
    border: 0;
    padding-left: 2vw;
    letter-spacing: 20px;
    background: linear-gradient(90deg, #222A92 0%, #4A91EB 100%);
    border-radius: 4px;
}

/*
 * 用户名、密码和验证码输入框通用样式
 * 设置输入框的高度、边距、边框和文字颜色
 */
.login-input {
    height: 5vh;
    margin-top: 5px;
    margin-bottom: 12px;
    width: 22vw;
    border: 1px solid #e0e0e0;
    padding-left: 16px;
    color: #c0c0c0;
}

/*
 * 记住用户名和密码区域样式
 * 设置复选框区域的文字样式
 */
.save-id-container {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #5A607F;
    line-height: 20px;
}

/*
 * 二次验证码区域容器样式
 * 设置验证码区域的相对定位和高度
 */
.verify-code-div {
    display: none;
    align-items: center;
    gap: 10px;
    position: relative;
}

/*
 * 验证码图片容器样式
 * 设置验证码图片容器的宽度和鼠标手势
 */
.verify-wrapper {
    width: 6vw;
    cursor: pointer;
}
.verify-wrapper img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/*
 * 验证码输入框特殊样式
 * 验证码输入框有特殊的高度和宽度设置
 */
.verify-code-input {
    /*height: 30px;*/
    /*width: 140px;*/
    width: 16vw;
    height: 4vh;
    margin-top: 0;
    padding-left: 8px;
    border: 1px solid #e0e0e0;
}

/* 
 * 登录方式切换区域样式
 * 设置登录方式选项的布局方式
 */
.login-type {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 10px;
    padding-bottom: 5px;
}

/* 
 * 登录方式选项样式
 * 设置登录方式选项的文字大小
 */
.login-type-item {
    display: none;
    font-size: 12px;
}

/* 
 * 默认登录方式样式
 * 设置默认选中状态的登录方式样式
 */
.login-type-init {
    font-size: 12px;
    color: red;
    border-bottom: 1px solid #047fc2;
    display: none;
}

/* ==================== 二次验证 ==================== */
.login-type-second {
    font-size: 12px;
    color: red;
    border-bottom: 1px solid #047fc2;
    display: none;
}

/*
 * 微信扫码登录区域样式
 * 设置扫码登录区域的布局和尺寸
 */
.login-box-qrcode {
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    height: 290px;
}

/*
 * 微信二维码图片容器样式
 * 设置二维码图片的尺寸
 */
.qrcode-image {
    width: 180px;
    height: 180px;
}

/* ==================== 页脚容器 ==================== */
.footer-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #aaa;
    text-align: center;
    line-height: 120%;
    z-index: 999999;
    background: #eee;
    padding: 8px;
    display: none;
}

/* ==================== 二维码相关 ==================== */
.qrcode-description {
    padding-top: 8px;
}

.wechat-message-box {
    color: red;
    padding-top: 8px;
}

/*
 * Logo展示区域样式
 * 设置页面中logo区域的尺寸和边距
 */
.index-logo {
    width: 6vw;
    height: 10vh;
    margin-left: 10vw;
}

/*
 * Logo图片样式
 * 设置logo图片的尺寸自适应
 */
.index-logo-img {
    height: 100%;
    width: 100%;
}

/*
 * 登录表单文字标签样式
 * 设置用户名、密码等标签文字的样式
 */
.login-text {
    width: 58px;
    height: 3vh;
    font-size: 14px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #5A607F;
    margin-left: 6px;
    line-height: 4vh;
}

/*
 * 找回密码区域样式
 * 设置找回密码文字区域的高度和字体样式
 */
.find-password-text {
    height: 3vh;
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #5A607F;
    line-height: 20px;
}

/*
 * 弹性布局通用类
 * 设置弹性布局的对齐方式
 */
.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*
 * 页面底部提示文字区域样式
 * 设置提示文字区域的边距
 */
.tips-text {
    margin-top: 4vh;
    padding-right: 2vw
}

/*
 * 页面底部提示文字样式
 * 设置底部提示文字的对齐方式、高度、字体样式等
 */
.tip-text-content {
    text-align: center;
    height: 20px;
    font-size: 12px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #5A607F;
    line-height: 20px;
}

/*
 * 顶部标题和图标容器样式
 * 设置顶部标题栏的高度、背景渐变和行高
 */
.title-and-icon {
    display: flex;
    align-items: center;
    height: 60px;
    background: linear-gradient(90deg, #222A92 0%, #4A91EB 100%);
    line-height: 60px;
}

/*
 * 顶部左侧logo区域样式
 * 设置顶部logo区域的宽度和左边距
 */
.title-left-logo {
    width: 472px;
    margin-left: 20px;
}

/*
 * Logo图片容器样式
 * 设置logo图片容器的尺寸和右边距
 */
.logo-container {
    width: 71px;
    height: 49px;
    margin-right: 10px;
}

/*
 * Logo图片样式
 * 设置logo图片的尺寸自适应
 */
.logo-img {
    height: 100%;
    width: 100%;
    margin-right:10px;
    /*vertical-align: middle;*/
}

/*
 * 主标题文字样式
 * 设置"福建大秦&大宋"文字的尺寸、字体、颜色等样式
 */
.company-title {
    width: 160px;
    height: 33px;
    font-size: 22px;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 33px;
    text-align: center;
}

/*
 * 分割线样式
 * 设置标题中间的分割线样式
 */
.separator-line {
    width: 1px;
    height: 25px;
    border-left: 1px solid #FFFFFF
}

/*
 * 副标题文字样式
 * 设置"智管系统--船舶管理系统"文字的尺寸、字体、颜色等样式
 */
.company-info {
    width: 260px;
    height: 33px;
    font-size: 22px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 33px;
    text-align: center;
}

/*
 * 登录框表单区域样式
 * 设置登录表单区域的左边距和高度
 */
.login-box-uidpwd {
    padding-left: 2vw;
    height: 32vh;
}

/*
 * 验证选项样式
 * 设置邮箱验证、短信验证选项的文字样式
 */
.verification-options {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #5A607F;
    line-height: 20px;
}

/*
 * todo 控制是否需要二次验证sms、email
 */
#verificationForm {
    /*display : none;*/
}


/*
 * 验证选项标签样式
 * 设置验证选项标签的显示方式和边距
 */
.verification-options-label {
    margin: 10px 3px 3px -2px;
}

/*
 * 验证码输入区域样式
 * 设置验证码输入区域的弹性布局和右边距
 */
.code-input-container {
    display: flex;
    margin-right: 2vw;
}

/*
 * 验证码输入框样式
 * 设置验证码输入框的边框、尺寸和上边距
 */
.code-input {
    border: 1px solid #ccc;
    width: 14vw;
    height: 4vh;
    margin-top: 5px;
}

/*
 * 获取验证码按钮样式
 * 设置获取验证码按钮的对齐方式和上内边距
 */
.code-button {
    text-align: center;
    flex: 1;
    /*padding-top: 7px;*/
    height: 4vh;
    width: 8vw;
}
.code-button-container {
    text-align: center;
    flex: 1;
    padding-top: 7px;
}

/*
 * 按钮通用样式
 * 设置所有按钮的基础样式，包括内边距、背景色、边框等
 */
button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/*
 * 短信验证选项样式
 * 设置短信验证选项的左边距
 */
.phone-verification {
    margin-left: 6px;
    display: none;
}

/* ==================== App二维码 ==================== */
.app-qrcode-container {
    display: none;
    flex-direction: column;
    align-items: center;
}

.app-qrcode-image {
    height: 90px;
    width: 90px;
}

.app-qrcode-text {
    padding-top: 5px;
}

/*
 * 邮箱验证码选择
 */
.email-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    height: 290px;
}

/*
 * 隐藏元素通用类
 * 强制隐藏元素
 */
.hidden {
    display: none !important;
}

/*
 * 显示元素通用类
 * 强制显示为块级元素
 */
.visible {
    display: block !important;
}

/*
 * 隐藏弹性元素通用类
 * 强制隐藏弹性布局元素
 */
.flex-hidden {
    display: none !important;
}

/*
 * 显示弹性元素通用类
 * 强制显示为弹性布局元素
 */
.flex-visible {
    display: flex !important;
}

/*
 * 登录方式激活状态样式
 * 设置激活状态的登录方式样式
 */
.login-type-item-active {
    color: red;
    border-bottom: 1px solid #047fc2;
}

/*
 * 登录方式未激活状态样式
 * 设置未激活状态的登录方式样式
 */
.login-type-item-inactive {
    color: #676767;
    border-bottom: none;
}

/*
 * 登录内容区域样式
 * 设置登录内容区域的清除浮动
 */
.login-content {
    clear: both;
}

/*
 * 验证选项容器样式
 * 设置验证选项容器的上边距
 */
.verification-options-container {
    margin-top: 10px;
}

/*
 * 语言选择器容器样式
 * 设置语言选择器的浮动和右边距
 */
.language-selector {
    float: right;
    padding-right: 2vw;
}

/*
 * 语言选择器下拉框样式
 * 设置语言选择器下拉框的文字颜色
 */
.language-selector-select {
    color: #a0a0a0;
}

/*
 * 错误消息框样式
 * 设置错误消息框的文字颜色和上内边距
 */
.message-box {
    color: red;
    padding-top: 8px;
}

/*
 * 找回密码链接样式
 * 设置找回密码链接的下划线和颜色
 */
.find-password-link {
    text-decoration: underline;
    color: #425CC7;
}

/* ==================== 忘记密码 ==================== */
.forget-password {
    padding-left: 20px;
    display: none;
}

/* ==================== 浏览器建议区域 ==================== */
.browser-suggestion {
    border: 0;
    text-align: center;
    padding: 4px 0 4px 0;
    background-color: #ffffdf;
    display: none;
}

/* ==================== 隐藏元素通用类 ==================== */
.hidden-element {
    display: none;
}