html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
q,
s,
small,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
.panel-default .panel-heading {
  background-color: #fff;
  border-width: 0;
}
html,
body {
  min-height: 100vh;
  height: 100%;
}
body {
  height: 100%;
  width: 100%;
  background-color: #414f57;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#accbee), to(#e7f0fd));
  background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
  background-repeat: no-repeat;
  background-size: cover, cover;
  background-attachment: fixed, fixed, fixed;
}
#app {
  width: 100%;
  min-width: 600px;
}
#app .root {
  min-height: 94.5vh;
  height: 750px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#app .ca-logo {
  display: flex;
  /*justify-content: center;*/
  padding-top: 30px;
  img {
    width: 140px;
  }
}
#app .panel {
    /*margin-top: -20px;*/
    width: 520px;
    height: auto;
    max-height: 600px; /* 增加最大高度 */
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
    background-color: white;
    /* 移除overflow: hidden或改为overflow: auto */
    margin-left: 800px;
}
#app .panel .panel-heading {
  border-bottom-color: transparent;
  padding-bottom: 0;
  background-color: #fff;
  margin-top: 50px;
}
#app .panel .panel-heading .ca-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 30px;
}
#app .panel .panel-heading .ca-logo img {
  width: 140px;
}
#app .panel .panel-heading .ca-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 24px;
  letter-spacing: 1px;
  position: relative;
}
#app .panel .panel-heading .ca-title .divider {
  width: 250px;
  height: 1px;
  border-radius: 2px;
  position: absolute;
  top: 9px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
#app .panel .panel-heading .ca-title .txt {
  position: relative;
  margin-bottom: 5px;
  background-color: #fff;
  font-size: 12px;
  color: #999;
  width: 158px;
  text-align: center;
  z-index: 1;
}
#app .panel .panel-heading .ca-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#app .panel .panel-heading .ca-nav > li:not(.active) > a {
  color: #000;
}
#app .panel .panel-heading .ca-nav li > a {
  height: 100%;
  font-size: 12px;
}
#app .panel .panel-heading .ca-nav li.active::after {
  content: '';
  position: absolute;
  border: 4px solid #18a0d5;
  bottom: -8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}
#app .panel .panel-heading .ca-nav li.active > a {
  background-color: #18a0d5;
}
#app .panel .panel-body {
  min-height: 265px;
  height: 265px;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
}
#app .panel .panel-body header {
  margin-bottom: 20px;
}
#app .panel .panel-body header .card-header {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
}
#app .panel .panel-body header .sub-header {
  margin: 4px 0 0;
  text-align: center;
  font-size: 14px;
}
#app .panel .panel-body .control-label {
  padding-right: 0;
  font-size: 13px;
}
#app .panel .panel-body .control-label + .col-sm-8 {
  padding-left: 10px;
}
#app .panel .panel-body .control-label + .col-sm-5 {
  padding: 0 5px 0 10px;
}
#app .panel .panel-body .login-secret-box .qrimg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}
#app .panel .panel-body .login-secret-box .qrimg .form-control {
  max-width: 200px;
  width: 200px;
  margin-right: 5px;
}
#app .panel .panel-body .login-secret-box .qrimg .img {
  width: 100%;
}
#app .panel .panel-body .form-horizontal {
  margin-top: 30px;
}
#app .panel .panel-body .form-horizontal .btn {
  width: 100%;
  min-width: 80px;
  outline: none;
  background-color: #18a0d5;
  border-color: transparent;
  padding: 6px 12px;
  letter-spacing: 2px;
}
#app .panel .panel-body .form-horizontal .btn.btn-primary:focus {
  border-color: #122b40 !important;
}
#app .panel .panel-body .form-horizontal .control-label {
  font-weight: 400;
  padding-left: 10px;
}
#app .panel .panel-body #qrcode,
#app .panel .panel-body #qrcode2 {
  margin: 0px auto 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 180px;
  height: 180px;
}
#app .panel .panel-body .qrcode-desc {
  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;
  font-size: 12px;
}
#app .panel .panel-body .qrcode-text > p {
  margin-bottom: 0;
}
#app .panel .other-login-mode {
  margin: 0px 20px 20px;
  position: relative;
  text-align: center;
  display: block;
}
#app .panel .other-login-mode .other-area span {
  display: inline-block;
  background: #fff;
  z-index: 2;
  position: relative;
  padding: 0 10px;
  line-height: 14px;
  color: #999;
  font-size: 12px;
}
#app .panel .other-login-mode .other-area::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  border-bottom: 1px dashed #eeeeee;
  top: 10px;
  left: 0;
  z-index: 0;
}
#app .panel .other-login-mode .other-login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
  font-size: 0;
  text-justify: justify;
}
#app .panel .other-login-mode .other-login .other-login-item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  font-size: 12px;
}
#app .panel .other-login-mode .other-login .other-login-item + .other-login-item {
  border-left: 1px solid #eeeeee;
}
#app .panel .other-login-mode .other-login .other-login-item .link {
  color: #000;
  text-decoration: none;
}
#app .panel .panel-footer {
  text-align: center;
  position: relative;
  padding: 0;
  background-color: #fff;
  border-top: 1px solid #f5f5f5;
}
#app .panel .panel-footer span.triangle {
  position: absolute;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-left: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  left: 50%;
  top: -4px;
  margin-left: -4px;
}
#app .panel .panel-footer a.link {
  font-family: sans-serif;
  display: block;
  padding: 10px 15px;
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: #666;
  text-decoration: none;
}
.toast.toast-error {
  background-color: #a9a9a9;
  opacity: 1;
}
.toast.toast-error .toast-message {
  color: #fff;
}
@media (max-width: 767px) {
  #app {
    width: 100% !important;
    min-width: 100% !important;
  }
  #app .root {
    height: 100% !important;
  }
  #app .panel {
    width: 100% !important;
    max-height: 100% !important;
    min-width: 300px !important;
    margin-top: 20px !important;
  }
  #app .panel .ca-nav > li > a {
    font-size: 12px;
    padding: 8px 6px;
  }
  #app .panel .panel-body {
    height: 330px;
    min-height: 330px !important;
    padding-left: 30px;
    padding-right: 30px;
  }
  #app .panel .panel-body .form-horizontal {
    margin-top: 10px !important;
  }
}
@media (max-width: 480px) {
  .login-secret-box .qrimg .form-control {
    max-width: 160px !important;
  }
}
#toast-container > .toast.toast-error {
  padding-left: 15px !important;
  background-color: #fff !important;
  background-image: none !important;
  opacity: 1;
}
#toast-container > .toast.toast-error .toast-message {
  color: #d9534f;
}

.sms-auth-container {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.sms-auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.sms-auth-header h3 {
    color: #333;
    margin: 0;
}

.sms-auth-content p {
    text-align: center;
    margin: 10px 0;
    color: #666;
}

.sms-code-input {
    display: flex;
    margin: 20px 0;
    align-items: center;
}

.sms-input {
    flex: 1;
    margin-right: 10px;
    height: 40px;
    font-size: 16px;
}

.resend-btn {
    height: 40px;
    white-space: nowrap;
}

.confirm-btn {
    width: 100%;
    height: 40px;
    font-size: 16px;
}

.sms-auth-actions {
    margin-top: 20px;
}

.mycard {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* 修改为固定在底部并充满宽度 */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: auto;
    min-height: 6vh;
    height: 6%;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(69, 90, 100, 0.08);
    /* 移除底部边距 */
    margin-bottom: 0;
    color: #606266;
    border-radius: 2px 2px 0 0;
}
.mycard .card-footer {
    background-color: #fff;
    border-top: none;
}
.mycard .card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 25px 20px;
}
.mycard .card-header .card-header-left {
    display: inline-block;
}
.mycard .card-header .card-header-right {
    border-radius: 0 0 0 7px;
    right: 10px;
    top: 18px;
    display: inline-block;
    float: right;
    padding: 7px 0;
    position: absolute;
}
.mycard .card-header .card-header-right i {
    margin: 0 8px;
    cursor: pointer;
    font-size: 16px;
    color: #919aa3;
    line-height: 20px;
}
.mycard .card-header .card-header-right .card-option {
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.mycard .card-header .card-header-right .card-option li {
    display: inline-block;
}
.mycard .card-header span {
    color: #919aa3;
    display: block;
    font-size: 13px;
    margin-top: 5px;
}
.mycard .card-header + .card-block,
.mycard .card-header + .card-block-big {
    padding-top: 0;
}
.mycard .card-header h5 {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
    line-height: 1.4;
}
.mycard .sub-title {
    border-bottom: 1px solid rgba(204, 204, 204, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}
.mycard .card-block {
    padding: 10px;
}
.mycard .card-block .sub-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
.mycard .card-block p {
    line-height: 25px;
}
.mycard .card-block-big {
    padding: 30px 35px;
}
.mycard .card-block-small {
    padding: 15px 20px;
}

.download-title {
    margin-top: 5px;
    font-size: 14px;
    color: #606266;
    font-weight: 500;
}

.download-box {
    text-align: center;
}

.download-box ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    justify-content: center;
}

.download-box li {
    margin-right: 10px;
    margin-bottom: 10px;
}
