/* ==========================================
   login.css — Login / Register 页专用
   ========================================== */

:root{
  --acc-text:#111;
  --acc-muted:#666;
  --acc-line:#ddd8d1;
  --acc-soft:#f4f1ec;
  --acc-soft-2:#faf8f5;
  --acc-focus:#c8b9a6;
  --acc-btn:#111;
  --acc-btn-hover:#2a2a2a;
  --acc-shadow:0 8px 24px rgba(0,0,0,.04);
  --acc-ok:#1f6b4d;
  --acc-ok-bg:rgba(47,125,90,.08);
  --acc-ok-bd:rgba(47,125,90,.22);
  --acc-err:#b42318;
  --acc-err-bg:rgba(220,38,38,.05);
  --acc-err-bd:rgba(220,38,38,.18);
}

.authWrap{
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0px 0px;
}

.authTitle{
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc-text);
}

.authGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--acc-line);
  background: #fff;
  box-shadow: var(--acc-shadow);
}

.authCol{
  padding: 42px 42px 36px;
  min-height: 650px;
}

.authCol.register{
  background: #fff;
}

.authCol.login{
  background: #fafafa;
  border-left: 1px solid var(--acc-line);
}

.authKicker{
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b746b;
}

.authHead{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc-text);
}

.authDesc{
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.9;
  color: #4d4d4d;
  max-width: 470px;
}

.authForm{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.authRow2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.authField{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.authLabel{
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #444;
}

.authLabel .req{
  color: #8b2a2a;
  margin-left: 2px;
}

.authInput{
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d9d3ca;
  background: #fff;
  border-radius: 2px;
  box-sizing: border-box;
  outline: none;
  font-size: 14px;
  color: #111;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.authInput::placeholder{
  color: #9d978e;
}

.authInput:hover{
  border-color: #c7bfb4;
}

.authInput:focus{
  border-color: var(--acc-focus);
  box-shadow: 0 0 0 3px rgba(200,185,166,.16);
  background: #fff;
}

.authCheckWrap{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.authCheck{
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  border: 1px solid #111;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.authCheck:checked::after{
  content:"";
  position:absolute;
  left:4px;
  top:1px;
  width:4px;
  height:8px;
  border: solid #111;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.authCheckText{
  font-size: 12px;
  line-height: 1.8;
  color: #4e4e4e;
}

.authCheckText a,
.authLink{
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.authLink{
  display: inline-block;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 2px;
  cursor: pointer;
}

.authBtn{
  appearance: none;
  -webkit-appearance: none;
  height: 50px;
  margin-top: 8px;
  border: 1px solid #111;
  background: var(--acc-btn);
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, opacity .18s ease;
}

.authBtn:hover{
  background: var(--acc-btn-hover);
  border-color: var(--acc-btn-hover);
}

.authBtn:disabled{
  opacity: .65;
  cursor: not-allowed;
}

.authMsg{
  display: none;
  padding: 12px 14px;
  border: 1px solid var(--acc-line);
  background: #fafafa;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.authMsg.show{ display:block; }
.authMsg.ok{
  border-color: var(--acc-ok-bd);
  background: var(--acc-ok-bg);
  color: var(--acc-ok);
}
.authMsg.err{
  border-color: var(--acc-err-bd);
  background: var(--acc-err-bg);
  color: var(--acc-err);
}

.authNote{
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: #7c7c7c;
}

@media (max-width: 1200px){
  .authWrap{
    padding: 30px 20px 0px;
  }
}

@media (max-width: 980px){
  .authWrap{
    padding: 30px 20px 0px;
  }

  .authTitle{
    font-size: 22px;
    margin-bottom: 18px;
  }

  .authGrid{
    grid-template-columns: 1fr;
  }

  .authCol{
    min-height: auto;
    padding: 28px 20px 24px;
  }

  .authCol.login{
    border-left: 0;
    border-top: 1px solid var(--acc-line);
  }

  .authHead{
    font-size: 22px;
  }

  .authRow2{
    grid-template-columns: 1fr;
  }
}