/* Khu vự trước đăng nhập */


  
  #DoanhNghiepButton {
    display: inline-block; /* Giữ nó giống như một nút */
    position: fixed;
    line-height: 40px; /* Căn giữa chữ theo chiều dọc */
    width: 170px;
    height: 40px;
    border: 1px solid #fffcfc; /* Thêm đường viền màu đen */
    border-radius: 5px;
    background: rgba(78, 128, 204, 0.8); /* Màu nền với độ mờ 80% */
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.5); /* Đổ bóng */
    cursor: pointer;
    font-size: 1em;
    color: #fcf8f8; /* Màu chữ sáng */
    text-align: center; /* Căn giữa chữ theo chiều ngang */
    text-decoration: none; /* Bỏ gạch dưới nếu là đường link */
    z-index: 2;
    right: 20%; /* Cách lề phải 200px */
    top: 20px; /* Cách lề trên 20px */
  }

  #DoanhNghiepButton:hover {
    background-color: #9dc5f0;
    color: #1b1b1b;
  }

 .home {
    position: relative;
    /* max-height: 950px; */
    width: 100%;
    height: 100vh;
    background: url(../image/Background.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
  }

  .home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 184, 185, 0.2); /* Lớp phủ đen với độ mờ 50% */
    z-index: 0; /* Đảm bảo lớp phủ chỉ ảnh hưởng đến background */
  }
  /* Các phần tử con không bị ảnh hưởng bởi lớp phủ */
  .home > * {
    z-index: 1;
  }

  .home .wrapper-login {
    position: relative;
    width: 440px;
    max-width: 85%;
    min-width: 25%;
    margin: 0 auto; /* Căn giữa theo chiều ngang */
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 35px 55px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(50px);
    border-radius: 10px;
    color: #fff;
  }
  .logo img {
    position: absolute;
    padding: 20px 40px;
    width: 180px;
    z-index: 10;
  }
  
  .wrapper-login h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
  }

  .wrapper-login .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 40px 0;
  }

  .input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid #fff;
    outline: none;
    border-radius: 40px;
    font-size: 1em;
    color: #fff;
    padding: 0 25px 0 45px;
  }

  .input-box label {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    pointer-events: none;
    transition: 0.5s;
  }
  .input-box input:focus ~ label,
  .input-box input:valid ~ label {
    font-size: 0.8em;
    top: -14px;
    left: 17px;
  }
  .input-box .icon {
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 1.2em;
    color: #fff;
  }

  /* Hiệu ứng khi input có giá trị (valid) */
  .input-box input:valid {
    background-color: rgba(212, 221, 230, 0.5); /* Màu nền trắng với độ mờ 50% */
    color: #000; /* Màu chữ đen khi có giá trị */
  }

  /* Icon trong input */
  .input-box .icon {
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 1.2em;
    color: #fff;
  }
  .wrapper-login .rememberMe {
    font-size: 0.9em;
    color: #fff;
    font-weight: 500;
    margin: -25px 0 15px;
    display: flex;
    justify-content: space-between;
  }
  /* Tăng kích thước của checkbox */
  .rememberMe input[type="checkbox"] {
    transform: scale(1.8); /* Tăng kích thước checkbox lên 1.5 lần */
    margin-right: 10px; /* Thêm khoảng cách giữa checkbox và label */
  }
  /* Cập nhật lại font-size của label để đồng nhất */
  .rememberMe label {
    font-size: 1em; /* Tăng kích thước chữ cho label */
  }

  .wrapper-login .btn {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    border-radius: 40px;
    background: linear-gradient(90deg, #7e7e81, #051c9e);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 500;
  }

  .wrapper-login .btn:hover {
    background: linear-gradient(90deg, #7e817e, #277c05);
    color: #f2f3f8;
  }

  .wrapper-login .regiter-link {
    font-size: 0.9em;
    color: #fff;
    text-align: left;
    margin: 30px 0;
    margin-top: 100px;
  }
  #TaiKhoanDungThu {
    padding-left: 20%;
    line-height: 1.5;
  }

  @media (max-width: 680px) {
  .home .wrapper-login {
    margin-top: 60px;
  }
  .logo img {
    position: absolute;
    padding: 10px 20px;
    width: 100px;
  }
}
@media (max-width: 1280px) {
  #KhuVucSauDangNhap {
    transform: scale(1); /* Thu nhỏ phần tử khi màn hình nhỏ */
    transform-origin: center; /* Đảm bảo tỷ lệ vẫn được giữ nguyên từ trung tâm */
  }
}

@media (max-width: 1080px) {
  #KhuVucSauDangNhap {
    transform: scale(1); /* Thu nhỏ phần tử khi màn hình nhỏ */
    transform-origin: center; /* Đảm bảo tỷ lệ vẫn được giữ nguyên từ trung tâm */
  }
}