/* Copy Animation */
.dashboard-sidebar-menu__title {
  margin: 20px 0 8px;
  padding: 0 12px;
  color: hsl(var(--white) / 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================= Profile Settings =========================== */
.profile-setting-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  background-color: hsl(var(--white));
  box-shadow: 0 18px 45px hsl(var(--black) / 0.08);
}

.profile-setting-card .card-body {
  padding: 14px;
}

.profile-setting-form > .row {
  row-gap: 20px;
  margin-bottom: 20px !important;
}

.profile-setting-form > .row:first-child {
  padding-bottom: 24px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.profile-setting-form .form-group {
  margin-bottom: 0;
}

.profile-setting-form .form--label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.profile-setting-form .form--control {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 10px;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  outline: none;
  box-sizing: border-box;
}

.profile-setting-form .form--control:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.profile-setting-form .form--control:disabled,
.profile-setting-form .form--control[readonly] {
  color: hsl(var(--body-color));
  background-color: hsl(var(--black) / 0.03);
}

.profile-setting-form .image--uploader {
  width: 100%;
}

.profile-setting-form .image-upload-wrapper {
  position: relative;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background-color: hsl(var(--black) / 0.025);
}

.profile-setting-form .col-md-9 .image-upload-wrapper {
  min-height: 150px;
}

.profile-setting-form .image-upload-preview {
  width: 100%;
  min-height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.profile-setting-form .col-md-3 .image-upload-preview {
  background-size: cover;
}

.profile-setting-form .image-upload-input-wrapper {
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 2;
}

.profile-setting-form .image-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.profile-setting-form .image-upload-input-wrapper label {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 2px solid hsl(var(--white));
  border-radius: 50%;
  color: hsl(var(--white));
  background-color: hsl(var(--base)) !important;
  cursor: pointer;
  box-shadow: 0 5px 14px hsl(var(--black) / 0.18);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.profile-setting-form .image-upload-input-wrapper label:hover {
  background-color: hsl(var(--base-d-200)) !important;
  transform: translateY(-1px);
}

.profile-setting-form .image--uploader small {
  display: block;
  margin-top: 8px;
  color: hsl(var(--body-color));
  line-height: 1.5;
}

.profile-setting-form .image--uploader .text--info {
  color: hsl(var(--base)) !important;
}

.profile-setting-form > .row:last-child .col-12 {
  margin-top: 4px;
}
.profile-setting-form > .row:last-child .col-12 {
  margin-bottom: 0px !important;
}

.profile-setting-form .btn[type="submit"] {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
}

/* ========================= Change Password =========================== */
.password-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  background-color: hsl(var(--white));
  box-shadow: 0 18px 45px hsl(var(--black) / 0.08);
}

.password-card .card-body {
  padding: 28px;
}

.password-form .form-group {
  margin-bottom: 20px;
}

.password-form .form--label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.password-form .form--control {
  width: 100%;
  min-height: 50px;
  padding: 13px 44px 13px 16px;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 10px;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  outline: none;
  box-sizing: border-box;
}

.password-form .form--control:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.password-form .password-show-hide {
  right: 16px;
  color: hsl(var(--body-color) / 0.65);
}

.password-form .password-show-hide:hover {
  color: hsl(var(--base));
}

.password-form .form-group:last-child {
  margin-top: 24px;
}

.password-form .btn[type="submit"] {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
}

/* ========================= Two-Factor Security =========================== */
.twofactor-page > .row {
  align-items: flex-start;
}

.twofactor-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  background-color: hsl(var(--white));
  box-shadow: 0 18px 45px hsl(var(--black) / 0.08);
}

.twofactor-card__header {
  padding: 24px 28px 0;
}

.twofactor-card__header h5 {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.25rem;
  font-weight: 700;
}

.twofactor-card__body {
  padding: 24px 28px 28px;
}

.twofactor-setup-card h6 {
  margin-bottom: 24px !important;
  color: hsl(var(--heading-color));
  font-size: 1rem;
  line-height: 1.6;
}

.twofactor-qr {
  margin: 0 auto 24px;
  text-align: center;
}

.twofactor-qr img {
  width: 220px;
  height: 220px;
  display: inline-block;
  padding: 10px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background-color: hsl(var(--white));
}

.twofactor-page .form--label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.twofactor-page .form--control,
.twofactor-page .form-control {
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 10px;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  outline: none;
}

.twofactor-page .form--control:focus,
.twofactor-page .form-control:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.twofactor-setup-key .input--group {
  display: flex;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
}

.twofactor-setup-key .input--group .form-control {
  min-width: 0;
  border: 0 !important;
  border-radius: 0;
  color: hsl(var(--body-color)) !important;
  background-color: hsl(var(--base) / 0.06) !important;
  opacity: 1;
}

.twofactor-setup-key .copytext {
  width: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: hsl(var(--white));
  background-color: hsl(var(--base));
}

.twofactor-setup-key .copytext:hover {
  background-color: hsl(var(--base-d-200));
}

.twofactor-help {
  margin-top: 16px;
  color: hsl(var(--body-color));
  line-height: 1.65;
}

.twofactor-help label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.twofactor-help p {
  margin: 0;
}

.twofactor-otp-field {
  margin-bottom: 20px;
}

.twofactor-card .btn[type="submit"] {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
}

/* ========================= Support Tickets =========================== */
.support-table .data-table__header {
  min-height: 90px;
  padding: 20px 24px;
}

.support-table .data-table__header .btn {
  min-height: 40px;
  border-radius: 9px;
}

.support-table__table thead tr th {
  padding: 15px 20px;
}

.support-table__table tbody tr td {
  min-height: 72px;
  padding: 14px 20px;
  color: hsl(var(--heading-color));
  vertical-align: middle;
}

.support-table__table tbody tr td:first-child {
  color: hsl(var(--heading-color));
}

.support-table__table .ticket-subject-link {
  color: hsl(var(--heading-color));
  line-height: 1.5;
}

.support-table__table .ticket-subject-link:hover {
  color: hsl(var(--base));
}

.support-table__table .ticket-badge {
  display: inline-flex;
  align-items: center;
}

.support-table__table td:last-child .btn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9px;
}

@media (max-width: 767px) {
  .support-table .data-table__header {
    padding: 16px;
  }

  .support-table .data-table__header .btn {
    align-self: flex-start;
  }
}

/* Notifications page */
.categories__card__footer {
  align-items: center;
  gap: 8px;
}

.categories__card__price {
  min-width: 0;
}

.categories__card__price-value {
  white-space: nowrap;
  font-size: 18px;
}

.categories__card__action {
  flex: 0 0 auto;
  min-width: 106px;
  min-height: 42px;
  justify-content: space-between;
  gap: 5px;
  padding: 8px 10px;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 12px;
}

.categories__card__action-icon {
  flex: 0 0 auto;
}

@media (max-width: 575px) {
  .categories__card__footer {
    gap: 6px;
  }

  .categories__card__action {
    min-width: 100px;
    padding-inline: 8px;
  }
}

.notifications-page .notifications__footer {
  width: 100%;
  margin-top: 2px;
}

.notifications-page .pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-top: 0 !important;
  padding: 8px 0;
}

.notifications-page .pagination-wrapper > nav,
.notifications-page .pagination-wrapper > nav > .d-sm-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.notifications-page .pagination-wrapper .pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 0 auto;
}

.notifications-page .pagination-wrapper .pagination .page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}

.notifications-page .notifications {
  gap: 18px;
}

.notifications-page .notifications__header {
  min-height: 42px;
  justify-content: flex-end;
  gap: 10px;
}

.notifications-page .notifications__header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

.notifications-page .notifications__body {
  gap: 12px;
}

.notifications-page .notifications-list {
  width: 100%;
  margin: 0;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  background: hsl(var(--white));
  box-shadow: 0 3px 8px hsl(var(--black) / 0.05);
}

.notifications-page .notifications-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 12px;
}

.notifications-page .notifications-list-item__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.notifications-page .notifications-list-item__content {
  min-width: 0;
}

.notifications-page .notifications-list-item__top {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.notifications-page .notifications-list-item__title {
  margin: 0 0 4px;
  line-height: 1.3;
}

.notifications-page .notifications-list-item__desc {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.notifications-page .notifications-list-item__date {
  flex: 0 0 auto;
  margin-left: 4px;
  white-space: nowrap;
}

.notifications-page .notifications-list-item > .confirmationBtn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 8px;
}

.notifications-page .notifications-list-item > .confirmationBtn i {
  margin: 0 !important;
  font-size: 0.85rem;
}

.notifications-page .notifications-list-item.unread {
  border-left: 3px solid hsl(var(--base));
}

.notifications-page .notifications-list-item:hover {
  background: hsl(var(--base) / 0.035);
}

.dashboard-notification__list {
  max-height: 350px;
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: hsl(var(--base) / 0.65) transparent;
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.dashboard-notification__list::-webkit-scrollbar {
  width: 6px;
}

.dashboard-notification__list::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-notification__list::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: hsl(var(--base) / 0.65);
}

@media (max-width: 575px) {
  .notifications-page .pagination-wrapper,
  .notifications-page .pagination-wrapper > nav,
  .notifications-page .pagination-wrapper > nav > .d-sm-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  .notifications-page .pagination-wrapper .pagination {
    justify-content: flex-start;
    margin-left: 0;
  }

  .notifications-page .notifications-list-item {
    grid-template-columns: 34px minmax(0, 1fr) 36px;
    gap: 9px;
    min-height: 62px;
    padding: 9px;
  }

  .notifications-page .notifications-list-item__icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .notifications-page .notifications-list-item > .confirmationBtn {
    width: 36px;
    height: 34px;
  }

  .notifications-page .notifications-list-item__date {
    font-size: 0.68rem;
  }
}

/* Ticket detail reference layout */
.support-view-card--reply {
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(20, 33, 61, 0.06);
}

.support-view-card--reply .support-view-card__header {
  min-height: 86px;
  padding: 22px 26px !important;
}

.support-view-card--reply .support-view-card__body {
  padding: 24px 26px 28px !important;
}

.support-reply-form > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: 18px 24px;
  margin: 0;
}

.support-reply-form > .row > .col-md-12 {
  grid-column: 1 / -1;
  padding: 0;
}

.support-reply-form > .row > .support-reply-form__attachments,
.support-reply-form > .row > .support-reply-form__submit {
  width: auto;
  padding: 0;
}

.support-reply-form textarea.form--control {
  min-height: 130px;
  width: 100% !important;
  border-radius: 8px;
}

.support-reply-form__attachments {
  grid-column: 1;
}

.support-reply-form__submit {
  grid-column: 2;
  align-self: center;
}

.support-reply-form__attachments .addAttachment {
  color: hsl(var(--white));
  background: hsl(var(--dark));
  border-color: hsl(var(--dark));
  font-weight: 600;
}

.support-reply-form__attachments .addAttachment:hover,
.support-reply-form__attachments .addAttachment:focus {
  color: hsl(var(--white));
  background: hsl(var(--dark-d-200));
  border-color: hsl(var(--dark-d-200));
}

.support-reply-form__submit .btn {
  min-height: 48px;
}

.support-replies-title {
  margin: 26px 0 10px;
  color: hsl(var(--heading-color));
  font-size: 0.95rem;
}

.support-view-card--messages {
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

.support-view-card--messages .support-view-card__body {
  padding: 0 !important;
}

.support-message,
.support-message.support-message--staff {
  display: block;
  margin: 0 0 16px;
  padding: 18px 20px !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 12px !important;
  background: hsl(var(--white)) !important;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.05);
}

.support-message:last-child {
  margin-bottom: 0;
}

.support-message__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.support-message__author,
.support-message__author h5 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: hsl(var(--heading-color));
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left !important;
}

.support-message__top .lead {
  margin: 4px 0 0 !important;
  font-size: 0.78rem;
}

.support-message__meta {
  margin: 0 !important;
  color: hsl(var(--body-color));
  font-size: 0.78rem;
  font-weight: 400 !important;
  white-space: nowrap;
}

.support-message__text {
  margin: 0;
  color: hsl(var(--body-color));
  font-size: 0.88rem;
}

@media (max-width: 767px) {
  .support-reply-form > .row {
    display: flex;
    gap: 0;
  }

  .support-reply-form > .row > .support-reply-form__attachments,
  .support-reply-form > .row > .support-reply-form__submit {
    width: 100%;
    margin-top: 12px;
  }

  .support-reply-form__attachments,
  .support-reply-form__submit {
    grid-column: auto;
  }

  .support-message__top {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .support-message__meta {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .twofactor-card__header,
  .twofactor-card__body {
    padding-right: 0px;
    padding-left: 0px;
  }

  .twofactor-qr img {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 767px) {
  .password-card .card-body {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .profile-setting-card .card-body {
    padding: 16px;
  }

  .profile-setting-form > .row:first-child {
    padding-bottom: 20px;
  }
}

/* ========================= Rent Policy Table =========================== */
.rent-policy-page .data-table__header {
  min-height: 90px;
  padding: 20px 24px;
}

.rent-policy-page .data-table__title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.125rem;
  font-weight: 600;
}

.rent-policy-page .data-table__header .btn {
  min-height: 40px;
  border-radius: 9px;
}

.rent-policy-table__table thead tr th {
  padding: 15px 20px;
}

.rent-policy-table__table tbody tr td {
  min-height: 72px;
  padding: 14px 20px;
  color: hsl(var(--heading-color));
  vertical-align: middle;
}

.rent-policy-table__table tbody tr td:first-child {
  width: 80px;
  color: hsl(var(--body-color));
  font-weight: 500;
}

.rent-policy-table__table tbody tr td:last-child {
  width: 140px;
}

.rent-policy-page .policy-text {
  max-width: 900px;
  white-space: pre-line;
  color: hsl(var(--body-color));
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.rent-policy-table__table .policyBtn,
.rent-policy-table__table .confirmationBtn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9px;
}

@media (max-width: 767px) {
  .rent-policy-page {
    padding-inline: 12px;
  }

  .rent-policy-page .data-table__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: unset;
    padding: 18px 16px;
  }

  .rent-policy-page .data-table__header .btn {
    width: 100%;
    justify-content: center;
  }

  .rent-policy-table__table,
  .rent-policy-table__table thead,
  .rent-policy-table__table tbody,
  .rent-policy-table__table tr,
  .rent-policy-table__table th,
  .rent-policy-table__table td {
    display: block;
    width: 100%;
  }

  .rent-policy-table__table thead {
    display: none;
  }

  .rent-policy-table__table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rent-policy-table__table tbody tr {
    padding: 16px;
    border: 1px solid hsl(var(--border-color));
    border-radius: 14px;
    background: hsl(var(--white));
    box-shadow: 0 8px 20px hsl(var(--black) / 0.04);
  }

  .rent-policy-table__table tbody tr td {
    min-height: unset;
    padding: 10px 0;
    border: 0;
    vertical-align: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .rent-policy-table__table tbody tr td:first-child,
  .rent-policy-table__table tbody tr td:last-child {
    width: 100%;
  }

  .rent-policy-table__table tbody tr td::before {
    content: attr(data-label);
    color: hsl(var(--body-color));
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .rent-policy-table__table tbody tr td .d-flex {
    width: 100%;
    justify-content: flex-end;
  }

  .rent-policy-table__table tbody tr td:nth-child(2) {
    align-items: flex-start;
    flex-direction: column;
  }

  .rent-policy-table__table tbody tr td:nth-child(2) .policy-text {
    width: 100%;
    max-width: 100%;
  }

  .rent-policy-page .policy-text {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .rent-policy-page .data-table__body {
    padding: 0;
  }

  .rent-policy-table__table tbody tr {
    padding: 14px 12px;
  }

  .rent-policy-table__table tbody tr td {
    gap: 12px;
  }

  .rent-policy-table__table tbody tr td::before {
    letter-spacing: 0.08em;
  }
}

.rent-policy-modal .modal-content {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px !important;
  box-shadow: 0 18px 50px hsl(var(--black) / 0.18);
}

.rent-policy-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.rent-policy-modal .modal-title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.125rem;
  font-weight: 700;
}

.rent-policy-modal .modal-body {
  padding: 24px;
}

.rent-policy-modal .form-group {
  margin-bottom: 0;
}

.rent-policy-modal .form--label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.rent-policy-modal .form--control {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  outline: none;
}

.rent-policy-modal .form--control:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.rent-policy-modal .modal-footer {
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid hsl(var(--border-color));
}

.base-color {
  color: hsl(var(--main)) !important;
}

.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 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 6px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  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;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1e2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #fff;
  border-radius: 15px;
  box-shadow: inset 0 0 13px rgba(0, 0, 0, 0.15);
}

.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: #000;
  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: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  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;
  }
}

.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: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  border-radius: 10px;
  height: 100%;
  border: 1px solid var(--border-color);
  background-color: #fff;
}

.deposit-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px !important;
  border-radius: 8px;
  background: #fff;
}

.deposit-form .deposit-info__input-group:has(.amount[readonly]),
.deposit-form .deposit-info__input-group:has(.amount:disabled) {
  min-height: 48px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 10px;
  background: hsl(var(--white)) !important;
}

.deposit-form .deposit-info__input-group:has(.amount[readonly]):focus-within,
.deposit-form .deposit-info__input-group:has(.amount:disabled):focus-within {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.deposit-form .deposit-info__input-group .amount[readonly],
.deposit-form .deposit-info__input-group .amount:disabled {
  min-height: 46px;
  border: 0 !important;
  color: hsl(var(--heading-color)) !important;
  background: hsl(var(--white)) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: hsl(var(--heading-color)) !important;
}

.deposit-form .deposit-info__input-group .input-group-text {
  min-width: 48px;
  justify-content: center;
  border: 0 !important;
  border-radius: 0;
  color: hsl(var(--white));
  background: hsl(var(--base));
}

.deposit-summary-list hr {
  margin: 8px 0 6px;
  border-color: #e7ebf0;
  opacity: 1;
}

.deposit-summary-footer {
  margin-top: auto;
}

.deposit-summary-list .deposit-info {
  gap: 16px;
  flex-wrap: nowrap;
  padding: 9px 0;
  border-bottom: 1px solid #eef1f5;
}

.deposit-summary-list .deposit-info:first-child {
  align-items: center;
  padding: 0 0 18px;
  border-bottom: 0;
}

.deposit-summary-list .deposit-info:last-of-type {
  border-bottom: 0;
}

.deposit-summary-list .deposit-info__title,
.deposit-summary-list .deposit-info__input {
  max-width: none;
}

.deposit-summary-list .deposit-info__title {
  flex: 0 0 auto;
}

.deposit-summary-list .deposit-info__input {
  flex: 1 1 auto;
  min-width: 0;
}

.deposit-summary-list .deposit-info__title .text,
.deposit-summary-list .deposit-info__input .text {
  margin-bottom: 0;
  color: #4b5563;
  line-height: 1.35;
}

.deposit-summary-list .deposit-info__input .text {
  color: #27364a;
  font-weight: 500;
}

.deposit-summary-list .total-amount {
  border-top: 0;
}

.deposit-summary-list .total-amount .deposit-info__title .text,
.deposit-summary-list .total-amount .deposit-info__input .text {
  color: #1f2937;
  font-weight: 600;
}

.deposit-summary-list .deposit-info__input-group {
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.05);
}

.deposit-summary-list .deposit-info__input-group .input-group-text,
.deposit-summary-list .deposit-info__input-group .form--control {
  border: 0;
  background: transparent;
  color: #111827;
  font-weight: 600;
}

.deposit-summary-list .deposit-info__input-group .input-group-text {
  padding-inline: 16px 8px;
}

.deposit-summary-list .deposit-info__input-group .form--control {
  height: 46px;
  padding-inline: 8px 16px;
}

.deposit-summary-list .deposit-info__input-group:has(.amount[readonly]),
.deposit-summary-list .deposit-info__input-group:has(.amount:disabled) {
  border: 1px solid #d5dce5 !important;
  border-radius: 10px;
  background: #f3f6fa !important;
  box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.04);
}

.deposit-summary-list .deposit-info__input-group .amount[readonly],
.deposit-summary-list .deposit-info__input-group .amount:disabled {
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}

.deposit-summary-list .deposit-info__input-group .input-group-text {
  border: 0 !important;
  color: #111827 !important;
  background: transparent !important;
}

.deposit-summary-list .deposit-summary-footer {
  padding-top: 20px;
}

.deposit-summary-list .deposit-summary-footer .btn {
  min-height: 47px;
  border-radius: 8px;
  font-weight: 600;
}

.deposit-summary-list .info-text .text {
  margin-bottom: 0;
  color: #5f6b7a;
  line-height: 1.45;
}

.deposit-summary-list .crypto-message {
  margin-top: 12px;
}

@media (max-width: 575px) {
  .deposit-summary-list {
    padding: 18px !important;
  }

  .deposit-summary-list .deposit-info {
    gap: 8px;
  }
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-block: 4px;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--base)) transparent;
}

.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-confirm-page {
  width: 100%;
}

.payment-confirm-card {
  width: min(100%, 820px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  background: hsl(var(--white));
  box-shadow: 0 18px 45px rgba(20, 31, 56, 0.08);
}

.payment-confirm-card__header {
  min-height: 68px;
  padding: 20px 28px;
  border-bottom: 1px solid hsl(var(--border-color));
  background: linear-gradient(
    135deg,
    hsl(var(--base) / 0.08),
    hsl(var(--white)) 56%
  );
}

.payment-confirm-card__title {
  margin-bottom: 0;
  color: hsl(var(--heading-color));
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.payment-confirm-card__body {
  padding: 28px;
}

.payment-confirm-card__preview {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.payment-confirm-card__preview .jp-card-container {
  max-width: 100%;
  margin: 0;
}

.payment-confirm-card__preview .jp-card {
  box-shadow: 0 18px 35px rgba(20, 31, 56, 0.12);
}

.payment-confirm-form .row {
  row-gap: 18px !important;
}

.payment-confirm-form .form-label {
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.payment-confirm-form .form-control,
.payment-confirm-form .form--control {
  width: 100%;
  min-height: 52px;
  border: 1px solid hsl(var(--black) / 0.1);
  border-radius: 12px;
  color: hsl(var(--black));
  background-color: hsl(var(--white));
  box-shadow: none;
}

.payment-confirm-form .form-control[type="file"] {
  padding-inline: 10px;
}

.payment-confirm-form .form-control:focus,
.payment-confirm-form .form--control:focus {
  border-color: hsl(var(--base));
  box-shadow: none;
}

.payment-confirm-form .input--group .form-control,
.payment-confirm-form .input--group .form--control {
  border-radius: 12px 0 0 12px;
}

.payment-confirm-form .input-group-text {
  width: 52px;
  justify-content: center;
  border: 1px solid hsl(var(--base));
  border-radius: 0 8px 8px 0;
  color: hsl(var(--white));
  background-color: hsl(var(--base));
}

.payment-confirm-form__submit,
.payment-confirm-card .btn--base {
  min-height: 50px;
  margin-top: 22px;
  border-radius: 10px;
  font-weight: 700;
}

.payment-confirm-card .list-group {
  gap: 10px;
}

.payment-confirm-card .list-group-item {
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px !important;
  color: hsl(var(--body-color));
  background: hsl(var(--white));
  text-align: left;
}

.payment-confirm-card .list-group-item strong {
  color: hsl(var(--heading-color));
  font-weight: 700;
  text-align: right;
}

.payment-confirm-card .alert {
  border: 1px solid hsl(var(--base) / 0.2);
  border-radius: 12px;
  color: hsl(var(--heading-color));
  background: hsl(var(--base) / 0.08);
}

.payment-confirm-card .card-body-deposit img {
  max-width: min(260px, 100%);
  margin: 18px auto;
  border-radius: 12px;
}

@media (max-width: 575px) {
  .payment-confirm-page {
    padding-top: 18px;
  }

  .payment-confirm-card__header,
  .payment-confirm-card__body {
    padding: 18px;
  }

  .payment-confirm-card .list-group-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-confirm-card .list-group-item strong {
    text-align: left;
  }
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  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 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;
}

.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);

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }
}

.deposit-info__input-group .form--control {
  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: #fff;
  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;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

.empty-message {
  max-width: 420px;
  margin: 0 auto;
  padding: 42px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-message-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: hsl(var(--base));
  background: hsl(var(--base) / 0.08);
  font-size: 2.25rem;
  line-height: 1;
}

.empty-message-title {
  margin-bottom: 0;
  color: hsl(var(--heading-color));
  font-size: 1.125rem;
  font-weight: 700;
}

.empty-message-subtitle {
  margin-bottom: 0;
  color: hsl(var(--body-color) / 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.order-list-page .search-box {
  min-width: 280px;
}

.order-list-page .input--group .form--control {
  min-height: 40px;
}

.order-list-page .btn--icon {
  flex: 0 0 auto;
}

/* ========================= Deposit History Table =========================== */
.transactions-page {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.transactions-page > .row,
.transactions-page .col-md-12,
.transactions-page .transactions-table {
  min-width: 0;
  max-width: 100%;
}

body:has(.transactions-page) {
  overflow-x: hidden;
}

.transactions-page .data-table,
.transactions-page .data-table__body,
.transactions-page .table--responsive {
  min-width: 0;
  max-width: 100%;
}

.transactions-filter .data-table__body {
  padding: 24px;
}

.transactions-filter__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(
      2,
      minmax(180px, 1fr)
    ) minmax(160px, 0.9fr);
  align-items: end;
  gap: 18px;
}

.transactions-filter__field .form--label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 500;
}

.transactions-filter__field,
.transactions-filter__action {
  min-width: 0;
}

.transactions-filter__field .form--control,
.transactions-filter__field .form-control,
.transactions-filter__field .form-select,
.transactions-filter__field
  .select2-container--default
  .select2-selection--single {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  background-color: hsl(var(--white));
}

.transactions-filter__field .select2-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.transactions-filter__field .form--control,
.transactions-filter__field .form-control,
.transactions-filter__field .form-select {
  padding: 13px 16px;
  outline: none;
}

.transactions-filter__field .form--control:focus,
.transactions-filter__field .form-control:focus,
.transactions-filter__field .form-select:focus,
.transactions-filter__field
  .select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.transactions-filter__field
  .select2-container--default
  .select2-selection--single {
  padding: 14px 30px 14px 16px;
}

.transactions-filter__action .btn {
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
}

.transactions-table__table thead tr th {
  padding: 15px 20px;
}

.transactions-table__table tbody tr td {
  min-height: 72px;
  padding: 14px 20px;
  color: hsl(var(--heading-color));
  vertical-align: middle;
}

.transactions-page .data-table {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  box-shadow: 0 8px 24px hsl(var(--black) / 0.035);
}

.transactions-filter {
  background: linear-gradient(
    180deg,
    hsl(var(--white)),
    hsl(var(--section-bg))
  );
}

.transactions-filter .data-table__body {
  padding: 24px 26px;
}

.transactions-filter__field .form--label {
  font-size: 0.8125rem;
  letter-spacing: 0.1px;
}

.transactions-filter__action .btn {
  box-shadow: 0 6px 14px hsl(var(--base) / 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.transactions-filter__action .btn:hover {
  box-shadow: 0 9px 18px hsl(var(--base) / 0.24);
  transform: translateY(-1px);
}

.transactions-table__table {
  min-width: 900px;
}

.transactions-table__table thead tr th {
  height: 50px;
  color: hsl(var(--heading-color) / 0.62);
  background-color: hsl(var(--base) / 0.035);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.transactions-table__table thead tr th:nth-child(1) {
  width: 18%;
  text-align: left;
}

.transactions-table__table thead tr th:nth-child(2),
.transactions-table__table tbody tr td:nth-child(2) {
  text-align: center;
}

.transactions-table__table thead tr th:nth-child(3),
.transactions-table__table tbody tr td:nth-child(3),
.transactions-table__table thead tr th:nth-child(4),
.transactions-table__table tbody tr td:nth-child(4) {
  white-space: nowrap;
}

.transactions-table__table thead tr th:nth-child(5),
.transactions-table__table tbody tr td:nth-child(5) {
  min-width: 320px;
  text-align: right;
}

.transactions-table__table tbody tr:hover {
  background-color: hsl(var(--base) / 0.025);
}

.transactions-table__table tbody tr td:first-child strong {
  color: hsl(var(--base));
  font-weight: 700;
  letter-spacing: 0.15px;
}

.transactions-table__table tbody tr td:nth-child(2) {
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .transactions-table__table {
    min-width: 0;
  }

  .transactions-table__table tbody tr td:nth-child(5) {
    min-width: 0;
  }
}

@media (max-width: 1299px) {
  .transactions-filter__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transactions-filter__action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .transactions-filter .data-table__body {
    padding: 16px;
  }

  .transactions-filter__grid {
    grid-template-columns: 1fr;
  }

  .transactions-filter__action {
    grid-column: auto;
  }

  .transactions-page .data-table {
    border-radius: 12px;
  }

  .transactions-table__table tbody tr td {
    min-height: 44px;
    padding: 10px 12px;
  }

  .transactions-table__table tbody tr td:nth-child(2) {
    white-space: normal;
  }
}

/* ========================= Deposit History Table =========================== */
.deposit-history-table .data-table__header {
  min-height: 90px;
  padding: 20px 24px;
}

.deposit-history-table__filters {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.deposit-history-table__filters .search-box {
  width: min(100%, 360px);
}

.deposit-history-table__filters .input--group,
.deposit-history-table__filters .form--control,
.deposit-history-table__filters .input-group-text {
  min-height: 50px;
}

.deposit-history-table__filters .form--control {
  border-radius: 4px 0 0 4px;
  border-color: hsl(var(--border-color));
  background-color: hsl(var(--white));
}

.deposit-history-table__filters .input-group-text {
  width: 44px;
  justify-content: center;
  border-color: hsl(var(--base));
  border-radius: 0 4px 4px 0;
  color: hsl(var(--white));
  background-color: hsl(var(--base));
}

.deposit-history-table__filters .btn {
  flex: 0 0 auto;
  min-height: 40px;
  border-radius: 9px;
}

.deposit-history-table__action {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9px;
  font-size: 1rem;
}

.deposit-history-table__action--success {
  color: hsl(var(--white)) !important;
  border: 1px solid hsl(var(--success));
  background-color: hsl(var(--success));
}

.deposit-history-table__action--success:hover,
.deposit-history-table__action--success:focus,
.deposit-history-table__action--success:active {
  color: hsl(var(--white)) !important;
  border-color: hsl(var(--success)) !important;
  background-color: hsl(var(--success)) !important;
}

.deposit-history-table__table tbody tr td {
  min-height: 72px;
  padding: 14px 20px;
  vertical-align: middle;
}

.deposit-detail-modal .modal-dialog {
  max-width: 520px;
}

.deposit-detail-modal .modal-content {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px !important;
  box-shadow: 0 18px 50px hsl(var(--black) / 0.18);
}

.deposit-detail-modal .modal-header {
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border-color));
}

.deposit-detail-modal .modal-title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.25rem;
  font-weight: 700;
}

.deposit-detail-modal .btn-close {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  color: hsl(var(--black));
  opacity: 1;
  transition: 0.2s ease;
  background-color: hsl(var(--black) / 0.06);
  background-image: none !important;
  border: 1px solid hsl(var(--border-color));
}

.deposit-detail-modal .btn-close::before,
.deposit-detail-modal .btn-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  content: "";
  background-color: hsl(var(--black));
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.deposit-detail-modal .btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.deposit-detail-modal .btn-close:hover {
  background-color: hsl(var(--base));
  color: hsl(var(--black));
  filter: none !important;
  opacity: 1;
}

.deposit-detail-modal .userData {
  margin: 0;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
}

.deposit-detail-modal .userData .list-group-item {
  gap: 20px;
  padding: 12px 16px;
  color: hsl(var(--body-color));
  border-color: hsl(var(--border-color));
}

.deposit-detail-modal .userData .list-group-item:last-child {
  border-bottom: 0;
}

.deposit-detail-modal .userData .list-group-item > span:first-child {
  color: hsl(var(--heading-color));
  font-weight: 500;
}

.deposit-detail-modal .userData .list-group-item > span:last-child {
  color: hsl(var(--body-color));
  text-align: right;
  overflow-wrap: anywhere;
}

.deposit-detail-modal .userData .list-group-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--base));
  font-weight: 500;
}

.deposit-detail-modal .feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid hsl(var(--danger) / 0.18);
  border-radius: 10px;
  background-color: hsl(var(--danger) / 0.05);
}

.deposit-detail-modal .feedback:empty {
  display: none;
}

.deposit-detail-modal .feedback strong {
  color: hsl(var(--heading-color));
}

.deposit-detail-modal .feedback p {
  margin: 6px 0 0;
  color: hsl(var(--body-color));
  line-height: 1.6;
}

.deposit-detail-modal .modal-footer .btn--dark {
  transition: 0.2s ease;
}

.deposit-detail-modal .modal-footer .btn--dark:hover,
.deposit-detail-modal .modal-footer .btn--dark:focus-visible {
  color: hsl(var(--black));
  background-color: hsl(var(--base));
  border-color: hsl(var(--base));
}

/* ========================= Withdraw Preview Form =========================== */
.withdraw-preview-card {
  width: min(100%, 960px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  background-color: hsl(var(--white));
  box-shadow: 0 18px 45px hsl(var(--black) / 0.08);
}

.withdraw-preview-card__header {
  min-height: 68px;
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border-color));
  background-color: hsl(var(--white));
}

.withdraw-preview-card__header .card-title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.25rem;
  font-weight: 700;
}

.withdraw-preview-card__body {
  padding: 24px;
}

.withdraw-preview__alert {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid hsl(var(--info) / 0.25);
  border-radius: 12px;
  color: hsl(var(--info-d-300));
  background-color: hsl(var(--info) / 0.07);
}

.withdraw-preview__alert p {
  line-height: 1.7;
}

.withdraw-preview__description {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-left: 3px solid hsl(var(--base));
  border-radius: 0 8px 8px 0;
  color: hsl(var(--body-color));
  background-color: hsl(var(--base) / 0.04);
  line-height: 1.7;
}

.withdraw-preview__description > :last-child {
  margin-bottom: 0;
}

.withdraw-preview__description > * {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

.withdraw-preview-form .row {
  row-gap: 18px;
}

.withdraw-preview-form .row > [class*="col-"] {
  display: flex;
}

.withdraw-preview-form .form-group {
  margin-bottom: 0;
  width: 100%;
}

.withdraw-preview-form .form--label,
.withdraw-preview-form .form-group > label {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-weight: 600;
}

.withdraw-preview-form .form--control,
.withdraw-preview-form .form-control,
.withdraw-preview-form .form-select {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px !important;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 10px;
  box-sizing: border-box;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  box-shadow: none;
  outline: none !important;
}

.withdraw-preview-form .form--control:focus,
.withdraw-preview-form .form-control:focus,
.withdraw-preview-form .form-select:focus {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.withdraw-preview-form__submit {
  margin-top: 24px;
}

.withdraw-preview-form__submit .btn {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .deposit-history-table .data-table__header {
    padding: 16px;
  }

  .deposit-history-table__filters {
    align-items: stretch;
    flex-direction: column;
  }

  .deposit-history-table__filters .search-box {
    width: 100%;
  }

  .deposit-history-table__filters .btn {
    align-self: flex-start;
  }

  .deposit-detail-modal .modal-body {
    padding: 16px;
  }

  .deposit-detail-modal .modal-header,
  .deposit-detail-modal .modal-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .withdraw-preview-page {
    padding-top: 16px;
  }

  .withdraw-preview-card__header,
  .withdraw-preview-card__body {
    padding: 16px;
  }
}

/* Keep list pagination content vertically aligned in its footer. */
.order-list-page .pagination-wrapper,
.deposit-history-page .pagination-wrapper,
.transactions-page .pagination-wrapper,
.support-page .pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.order-list-page .pagination-wrapper > nav,
.order-list-page .pagination-wrapper > nav > .d-sm-flex,
.deposit-history-page .pagination-wrapper > nav,
.deposit-history-page .pagination-wrapper > nav > .d-sm-flex,
.transactions-page .pagination-wrapper > nav,
.transactions-page .pagination-wrapper > nav > .d-sm-flex,
.support-page .pagination-wrapper > nav,
.support-page .pagination-wrapper > nav > .d-sm-flex {
  width: 100%;
}

.order-list-page .pagination-wrapper .pagination,
.deposit-history-page .pagination-wrapper .pagination,
.transactions-page .pagination-wrapper .pagination,
.support-page .pagination-wrapper .pagination {
  margin: 0;
}

/* Use Font Awesome arrows for pagination controls. */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 0;
}

.pagination .page-item:first-child .page-link::before,
.pagination .page-item:last-child .page-link::before {
  font-family: "Font Awesome 6 Free";
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.pagination .page-item:first-child .page-link::before {
  content: "\f060";
}

.pagination .page-item:last-child .page-link::before {
  content: "\f061";
}

@media (max-width: 575px) {
  .order-list-page .pagination-wrapper,
  .deposit-history-page .pagination-wrapper,
  .transactions-page .pagination-wrapper,
  .support-page .pagination-wrapper {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-list-page .pagination-wrapper .pagination,
  .deposit-history-page .pagination-wrapper .pagination,
  .transactions-page .pagination-wrapper .pagination,
  .support-page .pagination-wrapper .pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .order-list-page .data-table__header > .d-flex {
    width: 100%;
  }

  .order-list-page .search-box {
    min-width: 100%;
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .order-dashboard-table__table {
    width: 100%;
    min-width: 0;
  }
}

.order-filter-offcanvas {
  width: min(100%, 420px);
  border-left: 1px solid hsl(var(--border-color));
  background: #f8fafc;
}

.order-filter-offcanvas .offcanvas-header {
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid hsl(var(--border-color));
  background: #fff;
}

.order-filter-offcanvas .offcanvas-title {
  margin-bottom: 4px;
  color: hsl(var(--heading-color));
  font-size: 1.125rem;
  font-weight: 700;
}

.order-filter-offcanvas__subtitle {
  margin-bottom: 0;
  color: hsl(var(--body-color) / 0.72);
  font-size: 0.875rem;
  line-height: 1.45;
}

.order-filter-offcanvas .btn--close {
  border: 1px solid hsl(var(--border-color));
  color: hsl(var(--heading-color)) !important;
  background: #fff;
}

.order-filter-offcanvas .offcanvas-body {
  padding: 0;
}

.order-filter-form {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.order-filter-form .form-group {
  margin-bottom: 0;
}

.order-filter-form .form--label {
  margin-bottom: 8px;
  color: hsl(var(--heading-color));
  font-size: 0.875rem;
  font-weight: 600;
}

.order-filter-form__field {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.order-filter-form__field:focus-within {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.12);
}

.order-filter-form__field > i {
  flex: 0 0 auto;
  padding-left: 14px;
  color: hsl(var(--body-color) / 0.65);
  font-size: 1.15rem;
}

.order-filter-form__field .form--control {
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  height: 46px;
  padding: 10px 14px 10px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.order-filter-form__select {
  min-height: 48px;
  height: 48px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  background-color: #fff;
  color: hsl(var(--heading-color));
}

.order-filter-form .select2-container {
  width: 100% !important;
}

.order-filter-form .select2-container--default .select2-selection--single {
  height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  background: #fff;
}

.order-filter-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 14px;
  padding-right: 36px;
  color: hsl(var(--heading-color));
  line-height: 48px;
}

.order-filter-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 46px;
  right: 10px;
}

.order-filter-form
  .select2-container--default
  .select2-search--dropdown
  .select2-search__field {
  border-color: hsl(var(--border-color));
  border-radius: 8px;
}

.order-filter-form__footer {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-filter-form__footer .btn {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 600;
}

.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 6px;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  accent-color: hsl(var(--base));
}

.daterangepicker select.monthselect option:checked,
.daterangepicker select.monthselect option:hover,
.daterangepicker select.monthselect option:focus,
.daterangepicker select.yearselect option:checked,
.daterangepicker select.yearselect option:hover,
.daterangepicker select.yearselect option:focus {
  color: hsl(var(--white)) !important;
  background-color: hsl(var(--base)) !important;
}

.daterangepicker .calendar-table td,
.daterangepicker .calendar-table th.prev,
.daterangepicker .calendar-table th.next,
.daterangepicker .ranges li {
  border-radius: 6px;
}

.daterangepicker .ranges li.active {
  color: hsl(var(--white)) !important;
  background-color: hsl(var(--base)) !important;
}

@media (max-width: 575px) {
  .order-filter-offcanvas .offcanvas-header,
  .order-filter-form {
    padding: 20px;
  }
}

/* Blog card design */
.booking-card__input:focus {
  border-color: hsl(var(--base)) !important;
  background-color: hsl(var(--white)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
  outline: none;
}

.booking-card__input-icon {
  color: hsl(var(--base)) !important;
}

.booking-card__date-popup {
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background-color: hsl(var(--white));
  box-shadow: 0 14px 32px hsl(var(--black) / 0.12);
}

.booking-card__date-grid {
  gap: 10px;
}

.booking-card__date-input {
  height: 40px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  color: hsl(var(--heading-color));
  background-color: hsl(var(--white));
  color-scheme: light;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-card__date-input:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
  outline: none;
}

.booking-card__date-apply {
  height: 40px;
  margin-top: 12px;
  border: 1px solid hsl(var(--base));
  border-radius: 8px;
  color: hsl(var(--white));
  background-color: hsl(var(--base));
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.booking-card__date-apply:hover,
.booking-card__date-apply:focus {
  border-color: hsl(var(--base-d-200));
  color: hsl(var(--white));
  background-color: hsl(var(--base-d-200));
  outline: none;
}

.account input:-webkit-autofill,
.account input:-webkit-autofill:hover,
.account input:-webkit-autofill:focus,
.account input:-webkit-autofill:active,
.account textarea:-webkit-autofill,
.account select:-webkit-autofill {
  color: hsl(var(--black)) !important;
  -webkit-text-fill-color: hsl(var(--black)) !important;
  caret-color: hsl(var(--black)) !important;
  -webkit-box-shadow: 0 0 0 1000px hsl(var(--white)) inset !important;
  box-shadow: 0 0 0 1000px hsl(var(--white)) inset !important;
}

.account input::selection,
.account textarea::selection,
.account select::selection {
  color: hsl(var(--black)) !important;
  -webkit-text-fill-color: hsl(var(--black)) !important;
  background: hsl(var(--base) / 0.28) !important;
}

.product-gallery__thumbs {
  display: flex !important;
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 9px;
  min-width: 0;
  scroll-behavior: smooth;
}

.product-gallery__thumbs .product-gallery__thumb {
  flex: 0 0 calc((100% - 27px) / 4);
  min-width: 0;
}

.product-gallery__thumb-row {
  min-width: 0;
}

@media (max-width: 575px) {
  .product-gallery__thumbs {
    gap: 5px;
  }

  .product-gallery__thumbs .product-gallery__thumb {
    flex-basis: calc((100% - 15px) / 4);
  }
}

.blog-details-page {
  padding-top: 28px;
}

.blog-details-hero {
  padding: 26px;
  margin-bottom: 58px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 28px;
  background: hsl(var(--white));
}

.blog-details-hero img {
  display: block;
  width: 100%;
  height: min(500px, 42vw);
  min-height: 300px;
  object-fit: cover;
  border-radius: 24px;
}

.blog-details-layout {
  align-items: flex-start;
}

.blog-details-article {
  padding-right: 22px;
}

.blog-details-article__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: hsl(var(--body-color) / 0.7);
  font-size: 0.82rem;
}

.blog-details-article__date i {
  color: hsl(var(--heading-color));
}

.blog-details-article__title {
  margin: 0 0 18px;
  color: hsl(var(--heading-color));
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
}

.blog-details-article__content {
  color: hsl(var(--body-color));
  font-size: 1rem;
  line-height: 1.7;
}

.blog-details-article__content h1,
.blog-details-article__content h2,
.blog-details-article__content h3,
.blog-details-article__content h4 {
  margin: 30px 0 12px;
  color: hsl(var(--heading-color));
  line-height: 1.2;
}

.blog-details-article__content h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.blog-details-article__content p {
  margin: 0 0 18px;
}

.blog-details-article__content ul,
.blog-details-article__content ol {
  padding-left: 22px;
  margin: 16px 0 24px;
}

.blog-details-article__content li {
  margin-bottom: 14px;
}

.blog-details-article__content li::marker {
  color: hsl(var(--base));
}

.blog-details-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.blog-details-sidebar {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.blog-details-sidebar__card {
  padding: 24px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 20px;
  background: hsl(var(--white));
}

.blog-details-sidebar__card h2 {
  margin: 0 0 16px;
  color: hsl(var(--heading-color));
  font-size: 1.25rem;
}

.blog-details-search {
  display: flex;
  overflow: hidden;
  height: 48px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
}

.blog-details-search input {
  min-width: 0;
  flex: 1;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: hsl(var(--body-color));
  background: hsl(var(--white));
}

.blog-details-search button {
  width: 54px;
  border: 0;
  color: hsl(var(--white));
  background: hsl(var(--base));
}

.blog-details-latest {
  display: grid;
}

.blog-details-latest__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border-color));
}

.blog-details-latest__item:first-child {
  padding-top: 0;
}

.blog-details-latest__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-details-latest__item img {
  flex: 0 0 68px;
  width: 68px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}

.blog-details-latest__item span {
  display: grid;
  gap: 3px;
}

.blog-details-latest__item strong {
  color: hsl(var(--heading-color));
  font-size: 0.86rem;
  line-height: 1.35;
}

.blog-details-latest__item small {
  color: hsl(var(--body-color) / 0.65);
  font-size: 0.75rem;
}

.blog-details-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-details-share__links a,
.blog-details-share__links button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: hsl(var(--heading-color));
  background: hsl(var(--base) / 0.1);
}

.blog-details-share__links a:hover,
.blog-details-share__links button:hover {
  color: hsl(var(--white));
  background: hsl(var(--base));
}

.product-toolbar .product-sort-select + .select2-container {
  width: 230px !important;
  min-width: 230px;
}

.product-toolbar .select2-container--default .select2-selection--single {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 38px 0 13px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 7px;
  background: hsl(var(--white));
}

.product-toolbar
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0;
  color: hsl(var(--heading-color));
  line-height: 36px;
}

.product-toolbar
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 36px;
}

.product-toolbar
  .select2-container--default.select2-container--focus
  .select2-selection--single,
.product-toolbar
  .select2-container--default.select2-container--open
  .select2-selection--single {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.product-toolbar .select2-dropdown {
  border-color: hsl(var(--base) / 0.35);
  border-radius: 7px;
}

@media (max-width: 767px) {
  .product-toolbar .product-sort-select + .select2-container {
    width: 100% !important;
    min-width: 0;
  }

  .product-toolbar .select2-container--default .select2-selection--single {
    height: 44px;
  }

  .product-toolbar
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered,
  .product-toolbar
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 42px;
    line-height: 42px;
  }
}

.blog-share-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 520px;
}

.blog-share-modal .modal-content {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 18px !important;
  background: hsl(var(--white));
  box-shadow: 0 20px 60px hsl(var(--black) / 0.2);
}

.blog-share-modal .modal-header {
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border-color));
  background: linear-gradient(
    135deg,
    hsl(var(--base) / 0.08),
    hsl(var(--white))
  );
}

.blog-share-modal .modal-title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.2rem;
  font-weight: 700;
}

.blog-share-modal .modal-body {
  padding: 24px;
}

.blog-share-modal .share_copy {
  display: flex;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  background: hsl(var(--white));
}

.blog-share-modal .blog-share-link {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0;
  color: hsl(var(--heading-color)) !important;
  background: hsl(var(--white)) !important;
  opacity: 1 !important;
  box-shadow: none !important;
  font-size: 0.875rem;
}

.blog-share-modal .blog-share-copy {
  flex: 0 0 88px;
  justify-content: center;
  border: 0;
  border-left: 1px solid hsl(var(--base) / 0.25);
  color: hsl(var(--white));
  background: hsl(var(--base));
  font-weight: 600;
  cursor: pointer;
}

.blog-share-modal .blog-share-copy:hover {
  color: hsl(var(--white));
  background: hsl(var(--base-d-200));
}

/* ========================= Product Share Modal =========================== */
.product-share-modal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 520px;
}

.product-share-modal .modal-content {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 18px !important;
  background: hsl(var(--white));
  box-shadow: 0 20px 60px hsl(var(--black) / 0.2);
}

.product-share-modal .modal-header {
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--border-color));
  background: linear-gradient(
    135deg,
    hsl(var(--base) / 0.08),
    hsl(var(--white))
  );
}

.product-share-modal .modal-title {
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: 1.2rem;
  font-weight: 700;
}

.product-share-modal .modal-body {
  padding: 24px;
}

.product-share-modal__content {
  display: grid;
  gap: 24px;
}

.product-share-modal__socials {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-share-modal__socials .social-list__item {
  margin: 0;
}

.product-share-modal__socials .social-list__link {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: hsl(var(--white));
  font-size: 1.05rem;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.product-share-modal__socials .social-list__link:hover,
.product-share-modal__socials .social-list__link:focus-visible {
  color: hsl(var(--white));
  transform: translateY(-2px);
  opacity: 0.88;
}

.product-share-modal__socials .twitter-link {
  background: #111;
}

.product-share-modal__socials .facebook-link {
  background: #1877f2;
}

.product-share-modal__socials .linkedin-link {
  background: #0a66c2;
}

.product-share-modal__socials .pinterest-link {
  background: #e60023;
}

.product-share-modal .share_copy {
  display: flex;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 12px;
  background: hsl(var(--white));
}

.product-share-modal .share_copy .form-control {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0;
  color: hsl(var(--heading-color)) !important;
  background: hsl(var(--black) / 0.06) !important;
  box-shadow: none !important;
  font-size: 0.875rem;
}

.product-share-modal .share_copy .copyBtn {
  flex: 0 0 80px;
  justify-content: center;
  border: 0;
  border-left: 1px solid hsl(var(--base) / 0.25);
  color: hsl(var(--white));
  background: hsl(var(--base));
  font-weight: 600;
  cursor: pointer;
}

.product-share-modal .share_copy .copyBtn:hover,
.product-share-modal .share_copy .copyBtn:focus-visible {
  color: hsl(var(--white));
  background: hsl(var(--base-d-200));
}

@media (max-width: 575px) {
  .product-share-modal .modal-header,
  .product-share-modal .modal-body {
    padding: 18px;
  }

  .product-share-modal .share_copy .copyBtn {
    flex-basis: 72px;
  }
}

@media (max-width: 575px) {
  .blog-share-modal .modal-header,
  .blog-share-modal .modal-body {
    padding: 18px;
  }

  .blog-share-modal .blog-share-copy {
    flex-basis: 76px;
  }
}

@media (max-width: 991px) {
  .blog-details-sidebar {
    position: static;
  }

  .blog-details-hero {
    padding: 16px;
    margin-bottom: 36px;
    border-radius: 20px;
  }

  .blog-details-hero img {
    height: 360px;
    border-radius: 16px;
  }

  .blog-details-article {
    padding-right: 0;
  }
}

@media (max-width: 575px) {
  .blog-details-page {
    padding-top: 0;
  }

  .blog-details-hero img {
    height: 260px;
    min-height: 0;
  }

  .blog-details-sidebar__card {
    padding: 18px;
    border-radius: 14px;
  }
}

.blog-section .blog-item {
  height: 100%;
  padding: 14px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 20px;
  background: hsl(var(--white));
  box-shadow: 0 6px 18px hsl(var(--black) / 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-section .blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px hsl(var(--black) / 0.09);
}

.blog-section .blog-item__top {
  position: relative;
}

.blog-section .blog-item__thumb {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-section .blog-item__thumb-link,
.blog-section .blog-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-section .blog-item__thumb img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-section .blog-item:hover .blog-item__thumb img {
  transform: scale(1.04);
}

.blog-section .blog-item__category {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: hsl(var(--white));
  background: hsl(var(--base));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-section .blog-item__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: hsl(var(--body-color) / 0.7);
  font-size: 0.78rem;
}

.blog-section .blog-item__date svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--heading-color));
}

.blog-section .blog-item__content {
  display: flex;
  flex-direction: column;
  padding: 12px 0 2px;
}

.blog-section .blog-item__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.blog-section .blog-item__title-link {
  color: hsl(var(--heading-color));
}

.blog-section .blog-item__title-link:hover {
  color: hsl(var(--base));
}

.blog-section .blog-item__description {
  margin: 16px 0 0;
  color: hsl(var(--body-color) / 0.75);
  font-size: 0.88rem;
  line-height: 1.6;
}

.blog-section .blog-item__content-bottom {
  margin-top: auto;
  padding-top: 22px;
}

.blog-section .blog-item__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--heading-color));
  font-size: 1rem;
  font-weight: 500;
}

.blog-section .blog-item__link i {
  color: hsl(var(--heading-color));
  font-size: 0.8rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.blog-section .blog-item__link:hover,
.blog-section .blog-item__link:hover i {
  color: hsl(var(--base));
}

.blog-section .blog-item__link:hover i {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .blog-section .blog-item__thumb {
    height: 240px;
  }
}

@media (max-width: 575px) {
  .blog-section .blog-item {
    padding: 10px;
    border-radius: 16px;
  }

  .blog-section .blog-item__thumb {
    height: 220px;
    border-radius: 13px;
  }

  .blog-section .blog-item__content {
    min-height: 190px;
  }
}

/* Product pagination */
.product-list-page .pagination-wrapper .text-muted,
.product-list-page .pagination-wrapper .text-gray-700 {
  color: hsl(var(--heading-color)) !important;
}

.product-pagination {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  margin-top: 38px;
}

.product-pagination > nav {
  display: block !important;
  flex: 1 1 100%;
  width: 100% !important;
}

.product-pagination > nav > .d-sm-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  gap: 48px;
}

.product-pagination > nav > .d-sm-flex > :first-child {
  color: hsl(var(--body-color));
  font-size: 0.9rem;
}

.product-pagination nav .d-sm-flex > :last-child {
  margin-left: auto !important;
  padding-left: 120px;
}

.product-pagination .pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 0 auto !important;
  margin-right: 0 !important;
}

.product-pagination .pagination .disabled .page-link {
  color: hsl(var(--body-color) / 0.45);
  background: hsl(var(--section-bg));
}

.product-pagination .pagination a,
.product-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 7px;
  color: hsl(var(--body-color));
  background: hsl(var(--white));
  font-size: 0.85rem;
}

.product-pagination .pagination a:hover,
.product-pagination .pagination .active span,
.product-pagination .pagination .active a {
  border-color: hsl(var(--base));
  color: hsl(var(--white));
  background: hsl(var(--base));
}

@media (max-width: 575px) {
  .product-pagination > nav > .d-sm-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-pagination .pagination {
    justify-content: flex-start;
    margin-left: 0;
  }

  .product-pagination nav .d-sm-flex > :last-child {
    padding-left: 0;
    margin-left: 0 !important;
  }
}

/* Support ticket detail */
.support-view-page {
  --support-card-radius: 14px;
}

.support-view-page > .col-md-12 {
  min-width: 0;
}

.support-view-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: var(--support-card-radius) !important;
  background: hsl(var(--white));
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.04);
}

.support-view-card__header {
  min-height: 76px;
  padding: 18px 24px !important;
  border-bottom: 1px solid hsl(var(--border-color)) !important;
  background: hsl(var(--white)) !important;
}

.support-view-card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: hsl(var(--heading-color));
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
}

.support-view-card__title .badge {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.support-view-card__close {
  width: 42px;
  height: 38px;
  padding: 0;
  border-radius: 9px;
}

.support-view-card__body {
  padding: 24px !important;
}

.support-reply-form > .row {
  row-gap: 14px;
}

.support-reply-form > .row > .col-md-12,
.support-reply-form > .row > .col-md-12 .form-group {
  width: 100%;
}

.support-reply-form textarea.form--control {
  min-height: 138px;
  resize: vertical;
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 9px;
}

.support-reply-form textarea.form--control:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.12);
}

.support-reply-form__attachments,
.support-reply-form__submit {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.support-reply-form__attachments .addAttachment {
  align-self: flex-start;
  min-height: 38px;
  border-radius: 8px;
}

.support-reply-form__help {
  margin-top: 10px;
  color: hsl(var(--base)) !important;
  font-size: 0.82rem;
  line-height: 1.55;
}

.support-reply-form__submit .btn {
  min-height: 50px;
  border-radius: 9px;
  font-weight: 600;
}

.support-reply-form .fileUploadsContainer {
  margin-top: 8px;
  row-gap: 10px;
}

.support-reply-form .fileUploadsContainer .input-group {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
}

.support-reply-form .fileUploadsContainer .form--control {
  min-width: 0;
  border: 0;
}

.support-reply-form .fileUploadsContainer .input-group-text {
  border: 0;
  background: hsl(var(--base));
}

.support-view-card--messages .support-view-card__body {
  padding: 24px 28px !important;
}

.support-message {
  align-items: stretch;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid hsl(var(--border-color)) !important;
  border-radius: 11px !important;
  background: hsl(var(--white));
}

.support-message:last-child {
  margin-bottom: 0;
}

.support-message--user {
  border-left: 3px solid hsl(var(--base)) !important;
}

.support-message--staff {
  border-left: 3px solid hsl(var(--warning)) !important;
  background: hsl(var(--warning) / 0.06) !important;
}

.support-message__author,
.support-message__content {
  padding: 20px !important;
}

.support-message__author {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid hsl(var(--border-color)) !important;
}

.support-message__author h5,
.support-message__author p {
  margin: 0 0 6px !important;
}

.support-message__meta {
  margin: 0 0 12px !important;
  color: hsl(var(--heading-color));
  font-size: 0.9rem;
}

.support-message__text {
  margin: 0;
  color: hsl(var(--body-color));
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.support-message__attachments a {
  color: hsl(var(--base));
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .support-view-card__header,
  .support-view-card__body,
  .support-view-card--messages .support-view-card__body {
    padding: 18px !important;
  }

  .support-reply-form__submit {
    margin-top: 12px;
  }

  .support-message__author {
    border-right: 0 !important;
    border-bottom: 1px solid hsl(var(--border-color));
    text-align: left !important;
  }

  .support-message__author,
  .support-message__content {
    padding: 16px !important;
  }
}

/* Final ticket detail overrides */
.support-reply-form__attachments .addAttachment {
  align-self: flex-start;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 0 !important;
  border-radius: 7px;
  color: hsl(var(--white)) !important;
  background: hsl(var(--black)) !important;
  font-weight: 600;
}

.support-reply-form__attachments .addAttachment:hover,
.support-reply-form__attachments .addAttachment:focus {
  color: hsl(var(--white)) !important;
  background: hsl(var(--body-color)) !important;
}

.support-reply-form .fileUploadsContainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 12px 0 0 !important;
}

.support-reply-form .fileUploadsContainer > .removeFileInput {
  width: 100%;
  max-width: none;
  padding: 0;
}

.support-reply-form .fileUploadsContainer .form-group {
  margin: 0;
}

.support-reply-form .fileUploadsContainer .input-group {
  display: flex;
  width: 100%;
  min-height: 44px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 7px;
  background: hsl(var(--white));
}

.support-reply-form .fileUploadsContainer input[type="file"] {
  min-width: 0;
  height: 50px;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 7px 0 0 7px;
  color: hsl(var(--body-color));
  background: transparent;
}

.support-reply-form
  .fileUploadsContainer
  input[type="file"]::file-selector-button {
  margin-right: 8px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  color: hsl(var(--white));
  background: hsl(var(--base));
  cursor: pointer;
}

.support-reply-form .fileUploadsContainer .removeFile {
  flex: 0 0 42px;
  justify-content: center;
  border: 0 !important;
  border-left: 1px solid hsl(var(--border-color)) !important;
  border-radius: 0 6px 6px 0;
  color: hsl(var(--danger)) !important;
  background: hsl(var(--base) / 0.12) !important;
  cursor: pointer;
}

.support-reply-form .fileUploadsContainer .removeFile:hover {
  color: hsl(var(--white)) !important;
  background: hsl(var(--danger)) !important;
}

.support-reply-form__help {
  margin: 10px 0 0 !important;
  line-height: 1.45;
}

.support-replies-list,
.support-replies-list__body {
  width: 100%;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.support-view-card--reply .support-view-card__body {
  padding: 24px 26px 28px !important;
}

.support-reply-form > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: 18px 24px;
  margin: 0;
}

.support-reply-form > .row > .col-md-12 {
  grid-column: 1 / -1;
  width: 100% !important;
  padding: 0;
}

.support-reply-form > .row > .support-reply-form__attachments,
.support-reply-form > .row > .support-reply-form__submit {
  width: auto !important;
  padding: 0;
}

.support-reply-form textarea.form--control {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  min-height: 130px;
  outline: none !important;
  border: 1px solid hsl(var(--border-color)) !important;
}

.support-reply-form textarea.form--control:focus,
.support-reply-form textarea.form--control:focus-visible {
  outline: none !important;
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.12) !important;
}

.support-reply-form__attachments {
  grid-column: 1;
}

.support-reply-form__submit {
  grid-column: 2;
  align-self: center;
}

.support-replies-title {
  margin: 26px 0 10px;
}

.support-view-card--messages {
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

.support-view-card--messages .support-view-card__body {
  padding: 0 !important;
}

.support-message,
.support-message.support-message--staff {
  display: block !important;
  margin: 0 0 16px !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: hsl(var(--white)) !important;
  box-shadow: 0 6px 18px rgba(20, 33, 61, 0.05);
}

.support-message__top {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.support-message__author,
.support-message__author h5 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

.support-message__meta {
  margin: 0 !important;
  font-size: 0.78rem;
  font-weight: 400 !important;
  white-space: nowrap;
}

.support-message__text {
  margin: 0 !important;
}

@media (max-width: 767px) {
  .support-reply-form > .row {
    display: flex !important;
    gap: 0;
  }

  .support-reply-form > .row > .support-reply-form__attachments,
  .support-reply-form > .row > .support-reply-form__submit {
    width: 100% !important;
    margin-top: 12px;
  }

  .support-message__top {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .support-message__meta {
    white-space: normal;
  }

  .support-reply-form .fileUploadsContainer {
    grid-template-columns: 1fr;
  }
}

.form-check-input:checked {
  background-color: hsl(var(--base)) !important;
  border-color: hsl(var(--base)) !important;
}
.form-check-input:focus {
  border-color: hsl(var(--base)) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem hsl(var(--base) / 0.25) !important;
}

/* Keep the rating radio focus state limited to the radio control. */
.product-sidebar__rating .form-check-input[type="radio"]:focus,
.product-sidebar__rating .form-check-input[type="radio"]:focus-visible {
  outline: 2px solid hsl(var(--base) / 0.3) !important;
  outline-offset: 2px;
  border-radius: 50% !important;
  box-shadow: 0 0 0 2px hsl(var(--base) / 0.18) !important;
}

.product-sidebar__rating .form-check-input[type="radio"]:checked:focus,
.product-sidebar__rating .form-check-input[type="radio"]:checked:focus-visible {
  box-shadow:
    inset 0 0 0 3px hsl(var(--white)),
    0 0 0 2px hsl(var(--base) / 0.18) !important;
}

/* Show only previous/next controls for product pagination on small screens. */
@media (max-width: 767px) {
  .product-pagination {
    justify-content: center;
    min-height: 48px;
    margin-top: 24px;
  }

  .product-pagination > nav > .d-sm-flex {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    gap: 0;
  }

  .product-pagination > nav > .d-sm-flex > :first-child {
    display: none;
  }

  .product-pagination nav .d-sm-flex > :last-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .product-pagination nav .pagination {
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 0 auto !important;
  }

  .product-pagination
    .pagination
    .page-item:not(:first-child):not(:last-child) {
    display: none;
  }

  .product-pagination .pagination .page-link {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }
}

/* ========================= Create Support Ticket ========================= */
.support-create-page {
  min-width: 0;
}

.support-create-page > .row,
.support-create-page > .row > .col-md-12 {
  min-width: 0;
}

.support-create-page > .row > .col-md-12 > .text-end {
  margin-bottom: 16px;
}

.support-create-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 16px;
  box-shadow: 0 10px 28px hsl(var(--black) / 0.04);
}

.support-create-card .card-body {
  padding: 30px;
}

.support-create-form > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px 24px;
  margin: 0;
}

.support-create-form > .row > .form-group,
.support-create-form > .row > .col-12,
.support-create-form > .row > .col-md-9,
.support-create-form > .row > .col-md-3 {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.support-create-form > .row > .col-12 {
  grid-column: 1 / -1;
}

.support-create-form .form--label {
  display: block;
  margin-bottom: 9px;
  color: hsl(var(--heading-color));
  font-size: 0.875rem;
  font-weight: 600;
}

.support-create-form .form--control {
  width: 100%;
  min-height: 50px;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  background-color: hsl(var(--white));
  color: hsl(var(--heading-color));
  box-shadow: none;
}

.support-create-form .form--control:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsl(var(--base) / 0.1);
}

.support-create-form textarea.form--control {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.support-create-form .support-create-attachments {
  grid-column: 1 / 2;
}

.support-create-form .support-create-submit {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.support-create-form .addAttachment {
  margin: 0 0 12px !important;
  border-radius: 8px;
}

.support-create-form .support-create-help {
  margin: 0;
  color: hsl(var(--info));
  font-size: 0.8125rem;
  line-height: 1.55;
}

.support-create-form .support-create-submit .btn {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 7px 16px hsl(var(--base) / 0.18);
}

.support-create-form .fileUploadsContainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin: 0;
}

.support-create-form .fileUploadsContainer > .removeFileInput {
  width: 100%;
  max-width: none;
  padding: 0;
}

.support-create-form .fileUploadsContainer .input-group {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid hsl(var(--border-color));
  border-radius: 10px;
  background-color: hsl(var(--white));
}

.support-create-form .fileUploadsContainer input[type="file"] {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: hsl(var(--body-color));
  overflow: hidden;
}

.support-create-form
  .fileUploadsContainer
  input[type="file"]::-webkit-file-upload-button,
.support-create-form
  .fileUploadsContainer
  input[type="file"]::file-selector-button {
  height: calc(100% - 8px);
  margin: 4px 10px 4px 4px !important;
  padding: 0 13px;
  border: 0;
  color: hsl(var(--black));
  background-color: hsl(var(--base));
  cursor: pointer;
}

.support-create-form .fileUploadsContainer .removeFile {
  width: 44px;
  min-width: 44px;
  height: 50px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-left: 1px solid hsl(var(--base) / 0.25);
  border-radius: 0;
  color: hsl(var(--danger));
  background-color: hsl(var(--base) / 0.14);
}

.support-create-form .fileUploadsContainer .removeFile:hover {
  color: hsl(var(--white)) !important;
  background-color: hsl(var(--danger));
}

.support-create-form .support-create-submit .btn {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .support-create-card .card-body {
    padding: 18px;
  }

  .support-create-form > .row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .support-create-form > .row > .col-12,
  .support-create-form .support-create-attachments,
  .support-create-form .support-create-submit {
    grid-column: 1 / -1;
  }

  .support-create-form .support-create-submit {
    display: block;
  }

  .support-create-form .support-create-submit .btn {
    width: 100%;
  }

  .support-create-form .fileUploadsContainer {
    grid-template-columns: 1fr;
  }
}

/* ======================= Create Support Ticket End ======================= */

/* Keep modal close icons dark on hover for clear contrast. */
.modal-header .close:hover,
.modal-header .btn-close:hover,
.deposit-detail-modal .btn-close:hover {
  color: hsl(var(--heading-color)) !important;
  border-color: hsl(var(--base)) !important;
  background-color: hsl(var(--base) / 0.14) !important;
  filter: none !important;
}

@media (max-width: 1199px) {
  .rent-policy-table__table tbody tr td:first-child,
  .rent-policy-table__table tbody tr td:last-child {
    width: 100% !important;
  }
}
