.find-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.find-popup .popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.find-popup .popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 370px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid #ddd;
}

.popup-header p {
  font-weight: 600;
  font-size: 18px;
  color: #222;
  margin: 0 auto;
}

.popup-close {
  background: none;
  border: none;
  font-size: 30px;
  color: #666;
  cursor: pointer;
}

.popup-tab {
  display: flex;
  border-bottom: 1px solid #997c6e;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border: 1px solid transparent;
  border-bottom-color: #997c6e;
  color: #999;
  font-weight: 500;
  cursor: pointer;
}

.tab-btn + .tab-btn {
  border-left: none; 
}

.tab-btn.active {
  border: 1px solid #997c6e;
  border-bottom: 0;
  color: #997c6e;
  margin-bottom: -1px;
  background: #fff;
  z-index: 1;
}

.popup-body {
  padding: 20px;
}

.input-field {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.popup-btn {
  width: 100%;
  background: #997c6e;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}

.popup-btn:hover {
  background: #997c6e;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
/*  */
.login-wrap {
  width: 400px;
  margin: 200px auto;
  text-align: center;
}

.login-title {
  font-size: 48px;
  font-weight: 200;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.login-desc {
  font-size: 15px;
  color: #333;
  margin-bottom: 30px;
}

.btn-kakao {
  width: 100%;
  background-color: #ffeb33;
  border: none;
  border-radius: 30px;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-kakao img {
  width: 28px;
  height: 28px;
}

.btn-kakao:hover {
  background-color: #f5db0c;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0;
  color: #666;
  font-size: 18px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #e5e5e5;
  margin: 0 15px;
}

.input {
  width: 100%;
  height: 50px;
  border: 1px solid #e5e5e5;
  padding: 0 15px;
  font-size: 18px;
  color: #222;
  margin-bottom: 6px;
  outline: none;
}

.input::placeholder {
  color: #b7bcc2;
}

.input:focus {
  border-color: #0b6e67;
  box-shadow: 0 0 0 2px rgba(11, 110, 103, 0.1);
}

.checkbox {
  margin-top: 15px;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
  margin-bottom: 20px;
  gap: 15px;
}

.checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 18px;
  height: 28px;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.checkbox input[type="checkbox"]:hover {
  border-color: #997c6e;
}

.checkbox input[type="checkbox"]:checked {
  background-color: #997c6e;
  border-color: #997c6e;
}

.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 1px;
  width: 10px;
  height: 19px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:focus {
  box-shadow: 0 0 0 2px rgba(11, 110, 103, 0.2);
}
.btn-login {
  width: 100%;
  height: 48px;
  border: 1.5px solid #997c6e;
  border-radius: 30px;
  background: #fff;
  color: #997c6e;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background-color: #997c6e;
  color: #fff;
  box-shadow: 0 4px 10px rgba(11, 110, 103, 0.2);
}

.login-links {
  margin-top: 16px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.login-links a {
  color: #333;
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}
.checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (max-width: 850px) {
  html {
    font-size: 3.611vw;
  }
  .input::placeholder {
    font-size: 1.4rem;
  }

  .login-wrap {
    width: 100%;
    max-width: 26rem;
    margin: 10rem auto 5rem;
  }

  .login-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
  }

  .login-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.8rem;
  }

  .btn-kakao {
    height: 4rem;
    font-size: 1.4rem;
    border-radius: 2rem;
    gap: 0.5rem;
  }

  .btn-kakao img {
    width: 2.2rem;
    height: 2.2rem;
  }

  .divider {
    font-size: 1.4rem;
    margin: 1.5rem 0;
  }

  .input {
    height: 3.8rem;
    font-size: 1.4rem;
    padding: 0 1rem;
    margin-bottom: 0.6rem;
    border-radius: 0.3rem;
  }

  .checkbox {
    font-size: 1.4rem;
    gap: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
  }

  .checkbox input[type="checkbox"] {
    width: 2rem;
    height: 1.8rem;
  }

  .checkbox input[type="checkbox"]:checked::after {
    left: 0.5rem;
    top: -0.3rem;
    width: 0.8rem;
    height: 1.7rem;
    border-width: 0 0.2rem 0.2rem 0;
  }

  .btn-login {
    height: 4rem;
    font-size: 1.4rem;
    border-radius: 2rem;
  }

  .login-links {
    margin-top: 1rem;
    font-size: 0.9rem;
    /* flex-direction: column; */
    gap: 0.3rem;
  }

  .login-links a {
    font-size: 1.2rem;
    line-height: 1.3;
  }
}
