/* =========================
   ID 찾기
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;

  background-color: #f5f5f5;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.find-id-screen {
  min-height: 100vh;

  padding: 0 20px;

  background-color: #ffffff;
}

/* =========================
   박스
========================= */

.find-id-box {
  width: 100%;

  padding-top: 70px;
}

.find-id-box h1 {
  margin: 0 0 24px;

  color: #111111;

  font-size: 18px;
  font-weight: 700;
}

/* =========================
   입력 항목
========================= */

.find-field {
  width: 100%;

  margin-bottom: 16px;
}

.find-field label {
  display: block;

  margin-bottom: 6px;

  color: #222222;

  font-size: 13px;
  font-weight: 500;
}

/* =========================
   input + 버튼
========================= */

.input-button-wrap {
  position: relative;

  width: 100%;
  height: 54px;
}

.input-button-wrap input {
  width: 100%;
  height: 100%;

  padding: 0 92px 0 12px;

  border: 1px solid #cfd6dc;
  border-radius: 0;

  outline: none;

  background-color: #ffffff;

  color: #222222;

  font-size: 13px;
}

.input-button-wrap input::placeholder {
  color: #aaaaaa;
}

.input-button-wrap input:focus {
  border-color: #52aead;
}

/* =========================
   인증 버튼
========================= */

.input-button-wrap button {
  position: absolute;

  top: 50%;
  right: 10px;

  transform: translateY(-50%);

  height: 32px;

  padding: 0 12px;

  border: none;
  border-radius: 5px;

  background-color: #eeeeee;

  color: #555555;

  font-size: 11px;

  cursor: pointer;
}

.input-button-wrap button:active {
  background-color: #52aead;

  color: #ffffff;
}

/* =========================
   ID 찾기 버튼
========================= */

.find-id-button {
  width: 100%;
  height: 48px;

  margin-top: 4px;

  border: none;

  background-color: #52aead;

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}

.find-id-button:active {
  background-color: #469b9a;
}

/* =========================
   오류 메시지
========================= */

#findIdMessage {
  margin: 4px 0;

  color: #e34b4b;

  font-size: 11px;
}

/* =========================
   모바일
========================= */

@media (max-width: 390px) {
  .find-id-screen {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* =========================
   이메일 자동완성 드롭다운
========================= */

.email-suggest-list {
  display: none; /* 평소에는 아예 화면에서 숨겨 테두리 잔상이 남지 않음 */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin: 2px 0 0 0;
  padding: 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #cfd6dc;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-height: 180px;
  overflow-y: auto;
  z-index: 999;
}

/* JS에서 .show 클래스를 추가했을 때만 노출 */
.email-suggest-list.show {
  display: block;
}

.email-suggest-list li {
  padding: 12px 14px;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}

.email-suggest-list li:last-child {
  border-bottom: none;
}

.email-suggest-list li:active,
.email-suggest-list li:hover {
  background-color: #f0f7f7;
  color: #52aead;
}