.show {
  display: block;
}

input {
    color:#000;
}

/* 로그인 모달 */
.loginModal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  background: #fff;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border-radius: 10px;
  padding: 20px;
  display:none;
  z-index:20;
}

.loginModal-header {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 18px 0;
}
.login-subtitle {
  color: #718096;
  font-size: 14px;
  font-weight: 100;
}

.loginModal-header h2 {
  font-size: 24px;

  color: #000;
}

.close-btn {
  font-size: 24px;
  color: #ffffff;
  background: none;
}

.loginModal-body {
  display: flex;
  flex-direction: column;
}

/* 회원가입 모달 */
.signupModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  max-width: 420px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  border-radius: 10px;
  /* padding: 20px; */
  z-index:20;
  display: none;
}

.signupModal-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}

.signupModal-header h2 {
  font-size: 24px;
  color: #000;
}

.close-btn {
  font-size: 24px;
  color: #ffffff;
  background: none;
}

.signupModal-body {
  display: flex;
  flex-direction: column;
      padding-left: 20px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
}

.login-btn {
  padding: 10px;
  border-radius: 5px;
  background: #ff6b6b;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
}

.login-btn:hover {
  background: #ff4757;
}

.open-btn {
  width: 140px;
  padding: 10px;
  /* border-radius: 5px;
  background: #1e90ff; */
  color: #000;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  -ms-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  cursor: pointer;
}

.loginModal.show {
  transform: translate(-50%, -50%) scale(1);
  display: block;
  z-index: 100;
}
/* .overlay {
  position: relative;
} */

.overlay.show {
  display: block;
  z-index: 3;
}
.signupModal {
  color:#000;
}
.signupModal.show {
  transform: translate(-50%, -50%) scale(1);
  display: block;
  z-index: 20;
}
.signupview {
  cursor:pointer;
}
.signupwrap {
  width: 350px;
}
.input-wrapper{
  display: flex;
  align-items: center;
}
.signupclass {
  padding: 3px;
  height: 30px;
  width: 250px;
  border-radius: 5px;
  border: 1px solid #d3d3d3;
  outline: none;
  margin:5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.signupcontainer {
  height: 500px;
  overflow-y: scroll;
}
.signupcontainer label {
  display: block;
  margin-top: 10px;
  width: 150px;
  color:#919191;
  font-size:12px;
}
.joongbokchk {
  width: 80px;
  height: 35px;
  line-height: 35px;
  background: #007bff;
  color:#fff;
  font-size: 14px;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.signupview {
  margin: 15px 0;
  font-size: 12px;
  text-align: center;
}


.logincontainer {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  margin:0 auto;
  width: 300px;
  position:relative;
}
/* 1️⃣ 내려오며 나타나는 애니메이션 */
@keyframes slideDownFade {
  0%   { transform: translate(-50%, 20px); opacity: 0; -webkit-transform: translate(-50%, 20px); -moz-transform: translate(-50%, 20px); -ms-transform: translate(-50%, 20px); -o-transform: translate(-50%, 20px); }
  100% { transform: translate(-50%,   0);  opacity: 1; }
}

/* 2️⃣ 올라가며 사라지는 애니메이션 */
@keyframes slideUpFade {
  0%   { transform: translate(-50%, 0);   opacity: 1; }
  100% { transform: translate(-50%, 30px); opacity: 0; -webkit-transform: translate(-50%, 30px); -moz-transform: translate(-50%, 30px); -ms-transform: translate(-50%, 30px); -o-transform: translate(-50%, 30px); }
}

.alertbox {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 20px);
  /*시작위치*/background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  line-height: 40px;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  /*기본은안보이게*/pointer-events: none;
  /*클릭막기*/-webkit-transform: translate(-50%, 20px);
  -moz-transform: translate(-50%, 20px);
  -ms-transform: translate(-50%, 20px);
  -o-transform: translate(-50%, 20px);
  -webkit-transform: translate(-50%, 20px);
}

/*  등장할 때 붙이는 클래스  */
.alertbox.show {
  animation: slideDownFade 0.4s ease-out forwards;
}

/*  사라질 때 붙이는 클래스 */
.alertbox.hide {
  animation: slideUpFade 0.4s ease-in forwards;
}


.form-group {
  margin-bottom: 20px;
  position: relative;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
}
.form-group input {
  width: 100%;
  padding: 10px;
  padding-left: 35px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}
.form-group .fa {
  position: absolute;
  left: 10px;
  top: 13px;
  color: #aaa;
}
#inputId:focus, #password:focus {
    border-color: #66aaea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    transition: color 0.3s ease;
}

.form-input:focus + .input-icon {
    color: #667eea;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}
/* .options label {
    cursor: pointer;
    font-size: 10px;
} */

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.options label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.options label span {
  padding-left:10px;
  cursor: pointer;
  font-size: 12px;
}


.lostpwd {
  color: #007bff;
  text-decoration: none;
  font-size: 12px;
}
.lostpwd:hover {
  cursor: pointer;
}
.searchpwd-header, .signupModal-header {
  display: flex;

  padding:10px;
  border-bottom:1px solid #ddd;

}
.searchpwd-body {
  padding: 20px;
  font-size: 14px;
}
.backpwd, .signupbackpwd {
  margin-right:20px;
}
.backpwd:hover, .signupbackpwd:hover {
  cursor:pointer;
  color: #007bff;
}
.alert-box {
    border: 1px solid #5ba4ff;
    padding: 10px;
    margin: 15px 15px 0 15px;
    border-radius: 7px;
    background-color: #e7f1ff;
    font-size: 12px;
    display: flex;
    align-items: center;
    color: #000;
}
.auth-no-sendBtn, .auth-no-getBtn, .newpwdbtn {
    border-radius: 7px;
    background-color: #007bff;
    color: #fff;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
}
.auth-no-sendBtn:hover, .auth-no-getBtn:hover, .newpwdbtn:hover {
    cursor: pointer;
}
.newpwdbtn {
  width: 100%;
  text-align: center;
  margin-top:20px;
  font-size: 14px;
}
.searchpwd-body input {
    width: 80%;
    height: 40px;
    padding: 5px;
    padding-left: 35px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}
#authNo:focus, #searchId:focus, #authNo1:focus, #authNo2:focus {
    border-color: #66aaea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sigunbasic, .dongbasic, .ribasic {
  position:relative;
}
.sigunList{
  display: none;
  position: absolute;
  top:33px;
  left:150px;
  width: 150px;
  height: 200px;
  overflow-y: scroll;
  z-index: 21;
  background-color: #fff;
  border: 1px solid #ccc;
}

.dongubList {
  display: none;
  position: absolute;
  top:23px;
  left:150px;
  width: 150px;
  height: 200px;
  overflow-y: scroll;
  z-index: 21;
  background-color: #fff;
  border: 1px solid #ccc;
}
.riList {
  display: none;
  position: absolute;
  top:23px;
  left:150px;
  width: 150px;
  height: 200px;
  overflow-y: scroll;
  z-index: 21;
  background-color: #fff;
  border: 1px solid #ccc;
}

.searchList-item {
  width: 100px;
  height: 20px;
  padding: 5px;
  margin: 2px 0;
  text-align: center;
  cursor:pointer;
  font-size: var(--common1-font-size);
}
/* #sigun {
  line-height: 22px;
  padding-left:10px;
} */
#username, #password1, #password2,
#email, .signupclass {
  font-size: var(--common-font-size);
  height:40px;
  line-height: 30px;
  padding-left:10px;
}

/* 회원가입 버튼 */
#sendNewpersonBtn, #cancleBtn {
  width: 80px;
  height: 35px;
  line-height: 35px;
  background: #007bff;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  border:none;
  font-size: var(--common-font-size);
}
#sendBtn {
  margin:30px 0;
  /* text-align: right; */
  padding-right:10px;
}

#searchpwd {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 405px;
    height: 500px;
    transform: translate(-50%, -50%) scale(1);
    background-color: #fff;
    z-index: 101;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.noticeView {
    display: none;
    align-items: center;
    margin-top: 50px;
    border: 1px solid green;
    border-radius: 5px;
    padding: 10px;
    font-size: 13px;
    background-color: #f6fff6;
}