/* 2026 revamp: auth and form pages */
body.auth-page {
  background: linear-gradient(180deg, #f8f3ed 0%, #f4ede5 45%, #f7f2eb 100%);
}

.auth-page .inner {
  width: min(1280px, calc(100vw - 48px)) !important;
  margin: 42px auto 72px !important;
  background: transparent !important;
}

.auth-page .body {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: stretch;
}

.auth-page.form-page .body {
  display: block;
}

.auth-page .log,
.auth-page .registerpart {
  position: relative;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid rgba(166, 30, 34, 0.12);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(34, 24, 19, 0.08);
  overflow: hidden;
}

.auth-page .log::before,
.auth-page .registerpart::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #a61e22 0%, #d6a25f 55%, #f1e4cf 100%);
}

.auth-page .log {
  padding: 0 0 28px;
}

.auth-page .registerpart {
  padding-bottom: 18px;
}

.auth-page .auth-title,
.auth-page .tit {
  padding: 30px 34px 18px;
  text-align: left;
}

.auth-page .auth-title h1,
.auth-page .tit h1,
.auth-page .tit p {
  margin: 0;
  color: #141414;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

.auth-page .auth-title p,
.auth-page .form-subtitle {
  margin: 12px 0 0;
  color: #6d665f;
  font-size: 14px;
  line-height: 1.8;
}

.auth-page .form-subtitle {
  max-width: 760px;
}

.auth-page .formlogin {
  width: calc(100% - 68px);
  margin: 0 34px 0 !important;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.auth-page .formlogin tr {
  vertical-align: top;
}

.auth-page .formlogin td {
  font-size: 14px;
  color: #2f2a26;
  padding-bottom: 0 !important;
}

.auth-page .tdright {
  width: 110px;
  padding-top: 14px;
  color: #6b645d;
  white-space: nowrap;
}

.auth-page .input,
.auth-page input[type="text"],
.auth-page input[type="password"],
.auth-page input[type="email"],
.auth-page select,
.auth-page textarea {
  width: 100% !important;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #ddd2c7;
  border-radius: 14px;
  background: #fffdfa;
  box-sizing: border-box;
  color: #1d1a18;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-page textarea {
  min-height: 180px;
  padding: 14px 16px;
  resize: vertical;
}

.auth-page .input:focus,
.auth-page input[type="text"]:focus,
.auth-page input[type="password"]:focus,
.auth-page input[type="email"]:focus,
.auth-page select:focus,
.auth-page textarea:focus {
  outline: none;
  border-color: #a61e22;
  box-shadow: 0 0 0 4px rgba(166, 30, 34, 0.08);
}

.auth-page .typebtn,
.auth-page .go_reg,
.auth-page input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #a61e22 0%, #7e171a 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(126, 23, 26, 0.18);
  cursor: pointer;
}

.auth-page .typebtn:hover,
.auth-page .go_reg:hover,
.auth-page input[type="submit"]:hover {
  transform: translateY(-1px);
}

.auth-page .font12,
.auth-page .forreg,
.auth-page .forreg a {
  color: #6b645d;
  font-size: 13px;
}

.auth-page .forreg {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.auth-page .forreg a:hover {
  color: #a61e22;
}

.auth-page .authcode {
  margin-top: 8px;
  width: 196px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #ddd2c7;
}

.auth-page .reg,
.auth-page .auth-aside {
  padding: 34px 28px;
  border-radius: 26px;
  background: linear-gradient(160deg, #1b1b1b 0%, #3a1717 52%, #8a1e21 100%);
  color: #f8f1e8;
  box-shadow: 0 24px 60px rgba(34, 24, 19, 0.16);
}

.auth-page .auth-aside h2 {
  margin: 0 0 14px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 28px;
  line-height: 1.35;
  color: #fff7ef;
}

.auth-page .auth-aside p {
  margin: 0 0 18px;
  color: rgba(255, 247, 239, 0.84);
  line-height: 1.85;
}

.auth-page .auth-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-page .auth-aside li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  color: rgba(255, 247, 239, 0.92);
}

.auth-page .auth-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7b078;
}

.auth-page .auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 247, 239, 0.28);
  border-radius: 999px;
  color: #fff7ef !important;
}

.auth-page .auth-link:hover {
  background: rgba(255, 247, 239, 0.08);
}

.auth-page .reg img {
  display: none;
}

.auth-page .partinput {
  padding-bottom: 12px;
}

.auth-page .regdetail {
  padding-bottom: 18px;
}

.auth-page .pw_check {
  display: inline-flex;
  gap: 10px;
  padding: 8px 0 0;
  color: #6b645d;
}

.auth-page .pw_check span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  background: #f3ece5;
  font-size: 12px;
}

.auth-page .pw_check strong {
  color: #a61e22;
}

.auth-page .ic-info a,
.auth-page .eyou_foot a {
  word-break: break-all;
}

@media (max-width: 960px) {
  .auth-page .body {
    grid-template-columns: 1fr;
  }

  .auth-page .tdright {
    width: 92px;
  }
}

@media (max-width: 640px) {
  .auth-page .inner {
    width: calc(100vw - 24px) !important;
    margin: 24px auto 46px !important;
  }

  .auth-page .auth-title,
  .auth-page .tit {
    padding: 24px 18px 16px;
  }

  .auth-page .auth-title h1,
  .auth-page .tit h1,
  .auth-page .tit p {
    font-size: 28px;
  }

  .auth-page .formlogin {
    width: calc(100% - 36px);
    margin: 0 18px !important;
  }

  .auth-page .tdright,
  .auth-page .formlogin td {
    display: block;
    width: 100%;
    padding-top: 0;
  }

  .auth-page .formlogin tr {
    display: block;
  }

  .auth-page .forreg {
    flex-direction: column;
    align-items: flex-start;
  }
}
