@charset "UTF-8";
:root {
  --primary: #f08a5d;
  --primary-hover: #e67e22;
  --czy-auth-bg: url('https://image.hnczy.top/image.php?tag=yzkzsy');
  --czy-auth-right-bg: var(--czy-auth-bg);
}

.czy-auth-wrap {
  display: flex;
  justify-content: space-between;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-image: var(--czy-auth-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ---- Left side ---- */
.czy-auth-left {
  max-width: 35%;
  min-width: 30%;
  overflow-y: hidden;
  width: 520px;
  position: relative;
}
.czy-auth-left::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; min-height: 100%;
  background-image: none;
  z-index: 1;
}
.czy-auth-left .czy-auth-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 0 40px;
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}
.czy-auth-left .czy-auth-left-content .czy-auth-hero-text {
  margin-top: auto;
  margin-bottom: 80px;
}
.czy-auth-left .czy-auth-left-content .czy-auth-hero-text h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.czy-auth-left .czy-auth-left-content .czy-auth-hero-text p {
  color: rgba(255,255,255,0.3);
  font-size: 15px;
}

/* ---- Right side ---- */
.czy-auth-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  background-image: none;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.czy-auth-right-content {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}
.czy-auth-form-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px 0;
  width: 720px;
  box-shadow: 0 6px 32px 0 rgba(15,32,71,0.12);
  position: relative;
  z-index: 2;
  top: -24px;
}
.czy-auth-right.czy-compact .czy-auth-form-box {
  width: 476px;
  padding: 28px 0 40px;
  border-radius: 15px 0 15px 0;
}

/* ---- Login form area ---- */
.czy-auth-form-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0 40px 0 28px;
}
.czy-auth-right.czy-compact .czy-auth-form-inner {
  padding: 0 30px 0 40px;
}

/* Form content header */
.czy-auth-tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  white-space: nowrap;
  width: 100%;
  padding-bottom: 5px;
  margin-bottom: 16px;
  position: relative;
  border-bottom: 3px solid #f6f6f6;
}
.czy-tab-nav {
  padding-right: 10px;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}
.czy-tab-sep {
  background: #d9d9d9;
  height: 16px;
  margin: 0 16px;
  width: 1px;
}
.czy-tab-item {
  position: relative;
  font-size: 18px;
  font-weight: 900;
  color: #8d94a1;
  cursor: pointer;
  transition: color 0.3s ease;
  -webkit-font-smoothing: initial;
}
.czy-tab-item:last-child { margin-right: 0; }
.czy-tab-item.active { color: var(--primary) !important; }
.czy-tab-indicator {
  position: absolute;
  bottom: -3px;
  height: 3px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}
.czy-auth-alt-link { color: #505363; font-size: 13px; white-space: nowrap; }
.czy-auth-alt-link a { color: var(--primary); }

/* Tab panes */
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: ogmFadeIn 0.4s ease; }
@keyframes ogmFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Geetest container */
.ExtremeTest_captcha { height: 40px; }

/* ---- Form controls ---- */
.czy-auth-right .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 14px;
  width: 100%;
}
.czy-auth-right .form-group label {
  color: #505363;
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 5px;
}
.czy-auth-right .form-control {
  padding: 7px 10px;
  line-height: 24px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #d4d9e2;
  border-radius: 0;
  width: 100%;
  font-size: 14px;
}
.czy-auth-right .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(240,138,93,0.15);
  outline: none;
}
.czy-auth-right .input-group {
  display: flex;
  width: 100%;
  align-items: stretch;
}
.czy-auth-right .input-group .form-control {
  flex: 1;
  border-radius: 0;
}
.czy-auth-right .input-group-prepend { width: 108px; }
.czy-auth-right .input-group-prepend .form-control {
  border-right: none;
  height: 40px;
  border-radius: 0;
}
.czy-auth-right .input-group-append { height: 40px; }
.czy-auth-right .input-group-append .btn {
  height: 40px;
  border-radius: 0;
  white-space: nowrap;
  font-size: 13px;
  padding: 0 14px;
  line-height: 40px;
  background-color: var(--primary);
  color: #fff;
  border: none;
}
.czy-auth-right .input-group-append .btn:hover { background-color: var(--primary-hover); }

/* Submit button */
.czy-auth-right .mt-3 .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  font-weight: 500;
  font-size: 15px;
  background-color: var(--primary);
  border: none;
  border-radius: 0;
  color: #fff;
  transition: background-color 0.3s;
}
.czy-auth-right .mt-3 .btn-primary:hover { background-color: var(--primary-hover); }
.czy-auth-right .mt-3 .btn-primary:disabled,
.czy-auth-right .mt-3 .btn-primary[disabled] {
  background-color: #c8c8c8;
  border-color: #c8c8c8;
  cursor: not-allowed;
  opacity: 0.65;
  pointer-events: none;
}

/* Forget password / switch links */
.czy-auth-right .d-flex.justify-content-between {
  width: 100%;
  margin-bottom: 6px;
}
.czy-auth-right .text-primary { color: var(--primary) !important; }
.czy-auth-right .pointer { cursor: pointer; }

/* Custom dropdown (phone code) */
.czy-auth-right .custom-dropdown {
  position: relative;
  width: fit-content;
}
.czy-auth-right .custom-dropdown-selection {
  position: relative;
  padding: 0 21px 0 11px;
  color: #505363;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d4d9e2;
  border-right: none;
  border-radius: 0;
  transition: all 0.3s;
  line-height: 38px;
  text-align: left;
  width: 108px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  height: 40px;
}
.czy-auth-right .custom-dropdown-selection::after {
  content: "";
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #adb5bd;
}
.czy-auth-right .custom-dropdown-list {
  display: none;
  position: absolute;
  width: max-content;
  padding: 0;
  list-style: none;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  z-index: 10;
}
.czy-auth-right .custom-dropdown-list li {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s;
}
.czy-auth-right .custom-dropdown-list li:hover { background-color: #f0f0f0; }

/* OAuth */
.czy-auth-right .czy-oauth-box {
  width: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.czy-auth-right .czy-oauth-box .czy-oauth-sep {
  padding: 0;
  width: 100%;
  color: #8f96a3;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.czy-auth-right .czy-oauth-box .czy-oauth-sep .czy-oauth-sep-text {
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
  padding: 0 6px;
}
.czy-auth-right .czy-oauth-box .czy-oauth-sep .czy-oauth-sep-line {
  width: 100%;
  height: 1px;
  background-color: rgba(143,150,163,0.2);
}
.czy-auth-right .czy-oauth-box .list-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
.czy-auth-right .czy-oauth-box .social-list-item {
  height: 32px; width: 32px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Service Terms (register) */
.czy-auth-terms {
  margin: 14px 0 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}
.czy-auth-terms span { color: #9ea5b2; font-size: 13px; line-height: 1.6; }
.czy-auth-terms .czy-terms-chkbox {
  width: 16px; height: 16px; min-width: 16px;
  background-color: #fff;
  border: 1.5px solid #9ea5b2;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
}
.czy-auth-terms .czy-terms-chkbox:after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transition: all 0.3s;
}
.czy-auth-terms .czy-terms-chkbox.checked { background-color: var(--primary); border-color: var(--primary); }
.czy-auth-terms .czy-terms-chkbox.checked:after { opacity: 1; }

/* Footer */
.czy-auth-footer {
  position: absolute;
  left: 40px;
  bottom: 10px;
  display: flex;
  flex: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0 8px;
}
.czy-auth-footer a {
  color: #999;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}
.czy-auth-footer a:hover { color: #666; }
.czy-auth-footer a.czy-auth-clause { color: var(--primary); cursor: pointer; }

/* ---- Page footer bar ---- */
.czy-auth-page-footer {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 8px 20px 10px;
  z-index: 5;
  pointer-events: none;
}
.czy-footer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.czy-footer-group p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  line-height: 1.9;
  white-space: nowrap;
}

/* Modal overlay */
.modal { background: rgba(0,0,0,0.5); }

/* ---- Body-level reset for auth pages ---- */
body:has(.czy-auth-wrap) {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* ---- Scoped Bootstrap overrides (ported from SK login styles) ---- */
.czy-auth-wrap .btn {
  padding: 7px 10px;
  line-height: 26px;
  border-radius: 0;
  border: none;
}
.czy-auth-wrap .btn-outline-light {
  padding: 7px 10px;
  line-height: 26px;
  border-radius: 0;
  background-color: #fff;
  border: 1px solid #d4d9e2;
  color: var(--primary);
}
.czy-auth-wrap .input-group-append {
  height: 40px;
}
.czy-auth-wrap .input-group-append img {
  border: 1px solid #d4d9e2 !important;
  border-left: none;
}
.czy-auth-wrap .form-control {
  border-radius: 0;
  height: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .czy-auth-wrap { display: block; height: auto; overflow: visible; }
  body:has(.czy-auth-wrap) { overflow-y: auto; }
  .czy-auth-left {
    max-width: 100%; min-width: 100%;
    position: fixed; top: 0;
    height: 60px; z-index: 99;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .czy-auth-left::before { display: none; }
  .czy-auth-left .czy-auth-left-content {
    height: 60px; padding: 0 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .czy-auth-left .czy-auth-left-content .czy-auth-hero-text { display: none; }
  .czy-auth-right {
    height: auto; min-height: 100vh;
    overflow-x: hidden; overflow-y: auto;
    align-items: flex-start;
    padding: 60px 0 0;
  }
  .czy-auth-right-content { width: 100%; min-height: auto; padding: 0; }
  .czy-auth-form-box {
    flex-direction: column !important;
    padding: 38px 22px 78px !important;
    width: 100%;
    box-shadow: none;
    position: unset;
    top: 0;
    border-radius: 0 !important;
  }
  .czy-auth-right.czy-compact .czy-auth-form-box {
    width: 100%; padding: 24px 20px 80px !important; border-radius: 0;
  }
  .czy-auth-form-inner { padding: 0 !important; }
  .czy-auth-footer {
    position: fixed; left: 0; bottom: 0; right: 0;
    z-index: 99; height: 40px;
    background-color: #f0f0f0;
    align-items: center;
    padding: 0 20px;
  }
  .czy-auth-footer a { display: none; }
  .czy-auth-footer a.czy-auth-clause { display: block; color: #999 !important; }
  .czy-auth-alt-link { width: 100%; display: flex; justify-content: flex-end; }
  .czy-tab-item { font-size: 18px; }
  .czy-tab-sep { margin: 0 12px; }
  .czy-auth-right .form-group { margin-bottom: 20px; }
  .czy-auth-right .form-group label { font-size: 16px; }
  .czy-auth-right .custom-dropdown { width: 100%; margin-bottom: 12px; }
  .czy-auth-right .custom-dropdown-selection { width: 100%; border-right: 1px solid #d4d9e2; }
  .czy-auth-right .custom-dropdown-list { width: 100%; }
  .czy-auth-right .input-group-prepend { width: 100%; }
  .czy-auth-right .mt-3 .btn-primary { font-size: 16px; }
}
