:root{
  --blue:#2563eb;
  --blue2:#3b82f6;
  --line:#ededed;
  --text:#111;
  --muted:#6b7280;
  --bg:#f8fafc;
}

.auth-hero{
  background: linear-gradient(90deg, rgba(37,99,235,0.10), rgba(59,130,246,0.06));
  border-bottom:1px solid #f1f1f1;
  padding:54px 0 28px;
}
.auth-hero-inner{
  max-width:960px;
  margin:0 auto;
  padding:0 20px;
}
.auth-eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  color:rgba(37,99,235,0.9);
}
.auth-title{
  margin-top:10px;
  font-size:36px;
  font-weight:800;
  color:var(--text);
}
.auth-desc{
  margin-top:10px;
  font-size:16px;
  font-weight:650;
  color:#4b5563;
}

.auth-wrap{
  max-width:960px;
  margin:30px auto 60px;
  padding:0 20px;
  display:flex;
  justify-content:center;
}

.auth-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 14px 36px rgba(0,0,0,0.06);
  padding:24px;
  width:100%;
  max-width:520px;
}
.auth-card h3{
  font-size:20px;
  font-weight:800;
  color:var(--text);
}
.auth-card p{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
  font-weight:650;
}

.auth-form{
  margin-top:16px;
  display:grid;
  gap:14px;
  min-width:0;
}
.auth-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.auth-field label{
  font-size:13px;
  font-weight:800;
  color:var(--muted);
}
.auth-input{
  width:100%;
  min-width:0;
  height:48px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  font-size:15px;
  font-weight:650;
  color:var(--text);
  outline:none;
  background:#fff;
}
.auth-input:focus{
  border-color:rgba(37,99,235,0.4);
  box-shadow:0 0 0 3px rgba(37,99,235,0.12);
}
.auth-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}
.auth-btn{
  height:50px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid transparent;
  font-size:16px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  cursor:pointer;
  min-width:0;
}
.auth-btn.full-width{
  width:100%;
  max-width:100%;
}
.auth-btn.ghost{
  background:#fff;
  color:var(--text);
  border-color:var(--line);
}

.auth-meta{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--muted);
  min-width:0;
}
.auth-meta-right{
  justify-content:flex-end;
  margin-top:12px;
}
.auth-meta a{color:var(--blue); font-weight:700;}

.divider.slim{
  margin:12px 0 10px;
}

.social-login{
  display:flex;
  justify-content:flex-end;
  width:100%;
  min-width:0;
}
.social-login > *{
  min-width:0;
}
.kakao-btn{
  background:#FEE500;
  color:#111;
  border-color:#e4c000;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
  width:100%;
  gap:8px;
}
.kakao-btn .kakao-btn-icon{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
}
.kakao-btn .kakao-btn-icon svg{
  width:100%;
  height:100%;
  display:block;
}
.kakao-btn:hover{
  filter:brightness(0.98);
}

.divider{
  margin:10px 0;
  height:1px;
  background:var(--line);
}

@media (max-width: 900px){
  .auth-card{
    max-width:100%;
  }
}

@media (max-width: 640px){
  .auth-hero{
    padding:42px 0 22px;
  }
  .auth-hero-inner{
    padding:0 14px;
  }
  .auth-title{
    font-size:28px;
  }
  .auth-desc{
    font-size:14px;
    line-height:1.45;
  }
  .auth-wrap{
    margin:20px auto 44px;
    padding:0 14px;
  }
  .auth-card{
    padding:18px 14px;
    border-radius:14px;
  }
  .auth-form{
    gap:12px;
  }
  .auth-inline-help{
    overflow-wrap:anywhere;
  }
  .social-login .auth-btn{
    height:auto;
    min-height:50px;
    padding:12px 14px;
    line-height:1.25;
    white-space:normal;
    text-align:center;
  }
}

@media (max-width:480px){
  .auth-input{font-size: 14px;}
}
