/* Mode Switch Button - Yellow Border */
#modeSwitchBtn {
  border: 2px solid #FFD400 !important;
  background: transparent !important;
  color: #FFD400 !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#modeSwitchBtn:hover {
  background: #FFD400 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.3);
}

#modeSwitchBtn i {
  margin-right: 6px;
}

.copy-btn
{
    max-width: 200px;
    padding: 8px;
}

/* Modern Prompt Card with Background Image */

/* Remove Preloader */
.preloader {
  display: none !important;
}

/* Remove Custom Mouse Cursor */
.mouse-cursor {
  display: none !important;
}

/* Image Uploader Styles */
.image-upload-wrapper {
  border: 1px solid hsl(var(--border-color)) !important;
  position: relative;
  background-size: cover!important;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  aspect-ratio: 4 / 5;
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--body-bg);
  /* Changed to match form fields */
  transition: all 0.3s ease;
}

.image-upload-wrapper:hover {
  border-color: #FFD400;
}

.image-upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  display: none;
}

.image-upload-preview.has-image {
  display: block;
}

.image-upload-input-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.image-upload-input-wrapper label {
  font-size: 4rem;
  color: var(--text-color);
  cursor: pointer;
  background: transparent !important;
  transition: color 0.3s ease;
}

.image-upload-wrapper:hover label {
  color: #FFD400;
}


.select2-container {
   
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
  border-color: hsl(var(--border-color-two)) !important;
  border-width: 1px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 100% !important;
  background-color: hsl(var(--card-bg-two))  !important;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid hsl(var(--base-two) / 0.1);
  display: flex;
  align-items: center;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background: hsl(var(--card-bg-two));
  border-radius: 8px;
  color: hsl(var(--white));
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: 1px solid hsl(var(--base-two) / 0.1) !important;
  padding: 10px 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: hsl(var(--white));
  line-height: 28px;
}

.select2-container--open .select2-selection.select2-selection--single, .select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: .375rem !important;
}

.select2-results__option.select2-results__option--selected, .select2-results__option--selectable, .select2-container--default .select2-results__option--disabled {
  border-bottom: 1px solid hsl(var(--border-color-two)) ;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2 .selection {
  width: 100%;
  display: block;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}


.select2-container .select2-selection--single, .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
    height: 48px !important;
    border-radius: 8px;
}

.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05), 6px 4px 19px rgb(115 103 240 / 20%);
  background-color: hsl(var(--card-bg-two)) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #FFD400!important;
  color: #000000!important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: var(--base)!important;
  color: #ffffff!important;
}

.select2-search--dropdown .select2-search__field {
  background-color: var(--body-bg)!important;
  border: 1px solid var(--border-color)!important;
  color: var(--text-color)!important;
  border-radius: 4px!important;
}

/* Custom Card Style */
.custom--card {
  background-color: #1E293B;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom--card .form--control {
  background-color: var(--body-bg);
}

.custom--card .form--label {
  font-weight: 600;
  margin-bottom: 8px;
  width: 100%;
}

/* Empty List Image Size Fix */
.card-empty .empty-thumb img {
  margin-bottom: 10px!important;
  text-align: center;
}

.card-empty {
  margin: 0 auto;
  text-align: center;
  /* padding: clamp(2rem, 1.391rem + 1.268vw, 2.5rem) clamp(1.5rem, 0.283rem + 2.536vw, 2.5rem); */
}

.card-empty img {
  height: 70px;
}

/* Modern Prompt Card with Background Image */
.prompt-card-modern {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 380px;
  /* Fixed height for consistency */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.prompt-card-thumb {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.prompt-card-thumb img {
 width: auto;
    height: auto;
    object-fit: fill;
    position: absolute;
    justify-content: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    aspect-ratio: 4 / 5;
    transition: transform 0.5s ease;
}

.prompt-card-modern:hover .prompt-card-thumb img {
  transform: scale(1.05);
}

.prompt-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  opacity: 0;              /* HIDDEN */
    visibility: hidden;      /* Not clickable */
    transition: opacity 0.3s ease-in-out;
}
/* Show overlay on hover */
.prompt-card-modern:hover .prompt-card-overlay {
    opacity: 1;
    visibility: visible;
}

.prompt-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.prompt-card-modern:hover .prompt-card-badge {
  opacity: 1;
  transform: translateY(0);
}

.prompt-card-wishlist {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prompt-card-wishlist:hover,
.prompt-card-wishlist.active {
  background: #ff4d4d;
  color: #fff;
}

.prompt-card-content {
  position: relative;
  z-index: 3;
  transform: translateY(30px);
  /* Push down slightly by default */
  transition: transform 0.3s ease;
}

.prompt-card-modern:hover .prompt-card-content {
  transform: translateY(0);
}

.prompt-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: hsl(var(--white));
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--card-bg));;
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid hsl(var(--border-color-two));
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border: none;
  border-left: 3px solid transparent;
  border-top: 1px solid hsl(var(--border-color-two));
}

.payment-item:first-child {
  border-top-color: hsl(var(--border-color-two));
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
      width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 8px;

  .deposit-info__input-group-text {
      align-self: center;
      padding: 0px 7px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: hsl(var(--card-bg-two));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
  color: #fff;
}

.select2-results__option.select2-results__option--selected, .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    
    background-color: #1E293B !important;
    color: #fff !important;
}

.prompt-card-modern:hover .prompt-card-title {
  max-height: 60px;
  /* Enough for 2 lines */
  opacity: 1;
  margin-bottom: 5px;
}

.prompt-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.prompt-card-title a:hover {
  color: var(--base);
}

.prompt-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.prompt-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  max-width: 0;
  /* Collapse width to keep price aligned */
  overflow: hidden;
  white-space: nowrap;
}

.prompt-card-modern:hover .prompt-card-author {
  opacity: 1;
  transform: translateX(0);
  max-width: 200px;
  /* Reveal width */
}

.prompt-card-author img {
  width: 16px;
  height: 16px;
}

.prompt-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--base);
  margin-left: auto;
  /* Push to right if author is hidden */
}

.prompt-card-actions {
  margin-top: 15px;
}

.dropdown-lang .dropdown-menu a:hover {
  color: hsl(var(--base));
}