* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #CAE8EA;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  height: auto;
  width: 40%;
  border-radius: 10px;
}
.sign-up-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 440px;
  height: auto;
  padding: 20px 30px;
}
.sign-up-box img{
  border-radius: 50%;
  width: 30%;
  margin: 0 133px;
}
.sign-up-header {
  text-align: center;
  margin: 15px 0 20px 0;
}
.sign-up-header header {
  color: #333;
  font-size: 30px;
  font-weight: 600;
}
.input-box .input-field {
  width: 100%;
  height: 55px;
  font-size: 17px;
  padding: 0 25px;
  margin-bottom: 15px;
  border-radius: 15px;
  border: rgb(193, 184, 184) 1px solid;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: 0.3s;
}
::placeholder {
  font-weight: 500;
  color: #a9a3a3;
}
/* .input-field:focus {
   width: 105%;
 } */
.check {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
section {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
}
#check {
  margin-right: 10px;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  text-decoration: underline;
}
section a {
  color: #555;
}
.input-submit {
  position: relative;
}
.submit-btn {
  width: 100%;
  height: 55px;
  background: #222;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.input-submit label {
  position: absolute;
  top: 45%;
  left: 50%;
  color: white;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.submit-btn:hover {
  background-color: black;
  transform: scale(1.05, 1);
}
.sign-in-link {
  text-align: center;
  font-size: 15px;
  margin-top: 20px;
}
.sign-in-link a {
  color: black;
  font-weight: 600;
}
@media (max-width: 768px) {
  .container {
    width: 80%; /* Thu nhỏ chiều rộng form */
    padding: 10px;
  }
  .login-box {
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    height: auto;
    padding: 20px;
  }
  .input-box .input-field {
    height: 50px; /* Giảm chiều cao input */
    font-size: 16px;
    padding: 0 15px;
  }
  .submit-btn {
    height: 50px; /* Điều chỉnh nút Sign In */
  }
}

/* Thêm Media Queries cho Mobile */
@media (max-width: 480px) {
  .container {
    width: 95%; /* Chiều rộng gần full màn hình */
    border-radius: 5px;
    padding: 5px;
  }
  .sign-up-box {
    padding: 15px;
  }
  .sign-up-header header {
    font-size: 24px; /* Giảm kích thước header */
  }
  .input-box .input-field {
    height: 45px; /* Nhỏ hơn cho điện thoại */
    font-size: 14px;
    padding: 0 10px;
  }
  .check {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .submit-btn {
    height: 45px; /* Nút nhỏ hơn */
  }
  .sign-in-link {
    font-size: 14px;
  }
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 31%;
  background-color: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.2);
  color: #ff0000;
}
