/* Global styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ececec;
  color: #1f1f1f;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Login container */
.login-container {
  background-color: #ffffff;
  padding: 40px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  font-size: 32px;
  color: #1f1f1f;
}

/* Form styles */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #1f1f1f;
}

input[type="email"],
input[type="number"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 44px; /* 입력 필드와 버튼 높이 통일 */
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box; /* 패딩이 높이에 포함되도록 설정 */
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

input[type="checkbox"] {
  margin: 0;
}

/* Button styles */
.btn {
  display: inline-block;
  width: 100%;
  height: 45px; /* 버튼 높이 설정 */
  padding: 10px;
  background-color: #1f1f1f;
  color: #ffffff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  line-height: normal;
}

.btn:hover {
  background-color: #000000;
}

/* Account Text */
.account-text {
  margin-top: 20px; /* 버튼과의 여백 */
  font-size: 14px;
  text-align: center;
  color: #1f1f1f;
  text-decoration: none;
}

.account-text a {
  color: #1f1f1f;
  text-decoration: none;
}

.account-text a:hover {
  text-decoration: underline;
}

.policy-text {
  color: #1f1f1f;
  text-decoration: none;
}

.policy-text:visited {
  color: inherit;
  text-decoration: none;
}

.policy-text:hover {
  text-decoration: none;
}

.policy-text:active {
  color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-container {
      padding: 20px;
  }

  h1 {
      font-size: 20px;
  }

  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="text"],
  .btn {
      height: 40px;
  }
}
