/*
 * @Author: LiuChang
 * @Date: 2025-02-08 13:27:02
 * @LastEditTime: 2025-04-09 09:21:42
 * @LastEditors: LiuChang
 * @Description: 登录页面css
 * @FilePath: \xianyouhemail\mail\skins\elastic\styles\mylogin.less
 * 可以输入预定的版权声明、个性签名、空行等
 */
#layout-content {
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
}
.btn-primary {
  background: #2948e6;
  border-color: #2948e6;
}
.btn-primary:focus {
  box-shadow: 0 0 0 2px rgba(41, 72, 230, 0.5);
}
.btn-primary:hover {
  background: rgba(41, 72, 230, 0.9);
  border-color: rgba(41, 72, 230, 0.9);
}
.btn-primary.disabled,
.btn-primary:disabled {
  background: rgba(41, 72, 230, 0.5);
  border-color: rgba(41, 72, 230, 0.5);
  opacity: 1;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  background: #2948e6;
  border-color: #2948e6;
}
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus {
  box-shadow: 0 0 0 2px rgba(41, 72, 230, 0.53);
}
@media screen and (max-width: 768px) {
  .mylogin-box {
    height: 100vh;
    background: url("https://images.xianyouhe.com/email/mobile-login-bg.png") no-repeat center / cover;
  }
  .mylogin-box-banner {
    display: none;
  }
  .mylogin-box-form {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    width: 92%;
    padding: 36px 22px 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0px 0px 12px 1px rgba(0, 72, 167, 0.06);
  }
  .mylogin-box-form #login-form {
    position: static;
    width: 100%;
    max-width: none;
  }
  .mylogin-box-form .form-title {
    display: none;
  }
  .mylogin-box-form .form-logo {
    margin: 0 0 50px;
  }
  .mylogin-box-form .form-logo .logo {
    width: 66%;
    margin: auto;
  }
  .mylogin-box-form .form-group {
    margin: 0 0 25px;
  }
  .mylogin-box-form .input-group-prepend {
    display: none;
  }
  .mylogin-box-form .form-control {
    width: 100%;
    height: 48px !important;
    padding: 0 24px;
    background-color: #f9f9f9;
    border: 1px solid #ebebeb;
    border-radius: 50px !important;
    font-size: 14px;
  }
  .mylogin-box-form .form-control:focus {
    box-shadow: 0 0 0 2px rgba(41, 72, 230, 0.25);
  }
  .mylogin-box-form .formbuttons {
    margin: 60px 0 20px;
  }
  .mylogin-box-form .btn-primary {
    height: 50px;
    background: linear-gradient(125deg, #6075E2 0%, #445BCF 100%);
    border-color: #2948e6;
    border-radius: 9px;
    box-shadow: 0px 3px 6px 1px rgba(158, 161, 255, 0.77);
    color: #fff;
  }
  .mylogin-box-form .form-link {
    font-size: 14px;
    color: #2948e6;
    text-align: center;
    cursor: pointer;
  }
  .mylogin-box-form .form-tips {
    display: none;
  }
  .mylogin-box-form .form-password-icon {
    position: absolute;
    bottom: 212px;
    right: 50px;
    z-index: 9;
  }
  .mylogin-box-form .form-password-icon .icon {
    width: 22px;
    height: 22px;
  }
  .mylogin-box-form .form-password-icon .icon.icon-hide {
    display: none;
  }
  .mylogin-footer {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .mylogin-box {
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mylogin-box-banner {
    position: relative;
    bottom: 70px;
    right: 40px;
  }
  .mylogin-box-banner .banner {
    width: 1280px;
  }
  .mylogin-box-form {
    position: relative;
    right: 140px;
    top: 40px;
    width: 476px;
    min-width: 400px;
    height: 548px;
    padding: 42px 40px 22px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 12px 1px rgba(0, 72, 167, 0.06);
    border-radius: 15px;
  }
  .mylogin-box-form #login-form {
    position: static;
    width: 100%;
    max-width: none;
  }
  .mylogin-box-form .form-logo {
    display: none;
  }
  .mylogin-box-form .form-title {
    margin: 0 0 54px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mylogin-box-form .form-title-logo {
    flex: 0 0 72px;
    width: 72px;
    height: 28px;
    margin: 0 8px;
  }
  .mylogin-box-form .form-group {
    margin: 0 0 25px;
  }
  .mylogin-box-form .input-group-prepend {
    display: none;
  }
  .mylogin-box-form .form-control {
    width: 100%;
    height: 60px !important;
    border: 1px solid #b7bcc7;
    border-radius: 6px !important;
  }
  .mylogin-box-form .form-control:focus {
    box-shadow: 0 0 0 2px rgba(41, 72, 230, 0.25);
  }
  .mylogin-box-form .formbuttons {
    margin: 60px 0 15px;
  }
  .mylogin-box-form .btn-primary {
    border-radius: 6px;
    box-shadow: 0px 9px 21px 1px rgba(68, 97, 242, 0.15);
    color: #fff;
    line-height: 44px;
  }
  .mylogin-box-form .form-link {
    font-size: 14px;
    color: #2948e6;
    text-align: center;
    cursor: pointer;
  }
  .mylogin-box-form .form-link:hover {
    color: rgba(41, 72, 230, 0.8);
    text-decoration: underline;
  }
  .mylogin-box-form .form-tips {
    width: 100%;
    height: 40px;
    margin: 50px 0 0;
    background: url("https://images.xianyouhe.com/email/pc-login-tips-bg.png") no-repeat center / cover;
    font-size: 14px;
    color: #575d6d;
    text-align: center;
    line-height: 40px;
  }
  .mylogin-box-form .form-password-icon {
    position: absolute;
    top: 234px;
    right: 55px;
    z-index: 9;
  }
  .mylogin-box-form .form-password-icon .icon {
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
  .mylogin-box-form .form-password-icon .icon.icon-hide {
    display: none;
  }
  .mylogin-footer {
    height: 100px;
    padding: 30px 0;
    line-height: normal;
  }
  .mylogin-footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mylogin-footer-item:nth-child(n + 2) {
    margin: 6px 0 0;
  }
  .mylogin-footer .footer-line {
    margin: 0 5px;
    color: #95979b !important;
  }
  .mylogin-footer .footer-link.active {
    margin: 0 16px;
    display: flex;
    align-items: center;
  }
  .mylogin-footer .footer-public {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-right: 5px;
  }
  .mylogin-footer a {
    font-size: 14px;
    color: #95979b !important;
  }
  .mylogin-footer a:hover {
    color: #2948e6 !important;
  }
  .custom-dialog {
    border-radius: 5px;
    overflow: hidden;
  }
}
@media screen and (min-width: 768px) and (max-width: 1800px) {
  .mylogin-box-banner .banner {
    width: 1080px;
  }
}
.custom-dialog {
  border: none;
}
.custom-dialog .ui-dialog-titlebar {
  border-bottom: 0;
}
.no-titlebar .ui-dialog-titlebar {
  display: none;
}
.no-titlebar .ui-dialog-buttonpane {
  display: none;
}
.dialog-submit {
  display: none;
  padding: 0 !important;
  overflow: visible !important;
}
.dialog-submit-iframe {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
