body {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: normal;
  color: #212529;
}
@font-face {
  font-family: "Helvetica Neue";
  src: url("fonts/HelveticaNeue.otf") format("opentype"); /* Backup cho .otf */
  font-weight: normal;
  font-style: normal;
}

/* Thêm font HelveticaNeue Bold */
@font-face {
  font-family: "Helvetica Neue";
  src: url("fonts/HelveticaNeue-Bold.otf") format("opentype"); /* Backup cho .otf */
  font-weight: bold;
  font-style: normal;
}
:root {
  --primary-color: #004698;
  --secondary-color: #ff5722;
  --bs-primary: #004698;
  --bs-warning: #ff5722;
}

.header {
  background-color: var(--primary-color);
  color: #fff;
}

.footer {
  background-color: var(--primary-color);
  color: #fff;
}
a {
  text-decoration: none;
  color: var(--primary-color);
}
.header-container .nav-link {
  font-size: 14px;
  margin-left: 0rem;
  margin-right: 0rem;
}

.gradient-custom {
  /* fallback for old browsers */
  background: #f6d365;

  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-linear-gradient(
    to right bottom,
    rgba(246, 211, 101, 1),
    rgba(253, 160, 133, 1)
  );

  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(
    to right bottom,
    rgba(246, 211, 101, 1),
    rgba(253, 160, 133, 1)
  );
}
.logo {
  height: 40px;
}
.background {
  position: absolute;
  background-image: url("../public/images/background.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  animation: floatingBackground 7s ease-in-out infinite;
  content: "";
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: -1;
}
@keyframes floatingBackground {
  0% {
    background-position: center top;
  }
  50% {
    background-position: center 50px;
  }
  100% {
    background-position: center top;
  }
}
.bg-primary-color {
  background-color: var(--primary-color) !important;
}
.text-primary-color {
  color: var(--primary-color) !important;
}
button {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif, sans-serif;
  cursor: pointer;
}
.sticky-footer {
  /* position: sticky;
  bottom: 0; */
}
.login-container {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login-container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login-container h2 {
  margin-bottom: 20px;
  text-align: center;
}
.login-container input {
  width: 90%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.login-container button {
  width: 50%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.login-container button:hover {
  background-color: #0056b3;
}
.error-message {
  color: red;
  margin-bottom: 10px;
}
.btn_logout {
  background-color: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.toast {
  z-index: 50;
  position: fixed !important;
}
.btn-style-2 {
  fill: #ffffff;
  color: #ffffff;
  background-color: transparent;
  background-image: linear-gradient(130deg, #198754 93%, #ffffff00 90%);
  border-radius: 0px 0px 0px 0px;
  padding: 10px 20px;
}
.w-50-rps {
  width: 50%;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.search-bar {
  margin-bottom: 20px;
}
.search-bar input[type="text"] {
  padding: 10px;
  width: calc(100% - 22px);
  border: 1px solid #ddd;
  border-radius: 4px;
}
.table-container {
  max-height: 640px;
  overflow-y: auto;
}
.toggle-password,
.show-pass,
.hide-pass {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  cursor: pointer;
  opacity: 0.5;
}
.form-control,
.form-input {
  height: 42px !important;
}
.banner-home {
  width: 100%;
  background-image: url("../public/images/bg-1.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.text-warning-2 {
  color: #ff9901;
  -webkit-text-stroke: 1px #965a00;
}
.water-effect-button {
  background: linear-gradient(145deg, #ff6b6b, #c72c2c); /* Gradient màu đỏ */
  border: none; /* Không viền */
  color: white; /* Màu chữ trắng */
  padding: 15px 30px; /* Padding cho nút */
  font-size: 16px; /* Kích thước chữ */
  border-radius: 10px; /* Bo tròn góc */
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3),
    -5px -5px 15px rgba(255, 255, 255, 0.4); /* Hiệu ứng đổ bóng 3D */
  cursor: pointer; /* Hiển thị con trỏ khi di chuột */
  transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt mà */
  animation: shake 1s infinite; /* Hiệu ứng lắc lắc */
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}
.btn-hotline:hover,
.water-effect-button:hover {
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5),
    0px -5px 15px rgba(255, 255, 255, 0.5); /* Hiệu ứng khi hover */
  transform: translateY(-5px); /* Đẩy nút xuống khi hover */
  animation: none;
}

/* Hiệu ứng bóng nở ra */
.water-effect-button:active {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.4);
  animation: none; /* Dừng hiệu ứng lắc lắc khi nhấn */
}

@media screen and (min-width: 768px) {
  .banner-home {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    cursor: pointer;
  }
}
@media (max-width: 640px) {
  .logo {
    height: 40px;
  }
  .navbar {
    padding: 0 !important;
  }
  .navbar-toggler-icon {
    width: 1rem;
    height: 1rem;
    display: flex;
  }

  .w-50-rps {
    width: 80%;
  }
  .px-rps {
    padding-left: 1rem !important;
    padding-right: 0.5rem !important;
  }
  .flex-rv {
    flex-direction: column-reverse;
  }
}
