/* login.css */

/* 1) body에 배경색 설정하고 화면 중앙 정렬 */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;       /* ← 추가: 수직 스택 */
  justify-content: flex-start;  /* ← 변경: 맨 위부터 쌓이도록 */
  align-items: center;          /* ← 변경: 수평 중앙 */
  padding-top: 150px;
  font-family: 'Inter', sans-serif;
}

/* 2) 컨테이너 배경·패딩·쉐도우 제거 (기존 그대로) */
.auth-container {
  max-width: 400px;
  width: 100%;
  margin: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

/* 3) 제목과 폼 간격만 조금 유지 (기존 그대로) */
.auth-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px; /* 기존 30px → 20px */
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* 4) 입력창·버튼은 가로 꽉 채우기 (기존 그대로) */
.auth-form input,
.auth-form button {
  width: 100%;
}

/* 5) 입력창 스타일 (기존 그대로) */
.auth-form input {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid black;
  outline: none;
}

/* 6) 버튼 스타일 (기존 그대로) */
.auth-form button {
  padding: 10px;
  background-color: #e71909;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* 7) 링크 영역은 하단에 고정 (기존 그대로) */
.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.auth-links a {
  text-decoration: none;
  margin: 0 6px;
}

/* ── 퀵메뉴 아이콘 5개 (회원가입 · 아이디 찾기 · 비밀번호 찾기 · 홈페이지 · 서비스설명) ──
   시안: 48×48 그리드 라운드 선 아이콘, 선 굵기 2.75, 잉크 #3A4150, 호버 빨강 */
.action-icons {
  --ink: #3A4150;
  --sw: 2.75;
  width: 100%;
  max-width: 480px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.icon-item:hover { color: #E5190A; }

.icon-item svg {
  width: 44px;
  height: 44px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--sw);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-item svg .fill-ink { fill: currentColor; }
.icon-item svg .fill-bg  { fill: #fff; }

@media (max-width: 480px) {
  .action-icons { margin-top: 28px; }
  .icon-item { font-size: 12px; gap: 6px; }
  .icon-item svg { width: 38px; height: 38px; }
}
