/* Copy Animation */

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: hsl(var(--base));
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.input-group-text.copytext.copyBoard {
  cursor: pointer;
}


.cookies-card {
  width: 520px;
  padding: 30px;
  color: #dddddd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  border-radius: 5px;
  border: 2px solid hsl(var(--base)/ 0.5);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  background-color: hsl(var(--black));
  box-shadow: 0 0 15px hsl(var(--base)/ 0.5);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 70%;
  left: 50%;
  width: 260px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}


/* ////////////////// select 2 css //////////////// */
.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%)
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  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-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-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: rgb(var(--main)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.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;
}


.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: hsl(var(--white)/.1);
  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: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid hsl(var(--white)/.2);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid hsl(var(--white));
  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(--white));
}

.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(--white));
  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: 8px;
}

.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: 5px;

  .deposit-info__input-group-text {
      align-self: center;
      padding-left: 5px;
  }

}

.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: var(--base-gradient);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

.modal-content {
  background-color: #242431;
  border: 1px solid rgba(0, 0, 0, .2);
}

.modal-content .close {
  background: transparent;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid #373742;
}

.modal-footer {
  border-top: 1px solid #373742;
}


.table-search {
  width: 33%;
  margin-left: auto;
}

@media (max-width:991px) {
  .table-search {
    width: 50%;
  }
}

@media (max-width:575px) {
  .table-search {
    width: 100%;
  }
}

.verification-code-wrapper {
  border: 1px solid #141443 !important;
  background-color: #141443 !important;
}

.verification-code::after {
  background-color: #141443 !important;
}

.verification-code input:focus {
  background-color: inherit !important;
}

.border-bottom {
  border-color: rgba(255, 255, 255, 0.24) !important;
}

label.required:after {
  content: '*';
  color: #DC3545 !important;
  margin-left: 2px;
}


/* =========================== Custom Checkbox Design Start =========================== */
.form--check .form-check-input {
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  box-shadow: none !important;
  border: 0;
  position: relative;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  border: 1px solid hsl(var(--base));
  margin-right: 5px;
}

.form--check .form-check-input:checked {
  background-color: hsl(var(--base)) !important;
  border-color: hsl(var(--base)) !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form--check .form-check-input:checked[type=checkbox] {
  background-image: none;
}

.form--check .form-check-input:checked::before {
  position: absolute;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
  font-size: 10px;
  top: 50%;
  left: 50%;
  margin-bottom: 20px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* =========================== Custom Checkbox Design End =========================== */
.verification-code span {
  background: #0d0b32 !important;
  border: solid 1px #f1f1f11f;
  color: #ffffff !important;
}

.verification-code input {
  color: #ffff !important;
}

.disabled {
  opacity: 0.7;
}

.file-upload .remove-btn {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
}

.progress-bar.customWidth{
  background-color: hsl(var(--base));
}

/* ============================================================
   PRGR DASHBOARD — Modern Corporate Theme
   ============================================================ */

/* --- Base / Reset --- */
.prgr-layout,
.prgr-layout *,
.prgr-layout *::before,
.prgr-layout *::after {
  box-sizing: border-box;
  color: #6c757d;
}

/* --- Layout — override base color to blue for entire user area --- */
.prgr-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f0f4f8da;
  /* Override site's global purple to corporate blue (#2563eb) */
  --base-h: 220;
  --base-s: 83%;
  --base-l: 53%;
  --base: 220 83% 53%;
  --base-two-h: 220;
  --base-two-s: 52%;
  --base-two-l: 63%;
  --base-two: 220 52% 63%;
  --base-d-100: 220 83% 48%;
  --base-d-200: 220 83% 42%;
  --base-d-300: 220 83% 37%;
  --base-gradient: linear-gradient(90deg, hsl(220 52% 63%) 36.85%, hsl(220 83% 53%) 60.47%);
  --background-gradient: linear-gradient(180deg, hsl(220 83% 53%) 9.03%, hsl(220 52% 63%) 71.37%);
}

/* --- Hard override: force blue on all utility classes inside user area --- */
.prgr-layout .bg--base,
.prgr-layout .bg--base * { background-color: #2563eb !important; }
.prgr-layout .btn--base,
.prgr-layout .btn--base:hover { background-color: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
.prgr-layout .btn--base:hover { background-color: #1d4ed8 !important; border-color: #1d4ed8 !important; }
.prgr-layout .btn--sm.btn--base { background-color: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
.prgr-layout .btn--outline-base { color: #2563eb !important; border-color: #2563eb !important; }
.prgr-layout .btn--outline-base:hover { background-color: #2563eb !important; color: #fff !important; }
.prgr-layout .text--base { color: #2563eb !important; }
.prgr-layout .border--base { border-color: #2563eb !important; }
.prgr-layout .badge--primary { background-color: #2563eb !important; color: #fff !important; }
/* Table headers — override gradient-based purple with blue */
.prgr-layout .table thead tr { background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%) !important; }
.prgr-layout .table thead tr th { color: #ffffff !important; }
.prgr-layout .table-dark,
.prgr-layout .table-head--dark { background: #1e3a5f !important; }
/* Progress item text — pure black */
.prgr-progress-item__header span { color: #111827 !important; font-weight: 600; }
.prgr-progress-item__header span:last-child { font-weight: 700; color: #000 !important; }

.prgr-content-area {
  flex: 1;
  padding: 28px 32px 48px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.prgr-topnav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.prgr-topnav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 32px;
  height: 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Brand */
.prgr-topnav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 32px;
  flex-shrink: 0;
}

.prgr-topnav__logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}

.prgr-topnav__logo-text {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: #0f172a;
}

/* Nav menu */
.prgr-topnav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.prgr-topnav__item {
  position: relative;
}

.prgr-topnav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.prgr-topnav__link:hover {
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
}

.prgr-topnav__item.active .prgr-topnav__link {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  font-weight: 600;
}

/* Right side */
.prgr-topnav__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Bell */
.prgr-topnav__bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  font-size: 15px;
  transition: background .15s;
}

.prgr-topnav__bell:hover {
  background: #e2e8f0;
}

.prgr-topnav__bell-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #fff;
}

/* User dropdown */
.prgr-topnav__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 9px;
  transition: background .15s;
  user-select: none;
}

.prgr-topnav__user:hover,
.prgr-topnav__user.open {
  background: #f1f5f9;
}

.prgr-topnav__user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.prgr-topnav__user-name {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.prgr-topnav__user-email {
  font-size: 11px;
  color: #94a3b8;
}

.prgr-topnav__avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

/* Dropdown panel */
.prgr-topnav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  min-width: 200px;
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 2000;
}

.prgr-topnav__user.open .prgr-topnav__dropdown {
  display: block;
}

.prgr-topnav__dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background .12s;
}

.prgr-topnav__dropdown li a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.prgr-topnav__dropdown li a.text-danger {
  color: #ef4444 !important;
}

.prgr-topnav__dropdown li a.text-danger:hover {
  background: #fef2f2;
}

.prgr-topnav__dropdown-divider {
  border-top: 1px solid #e2e8f0;
  margin: 6px 0;
}

/* Mobile hamburger */
.prgr-topnav__hamburger {
  background: none;
  border: none;
  padding: 8px;
  font-size: 18px;
  color: #475569;
  cursor: pointer;
  border-radius: 7px;
  transition: background .15s;
}

.prgr-topnav__hamburger:hover {
  background: #f1f5f9;
}

/* Mobile menu */
.prgr-topnav__mobile {
  display: none;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 20px 16px;
}

.prgr-topnav__mobile.open {
  display: block;
}

.prgr-topnav__mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prgr-topnav__mobile ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: background .12s;
}

.prgr-topnav__mobile ul li a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.prgr-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.prgr-page-header__title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.prgr-page-header__subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.prgr-page-header__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.prgr-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .15s, box-shadow .15s;
  white-space: nowrap;
}

.prgr-btn:hover {
  opacity: .88;
  text-decoration: none;
}

.prgr-btn--primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}

.prgr-btn--outline {
  background: #fff;
  color: #475569;
  border: 1.5px solid #cbd5e1;
}

.prgr-btn--outline:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.prgr-btn--sm {
  padding: 6px 13px;
  font-size: 12.5px;
}

/* ============================================================
   ALERTS
   ============================================================ */
.prgr-alerts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.prgr-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  border: 1.5px solid transparent;
}

.prgr-alert--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.prgr-alert--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.prgr-alert--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.prgr-alert__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.prgr-alert__body {
  flex: 1;
}

.prgr-alert__link {
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}

.prgr-alert__action {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  color: inherit;
  transition: background .12s;
}

.prgr-alert__action:hover {
  text-decoration: none;
  background: rgba(0,0,0,.06);
  color: inherit;
}

/* ============================================================
   STATS GRID
   ============================================================ */
.prgr-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 1200px) {
  .prgr-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .prgr-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .prgr-stats-grid { grid-template-columns: 1fr; }
}

.prgr-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s, transform .15s;
}

.prgr-stat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.prgr-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

/* icon colour variants */
.prgr-stat-card__icon--blue   { background: #eff6ff; color: #2563eb; }
.prgr-stat-card__icon--green  { background: #f0fdf4; color: #16a34a; }
.prgr-stat-card__icon--purple { background: #f5f3ff; color: #7c3aed; }
.prgr-stat-card__icon--orange,
.prgr-stat-card__icon--amber  { background: #fff7ed; color: #d97706; }
.prgr-stat-card__icon--red,
.prgr-stat-card__icon--rose   { background: #fef2f2; color: #dc2626; }
.prgr-stat-card__icon--teal   { background: #f0fdfa; color: #0d9488; }

.prgr-stat-card__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.prgr-stat-card__amount {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.prgr-stat-card__trend {
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.prgr-stat-card__trend--up   { color: #16a34a; }
.prgr-stat-card__trend--down { color: #dc2626; }
.prgr-stat-card__trend--neutral { color: #94a3b8; }

/* ============================================================
   CARDS
   ============================================================ */
.prgr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.prgr-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.prgr-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.prgr-card__body {
  padding: 20px;
}

.prgr-card__body--flush {
  padding: 0 20px;
}

.prgr-card__header-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity .15s;
}

.prgr-card__header-link:hover {
  opacity: .75;
  text-decoration: none;
  color: #2563eb;
}

/* ============================================================
   TWO COLUMN LAYOUT
   ============================================================ */
.prgr-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .prgr-two-col { grid-template-columns: 1fr; }
}

/* ============================================================
   INVESTMENT PROGRESS ITEMS
   ============================================================ */
.prgr-progress-item {
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.prgr-progress-item:last-child {
  border-bottom: none;
}

.prgr-progress-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.prgr-progress-item__label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.prgr-progress-item__value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.prgr-progress-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}

.prgr-progress-bar__fill {
  height: 100%;
  border-radius: 99px;
  background: #2563eb;
  transition: width .4s ease;
}

.prgr-progress-bar__fill--blue   { background: #2563eb; }
.prgr-progress-bar__fill--green  { background: #16a34a; }
.prgr-progress-bar__fill--purple { background: #7c3aed; }
.prgr-progress-bar__fill--orange,
.prgr-progress-bar__fill--amber  { background: #d97706; }

/* ============================================================
   TRANSACTION ROWS
   ============================================================ */
.prgr-trx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.prgr-trx-row:last-child {
  border-bottom: none;
}

.prgr-trx-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* credit/debit aliases (+ in/out aliases used in blade) */
.prgr-trx-row__icon--credit,
.prgr-trx-row__icon--in     { background: #f0fdf4; color: #16a34a; }
.prgr-trx-row__icon--debit,
.prgr-trx-row__icon--out    { background: #fef2f2; color: #dc2626; }
.prgr-trx-row__icon--neutral { background: #f8fafc; color: #64748b; }

/* body / info alias */
.prgr-trx-row__body,
.prgr-trx-row__info {
  flex: 1;
  min-width: 0;
}

/* type / detail alias */
.prgr-trx-row__type,
.prgr-trx-row__detail {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prgr-trx-row__date {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.prgr-trx-row__amount {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.prgr-trx-row__amount--credit,
.prgr-trx-row__amount--in  { color: #16a34a; }
.prgr-trx-row__amount--debit,
.prgr-trx-row__amount--out { color: #dc2626; }

/* ============================================================
   BADGES
   ============================================================ */
.prgr-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

.prgr-badge--success { background: #dcfce7; color: #166534; }
.prgr-badge--warning { background: #fef9c3; color: #854d0e; }
.prgr-badge--danger  { background: #fee2e2; color: #991b1b; }
.prgr-badge--info,
.prgr-badge--blue    { background: #dbeafe; color: #1e40af; }

/* ============================================================
   PROJECT CARDS (featured row)
   ============================================================ */
.prgr-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .prgr-projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .prgr-projects-grid { grid-template-columns: 1fr; }
}

.prgr-project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s, transform .15s;
  text-decoration: none;
  color: inherit;
}

.prgr-project-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.prgr-project-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.prgr-project-card__meta {
  font-size: 12px;
  color: #64748b;
}

.prgr-project-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.prgr-project-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.prgr-project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.prgr-empty {
  text-align: center;
  padding: 32px 20px;
  color: #94a3b8;
}

.prgr-empty i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.prgr-empty p {
  font-size: 13.5px;
  margin: 0;
}

/* ============================================================
   SECTION HEADER (used above projects grid)
   ============================================================ */
.prgr-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.prgr-section-header__title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* ============================================================
   RESPONSIVE — comprehensive mobile adaptation
   ============================================================ */

/* ── 992px: tablet landscape / desktop nav switches to hamburger ── */
@media (max-width: 991px) {
  /* Topnav */
  .prgr-topnav__inner { padding: 0 16px; }
  .prgr-topnav__user-info { display: none; }

  /* Content */
  .prgr-content-area { padding: 24px 20px 40px; }

  /* Stats: collapse from 6 → 3 */
  .prgr-stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Cards inside Bootstrap grid */
  .prgr-layout .card-body { overflow-x: auto; }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
  /* Content area */
  .prgr-content-area { padding: 18px 14px 36px; }

  /* Page header */
  .prgr-page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .prgr-page-header__actions { width: 100%; }
  .prgr-page-header__actions .btn { width: 100%; justify-content: center; }

  /* Stats */
  .prgr-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prgr-stat-card { padding: 14px 12px; }

  /* Two-col dashboard grid */
  .prgr-two-col { grid-template-columns: 1fr; gap: 16px; }

  /* Projects grid */
  .prgr-projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Cards — smaller padding */
  .prgr-card { border-radius: 10px; }
  .prgr-card__header { padding: 14px 16px; }
  .prgr-card__body { padding: 14px 16px; }

  /* Bootstrap card body — allow inner table scroll */
  .prgr-layout .card > .card-body { overflow-x: auto; }
  .prgr-layout .card-body > table { display: block; width: 100%; overflow-x: auto; }

  /* Deposit / Withdraw layout reorder: methods above, amount below */
  .prgr-deposit-layout { grid-template-columns: 1fr !important; }
  .prgr-deposit-methods { order: -1; }

  /* Mobile menu: active link highlight */
  .prgr-topnav__mobile ul li a.active { background: #eff6ff; color: #2563eb; font-weight: 600; }

  /* Alerts */
  .prgr-alert { flex-direction: column; gap: 10px; align-items: flex-start; }
  .prgr-alert__action { align-self: flex-end; }

  /* Section header */
  .prgr-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── table--responsive--lg mobile: fix row bg on light user area ── */
@media screen and (max-width: 991px) {
  .prgr-layout .table--responsive--lg tbody tr { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; }
  .prgr-layout .table--responsive--lg tbody tr:nth-child(odd) { background-color: #f8fafc; }
  .prgr-layout .table--responsive--lg tbody tr:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
  .prgr-layout .table--responsive--lg tbody tr td { border-bottom: 1px solid #f1f5f9; color: #374151; font-size: 13px; }
  .prgr-layout .table--responsive--lg tbody tr td:last-child { border-bottom: none; }
}

/* ── 576px: large phone ── */
@media (max-width: 576px) {
  .prgr-content-area { padding: 14px 12px 32px; }

  /* Stats: keep 2 cols */
  .prgr-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prgr-stat-card__label { font-size: 10px; }
  .prgr-stat-card__value { font-size: 18px; }

  /* Projects: 2 → 1 */
  .prgr-projects-grid { grid-template-columns: 1fr; }

  /* Topnav brand text truncate */
  .prgr-topnav__logo-text { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Progress item header: let amount wrap if label is long */
  .prgr-progress-item__header { flex-wrap: wrap; gap: 2px; }
  .prgr-progress-item__header span:last-child { margin-left: auto; }

  /* Trx row: compact */
  .prgr-trx-row { gap: 8px; padding: 10px 0; }
  .prgr-trx-row__amount { font-size: 13px; }
  .prgr-trx-row__detail { font-size: 12px; }
  .prgr-trx-row__date { font-size: 11px; }

  /* Cards */
  .prgr-card__header { padding: 12px 14px; }
  .prgr-card__body { padding: 12px 14px; }

  /* Wallet option compact */
  .prgr-wallet-option { padding: 10px 12px; gap: 10px; }
  .prgr-wallet-option__icon { width: 32px; height: 32px; font-size: 14px; flex-shrink: 0; }
}

/* ── 480px: small phone ── */
@media (max-width: 480px) {
  .prgr-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prgr-stat-card { padding: 12px 10px; }
  .prgr-stat-card__value { font-size: 17px; }
}

/* ── Table body text ── */
tbody tr td { color: #6c757d !important; }