/* ===== 아이디/비밀번호 찾기 공통 스타일 ===== */

/* 카드 너비 조정 */
.find-card {
  max-width: 460px !important;
}

/* ===== 탭 (아이디 찾기) ===== */
.find-tab-wrap {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 5px;
}
.find-tab {
  flex: 1;
  height: 40px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Noto Sans KR', sans-serif;
}
.find-tab:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
}
.find-tab.active {
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(29,78,216,0.45);
}

/* ===== 패널 ===== */
.find-panel { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 결과 박스 (아이디 찾기 결과) ===== */
.find-result {
  margin-top: 18px;
  border-radius: 10px;
  padding: 18px 20px;
  animation: fadeIn 0.3s ease;
}
.find-result.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
}
.find-result.fail {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
}
.find-result-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.find-result-title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin-bottom: 8px;
}
.find-result-id {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 8px 0 14px;
  word-break: break-all;
}
.find-result-date {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.find-result-fail-text {
  font-size: 0.88rem;
  color: #fca5a5;
  text-align: center;
}
.find-result-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.find-result-btn {
  flex: 1;
  height: 38px;
  border-radius: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  font-family: 'Noto Sans KR', sans-serif;
  transition: background 0.15s;
}
.find-result-btn.primary {
  background: #1d4ed8;
  color: #fff;
}
.find-result-btn.primary:hover { background: #1e40af; }
.find-result-btn.secondary {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}
.find-result-btn.secondary:hover { background: rgba(255,255,255,0.2); }

/* ===== 스텝 인디케이터 (비밀번호 찾기) ===== */
.find-steps {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 4px;
}
.find-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.find-step.active .step-dot {
  background: #1d4ed8;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.25);
}
.find-step.done .step-dot {
  background: #16a34a;
  border-color: #22c55e;
  color: #ffffff;
}
.step-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  transition: color 0.3s;
}
.find-step.active .step-label { color: rgba(255,255,255,0.9); font-weight: 600; }
.find-step.done  .step-label { color: #86efac; }
.find-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 6px;
  margin-bottom: 18px;
  border-radius: 1px;
  transition: background 0.3s;
}
.find-step-line.done { background: #22c55e; }

/* ===== 본인확인 완료 배지 ===== */
.find-verified-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #86efac;
  font-weight: 600;
  margin-bottom: 18px;
}
.find-verified-badge i { font-size: 1rem; }

/* ===== 비밀번호 강도 바 ===== */
.pw-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.pw-strength-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s, background 0.3s;
}
.pw-strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 36px;
  text-align: right;
}

/* ===== 완료 화면 ===== */
.find-done-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 4px;
  text-align: center;
}
.find-done-icon {
  font-size: 3.2rem;
  color: #22c55e;
  margin-bottom: 14px;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.find-done-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.find-done-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===== 하단 링크 ===== */
.find-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.find-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.find-bottom-links a:hover { color: #93c5fd; }
.f-sep { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* ===== 반응형 ===== */

/* 태블릿 (768px ~ 1023px) */
@media (max-width: 1023px) {
  .find-card { max-width: 430px !important; }
}

/* 모바일 (480px ~ 767px) */
@media (max-width: 767px) {
  /* 카드 */
  .find-card { padding: 28px 20px 24px !important; }

  /* 스텝 인디케이터 */
  .find-steps { padding: 0 0; margin-bottom: 18px; }
  .step-label { font-size: 0.65rem; }
  .step-dot   { width: 28px; height: 28px; font-size: 0.78rem; }

  /* 탭 버튼 */
  .find-tab { font-size: 0.8rem; height: 38px; }
  .find-tab i { font-size: 0.8rem; }

  /* 결과 박스 */
  .find-result { padding: 14px 16px; }
  .find-result-actions { flex-direction: column; }
  .find-result-btn { width: 100%; }

  /* 하단 링크 */
  .find-bottom-links { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .f-sep { display: none; }
  .find-bottom-links a { 
    width: 100%; 
    justify-content: center;
    padding: 6px 0;
  }

  /* 완료 화면 */
  .find-done-icon  { font-size: 2.6rem; }
  .find-done-title { font-size: 1.05rem; }
  .find-done-desc  { font-size: 0.8rem; }
}

/* 소형 모바일 (~479px) */
@media (max-width: 479px) {
  .find-card {
    padding: 22px 14px 20px !important;
    border-radius: 10px;
  }

  /* 스텝 인디케이터 - 레이블 숨김 */
  .step-label { display: none; }
  .find-steps { margin-bottom: 14px; }
  .find-step-line { margin-bottom: 0; }

  /* 탭 */
  .find-tab-wrap { padding: 4px; }
  .find-tab      { font-size: 0.76rem; height: 36px; gap: 5px; }

  /* 결과 */
  .find-result-id { font-size: 1.1rem; }

  /* 비밀번호 강도 */
  .pw-strength-label { min-width: 28px; font-size: 0.65rem; }

  /* 완료 */
  .find-done-wrap { padding: 4px 0; }
  .find-done-icon  { font-size: 2.2rem; margin-bottom: 10px; }
}
