@charset "utf-8";
/* css/style.css */
body {
  margin: 0;
  padding: 10px 0 100px; /* 하단 여유공간 확보 */
  background: #001e3c;
  font-family: 'Noto Sans KR', sans-serif;
   min-height: 100vh;
   height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  height: 100dvh;
}

.login-box {
  width: 340px;
  background: url('../img/login_bg.jpg') no-repeat center center;
  background-size: cover;
  padding:50px 0 0 0;
  margin-bottom:0px;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
  text-align: left;
  color: white;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
   height: 100dvh;
   
 /* height: calc(var(--vh, 100vh) * 100); /* 💡 JS에서 계산한 실제 화면 높이를 사용 */
}

.login-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.login-box * {
  position: relative;
  z-index: 1;
}

.logo {
  text-align: center;
  
  margin-bottom: 0;
  padding: 0 30px;
  box-sizing: border-box;
}

.logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  line-height: 0;       /* ✅ 여백 제거용 */
  vertical-align: top;  /* ✅ 또는 bottom 대신 top */
  padding: 0;
  margin: 0;
}

.description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 10px;
  padding: 0 0px;
   margin-top: 0;        /* 혹시라도 있을 경우 방지 */
  padding-top: 0;
  box-sizing: border-box;
}

.form-group {
   width: calc(100% - 60px); 
  margin: 0 auto 15px auto;
  box-sizing: border-box;
  padding-bottom: 15px;
  
  border-bottom: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
}

.form-group label {
  font-weight: normal;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-block;
  width: 110px;
  margin-right: 5px;
  font-weight: bold;
}

.form-group input {
  background: transparent;
  border: none;
  outline: none;
  color: #ddd;
  font-size: 18px;
  padding: 0;
  width: 100%;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.4);
}

.spaced-label {
  letter-spacing: 6px;  /* 원하는 간격 */
}

.checkbox {
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 18px;
  font-weight:bold;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.9);
  gap: 8px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: .4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #005bac;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}


.login-btn {
  width: 100%;
  padding: 20px 0;
  font-size: 22px;
  background: linear-gradient(to right, #005c99, #0088aa);
  color: white;
  border: none;
  border-radius: 0 0 5px 5px;
  cursor: pointer;
  margin: 100px 0 0 0;
  box-sizing: border-box;
}


