html, body {
  height: 100%;
  margin: 0;
  line-height: inherit;
}

form {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* ← 중심에서 좌우 꽉 차게 */
  width: 100%;
}

/* 로그인 페이지 전용 */
.login-body {
  height: 100%;
  background: linear-gradient(135deg,
    rgba(224, 253, 255, 1) 0%,
    rgba(228, 240, 255, 1) 40%,
    rgba(198, 250, 255, 1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

/* 로그인 박스 전체 */
.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  height: 70%;

}
/* 반응형 */
@media (max-width: 1200px) {
  .login-box {
    width: 80%;
    padding: 2rem 1.5rem;
  }
}

/* 상단 영역 */
.login-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.info-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.info-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 0.5rem;
}
.info-text2 {
  font-size: 1rem;
  color: #555;
  margin-bottom: .7rem;
}


/* 로그인 폼 영역 */
.login-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 2rem 1.5rem;
}

.input-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.login-text {
  font-size: 14px;
  margin: 0.5rem;
}

.input-icon {
  position: relative;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toggle-password:hover {
  opacity: 1;
}

.eye-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 입력 필드 */
.login-input {
  width: 100%;
  height: 42px;
  margin-left: 1.5rem; 
  padding-right: 12px;
  font-size: 14px;
  color: #111;
  border: none;  
  background-color: #fff;
  box-sizing: border-box;
}

.login-input:focus {
  border-color: #00a0c8 !important;
  box-shadow: 0 0 6px rgba(0,160,200,0.3) !important;
  outline: none !important;
}

/* 체크박스 라벨 */
.remember-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: #333;
  margin: 1rem 0 1rem 0;
}

.remember-group input[type="checkbox"] {
  transform: scale(1.2) !important;
  cursor: pointer !important;
}

.login-error {
  margin: 0.5rem 0.5rem 0.5rem 0.5rem;
  width: 100%;
  text-align: center;
  color: rgb(var(--danger));
  font-size: 12px;
  font-weight: 500;
  box-sizing: border-box;
}

/* 로그인 버튼 */
.login-btn {
  width: 100%;
  padding: 0.7rem 0;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #00a0c8, #00c6b7);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  margin-bottom: 0.5rem;
}

.login-btn:hover {
  background: linear-gradient(90deg, #0096bc, #00b2a8);
}

/* 문의하기 버튼 */
.contact-btn {
  background: none;
  border: none;
  color: #00a0c8;
  text-align: center;
  font-size:14px;
  cursor: pointer;
  margin-top: 0.5rem;
}

