/* 로그인 페이지 스타일 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #435f53;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* 로그인 컨테이너 */
.login-wrap {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 50px 60px;
  width: 100%;
  max-width: 480px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* 로그인 배너 */
.login_banner {
  text-align: center;
  margin-bottom: 40px;
}

.login_banner h1 {
  font-size: 32px;
  font-weight: 700;
  color: #435f53;
  margin-bottom: 10px;
}

/* 입력 박스 */
.id-box,
.pw-box {
  margin-bottom: 25px;
}

.id-box p,
.pw-box p {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.id-box input,
.pw-box input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.id-box input:focus,
.pw-box input:focus {
  border-color: #435f53;
  box-shadow: 0 0 0 3px rgba(67, 95, 83, 0.1);
}

.id-box input::placeholder,
.pw-box input::placeholder {
  color: #999;
}

/* 정보 찾기 박스 */
.info_box {
  margin-bottom: 25px;
}

.info-search-box {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
}

.info-search-box a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-search-box a:hover {
  color: #435f53;
}

.info-search-box span {
  cursor: pointer;
}

/* 로그인 버튼 */
#seclogin_btn {
  width: 100%;
  padding: 16px;
  background: #435f53;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(67, 95, 83, 0.3);
}

#seclogin_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 95, 83, 0.5);
  background: #3a5248;
}

#seclogin_btn:active {
  transform: translateY(0);
}

/* 회원가입 영역 */
.join-wrap {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.join-txt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.join-txt-box > span:first-child {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.join-txt-box > a {
  text-decoration: none;
}

.mem-reg-btn {
  color: #435f53;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mem-reg-btn:hover {
  color: #3a5248;
  text-decoration: underline;
}

.join-txt-box p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

/* 하단 배너 */
.login_bottom_banner {
  text-align: center;
  padding: 30px 20px;
  color: white;
  font-size: 13px;
  opacity: 0.9;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .login-wrap {
      padding: 40px 40px;
      max-width: 420px;
  }
  
  .login_banner h1 {
      font-size: 28px;
  }
}

@media (max-width: 480px) {
  main {
      padding: 20px 15px;
  }
  
  .login-wrap {
      padding: 35px 25px;
      border-radius: 15px;
  }
  
  .login_banner h1 {
      font-size: 24px;
  }
  
  .login_banner {
      margin-bottom: 30px;
  }
  
  .id-box input,
  .pw-box input {
      padding: 13px 16px;
      font-size: 14px;
  }
  
  #seclogin_btn {
      padding: 14px;
      font-size: 15px;
  }
  
  .join-txt-box p {
      font-size: 12px;
      padding: 15px;
  }
  
  .info-search-box {
      flex-direction: column;
      gap: 10px;
  }
}

/* 숨김 요소 */
input[type="hidden"] {
  display: none;
}

/* 포커스 시각적 피드백 강화 */
.id-box input:focus,
.pw-box input:focus {
  animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.02);
  }
  100% {
      transform: scale(1);
  }
}