html,
body {
  padding: 0;
  margin: 0
}

button {
  padding: 0;
  border: 0;
  background: 0;
  cursor: pointer
}

a {
  color: #848585;
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

body {
  font-size: 14px
}

#page {
  width: 100%
}

.header {
  width: 1000px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  zoom: 1;
  z-index: 100
}

.footer {
  width: 1000px;
  margin: 0 auto;
  padding-top: 20px
}

.logo {
  position: absolute;
  left: 30px;
  top: 5px;
  width: 222px;
  height: 50px;
  line-height: 50px;
  overflow: hidden;
  z-index: 110
}

.logo_img {
  max-width: 222px;
  max-height: 48px;
  overflow: hidden;
  vertical-align: middle;
  _height: 36px
}

.links_wrap {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 700px;
  text-align: right;
  white-space: no-wrap;
  font-size: 12px;
  color: #444;
  z-index: 100
}

.links_item {
  line-height: 24px;
  border-left: 1px solid #dcdcdc;
  padding: 0 12px;
  position: relative;
  zoom: 1
}

.links_item_free {
  border: 1px solid #3498db;
  color: #3498db;
  padding: 0 12px;
  line-height: 22px;
  text-decoration: none
}

.links_item_free:hover {
  text-decoration: none;
  color: #3498db
}

.links_item_first {
  border-left: none
}

.login_banner_download {
  position: absolute;
  top: 30px;
  width: 160px;
  height: 160px;
  left: 0;
  z-index: 10;
  display: none;
  background-color: #fff
}

.links_item:hover .login_banner_download {
  display: block
}

.links_item .login_banner_download,
.links_item:hover .login_banner_download {
  _display: none
}

.content {
  position: relative;
  zoom: 1;
  width: 100%;
  height: 500px;
  background-position: center top;
  background-repeat: no-repeat
}

.bg_default {
  background-image: url(../images/login_bg1.jpg)
}

.bg2 {
  background-image: url(../images/login_bg2.jpg)
}

.bg3 {
  background-image: url(../images/login_bg3.jpg)
}

.content_inner {
  position: relative;
  zoom: 1;
  width: 1000px;
  height: 100%;
  margin: 0 auto
}

.login_bg_link {
  position: absolute;
  height: 100%;
  width: 600px;
  top: 0;
  left: 0;
  overflow: hidden;
  text-decoration: none;
  z-index: 1000
}

.login_bg_link:hover {
  text-decoration: none
}

.login_pannel {
  position: absolute;
  top: 65px;
  right: 30px;
  bottom: 30px;
  *width: 338px;
  *height: 375px;
  box-shadow: 0 0 5px rgba(255, 255, 255, .5);
  -moz-box-shadow: 0 0 5px rgba(255, 255, 255, .5);
  -webkit-border-shadow: 0 0 5px rgba(255, 255, 255, .5)
}

.login_pannel_bg {
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  filter: alpha(opacity=100);
  -moz-opacity: .9;
  -khtml-opacity: .9;
  opacity: 1;
}

.login_title {
  padding: 0;
  overflow: hidden;
  font-weight: bold;
  position: relative;
  zoom: 1;
  z-index: 5;
  margin-bottom: 12px
}

.login_title_text {
  padding: 5px 20px;
  line-height: 30px
}

.login_title_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  height: 40px;
  top: 0;
  left: 0;
  background-color: #fff;
  filter: alpha(opacity=60);
  -moz-opacity: .6;
  -khtml-opacity: .6;
  opacity: 1;
}

.login_error_wrap {
  position: relative;
  zoom: 1;
  white-space: nowrap;
  background-color: #fff8f4;
  border: 1px solid #e3abb9;
  line-height: 20px;
  padding: 2px 4px 2px 24px;
  overflow: hidden;
  font-size: 12px;
  color: #e57b89;
  margin: 0 20px
}

.ico_error {
  width: 14px;
  height: 14px;
  vertical-align: text-bottom;
  background: url(../images/main.png) -105px 0 no-repeat;
  position: absolute;
  display: block;
  top: 5px;
  left: 5px
}

.login_section {
  padding: 15px 0;
  font-size: 12px;
  position: relative;
  zoom: 1
}

.login_input_wrap {
  position: relative;
  zoom: 1;
  color: #444;
  padding: 0 20px;
  margin-bottom: 15px
}

.login_input_box {
  overflow: hidden;
  background-color: #eef3f8;
  border: 1px solid #bac5d4;
  color: #444;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  right: 20px;
  top: 0;
  height: 28px;
  line-height: 28px;
  padding: 3px 8px;
  width: 280px
}

.login_input_placeholder {
  display: none;
  width: 280px;
  padding: 0 8px;
  line-height: 28px;
  color: #999;
  position: absolute;
  left: 20px;
  top: 4px;
  cursor: text
}

.login_input_wrap_prompt .login_input_placeholder {
  display: block
}

.ico_unchecked,
.ico_checked {
  cursor: pointer;
  width: 13px;
  height: 13px
}

.ico_unchecked {
  background: url(../images/main.png) -125px 0 no-repeat
}

.ico_checked {
  background: url(../images/main.png) -145px 0 no-repeat
}

.login_remember_name {
  line-height: 24px;
  padding: 0 21px;
  overflow: hidden
}

.login_remember_text {
  cursor: pointer;
  color: #565551
}

.login_remember_check {
  position: absolute;
  display: block;
  top: 6px;
  left: 22px
}

.login_checkcode {
  width: 130px
}

.login_checkcode_placeholder {
  width: 130px
}

.login_checkcode_ico {
  position: absolute;
  width: 130px;
  height: 34px;
  border: 1px solid #bac5d4;
  cursor: pointer;
  top: 0;
  right: 20px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px
}

.login_submit_btn {
  padding: 3px 0;
  width: 298px;
  line-height: 30px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #3790cc;
  background-color: #3b9bdc;
  background: -moz-linear-gradient(top, #3b9bdc, #3790cc);
  background: -webkit-linear-gradient(top, #3b9bdc, #3790cc);
  background: -o-linear-gradient(top, #3b9bdc, #3790cc);
  background: linear-gradient(top, #3b9bdc, #3790cc)
}

.login_submit_btn:hover {
  background-color: #3790cc
}

.login_helper_text {
  line-height: 20px;
  color: #999;
  margin-bottom: 0
}

.login_company_desc {
  position: absolute;
  top: 50px;
  left: 30px;
  width: 440px;
  overflow: hidden;
  font-size: 12px;
  min-height: 50px;
  _height: 80px;
  _overflow: visible
}

.login_company_desc_text {
  padding: 10px 12px;
  line-height: 20px;
  position: relative;
  zoom: 1;
  z-index: 10;
  color: #fff
}

.login_company_desc_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  _height: 80px;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: #000;
  filter: alpha(opacity=20);
  -moz-opacity: .2;
  -khtml-opacity: .2;
  opacity: .2
}

.login_welcome {
  position: absolute;
  top: 60px;
  left: 30px;
  width: 400px;
  height: 300px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: top left;
  color: #fff
}

.login_welcome_title {
  font-size: 32px;
  font-family: simhei;
  font-weight: bold;
  padding: 10px 0
}

.login_welcome_text {
  font-size: 16px;
  font-family: simhei;
  padding: 10px 0;
  line-height: 28px;
  white-space: pre
}

.copyright_wrap {
  padding: 0;
  overflow: hidden;
  font-size: 12px;
  color: #848585;
  text-align: center;
  line-height: 24px
}

.copyright_about_link {
  font-weight: bold;
  color: #444;
  text-decoration: none
}

.copyright_about_link:hover {
  font-weight: bold;
  color: #444;
  text-decoration: underline
}

.copyright_link {
  color: #999;
  text-decoration: none
}

.copyright_link:hover {
  color: #999;
  text-decoration: underline
}

.login_about_label {
  padding: 0 3px
}


#cache_wrap {
  visibility: hidden;
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  top: 0;
  left: 0
}

.inline_block {
  display: inline-block;
  *display: inline;
  zoom: 1
}

.login_entrance_wrap {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  zoom: 1;
  background-color: #fff;
  z-index: 1000
}

.login_entrance_dlg {
  width: 480px;
  margin: 100px auto 0;
  border: 1px solid #ccc;
  background-color: #fcfcfc;
  padding: 15px 25px 75px;
  line-height: 28px;
  position: relative
}

.login_entrance_dlg_text {
  line-height: 28px
}

.button {
  outline: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 28px;
  border-radius: 3px;
  border-radius: 3px;
  font-size: 12px;
  width: 80px;
  position: absolute;
  overflow: hidden
}

.button:hover {
  text-decoration: none;
  zoom: 1
}

.login_entrance_dlg_yes {
  color: #fff;
  border: 1px solid #3a7ae5;
  background-color: #3a7ae5;
  bottom: 20px;
  right: 130px
}

.login_entrance_dlg_yes:hover {
  border: 1px solid #2c6bd8;
  background-color: #2c6bd8
}

.login_entrance_dlg_no {
  color: #444;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  bottom: 20px;
  right: 30px
}

.login_entrance_dlg_no:hover {
  background-color: #fff
}

/*************** Form Style *******************/


.auth-root {
  --auth-border: rgba(126, 134, 142, 0.24);
  --auth-muted: rgba(23, 26, 29, 0.6);
  --auth-accent: rgb(239, 73, 68);
  --auth-accent-dark: rgb(220, 65, 61);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  position: relative;
  color: #111827;
  background: transparent;
  border-radius: 8px;
  /* Move border-radius here */
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);
  /* Move shadow here */
  padding: 4px;
}

.auth-page {
  width: 100%;
  height: 459px;
  border: 0;
  padding: 0;
  margin: 0;
  position: relative;
  zoom: 1;
  z-index: 10;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  /* Inherit border-radius from parent */
}

.auth-tabs {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  height: 58px;
  border-bottom: 1px solid var(--auth-border);
  background: #ffffff;
}

.auth-tab {
  position: relative;
  width: 50%;
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.auth-tab[aria-selected="true"] {
  color: #111827;
}

/* font family: simhei */

.auth-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 45px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px 999px 999px 999px;
  background: #111827;
}

.error-message {
  background: rgba(255, 82, 25, 0.12);
  margin: 5px -5px;
  /* 10px on left and right (x-axis) */
  color: rgb(23, 26, 29);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
}


.auth-content {
  flex: 1;
  overflow: auto;
  padding: 12px 0;
}

.auth-panel {
  display: none;
  min-height: 100%;
}

.auth-panel.is-active {
  display: flex;
  justify-content: center;
}

.auth-panel-inner {
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 40px;
}

.auth-input {
  height: 40px;
  line-height: 22px;
  padding: 4px 11px;
  display: flex;
  border: 1px solid var(--auth-border);
  border-radius: 5px;
  color: rgb(23, 26, 29);
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  flex: 1;
  outline: 0;
}

.auth-input::placeholder {
  color: #9ca3af;
}

.auth-input:focus {
  border: 1px solid var(--auth-border);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.auth-password-row {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--auth-border);
  border-radius: 5px;
  background: #ffffff;
}

/* Focus styles on the row when input inside is focused */
.auth-password-row:focus-within {
  border: 1px solid var(--auth-border);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

.auth-password-row .auth-input-password {
  line-height: 22px;
  padding: 4px 11px;
  display: flex;
  color: rgb(23, 26, 29);
  border: 0;
  background-color: rgb(255, 255, 255);
  flex: 1;
  outline: none;
  /* Remove default outline from input */
}

.auth-password-row .auth-input:focus {
  outline: none;
  border: 0;
}

.auth-toggle {
  border: 0;
  background: transparent;
  color: rgba(126, 134, 142, 0.8);
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.auth-toggle:hover {
  color: rgb(23, 26, 29);
}

.input-image-container {
  display: flex;
  width: 100%;
  gap: 10px;
  /* No gap between children */
}

.input-section {
  flex: 3;
  /* Occupies 3/5 */
  display: flex;
}

.input-section input {
  height: 40px;
  line-height: 22px;
  padding: 4px 11px;
  display: flex;
  border: 1px solid var(--auth-border);
  border-radius: 5px;
  color: rgb(23, 26, 29);
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  flex: 1;
  outline: 0;

}

.input-section input {
  width: 100%;
  /* Add your input styling here */
}

.image-section {
  flex: 2;
  /* Occupies 2/5 */
  border: 1px solid var(--auth-border);
  border-radius: 5px;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Makes image fill the container while maintaining aspect ratio */
  display: block;
  height: 40px;
}



.auth-row {
  font-size: 14px !important;
  cursor: default !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.auth-remember,
.auth-agree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  cursor: pointer;
  user-select: none;
}

.auth-remember input,
.auth-agree input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  margin: 0;
}

.auth-remember span {
  color: rgba(23, 26, 29, 0.6) !important;
}

.auth-forgot {
  color: var(--auth-muted);
  text-decoration: none;
}

.auth-forgot:hover,
.auth-policy:hover {
  text-decoration: underline;
}

.auth-submit {
  border-radius: 5px;
  border-color: rgb(239, 73, 68);
  border: 1px solid var(--auth-accent);
  padding: 10px 14px;
  background: var(--auth-accent);
  color: rgb(255, 255, 255);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit:hover {
  background: var(--auth-accent-dark);
  border-color: var(--auth-accent-dark);
}

.auth-agree span {
  color: rgba(23, 26, 29, 0.6) !important;
}

.auth-agree span a {
  color: #1677ff !important;
}

.auth-agreements {
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}

.auth-policy {
  color: #2563eb;
  text-decoration: none;
}

.auth-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.auth-qr-copy {
  width: 200px;
  margin-bottom: 16px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}

.auth-qr-box {
  width: 220px;
  height: 220px;
  padding: 5px;
  border: 1px solid rgba(126, 134, 142, 0.4);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    #ffffff;
  background-size: 16px 16px;
}

.auth-qr-box_inner {
  width: 100%;
  height: 100%;
  padding: 10px;
  /* ← creates space inside inner border */
  border: 1px solid rgba(126, 134, 142, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* ensures padding is inside the width/height */
}

.auth-qr-box_inner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.auth-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  background: #fef2f2;
}

.auth-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
}

.auth-footer-link:hover {
  color: #2563eb;
}

.auth-footer-link img {
  display: block;
  width: 30px;
  height: 30px;
}

.auth-modal-backdrop {
  position: absolute;
  /* was 'fixed' */
  inset: 0;
  /* top, right, bottom, left = 0 */
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  /* darkens the container */
  z-index: 1050;
  padding: 16px;
}

.auth-modal-backdrop.is-open {
  display: flex;
}

.auth-modal {
  width: min(280px, 100%);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.24);
  box-sizing: border-box;
  padding: 16px;
  text-align: center;
}

.auth-modal-body {
  padding: 6px 8px 18px;
}

.auth-modal-title {
  height: 24px;
  line-height: 24px;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgb(23, 26, 29);
}

.auth-modal-copy {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.auth-modal-link {
  display: inline-block;
  margin-top: 4px;
  color: #2563eb;
  text-decoration: none !important;
}

.auth-modal-actions {
  display: flex;
  gap: 16px;
  width: 100%;
}

.auth-modal-button {
  width: 50%;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}

.auth-modal-button.secondary {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
}

.auth-modal-button.primary {
  border: 1px solid rgb(239, 73, 68);
  background: rgb(239, 73, 68);
  color: #ffffff;
}

.auth-modal-button.secondary:hover {
  background: #f3f4f6;
}

.auth-modal-button.primary:hover {
  background: rgb(220, 65, 61);
  border-color: rgb(220, 65, 61);
}

@media (max-width: 480px) {
  .auth-panel-inner {
    padding: 0 16px;
  }

  .auth-tab {
    font-size: 14px;
  }

  .auth-tab[aria-selected="true"]::after {
    width: 84px;
  }

  .auth-footer-link {
    gap: 12px;
  }
}

.hidden {
  display: none;
}
