/* ───────────── mypage.css ───────────── */

.auth-container {
  margin-top: 60px;
  width: 20%;
}

.section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.change-plan {
  background: #e71909;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
}

/* ─────────── 비밀번호 변경 폼 스타일 ─────────── */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.auth-form input {
  padding: 12px 16px;
  font-size: 1rem;
  font-family: Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,Helvetica Neue,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif;
  border: 1px solid #555;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: #e71909;
}

.auth-form button[type="submit"] {
  padding: 12px 0;
  font-size: 1rem;
  font-family: Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,Helvetica Neue,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif;
  font-weight: 600;
  color: #fff;
  background-color: #e71909;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.auth-form button[type="submit"]:hover {
  background-color:  #e71909;
}

.auth-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* ─────────── 모바일 반응형 ─────────── */

@media (max-width: 480px) {
  .auth-container {
    margin: 40px 20px;
    width: 100%;
  }
  .auth-form {
    gap: 10px;
  }

  .auth-form input,
  .auth-form button[type="submit"],
  .auth-form button,
  .auth-form input {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .verify-btn {
    font-size: 0.75rem;
    padding: 6px;
  }
}

/* ── ③ 로그아웃 버튼 스타일 ── */
.section .logout-btn {
  width: 100%;
  padding: 10px;
  margin-top: 8px;            /* 위 섹션과 간격 */
  background-color: #e71909;  /* 필요시 다른 색으로 변경 */
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-family: Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,Helvetica Neue,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* ── ④ 회원 탈퇴 버튼 스타일 ── */
.section .delete-account-btn {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background-color: transparent;
  border: 1px solid #666;
  border-radius: 6px;
  color: #999;
  font-size: 0.9rem;
  font-family: Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,Helvetica Neue,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,sans-serif;
  font-weight: 500;
  cursor: pointer;
}

.section .delete-account-btn:hover {
  border-color: #e71909;
  color: #e71909;
}
