﻿
.login-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: url(../image/loginbg.svg) no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.h5page {
  background: url(../image/phonebg.png) no-repeat;
  background-size: cover;
}

.login-page .left{
  position: absolute;
  left: 0;
  bottom: 0;
  height: 673px;
  width: 505px;
  background: url(../image/left.a621d777.png) no-repeat;
  background-size: 100% 100%;
}

.login-page .right{
  position: absolute;
  right: 0;
  bottom: 0;
  height: 673px;
  width: 505px;
  background: url(../image/right.d50d2b93.png) no-repeat;
  background-size: 100% 100%;
}

.pillar {
  width: 72px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-1 { height: 150px; }
.pillar-2 { height: 190px; }
.pillar-3 { height: 130px; }
.pillar-4 { height: 150px; }
.pillar-5 { height: 210px; }
.pillar-6 { height: 130px; }

.col-left,
.col-right {
  display: flex;
  gap: 36px;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 0%, #cde6ff, #2f6bff);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.login-content {
  border-radius: 6px;
  background: hsla(0, 0%, 100%, .25);
  border: 1px solid #fff;
  width: 505px;
  padding: 20px 50px 30px 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 99;
}

.card-header {
  text-align: center;
  margin-bottom: 24px;
}

.logo-wrap {
  margin-bottom: 10px;
}

.logo-img {
  width: 120px;
  display: block;
  margin: 5px auto 20px;
}

.card-title {
  margin: 0 auto 30px auto;
  text-align: center;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}

.card-form {
  margin-top: 8px;
}

.form-item {
  margin-bottom: 14px;
}

.form-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* 账号 - 人头图标 */
.icon-account {
  background-image: url("../image/icon-accoun.png");
}

/* 密码 - 锁图标 */
.icon-password {
  background-image: url("../image/icon-password.png");
}

/* 验证码 - 盾牌/勾选图标 */
.icon-captcha {
  background-image: url("../image/icon-captcha.png");
}

/* 语言 - 地球图标 */
.icon-lang {
  background-image: url("../image/icon-lang.png");
}

.input {
  width: 100%;
  height: 42px;
  padding: 0 48px 0 72px;
  border-radius: 4px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: #333;
  font-size: 14px;
  outline: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #fff;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 42px;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* 密码切换按钮 */
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
  /* 默认闭眼图标 */
  background-image: url("../image/close.png");
}

.toggle-password:hover {
  opacity: 1;
}

/* 显示密码时的睁眼图标 */
.toggle-password.show {
  background-image: url("../image/open.png");
}

.input::placeholder {
  color: #999999;
  font-size: 16px;
}

.input:focus {
  outline: none;
}

.form-row-captcha {
  position: relative;
}

.captcha-left {
  width: 100%;
}

.captcha-right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.captcha-box {
  display: block;
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto;

}

.form-item-lang .input-wrap {
  position: relative;
}

.lang-select-wrapper {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag-display {
  width: 30px;
  height: 18px;
  flex-shrink: 0;
}

.lang-flag-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.lang-select-display {
  flex: 1;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--input-border);
  background-color: #ffffff;
  color: #333;
  padding: 0 24px 0 8px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
}

.lang-select-display:hover {
  border-color: var(--accent);
}

.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-text {
  flex: 1;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-arrow {
  position: absolute;
  right: 6px;
  font-size: 8px;
  color: #666;
  transition: transform 0.2s;
}

.lang-select-display.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: none;
  overflow: hidden;
  width: 102px;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lang-option:hover {
  background-color: #f5f5f5;
}

.lang-option span {
  color: #333;
  font-size: 12px;
}

.form-extra {
  margin: 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-muted);
  
}
.checkbox-text{
  color: #ffffff;
  font-size: 15px;
}
.checkbox input {
  display: none;
}

.checkbox-box {
    display: inline-block;
    position: relative;
    border: 1px solid #fff;
    border-radius: 2px;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    position: relative;
}

.checkbox input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
    left: 4px;
    top: 0px;
    width: 3px;
    height: 7px;
  border: 1px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.link-forgot {
  color: var(--text-muted);
  text-decoration: none;
}

.link-forgot:hover {
  text-decoration: underline;
}

.btn-primary {
  width: 100%;
  height: 44px;
  border-radius: 3px;
  border: none;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  margin-top: 15px;
  border:0;
  box-shadow: none;
  font-weight: 300;
}

.btn-primary:active {
  transform: translateY(1px);

}

.card-footer {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  color: #ffffff;
  font-size: 15px;
}

.card-footer .version {
  margin-bottom: 7.5px;
}
.card-footer .tip{
  font-size: 12.75px;
  font-size: 300;
}
