.auth-page.section{
  padding-top:36px;
}

.auth-shell{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.auth-heading{
  width:100%;
}

.auth-heading > *{
  max-width:680px;
}

.auth-title{
  margin:0 0 10px;
  color:#2e4036;
  font-size:clamp(36px, 4.6vw, 46px);
  line-height:1.12;
  letter-spacing:-1px;
}

.auth-subtitle{
  margin:0;
  max-width:none;
  color:rgba(46,64,54,.78);
  font-size:16px;
  line-height:1.8;
}

.auth-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(320px, .92fr);
  gap:20px;
  align-items:stretch;
}

.auth-card{
  padding:32px 30px;
  border:1px solid rgba(31,42,36,.12);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 34px rgba(42,58,46,.07);
  display:flex;
  flex-direction:column;
  height:100%;
}

.auth-card-head{
  margin-bottom:20px;
}

.auth-card-head h2{
  margin:0 0 6px;
  color:#2e4036;
  font-size:24px;
  line-height:1.3;
}

.auth-card-head p{
  margin:0;
  color:rgba(46,64,54,.72);
  font-size:14px;
  line-height:1.7;
}

.auth-alert{
  margin-bottom:14px;
  padding:12px 14px;
  border-radius:14px;
  font-size:14px;
  line-height:1.6;
}

.auth-alert-error{
  color:#8f301d;
  border:1px solid rgba(169,58,34,.14);
  background:rgba(169,58,34,.08);
}

.auth-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.auth-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.auth-field span{
  color:#2e4036;
  font-size:14px;
  font-weight:700;
}

.auth-field input{
  width:100%;
  height:56px;
  padding:0 16px;
  border:1px solid rgba(31,42,36,.12);
  border-radius:14px;
  background:#fcfbf8;
  color:#1f2a24;
  font-size:15px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-field input:focus{
  border-color:rgba(58,73,60,.35);
  box-shadow:0 0 0 4px rgba(58,73,60,.08);
}

.auth-submit-btn{
  height:56px;
  border:0;
  border-radius:16px;
  background:linear-gradient(90deg, #3a493c, #2a3a2e);
  color:#f6f5f1;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 24px rgba(42,58,46,.16);
  transition:transform .18s ease, box-shadow .18s ease;
}

.auth-submit-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 28px rgba(42,58,46,.2);
}

.auth-inline-links{
  margin-top:auto;
  padding-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  color:#4c5d54;
  font-size:13px;
}

.auth-inline-links a{
  text-decoration:underline;
  text-underline-offset:3px;
}

.auth-inline-divider{
  width:1px;
  height:12px;
  background:rgba(31,42,36,.14);
}

.social-btn{
  width:100%;
  min-height:60px;
  padding:0 18px;
  border:1px solid rgba(31,42,36,.10);
  border-radius:16px;
  display:flex;
  align-items:center;
  gap:14px;
  transition:.2s ease;
}

.social-btn + .social-btn{
  margin-top:12px;
}

.social-btn-icon{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:rgba(255,255,255,.18);
  flex:0 0 40px;
}

.social-btn-icon img{
  display:block;
  width:28px;
  height:28px;
}

.social-btn-text{
  font-size:16px;
  font-weight:800;
}

.social-btn-naver{
  background:#03c75a;
  color:#fff;
  box-shadow:0 16px 26px rgba(3,199,90,.18);
}

.social-btn-naver:hover{
  transform:translateY(-1px);
}

.social-info{
  margin-top:12px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(31,42,36,.08);
  background:rgba(58,73,60,.04);
  color:rgba(46,64,54,.72);
  font-size:13px;
  line-height:1.7;
}

.auth-benefit-list{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:18px;
  border-top:1px solid rgba(31,42,36,.08);
}

.auth-benefit-list article{
  padding:16px 16px 15px;
  border-radius:16px;
  background:#f7f3ed;
  border:1px solid rgba(31,42,36,.08);
}

.auth-benefit-list strong{
  display:block;
  margin:0 0 6px;
  color:#2e4036;
  font-size:15px;
}

.auth-benefit-list p{
  margin:0;
  color:rgba(46,64,54,.72);
  font-size:13px;
  line-height:1.75;
}

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

@media (max-width: 700px){
  .auth-page.section{
    padding-top:34px;
  }

  .auth-subtitle{
    font-size:14px;
    line-height:1.7;
  }

  .auth-card{
    padding:24px 18px;
    border-radius:20px;
  }

  .auth-card-head h2{
    font-size:24px;
  }
}
