body {
  margin: 0;
  background-color: #fff;
}

.lg-box {
  width: 500px;
  margin: 280px auto; /* 화면 중앙 가로 정렬 + 위아래 여백 */
  padding: 50px;
  background: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  border: 1px solid #ebebeb;
}

.lg-logo {
  text-align: center;
  margin-bottom: 30px;
}

.lg-logo img {
  height: auto;
}

.lg-input-box {
  margin-bottom: 15px;
}

.lg-input-box input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9e9e9;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.lg-input-box input:focus {
  border-color: #2385ff;
}

.lg-checkbox-box {
  display: flex;
  align-items: center; 
  gap: 8px;             
  margin-bottom: 30px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px;
}

.lg-checkbox-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2385ff;
  vertical-align: middle;
  position: relative;
  top: 1px; 
  cursor: pointer;
}

.lg-checkbox-box label {
    font-family: 'Noto Sans KR', sans-serif;
}

.lg-checkbox-box input {
  margin-right: 8px;
}

.lg-btn,
.lg-register-btn {
  transition: background-color 0.3s ease;
}

.lg-btn {
  width: 100%;
  padding: 12px;
  background-color: #2385ff;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Noto Sans KR', sans-serif;
  transition: all 0.3s ease;
}

.lg-btn:hover {
  opacity: 0.8;
}

.lg-register-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 12px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  transition: all 0.3s ease;
}

.lg-register-btn:hover {
  opacity: 0.8;
}

.lg-close-btn {
  display: none; 
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}



@media (max-width: 768px) {

  body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }

  #header,
  .footer {
    display: none !important;
  }

  .lg-close-btn {
    display: block;
  }


  .lg-box {
    width: 90%;
    padding: 30px 20px;
    border-radius: 15px;
    margin: 0 auto; 
  }

  .lg-logo img {
    width: 120px; 
  }

  .lg-input-box input {
    padding: 14px;
    font-size: 15px;
  }

  .lg-checkbox-box {
    font-size: 14px;
    flex-wrap: wrap; 
  }

  .lg-checkbox-box input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .lg-btn,
  .lg-register-btn {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .lg-box {
    margin: 80px auto;
    padding: 25px 15px;
  }

  .lg-btn,
  .lg-register-btn {
    font-size: 14px;
    padding: 12px;
  }
}
