#login-button:disabled {
  background-color: #d81a0d;
  color: white;
}

.bg-success-500{
  background: rgb(16 185 129);
}

.border-success-500{
  background: rgb(16 185 129);
}

.denomItem.disabled {
  opacity: 0.5;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Định nghĩa lớp loading cho thẻ body */
.body-loading {
  position: relative;
}

@keyframes rotateBackground {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.body-loading::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9998; /* Lower z-index than ::after */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.body-loading::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./images/loading.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100px;
  animation: rotateBackground 2s linear infinite;
  transform-origin: center;
  z-index: 9999; /* Ensure it's above the ::before pseudo-element */
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDownOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.fadeIn {
  animation: fadeUpIn 0.3s ease-out forwards;
}

.fadeOut {
  animation: fadeDownOut 0.3s ease-out forwards;
}

#checkResultWrapper.hidden {
  display: none;
}

.check-result-mobile {
  display: block;
}

.check-result-desktop {
  display: none;
}

@media (min-width: 768px) {
  .check-result-mobile {
    display: none;
  }

  .check-result-desktop {
    display: block;
  }
}

.check-result-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  margin-bottom: 12px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
}

.check-result-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.check-result-label {
  flex-shrink: 0;
  color: #888;
}

.check-result-value {
  text-align: right;
  font-weight: 500;
  color: #1a1a1a;
  word-break: break-all;
}

.check-result-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: #fff4d1;
  color: #965d25;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.check-result-message {
  padding: 12px;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
}

.check-result-message p {
  margin: 0 0 8px;
}

.check-result-message p:last-child {
  margin-bottom: 0;
}

.check-result-message ul {
  margin: 0 0 8px;
  padding-left: 1.25rem;
}

.btn-topup-more {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 14px 24px;
  border-radius: 9999px;
  background-color: #F04E63;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: opacity 0.2s;
}

.btn-topup-more:hover {
  opacity: 0.9;
  color: #fff;
}

@keyframes rotate180 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

.rotate-180 {
  animation: rotate180 0.3s forwards;
}

@keyframes rotate180Reverse {
  from {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.rotate-180-reverse {
  animation: rotate180Reverse 0.3s forwards;
}

#sidebarLogin {
  position: fixed;
  top: 0;
  right: -286px; /* Ban đầu sidebar sẽ bị ẩn ngoài màn hình */
  width: 286px;
  height: 100%;
  background: white;
  transition: right 0.3s ease; /* Thời gian và kiểu animation */
}

#sidebarLogin.open {
  right: 0; /* Khi có class 'open', sidebar sẽ di chuyển vào màn hình */
}

.button-loading {
  visibility: hidden;
  opacity: 0;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
  border-right-color: rgba(255, 255, 255, 0.404);
  border-left-color: rgba(255, 255, 255, 0.404);
  border-bottom-color: rgba(255, 255, 255, 0.404);
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

.swiper {
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
}

.bannerWrapper {
  padding-top: 37.78%;
}

@media (min-width: 768px) {
  .bannerWrapper {
    padding-top: 19.11%;
  }
}

#bannerImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
