/* ─── 원하타로 Auth 모듈 스타일 ─── */

/* 툴바 로그인 버튼 (로그인 상태 표시) */
.wt-toolbar-btn-auth.logged-in{
  border-color:rgba(201,165,92,.55);
  background:rgba(201,165,92,.12);
  color:var(--gold-lt);
}
.wt-toolbar-btn-auth.logged-in::before{
  content:'✦';
  display:inline-block;
  margin-right:5px;
  font-size:9px;
  color:var(--gold);
  vertical-align:baseline;
}

/* ─── 로그인 모달 전용 요소 ─── */
.wt-auth-lead{
  font-size:13px;
  color:var(--body);
  line-height:1.7;
  margin:0 0 22px;
}

.wt-auth-field{
  margin-bottom:16px;
}
.wt-auth-label{
  display:block;
  font-family:var(--font-en);
  font-size:10px;
  letter-spacing:var(--ls-en-wider);
  text-transform:uppercase;
  color:var(--gold-dk);
  margin-bottom:8px;
  font-weight:500;
}
.wt-auth-input{
  width:100%;
  box-sizing:border-box;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(201,165,92,.2);
  border-radius:10px;
  padding:13px 16px;
  color:var(--white);
  font-family:var(--font-ko);
  font-size:14px;
  letter-spacing:.01em;
  outline:none;
  transition:all .2s;
}
.wt-auth-input:focus{
  border-color:rgba(201,165,92,.55);
  background:rgba(255,255,255,.05);
}
.wt-auth-input::placeholder{
  color:var(--muted);
  opacity:.55;
}
.wt-auth-input:disabled{
  opacity:.55;
  cursor:not-allowed;
}

/* 제출 버튼 */
.wt-auth-submit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  box-sizing:border-box;
  background:linear-gradient(180deg,rgba(201,165,92,.18),rgba(201,165,92,.08));
  border:1px solid rgba(201,165,92,.42);
  border-radius:10px;
  padding:14px 20px;
  color:var(--gold-lt);
  font-family:var(--font-ko);
  font-size:13px;
  font-weight:600;
  letter-spacing:var(--ls-ko-title);
  cursor:pointer;
  transition:all .25s;
}
.wt-auth-submit:hover:not(:disabled){
  border-color:rgba(201,165,92,.7);
  background:linear-gradient(180deg,rgba(201,165,92,.25),rgba(201,165,92,.12));
  color:var(--white);
}
.wt-auth-submit:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.wt-auth-submit .spark{
  font-size:10px;
  color:var(--gold);
  opacity:.85;
}

.wt-auth-submit-ghost{
  background:transparent;
  border-color:rgba(201,122,106,.35);
  color:#d4938a;
}
.wt-auth-submit-ghost:hover:not(:disabled){
  background:rgba(201,122,106,.08);
  border-color:rgba(201,122,106,.55);
  color:#e5a79d;
}

/* 상태 메시지 */
.wt-auth-status{
  min-height:20px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
  line-height:1.6;
  margin:14px 0 0;
  padding:0 4px;
}
.wt-auth-status-ok{
  color:var(--gold-lt);
  background:rgba(201,165,92,.06);
  border:1px solid rgba(201,165,92,.2);
  border-radius:10px;
  padding:12px 14px;
  font-size:12px;
  line-height:1.7;
  text-align:left;
}
.wt-auth-status-ok b{
  display:block;
  color:var(--white);
  margin-bottom:4px;
}
.wt-auth-status-err{
  color:#d4938a;
  font-weight:500;
}

/* 혜택 안내 */
.wt-auth-benefits{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(201,165,92,.1);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.wt-auth-benefit{
  font-size:11.5px;
  color:var(--body);
  line-height:1.6;
  padding-left:16px;
  position:relative;
}
.wt-auth-benefit::before{
  content:'✦';
  position:absolute;
  left:0;
  top:1px;
  font-size:9px;
  color:var(--gold-dk);
  opacity:.7;
}

/* 약관 고지 */
.wt-auth-legal{
  font-size:10.5px;
  color:var(--muted);
  text-align:center;
  line-height:1.7;
  margin:18px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(201,165,92,.06);
}
.wt-auth-legal a{
  color:var(--gold-dk);
  text-decoration:underline;
  text-underline-offset:2px;
}
.wt-auth-legal a:hover{
  color:var(--gold-lt);
}

/* ─── 계정 모달 전용 요소 ─── */
.wt-account-info{
  background:rgba(201,165,92,.04);
  border:1px solid rgba(201,165,92,.12);
  border-radius:10px;
  padding:16px 18px;
  margin-bottom:18px;
}
.wt-account-label{
  font-family:var(--font-en);
  font-size:10px;
  letter-spacing:var(--ls-en-wider);
  text-transform:uppercase;
  color:var(--gold-dk);
  margin:0 0 6px;
  font-weight:500;
}
.wt-account-email{
  font-family:var(--font-ko);
  font-size:15px;
  color:var(--white);
  margin:0;
  word-break:break-all;
  font-weight:600;
  letter-spacing:var(--ls-ko-title);
}
