/* ##########################################################################
   유니피드 회원가입 화면 전용 스타일 (signup.css)
   ########################################################################## */

body.signup-body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  background: #FFFAF5;
  max-width: none;
  padding: 0;
  min-height: 100vh;
}

/* 로그인 버튼 (GNB 오른쪽, 회원가입 화면 전용) */
.gnb-login-btn {
  height: 36px;
  padding: 0 18px;
  border: 1.5px solid var(--c-orange-500);
  border-radius: var(--radius-pill);
  color: var(--c-orange-500);
  font-size: var(--fs-13);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
}
.gnb-login-btn:hover {
  background: var(--c-orange-500);
  color: var(--c-white);
  text-decoration: none;
}

/* 메인 영역 */
.signup-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

/* 회원가입 카드 */
.signup-card {
  background: var(--c-surface);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-4xl);
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 460px;
}

/* 로고 */
.signup-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: -6px;
}
.signup-logo-img {
  height: 210px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(249, 115, 22, 0.25));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.signup-logo-img:hover {
  transform: scale(1.04);
}

/* 타이틀 */
.signup-title {
  font-size: var(--fs-24);
  font-weight: 900;
  color: var(--c-orange-500);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.signup-subtitle {
  font-size: var(--fs-13);
  color: var(--c-slate-400);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* 에러 배너 */
.signup-error {
  background: var(--c-red-50);
  border: 1px solid var(--c-red-200);
  color: var(--c-red-500);
  font-size: var(--fs-13);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 16px;
}

/* 폼 */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--c-slate-800);
}
.required {
  color: var(--c-orange-500);
}
.form-input {
  height: 46px;
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  padding: 0 14px;
  font-size: var(--fs-14);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus {
  border-color: var(--c-orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.form-error {
  font-size: var(--fs-12);
  color: var(--c-red-500);
}
.form-hint {
  font-size: var(--fs-11);
  color: var(--c-orange-500);
  font-weight: 600;
}

/* 비밀번호 토글 */
.password-wrap {
  position: relative;
}
.password-wrap .form-input {
  padding-right: 44px;
}
.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--fs-16);
  color: var(--c-slate-400);
}

/* 가입 버튼 */
.signup-btn {
  height: 50px;
  background: var(--c-orange-500);
  color: var(--c-white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--fs-16);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  transition: all 0.2s;
  margin-top: 4px;
}
.signup-btn:hover {
  background: var(--c-orange-600);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

/* 로그인 링크 */
.login-link {
  text-align: center;
  font-size: var(--fs-13);
  color: var(--c-slate-400);
  margin-top: 20px;
}
.login-anchor {
  color: var(--c-orange-500);
  font-weight: 700;
  text-decoration: none;
}
.login-anchor:hover {
  text-decoration: underline;
}

/* 2차 인증 코드 재전송 버튼 (login.css의 .resend-verification-* 와 같은 모양, 로그인 랜딩 CSS에
   안 기대고 signup.css 쪽에서도 바로 쓰려고 여기 둔다) */
.resend-verification-form {
  text-align: center;
  margin-top: 18px;
}
.resend-verification-btn {
  background: none;
  border: none;
  padding: 6px 4px;
  color: var(--c-orange-600);
  font-size: var(--fs-12-5);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.resend-verification-btn:hover {
  color: var(--c-orange-700);
}

/* ==========================================================================
   반응형 — 폰
   ========================================================================== */
@media (max-width: 480px) {
  .signup-main { padding: 24px 14px; }
  .signup-card { padding: 28px 22px; }
  .signup-logo-img { height: 140px; }
}

/* ==========================================================================
   학교 등록 신청 패널 — 가입 화면에서 "검색해도 내 학교가 없을 때"만 열린다.
   ========================================================================== */
.univ-request-panel {
  margin-top: 12px;
  padding: 16px;
  border: 1.5px solid var(--c-orange-200);
  border-radius: var(--radius-xl);
  background: var(--c-orange-50);
}
.univ-request-title {
  margin: 0 0 6px;
  color: var(--c-orange-700);
  font-size: var(--fs-14, 14px);
  font-weight: 800;
}
.univ-request-desc {
  margin: 0 0 14px;
  color: var(--c-slate-600);
  font-size: var(--fs-12-5);
  font-weight: 500;
  line-height: 1.55;
}
.univ-request-label {
  display: block;
  margin-bottom: 6px;
  color: var(--c-slate-700);
  font-size: var(--fs-12-5);
  font-weight: 700;
}
.univ-request-panel .form-input {
  margin-bottom: 12px;
  background: var(--c-surface);
}
.univ-request-email {
  margin: 0 0 12px;
  color: var(--c-slate-600);
  font-size: var(--fs-12);
  font-weight: 600;
}
.univ-request-email strong {
  color: var(--c-orange-700);
}
.univ-request-btn {
  width: 100%;
  padding: 11px 16px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--c-orange-500);
  color: var(--c-white);
  font-size: var(--fs-13);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.univ-request-btn:hover:not(:disabled) { background: var(--c-orange-600); }
.univ-request-btn:disabled { opacity: 0.6; cursor: default; }
.univ-request-result {
  margin: 10px 0 0;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1.5;
}
.univ-request-result:empty { display: none; }
.univ-request-result.is-success { color: var(--c-green-600, #16A34A); }
.univ-request-result.is-error { color: var(--c-red-500); }
