.box-upgrade {
  overflow: hidden;
  user-select: none;
}
.box-upgrade .box-slide {
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  border: 1px solid #dfe4ea;
}
.box-upgrade .box-slide .slide-content {
  display: inline-block;
  position: relative;
  padding: 20px;
  width: 100%;
}
.box-slide > h1 {
  font-size: 32px;
  margin-bottom: 0;
  margin-top: 16px;
}
.slideshow-container {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.sale-price {
  border-bottom: 1px solid;
}
.cost {
  text-decoration-line: line-through;
}
.text-extra {
  text-align: center;
  color: #0864b4;
  font-size: 20px;
}
@media only screen and (max-width: 767.98px) {
  .box-upgrade .box-slide .slide-content {
    padding: 5px;
  }
  .box-upgrade .box-slide .slide-content .slide-item {
    flex-direction: column-reverse;
  }
  .box-upgrade .box-slide .slide-content .slide-item .slide-detail {
    width: 100%;
    text-align: center;
  }
  .box-upgrade
    .box-slide
    .slide-content
    .slide-item
    .slide-detail
    .slide-title {
    margin-top: 5px;
    font-size: 18px;
    margin-bottom: 4px;
  }
  .box-upgrade .box-slide .slide-content .slide-item .slide-detail p {
    font-size: 12px;
  }
  .box-upgrade .box-package {
    margin: 20px auto 0;
  }
  .box-upgrade .box-package > p {
    margin-bottom: 5px;
  }
  .box-upgrade .box-package .package {
    margin-bottom: 5px;
    justify-content: space-between;
  }
  .box-upgrade .box-package .package .package-detail .package-title {
    font-size: 18px;
    text-align: left;
  }
  .box-upgrade .box-package .premium .premium-package {
    justify-content: space-between;
  }
  .box-upgrade .box-package .premium .premium-package .package-best {
    top: 7px;
    right: -32px;
  }
  .box-upgrade .box-feature {
    margin: 20px 0;
  }
}
.box-upgrade .box-slide .slide-content .slide-item .slide-detail .slide-title {
  font-size: 1.7rem;
  margin-bottom: 14px;
  font-weight: 500;
  align-items: center;
}
.box-upgrade .box-slide .slide-content .slide-item .slide-detail p {
  white-space: normal;
  align-items: center;
}
.box-upgrade .box-slide .slide-content .slide-item img {
  height: 150px;
  width: 100%;
}
.box-upgrade .box-slide .box-dot {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
}
.box-upgrade .box-slide .box-dot .dot {
  cursor: pointer;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50px;
  background-color: #ccc;
}
.box-upgrade .box-slide .box-dot .active {
  background-color: #0f0301;
}
.box-upgrade .box-package {
  margin: 40px auto 0;
}
.box-upgrade .box-package > p {
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
}
.package {
  border: 1px solid #000;
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin-bottom: 15px;
  cursor: pointer;
}
.box-upgrade .box-package .box-rim {
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  padding: 15px;
  align-items: center;
}
.box-upgrade .box-package .package .package-detail .package-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}
.box-upgrade .box-package .package .package-detail p {
  margin-bottom: 0;
}
.box-upgrade .box-package .package .package-price {
  text-align: center;
}
.box-upgrade .box-package .package .package-price .price-after {
  font-weight: 500;
  margin-bottom: 10px;
}
.box-upgrade .box-package .package .package-price .price-before {
  font-size: 14px;
}
.box-upgrade .box-package .premium {
  padding: 2px;
}
.box-upgrade .box-package .premium .premium-package {
  background-color: #291669;
  color: #fff;
  padding: 13px;
}
.package-best {
  position: absolute;
  top: 15px;
  right: -25px;
  height: 20px;
  width: 100px;
  background-color: #e74c3c;
  transform: rotate(40deg);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: #ffffff;
}
.box-upgrade .box-feature {
  margin: 40px 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #dfe4ea;
}
.box-upgrade .box-feature .title-feature {
  font-weight: bold;
  margin-bottom: 15px;
}
.box-upgrade .box-feature > * {
  margin-bottom: 10px;
}
.box-upgrade .box-intro {
  margin-top: 0;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #dfe4ea;
}
.box-upgrade .box-intro .intro-item {
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.box-upgrade .box-intro .intro-item .intro-icon {
  margin-right: 20px;
}
.box-upgrade .box-intro .intro-item .intro-icon img {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}
.box-upgrade .box-intro .intro-item .intro-content {
  color: #000;
}
.box-upgrade .box-intro .intro-item:hover {
  text-decoration: underline;
}
.box-upgrade .box-app {
  margin-top: 20px;
}
.box-upgrade .box-app > .app-container {
  padding: 0 15px;
}
.box-upgrade .box-app > .app-container .app-item {
  padding: 0 5px;
}
.box-upgrade .box-app a {
  min-height: 185px;
  border-radius: 10px;
  display: inline-block;
  background-color: #fff;
  border: 1px solid #dfe4ea;
  margin-bottom: 0.5rem;
  padding: 10px;
}
.box-upgrade .box-app a img {
  width: 100%;
}
.box-upgrade .box-app a p {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  color: #000;
  font-size: 14px;
}
.color-root {
  color: #291669;
}
.modal-purchase {
  max-width: 530px;
}
.modal-purchase .box-add .title-add {
  font-size: 18px;
  font-weight: 500;
}

.modal-content {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  font-weight: 600;
  color: #333;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.payment-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.payment-section-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.payment-row {
  margin-bottom: 8px;
}

.payment-value strong {
  font-weight: 600;
}

.badge-warning {
  font-size: 14px;
  padding: 6px 10px;
}

.qr-image {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.qr-image:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Nút đóng */
.btn-secondary {
  background-color: #6c757d;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

/* Màu sắc nổi bật */
#payment-amount {
  color: #dc3545 !important;
  font-size: 16px;
  font-weight: 700;
}

#transaction-code {
  background-color: #ffc107;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#account-number {
  background-color: #ffc107;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Phần hướng dẫn */
.payment-instructions {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  border-left: 4px solid #17a2b8;
}

.payment-instructions strong {
  color: #333;
}

.payment-instructions ul {
  margin-top: 10px;
  margin-bottom: 15px;
}

.payment-instructions ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 5px;
}

.payment-instructions .small {
  color: #6c757d;
  font-size: 13px;
}
