/* nav-top */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.header-top {
  height: 50px;
}

.header-top-nav {
  /* background-image: url('/images/header-bg.png'); */
  background: linear-gradient(to bottom, #ffbb97, #ef9248);
  background-repeat: no-repeat;

  background-size: cover;

  background-position: center;
}

.time-text {
  color: #fff;

  font-size: 13px;
}

.header-left {
  display: flex;
  gap: 8px;
}

.css-register {
  display: flex;
  position: relative;
  width: auto;
  cursor: pointer;
}

.css-text-register {
  margin: 0px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  color: white;
  width: 100px;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  background: rgb(255, 146, 2);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.css-plus {
  margin: 0px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  color: white;
  width: 30px;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  background: rgb(255, 108, 1);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.css-login {
  position: relative;
  width: auto;
  cursor: pointer;
}

.css-text-login {
  margin: 0px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  color: white;
  width: 130px;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  background: #399fda;
  border-radius: 4px;
}

.btn-flag-custom {
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: 0.2s;
}

/* User Account Display */
.user-account-wrapper {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 50px;
  padding: 6px 14px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  height: 37px;
  min-width: 180px;
  position: relative;
  will-change: transform, box-shadow;
}

.user-account-wrapper:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #1a3461 0%, #235087 100%);
}

.user-account-wrapper:focus {
  outline: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.user-account-wrapper[aria-expanded="true"] {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #1a3461 0%, #235087 100%);
}

.user-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info {
  display: flex;
  flex-direction: column;
  /* gap: 1px; */
  flex: 1;
  min-width: 0;
}

.user-name {
  color: white;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-balance-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.balance-currency {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
}

.balance-amount {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.balance-refresh {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.balance-refresh:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

.balance-refresh svg {
  width: 12px;
  height: 12px;
  stroke: white;
}

/* Action Buttons (Deposit/Withdraw) */
.action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-action {
  height: 37px;
  padding: 0 18px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.btn-action svg {
  width: 16px;
  height: 16px;
}

.btn-deposit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-deposit:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
}

.btn-withdraw {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.btn-withdraw:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: white;
}

/* Dropdown Menu for User Account */
.btn-action-dropdown {
  position: relative;
}

.btn-action-dropdown .dropdown-menu {
  position: absolute;
  min-width: 240px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 12px;
  margin-top: 12px;
  background: #ffffff;
  animation: dropdownFadeIn 0.2s ease-out;
  z-index: 1050;
  top: 100%;
  right: 0;
  left: auto;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-action-dropdown .dropdown-item {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 6px;
  transition: all 0.2s ease;
  color: #1f2937;
  font-weight: 600;
  font-size: 13px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.btn-action-dropdown .dropdown-item:last-child {
  margin-bottom: 0;
}

.btn-action-dropdown .dropdown-item:hover {
  background: #f3f4f6;
  color: #111827;
  transform: none;
}

.btn-action-dropdown .dropdown-item:active {
  background: #e5e7eb;
  transform: scale(0.98);
}

.btn-action-dropdown .dropdown-item svg {
  width: 22px;
  height: 22px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  stroke: #6b7280;
}

.btn-action-dropdown .dropdown-item:hover svg {
  stroke: #111827;
}

.btn-action-dropdown .dropdown-item span {
  font-family: "Roboto", "Krasar-regular", sans-serif;
  letter-spacing: 0.5px;
  flex: 1;
}

/* Specific hover colors for each item */
.btn-action-dropdown .dropdown-item#btnPaymentHistory:hover,
.btn-action-dropdown .dropdown-item#btnPaymentHistoryContent:hover {
  background: #f3f4f6;
  color: #111827;
}

.btn-action-dropdown .dropdown-item#btnPaymentHistory:hover svg,
.btn-action-dropdown .dropdown-item#btnPaymentHistoryContent:hover svg {
  stroke: #111827;
}

.btn-action-dropdown .dropdown-item#logout:hover,
.btn-action-dropdown .dropdown-item#logoutContent:hover {
  background: #fef2f2;
  color: #dc2626;
}

.btn-action-dropdown .dropdown-item#logout:hover svg,
.btn-action-dropdown .dropdown-item#logoutContent:hover svg {
  stroke: #dc2626;
}

/* Dropdown arrow indicator */
.btn-action-dropdown .user-account-wrapper::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.8);
  margin-left: 4px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn-action-dropdown .user-account-wrapper[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.btn-action-dropdown .user-account-wrapper:active {
  transform: scale(0.98);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .header-left {
    gap: 6px;
  }

  .action-buttons {
    gap: 4px;
  }

  .btn-action {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
    gap: 4px;
  }

  .btn-action span {
    display: none;
  }

  .btn-action svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .user-account-wrapper {
    height: 32px;
    padding: 4px 10px 4px 4px;
    min-width: auto;
    gap: 6px;
  }

  .user-avatar {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 11px;
    border-width: 1.5px;
  }

  .user-info {
    gap: 2px;
  }

  .user-name {
    font-size: 11px;
    max-width: 100px;
  }

  .user-balance-wrapper {
    gap: 3px;
  }

  .balance-currency {
    font-size: 10px;
  }

  .balance-amount {
    font-size: 11px;
  }

  .balance-refresh {
    width: 16px;
    height: 16px;
    min-width: 16px;
  }

  .balance-refresh svg {
    width: 10px;
    height: 10px;
  }

  .btn-flag-custom {
    width: 32px;
    height: 32px;
  }

  .header-top {
    height: auto;
    min-height: 40px;
    padding: 5px 0;
  }
}

@media (max-width: 480px) {
  .btn-action {
    height: 30px;
    padding: 0 8px;
  }

  .btn-action svg {
    width: 16px;
    height: 16px;
  }

  .user-account-wrapper {
    height: 30px;
    padding: 3px 8px 3px 3px;
  }

  .user-avatar {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 10px;
  }

  .user-name {
    font-size: 10px;
    max-width: 100px;
  }

  .balance-currency {
    font-size: 9px;
  }

  .balance-amount {
    font-size: 10px;
  }

  .balance-refresh {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }

  .balance-refresh svg {
    width: 9px;
    height: 9px;
  }

  .btn-flag-custom {
    width: 30px;
    height: 30px;
  }
}

.btn-bg-custom {
  padding: 4px;
  background: #054276;
}

.btn-bg-custom a {
  color: #fff;
}

.dropdown-toggle::after {
  display: none !important;
}

/* end nav-top */

/* nav-menu */

.logo {
  width: 220px;
}

.navbar-custom {
  padding: 0px;
}

.navbar-custom .nav-link {
  font-weight: bold;

  text-transform: uppercase;
}

.navbar-custom .nav-item:hover .nav-link {
  color: #ff9100;
}

.navbar-custom span img {
  width: 20px;

  border-radius: 50%;

  transform: scale(1);

  transition: transform 0.3s ease-in-out;
}

.navbar-custom .nav-item:hover span img {
  transform: scale(1.2);
}

/* end nav-menu */

/* slider */

.slide-home::before,
.slide-home::after {
  content: "";

  position: absolute;

  width: 100%;

  height: 30%;

  right: 0;

  pointer-events: none;

  z-index: 2;
}

.slide-home::before {
  background: -webkit-linear-gradient(
    top,
    white 0%,
    rgba(255, 255, 255, 0) 50%
  );

  left: 0;
}

.slide-home::after {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 50%,
    white 100%
  );

  bottom: -1px;
}

/* end slider */

/* login register */

.btn-register-ml {
  background-color: #ffa84d;

  color: white !important;

  width: 100px;

  text-align: center;

  border-radius: 3rem;

  padding: 2px 0;
}

.btn-login-ml {
  background-color: #399fda;

  color: white !important;

  width: 110px;

  text-align: center;

  border-radius: 3rem;

  padding: 2px 0;
}

/* end login register */
/* production */

.production-content {
  padding-top: 50px;

  padding-bottom: 50px;

  background-image: url("/images/bg.jpg");
}

.grid-4 {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.grid-4 .item-production {
  text-align: center;

  transition: box-shadow 0.3s ease-in-out;

  cursor: pointer;
}

.grid-4 .item-production:hover h3 {
  color: white;

  background: #f59e0b;

  border-radius: 3rem;
}

.grid-4 .item-production h3 {
  text-transform: uppercase;

  font-size: 17px;

  color: #f59e0b;
}

.grid-4 .item-production img {
  box-shadow: 0px 0px 5px #c5772c;
  border-radius: 1rem;

  transition: transform 0.3s ease-in-out;
}

.grid-4 .item-production:hover img {
  transform: scale(1.04);

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* end production */

/* footer */

.about-block {
  height: 45px;

  line-height: 45px;
}

.provider-block {
  padding-top: 22px;

  padding-bottom: 25px;
}

.nav-mobile,
.mobile-content {
  display: none;
}

/*end footer */

.modal-content {
  border-radius: 12px;
  border: none;
}

.modal-header {
  border-bottom: none;
  justify-content: center;
  padding-top: 20px;
}

.modal-title {
  font-weight: 600;
  font-size: 18px;
}

.form-control {
  border: none !important;
  border-bottom: 1px solid #ddd !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 35px !important;
  padding-right: 40px !important;
}

.form-control:focus {
  border-color: #00bfff !important;
  box-shadow: none !important;
}

.form-control.error {
  border-bottom-color: #dc3545 !important;
  border-bottom-width: 2px !important;
  background-color: #fff !important;
  animation: shakeError 0.4s ease-in-out;
}

@keyframes shakeError {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-8px);
  }
  75% {
    transform: translateX(8px);
  }
}

.form-control.error:focus {
  border-bottom-color: #dc3545 !important;
  box-shadow: 0 1px 0 0 #dc3545 !important;
  background-color: #fff !important;
}

.form-control.error::placeholder {
  color: #dc3545 !important;
  opacity: 0.8;
}

.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 3px;
  margin-bottom: 8px;
  display: none;
  animation: fadeIn 0.3s ease-in;
  font-weight: 500;
  padding-left: 35px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-message.show {
  display: block;
}

.input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #00bfff;
  font-size: 1.1rem;
}

.btn-submit {
  background-color: #26b4f0 !important;
  color: white !important;
  font-weight: 500;
  width: 100%;
  border-radius: 5px;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #159edb;
  color: white;
}

/* Modern Login Form Styles */
.form-group-modern {
  margin-bottom: 1.5rem;
}

.input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.form-control-modern {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  padding: 12px 45px 12px 40px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: transparent;
  outline: none;
  position: relative;
  z-index: 1;
}

.form-control-modern:focus {
  border-bottom-color: #00bfff;
  background-color: #f8fcff;
}

.form-control-modern.error {
  border-bottom-color: #dc3545;
  border-bottom-width: 2px;
  animation: shakeError 0.4s ease-in-out;
}

.form-control-modern.error::placeholder {
  color: #dc3545;
  opacity: 0.7;
}

.input-icon-modern {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #00bfff;
  font-size: 18px;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.form-control-modern:focus ~ .input-icon-modern,
.form-control-modern.error ~ .input-icon-modern {
  color: #dc3545;
}

.form-control-modern:focus:not(.error) ~ .input-icon-modern {
  color: #00bfff;
}

.password-toggle-modern {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 18px;
  transition: color 0.3s ease;
  z-index: 10;
  pointer-events: auto;
  user-select: none;
  padding: 8px;
  background: transparent;
  border: none;
}

.password-toggle-modern:hover {
  color: #00bfff;
}

.error-message-modern {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  margin-left: 40px;
  display: none !important;
  animation: fadeInDown 0.3s ease;
  font-weight: 500;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-message-modern.show {
  display: block !important;
}

.btn-submit-modern {
  background: linear-gradient(135deg, #26b4f0 0%, #1a9dd9 100%);
  color: white;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 14px;
  margin-top: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(38, 180, 240, 0.3);
}

.btn-submit-modern:hover {
  background: linear-gradient(135deg, #1a9dd9 0%, #1587c2 100%);
  box-shadow: 0 6px 16px rgba(38, 180, 240, 0.4);
  transform: translateY(-2px);
}

.btn-submit-modern:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(38, 180, 240, 0.3);
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  z-index: 100;
  pointer-events: auto;
  user-select: none;
}

.password-toggle:hover {
  color: #00bfff;
}


/* sidebar-custom */

.sidebar-custom {
  background-color: #fff;

  border-radius: 12px;

  width: 90px;

  text-align: center;

  position: sticky;

  top: 20px;

  height: fit-content;
}

.sidebar-custom-item {
  box-shadow: 0px 0px 5px #c5772c;
  padding: 10px 0;

  font-size: 12px;

  font-weight: 600;

  color: #333;

  cursor: pointer;

  transition: all 0.3s;

  border-left: 3px solid transparent;
  margin-bottom: 10px;
  /* background-color: #ffeada; */
  border-radius: 10px;
}

.sidebar-custom-item img {
  width: 28px;

  height: 28px;

  margin-bottom: 5px;

  border-radius: 50%;

  transition: all 0.3s;
}

.sidebar-custom-item:hover img {
  transform: scale(1.4);
}

.sidebar-custom-item:hover,
.sidebar-custom-item.active {
  background-color: #fff5e6;

  border: 1px solid #fd9e3d;
}

@keyframes aniGame {
  0% {
    transform: translateY(0) translateX(0%);
  }

  100% {
    transform: translateY(-8px) translateX(0%);
  }
}

.sidebar-custom-item.active img {
  animation: aniGame 0.5s ease-in-out infinite alternate;
}

/* Category cards */

.category-card {
  /* background: linear-gradient(to bottom, #fff, #ef9248); */
  box-shadow: 0px 0px 5px #c5772c;
  overflow: hidden;

  text-align: center;

  /* padding: 10px; */

  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  
  /* Reset anchor tag styles */
  border-radius: 10px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Image optimization */
img {
  /* Improve image rendering performance */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Native lazy loading support */
img[loading="lazy"] {
  background: #f0f0f0;
}

/* Prevent layout shift during image load */


.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.category-card img {
  /* max-height: 150px; */
  object-fit: contain;

  /* margin-bottom: 10px; */
}

.category-title {
  font-weight: 600;

  color: #333;
  text-transform: uppercase;
}

.item-grid-content {
  display: grid;

  grid-template-columns: 100px auto;
}

.nav-item-dropdown-custom:hover .dropdown-menu-custom {
  display: block;
}

.nav-item-dropdown-custom {
  position: static !important;
  /* allow full-width dropdown */
}

.nav-item-dropdown-custom .dropdown-menu-custom {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  /* center */
  transform: translateX(-50%);
  /* align to center */
  width: 100%;
  /* full viewport width */
  background: white;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 1000;
  max-height: 80vh;
  overflow-y: scroll;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  border-bottom-left-radius: 10px;
  /* adjust value as needed */
  border-bottom-right-radius: 10px;
  /* adjust value as needed */
}

.list-item-2 {
  grid-template-columns: 1fr 1fr !important;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.list-item-8 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.css-11nvzf3 {
  position: absolute;
  display: flex;
  border-top: 0.5px solid rgb(211, 211, 211);
  height: auto;
  background-color: white;
  padding-bottom: 16px;
}

.css-11nvzf3 {
  width: 100%;
  -webkit-box-pack: center;
  justify-content: center;
}

.list-item .item,
.list-item-8 .item {
  box-shadow: 0px 0px 5px #c5772c;
  border-radius: 10px;
  overflow: hidden;
}

.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
}

/* Common */
.social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none;
}

/* Image inside */
.social img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Hover */
.social:hover {
  transform: translateX(-6px) scale(1.08);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

/* Hide on desktop, show only on mobile */
.mobile-nav {
  display: none;
}

.flagDropdown.text-lang {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

@media (max-width: 1400px) {
  .navbar-custom .nav-link {
    font-size: 14px;
  }

  .navbar-custom span img {
    width: 25px;
  }
}

@media (max-width: 1200px) {
  .navbar-expand-lg.navbar-custom .navbar-custom .nav-link {
    font-size: 14px !important;
    padding-top: 10px !important;
  }

  .logo {
    width: 135px;
  }
}

@media (max-width: 1100px) {
  .navbar-custom .nav-link {
    font-size: 13px;
    padding: 5px !important;
    margin-top: 4px !important;
  }

  .navbar-custom span img {
    width: 19px;
  }
}

@media (max-width: 768px) {
  .social-float {
    display: none;
  }

  .dropdown-menu-end.btn-bg-custom {
    position: absolute;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #6b6b6b70;
    border-top: 1px solid #e1e1e2;
    z-index: 50;

    box-shadow: 0px 0px 10px #c5772c;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-top: solid 1px #c5772c;
    backdrop-filter: blur(20px);
  }

  .nav-item {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: #000;
    cursor: pointer;
    position: relative;
  }

  .mobile-nav .nav-item {
    display: grid;
    justify-items: center;
  }

  .mobile-nav .nav-item:hover {
    color: #c5772c;
  }

  .nav-item img {
    width: 25px;
    height: 25px;
  }

  .flagDropdown.text-lang {
    width: 25px;
    height: 25px;
    border-radius: 50%;
  }

  /* Center icon raised up */
  .nav-item.center {
    position: relative;
  }

  .center-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .center-icon img {
    width: 45px;
    height: 45px;
  }

  .nav-item.center span {
    display: block;
    margin-top: 35px;
  }
}

@media (max-width: 1000px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;

    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
  }

  /* 
        .navbar-custom span img {

            width: 23px;

        } */

  /* .logo {

            height: auto;

            width: 85px;

        } */

  .navbar-custom .nav-link {
    font-size: 11px !important;
  }

  .grid-4 {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
  }
}

.img-border-30 {
  border-radius: 30%;
}

.img-border-25 {
  border-radius: 25%;
}

@media (max-width: 900px) {
  .navbar-custom span img {
    width: 18px;
  }
}

@media (max-width: 900px) {
  .navbar-custom span img {
    width: 15px;
  }

  .navbar-custom .nav-link {
    font-size: 9px !important;
  }
}

@media (max-width: 800px) {
  .logo {
    width: 128px;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 205px;
  }

  .about-content {
    background: linear-gradient(to bottom, #ffbb97, #ef9248) !important;
  }

  .navbar-custom .nav-link {
    margin-top: 1px !important;
    padding-top: 7px !important;
  }

  .header-top-nav,
  .nav-pc,
  .production-content {
    display: none;
  }

  .mobile-content {
    display: unset;
  }

  .mobile-content .container-xl.mt-2 {
    padding-bottom: 10px;
  }

  .about-content {
    padding-bottom: 60px;
  }

  .nav-mobile {
    display: flex;
  }

  .nav-mobile span img {
    width: 15px !important;

    margin-top: -4px;
  }

  .btn-login-ml,
  .btn-register-ml {
    font-size: 13px !important;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-item img {
  box-shadow: 0px 0px 5px #c5772c;
  border-radius: 50%;
}

.about-content {
  background: linear-gradient(to bottom, #535353, #0b0b0b);
}

.provider-container {
  width: 100%;
  margin-left: auto;
  box-sizing: border-box;
  margin-right: auto;
  display: block;
  padding-left: 16px;
  padding-right: 16px;
}

.provider-item-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  width: 100%;
}

.provider-item {
  /* box-sizing: border-box; */
  margin: 8px 0px;
  /* flex-direction: row; */
  /* flex-basis: 15%; */
  /* -webkit-box-flex: 0; */
  /* flex-grow: 0; */
  /* max-width: 25%; */
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  padding: 1.6px;
}

.img-provider-logo {
  width: 100%;
  object-fit: contain;
  transition: 0.5s;
  cursor: pointer;
}

.copyright-content {
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  -webkit-box-align: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  border-top: 0.5px solid #ffffff;
  /* background-color: rgb(36, 36, 36); */
}

.css-1erbx20 {
  margin: 0px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  font-size: 14px;
}

@media (max-width: 768px) {
  .provider-item-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* @media (max-width: 600px) {
                .provider-item {
                    max-width: 20%;
                }
            } */
@media (max-width: 500px) {
  /* .provider-item {
                    max-width: 10%;
                } */
  .css-1erbx20 {
    font-size: 12px;
  }

  .copyright-content {
    padding: 15px;
  }

  .logo {
    width: 150px;
  }

  .moblie-remove {
    padding-left: 5px;
    padding-right: 2px;
  }

  .me-2.btn-flag-dropdown {
    margin-right: 0px !important;
  }

  .navbar-custom .nav-link {
    padding: 2px !important;
    margin-top: 1px !important;
    padding-top: 4px !important;
  }

  .btn-login-ml,
  .btn-register-ml {
    width: 90px;
  }
}

@media (max-width: 400px) {
  .btn-login-ml,
  .btn-register-ml {
    width: 70px;
  }

  .navbar-custom .nav-link {
    font-size: 7px !important;
  }
}

@media (min-width: 0px) {
  .img-provider-logo {
    height: 30px;
    filter: none;
  }

  .css-1erbx20 {
    font-size: 10px;
  }
}
