/* Modern Logo Styling */
.navbar-brand.modern-logo {
  position: relative;
  padding: 0.5rem 0;
  transition: transform 0.3s ease;
}

.navbar-brand.modern-logo:hover {
  transform: scale(1.05);
}

.navbar-brand.modern-logo img {
  max-height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

@media screen and (max-width: 991px) {
  .navbar-brand.modern-logo img {
    max-height: 38px;
  }

  .navbar-brand::before,
  .navbar-brand.modern-logo::before {
    display: none !important;
  }
}



/* Buy/Sell Tab Button Border Radius and Padding Override */
.ptable-header-left .buy-sell-tab__link.btn,
.ptable-section .buy-sell-tab__link.btn {
  border-radius: 18px !important;
  -webkit-border-radius: 18px !important;
  -moz-border-radius: 18px !important;
  -ms-border-radius: 18px !important;
  -o-border-radius: 18px !important;
  padding: 14px 29px !important;
}

.ptable-header-left .buy-sell-tab__link.btn.active,
.ptable-section .buy-sell-tab__link.btn.active {
  border-radius: 18px !important;
  -webkit-border-radius: 18px !important;
  -moz-border-radius: 18px !important;
  -ms-border-radius: 18px !important;
  -o-border-radius: 18px !important;
  padding: 14px 29px !important;
}

/* Ensure btn--outline also has same padding */
.ptable-header-left .buy-sell-tab__link.btn--outline,
.ptable-section .buy-sell-tab__link.btn--outline {
  padding: 14px 29px !important;
}

/* Mobile styles for buy/sell buttons */
@media screen and (max-width: 767px) {

  .ptable-header-left .buy-sell-tab__link.btn,
  .ptable-section .buy-sell-tab__link.btn,
  .ptable-header-left .buy-sell-tab__link.btn.active,
  .ptable-section .buy-sell-tab__link.btn.active,
  .ptable-header-left .buy-sell-tab__link.btn--outline,
  .ptable-section .buy-sell-tab__link.btn--outline {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
}

/* Copy Animation */
.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 .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #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 .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}


.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 285px;
  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;
  }
}

.btn--dark,
.btn--dark:hover {
  background-color: #10163A !important;
  color: #fff;
}

.modal-footer .btn--primary {
  color: #fff;
}

.single-message.admin-message .message-content {
  border: 1px solid #fad8d8 !important;
  background-color: #fff1f1 !important;
}


/* new added */
label.required:after {
  content: '*';
  color: #DC3545 !important;
  margin-left: 2px;
}

.cursor-pointer {
  cursor: pointer !important;
}

/* trade request start css start */
.trade-request-details-list {
  padding: 30px;
  background-color: #f9f9f9;
}

.trade-request-details-list li {
  padding: 15px 0;
  font-size: 15px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-bottom: 1px dashed #d0d0d0;
}

.trade-request-details-list li:first-child {
  padding-top: 0;
}

.trade-request-details-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.trade-request-details-list li .caption {
  font-weight: 700;
  width: 40%;
  position: relative;
}

@media (max-width: 575px) {
  .trade-request-details-list li .caption {
    width: 100%;
  }
}

.trade-request-details-list li .caption::after {
  position: absolute;
  content: ':';
  top: 1px;
  right: 0;
}

@media (max-width: 575px) {
  .trade-request-details-list li .caption::after {
    position: static;
    margin-left: 3px;
  }
}

.trade-request-details-list li .value {
  width: 60%;
  padding-left: 20px;
}

@media (max-width: 575px) {
  .trade-request-details-list li .value {
    width: 100%;
    padding-left: 0;
  }
}

.trade-request-form {
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

@media (max-width: 575px) {
  .trade-request-form {
    padding: 15px;
  }
}

/* trade request start css end */

/* terms-sidebar css start */
.terms-sidebar {
  padding: 30px;
  background-color: #ffffff;
  height: 100%;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border: 1px solid #ebebeb;
}

.terms-sidebar__widget {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.terms-sidebar__widget:first-child {
  padding-top: 0;
}

.terms-sidebar__widget:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.terms-sidebar__widget .title {
  margin-bottom: 10px;
}

.terms-sidebar__widget p {
  color: #6f6f6f;
}

/* terms-sidebar css end */

.user-details-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.user-details-top .thumb {
  width: 70px;
  height: 70px;
  overflow: hidden;
}

.user-details-top .thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.user-details-top .content {
  width: calc(100% - 100px);
  padding-left: 20px;
}

.user-review {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.user-details-list {
  display: flex;
  flex-wrap: wrap;
  margin: -5px -10px;
  flex-direction: column;
}

.user-details-list li {
  padding: 5px 10px;
}

.user-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 5px
}

.trade-chat-file-upload ::file-selector-button,
::-webkit-file-upload-button {
  border: 0 !important;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 3px;
  -webkit-border-radius: 3px !important;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  margin-bottom: 0;
  font-size: 14px;
}

.trade-chat-file-upload input {
  max-width: 400px;
}

.trade-chat-file-upload label {
  position: relative;
  visibility: hidden;
}

.review-item {
  padding: 15px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.fs--13px {
  font-size: 13px;
}

.fs--14px {
  font-size: 14px;
}

.btn-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.btn-list li a {
  border: 1px solid #e5e5e5;
  height: 100%;
  padding-left: 12px !important;
}

.btn-list li a.active {
  background-color: hsl(var(--base)) !important;
  color: #fff !important;
  border-color: hsl(var(--base)) !important;
}

.btn-list li a span {
  padding-right: 6px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  color: #fff;
  margin-right: 8px;
}

.btn-list li a span::before {
  position: absolute;
  content: '';
  top: -9px;
  left: -12px;
  width: calc(100% + 13px);
  height: calc(100% + 18px);
  background-color: #312318;
  z-index: -1;
  border-radius: 0.2rem 0 0 0.2rem;
}

.d-widget__icon i.success {
  color: hsl(var(--success));
}

.d-widget__icon i.warning {
  color: hsl(var(--warning));
}

.d-widget__icon i.dark {
  color: hsl(var(--dark));
}

.d-widget {
  height: 100%;
}


/* profile-sidebar css start */
.profile-setting-sidebar {
  background-color: #f0f1f1;
  padding: 25px;
  position: sticky;
  top: 100px;
}

.profile-setting-sidebar .fileinput-new.thumbnail {
  width: 150px;
  height: 150px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  border-radius: 10px;
}

.profile-setting-sidebar .fileinput-new.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
  object-position: center;
  -o-object-position: center;
}

.profile-sidebar__widget {
  padding: 30px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid #ebebeb;
}

.profile-sidebar__title {
  font-size: 18px;
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 30px;
}

.profile-sidebar__title::after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 25px;
  height: 3px;
  background-color: #000000;
}

.profile-sidebar__widget+.profile-sidebar__widget {
  margin-top: 30px;
}

.profile-author .thumb {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  overflow: hidden;
}

.profile-author .thumb img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-author .content {
  margin-top: 20px;
}

.profile-verify-list li+li {
  margin-top: 15px;
}

.profile-verify-list li {
  padding: 6px 15px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.profile-verify-list li.verified {
  background-color: rgba(40, 223, 153, 0.15);
  color: #08925d;
}

.profile-verify-list li.unverified {
  background-color: rgba(255, 75, 92, 0.15);
  color: #ff4b5c;
}

.profile-verify-list li i {
  font-size: 18px;
  margin-right: 8px;
}

.profile-info-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e5e5e5;
}

.profile-info-list li:first-child {
  padding-top: 0;
}

.profile-info-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.profile-info-list .caption {
  font-weight: 700;
}

.profile-info-list .caption::after {
  content: ':';
  margin-left: 5px;
  margin-right: 5px;
}

.custom-input-field {
  position: relative;
}

.custom-input-field[type=file]::file-selector-button {
  color: hsl(var(--white)) !important;
  font-size: 14px;
}

/* profile-sidebar css end */



.caption-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}



.caption-list {
  position: relative;
}

.caption-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.caption-list__item .caption {
  position: relative;
  color: hsl(var(--heading-color));
  font-size: 15px;
  font-weight: 500;
  width: 40%;
}

.caption-list__item .caption::after {
  position: absolute;
  content: ':';
  top: 0;
  right: 0;
}

.caption-list__item .value {
  font-size: 15px;
  margin-left: 15px;
}

.instructions .heading {
  font-size: 0.938rem;
  text-decoration: underline;
  margin-bottom: 10px;
  font-weight: 500;
}

.instructions .title {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.instructions .instruction_list {
  margin-bottom: 10px;
}

.instructions .instruction_list:last-child {
  margin-bottom: 0px;
}

.instructions .instruction_list p {
  font-size: 0.813rem;
}

.alert-section p {
  font-size: 0.813rem;
}


/* alert design */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.alert--info {
  border: 1px solid rgb(0 147 255 / 30%);
  background-color: rgb(0 147 255 / 5%);
}

.alert--info .alert__icon {
  color: rgb(0 147 255);
}

.alert--primary {
  border: 1px solid rgb(70 52 255 / 30%);
  background-color: rgb(70 52 255 / 5%);
}

.alert--primary .alert__icon {
  color: rgb(70 52 255);
}

.alert--danger {
  border: 1px solid rgb(220 53 69 / 50%);
  background-color: rgb(220 53 69 / 5%);
}

.alert--danger .alert__icon {
  color: rgb(220 53 69);
}

.alert--warning {
  border: 1px solid rgba(220, 206, 53, 0.5);
  background-color: rgba(220, 206, 53, 0.05);
}

.alert--warning .alert__icon {
  color: rgba(220, 206, 53);
}


/* new css */

.select2 .selection {
  display: block;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  line-height: 55px !important;
}


.select2-container--default .select2-selection--single {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px;
  height: 48px;
  background: transparent;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  margin-bottom: 6px;
  color: #fff;
}


.select2-results__option--selectable {
  cursor: pointer;
  color: #fff;
}

.select2-container--default .select2-results__option--selected {
  background-color: rgb(255 255 255 / 10%);
  color: black;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: rgb(255 255 255 / 6%);
  color: black;
}

.coin-search-area .form-control {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  height: 55px;
}

.coin-search-area .btn--base {
  padding: 13px 35px;
}


.select2-container--default .select2-selection--single {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000 !important;
  line-height: 48px !important;
}

.select2-dropdown {
  background-color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.select2-results__option--selectable {
  cursor: pointer;
  color: #000;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: rgb(0 0 0 / 10%);
  color: #000;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #000;
  outline: none;
}


.sell-card .input-group-text {
  border: 0;
}


.select2 .dropdown-wrapper {
  display: none;
}

.select2-container:has(.select2-selection--single) {
  width: 100% !important;
}


/* ============================================
   Modern Footer Styles
   ============================================ */

.modern-footer {
  background: linear-gradient(135deg, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 45%)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 50%)) 100%);
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Footer Top Section */
.modern-footer__top {
  padding: 80px 0 60px;
  position: relative;
}

@media (max-width: 991px) {
  .modern-footer__top {
    padding: 60px 0 40px;
  }
}

@media (max-width: 575px) {
  .modern-footer__top {
    padding: 40px 0 30px;
  }
}

/* Brand Section */
.modern-footer__brand {
  padding-right: 30px;
}

@media (max-width: 991px) {
  .modern-footer__brand {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

.modern-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.modern-footer__logo:hover {
  transform: translateY(-3px);
}

.modern-footer__logo img {
  max-width: 180px;
  height: auto;
}

.modern-footer__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Social Section */
.modern-footer__social-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.modern-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-social-list__item {
  margin: 0;
}

.modern-social-list__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-social-list__link:hover {
  background: hsl(var(--base));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: hsl(var(--base));
}

.modern-social-list__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer Widget */
.modern-footer__widget {
  margin-bottom: 20px;
}

.modern-footer__widget-title {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.3px;
}

.modern-footer__widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: hsl(var(--base));
  border-radius: 2px;
}

/* Footer Menu */
.modern-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-footer__menu-item {
  margin-bottom: 12px;
}

.modern-footer__menu-item:last-child {
  margin-bottom: 0;
}

.modern-footer__menu-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.modern-footer__menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--base));
  bottom: -2px;
  transition: width 0.3s ease;
}

.modern-footer__menu-link:hover {
  color: #fff;
  padding-left: 8px;
}

.modern-footer__menu-link:hover::before {
  width: 20px;
}

/* Newsletter Section */
.modern-footer__newsletter {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .modern-footer__newsletter {
    margin-top: 40px;
    padding: 30px;
  }
}

@media (max-width: 575px) {
  .modern-footer__newsletter {
    padding: 24px;
    margin-top: 30px;
  }
}

.modern-footer__newsletter-title {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

@media (max-width: 575px) {
  .modern-footer__newsletter-title {
    font-size: 18px;
  }
}

.modern-footer__newsletter-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 0;
}

/* Newsletter Form */
.modern-newsletter-form__group {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 575px) {
  .modern-newsletter-form__group {
    flex-direction: column;
  }
}

.modern-newsletter-form__input {
  flex: 1;
  height: 54px;
  min-height: 54px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 12px;
  color: #333;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

@media (max-width: 575px) {
  .modern-newsletter-form__input {
    height: 52px;
    min-height: 52px;
  }
}

.modern-newsletter-form__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.modern-newsletter-form__input:focus {
  background: #fff;
  border-color: hsl(var(--base));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-newsletter-form__btn {
  height: 54px;
  min-height: 54px;
  padding: 0 32px;
  background: hsl(var(--base));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

@media (max-width: 575px) {
  .modern-newsletter-form__btn {
    width: 100%;
    height: 52px;
    min-height: 52px;
    justify-content: center;
  }
}

.modern-newsletter-form__btn:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 5%));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4);
}

.modern-newsletter-form__btn:active {
  transform: translateY(0);
}

.modern-newsletter-form__btn i {
  font-size: 18px;
}

/* Footer Bottom */
.modern-footer__bottom {
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-footer__bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 575px) {
  .modern-footer__bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

.modern-footer__copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.modern-footer__copyright-link {
  color: hsl(var(--base));
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modern-footer__copyright-link:hover {
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%));
  text-decoration: underline;
}

/* Loading State for Newsletter Button */
.modern-newsletter-form__btn .la-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .modern-footer__widget-title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .modern-footer__menu-link {
    font-size: 13px;
  }

  .modern-social-list__link {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
  .modern-newsletter-form__input {
    background: rgba(255, 255, 255, 0.9);
  }
}


/* ============================================
   Modern Advertisement Page Styles
   ============================================ */

/* Container */
.modern-ads-container {
  padding: 0;
}

/* Empty State */
.modern-empty-state {
  background: #fff;
  border-radius: 16px;
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-empty-state__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--base));
}

.modern-empty-state__icon i {
  font-size: 48px;
}

.modern-empty-state__title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.modern-empty-state__text {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 24px;
}

.modern-btn {
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  transition: all 0.3s ease !important;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Header Action Button */
.modern-header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: hsl(var(--base));
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-header-action-btn:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4);
  color: #fff !important;
}

.modern-header-action-btn__icon {
  font-size: 18px;
  display: flex;
  align-items: center;
}

.modern-header-action-btn__text {
  font-weight: 600;
}

/* Table Wrapper */
.modern-ads-table-wrapper {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 1200px) {
  .modern-ads-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Table */
.modern-ads-table {
  width: 100%;
  min-width: 1200px;
}

@media (max-width: 1199px) {
  .modern-ads-table {
    min-width: auto;
  }
}

/* Table Header */
.modern-ads-table__header {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  padding: 0 20px;
}

.modern-ads-table__header .modern-ads-table__row {
  display: grid;
  grid-template-columns: 100px 100px 150px 120px 180px 130px 110px 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}

.modern-ads-table__header .modern-ads-table__cell {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table Body */
.modern-ads-table__body {
  padding: 12px;
}

/* Table Card Row */
.modern-ads-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.modern-ads-card:last-child {
  margin-bottom: 0;
}

.modern-ads-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-ads-table__body .modern-ads-table__row {
  display: grid;
  grid-template-columns: 100px 100px 150px 120px 180px 130px 110px 100px 1fr;
  gap: 16px;
  align-items: center;
}

.modern-ads-table__cell {
  font-size: 14px;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.modern-ads-table__value {
  font-weight: 500;
}

.modern-ads-table__value--rate {
  font-weight: 600;
  color: hsl(var(--base));
}

/* Modern Badge */
.modern-badge {
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  border: none !important;
}

.modern-badge--clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-badge--clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Actions */
.modern-ads-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.modern-ads-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.modern-ads-action-btn i {
  font-size: 18px;
  line-height: 1;
}

.modern-ads-action-btn__text {
  display: none;
}

.modern-ads-action-btn--warning {
  color: hsl(var(--warning));
  background: hsla(var(--warning-h), var(--warning-s), var(--warning-l), 0.1);
}

.modern-ads-action-btn--warning:hover {
  background: hsl(var(--warning));
  color: #fff;
  transform: scale(1.1);
}

.modern-ads-action-btn--info {
  color: hsl(var(--info));
  background: hsla(var(--info-h), var(--info-s), var(--info-l), 0.1);
}

.modern-ads-action-btn--info:hover {
  background: hsl(var(--info));
  color: #fff;
  transform: scale(1.1);
}

.modern-ads-action-btn--danger {
  color: hsl(var(--danger));
  background: hsla(var(--danger-h), var(--danger-s), var(--danger-l), 0.1);
}

.modern-ads-action-btn--danger:hover {
  background: hsl(var(--danger));
  color: #fff;
  transform: scale(1.1);
}

.modern-ads-action-btn--success {
  color: hsl(var(--success));
  background: hsla(var(--success-h), var(--success-s), var(--success-l), 0.1);
}

.modern-ads-action-btn--success:hover {
  background: hsl(var(--success));
  color: #fff;
  transform: scale(1.1);
}

/* Modern Modal */
.modern-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modern-modal__header {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}

.modern-modal__title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.modern-modal__close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-modal__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modern-modal__body {
  padding: 24px;
}

/* Reason List */
.modern-reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-reason-list__item {
  padding: 14px 16px;
  background: rgba(220, 53, 69, 0.05);
  border-left: 3px solid hsl(var(--danger));
  border-radius: 8px;
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.modern-reason-list__item:last-child {
  margin-bottom: 0;
}

.modern-reason-list__number {
  font-weight: 700;
  color: hsl(var(--danger));
  flex-shrink: 0;
}

/* Pagination */
.modern-pagination-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.modern-pagination-wrapper nav {
  width: 100%;
}

.modern-pagination-wrapper nav>div.d-none.d-sm-flex {
  display: flex !important;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.modern-pagination-wrapper nav>div.d-none.d-sm-flex>div:first-child p {
  margin-bottom: 0;
  color: #6c757d;
  font-size: 14px;
}

.modern-pagination-wrapper .pagination {
  gap: 6px;
}

.modern-pagination-wrapper .page-link {
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  padding: 8px 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modern-pagination-wrapper .page-link:hover {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
  border-color: hsl(var(--base));
  color: hsl(var(--base));
  transform: translateY(-2px);
}

.modern-pagination-wrapper .page-item.active .page-link {
  background: hsl(var(--base));
  border-color: hsl(var(--base));
  color: #fff;
  box-shadow: 0 2px 8px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Responsive Design */
@media (min-width: 1200px) and (max-width: 1400px) {

  .modern-ads-table__header .modern-ads-table__row,
  .modern-ads-table__body .modern-ads-table__row {
    grid-template-columns: 90px 90px 140px 110px 160px 120px 100px 90px 1fr;
    gap: 12px;
  }
}

@media (max-width: 1199px) {
  .modern-ads-table__header {
    display: none;
  }

  .modern-ads-table__body {
    padding: 12px;
  }

  .modern-ads-card {
    padding: 16px;
    position: relative;
  }

  .modern-ads-table__body .modern-ads-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    grid-template-areas:
      "type status"
      "currency payment"
      "margin rate"
      "window published"
      "actions actions";
  }

  .modern-ads-table__cell {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border-bottom: none;
  }

  .modern-ads-table__cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: #9e9e9e;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .modern-ads-table__cell:nth-child(1) {
    grid-area: type;
  }

  .modern-ads-table__cell:nth-child(2) {
    grid-area: currency;
  }

  .modern-ads-table__cell:nth-child(3) {
    grid-area: payment;
  }

  .modern-ads-table__cell:nth-child(4) {
    grid-area: margin;
  }

  .modern-ads-table__cell:nth-child(5) {
    grid-area: rate;
  }

  .modern-ads-table__cell:nth-child(6) {
    grid-area: window;
  }

  .modern-ads-table__cell:nth-child(7) {
    grid-area: published;
  }

  .modern-ads-table__cell:nth-child(8) {
    grid-area: status;
  }

  .modern-ads-table__cell:nth-child(9) {
    grid-area: actions;
  }

  .modern-ads-table__cell--actions {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .modern-ads-table__cell--actions::before {
    display: none;
  }

  .modern-ads-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .modern-ads-table__value {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .modern-empty-state {
    padding: 40px 20px;
  }

  .modern-empty-state__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .modern-empty-state__icon i {
    font-size: 36px;
  }

  .modern-empty-state__title {
    font-size: 20px;
  }

  .modern-empty-state__text {
    font-size: 14px;
  }

  .modern-header-action-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .modern-ads-table-wrapper {
    border-radius: 12px;
  }

  .modern-ads-card {
    padding: 14px;
    border-radius: 10px;
  }

  .modern-ads-table__body .modern-ads-table__row {
    gap: 10px 12px;
  }

  .modern-ads-table__cell {
    font-size: 13px;
  }

  .modern-ads-table__cell::before {
    font-size: 10px;
  }

  .modern-ads-table__value {
    font-size: 12px;
  }

  .modern-ads-actions {
    gap: 6px;
  }

  .modern-modal__header {
    padding: 16px 20px;
  }

  .modern-modal__title {
    font-size: 16px;
  }

  .modern-modal__body {
    padding: 20px;
  }

  .modern-reason-list__item {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .modern-ads-table__body {
    padding: 10px;
  }

  .modern-ads-card {
    padding: 12px;
    margin-bottom: 10px;
  }

  .modern-ads-table__body .modern-ads-table__row {
    gap: 8px 10px;
  }

  .modern-ads-table__cell::before {
    font-size: 10px;
  }

  .modern-ads-table__value {
    font-size: 12px;
  }

  .modern-ads-table__cell--actions {
    padding-top: 10px;
    margin-top: 6px;
  }

  .modern-ads-actions {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 4px;
  }

  .modern-ads-action-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }

  .modern-ads-action-btn i {
    font-size: 20px;
  }

  .modern-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-ads-card {
  animation: fadeInUp 0.4s ease;
}

.modern-ads-card:nth-child(1) {
  animation-delay: 0.05s;
}

.modern-ads-card:nth-child(2) {
  animation-delay: 0.1s;
}

.modern-ads-card:nth-child(3) {
  animation-delay: 0.15s;
}

.modern-ads-card:nth-child(4) {
  animation-delay: 0.2s;
}

.modern-ads-card:nth-child(5) {
  animation-delay: 0.25s;
}

/* Print Styles */
@media print {

  .modern-ads-actions,
  .modern-header-action-btn {
    display: none !important;
  }

  .modern-ads-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}


/* ============================================
   Modern Advertisement Create/Edit Page Styles
   ============================================ */

/* Container */
.modern-ad-create-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* Modern Stepper */
.modern-stepper {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-stepper__steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modern-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.modern-stepper__step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #9e9e9e;
  transition: all 0.3s ease;
  position: relative;
}

.modern-stepper__number {
  display: block;
}

.modern-stepper__check {
  display: none;
  font-size: 24px;
}

.modern-stepper__step.active .modern-stepper__step-number {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  border-color: hsl(var(--base));
  color: #fff;
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
  transform: scale(1.1);
}

.modern-stepper__step.completed .modern-stepper__step-number {
  background: hsl(var(--success));
  border-color: hsl(var(--success));
  color: #fff;
}

.modern-stepper__step.completed .modern-stepper__number {
  display: none;
}

.modern-stepper__step.completed .modern-stepper__check {
  display: block;
}

.modern-stepper__step-label {
  font-size: 13px;
  font-weight: 600;
  color: #9e9e9e;
  text-align: center;
  transition: all 0.3s ease;
}

.modern-stepper__step.active .modern-stepper__step-label {
  color: hsl(var(--base));
}

.modern-stepper__step.completed .modern-stepper__step-label {
  color: hsl(var(--success));
}

.modern-stepper__line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin: 0 16px;
  align-self: center;
  transition: all 0.3s ease;
}

.modern-stepper__line.active {
  background: hsl(var(--success));
}

/* Modern Ad Card */
.modern-ad-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Ad Type Selector */
.modern-ad-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.modern-ad-type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  color: #6c757d;
}

.modern-ad-type-btn i {
  font-size: 32px;
  color: #9e9e9e;
  transition: all 0.3s ease;
}

.modern-ad-type-btn:hover {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.05);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
  transform: translateY(-2px);
}

.modern-ad-type-btn.active {
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  border-color: hsl(var(--base));
  color: hsl(var(--base));
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.2);
}

.modern-ad-type-btn.active i {
  color: hsl(var(--base));
}

/* Ad Notice */
.modern-ad-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid hsl(var(--warning));
  border-radius: 8px;
  margin-bottom: 24px;
  color: #856404;
  font-size: 14px;
}

.modern-ad-notice i {
  font-size: 20px;
  color: hsl(var(--warning));
  flex-shrink: 0;
}

/* Modern Form */
.modern-ad-form {
  width: 100%;
}

.modern-form-group {
  margin-bottom: 20px;
}

.modern-form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.modern-form-tooltip {
  color: #9e9e9e;
  cursor: help;
  transition: all 0.3s ease;
}

.modern-form-tooltip:hover {
  color: hsl(var(--base));
}

.modern-form-input,
.modern-form-select,
.modern-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  color: #2c3e50;
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.modern-form-input:focus,
.modern-form-select:focus,
.modern-form-textarea:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
}

.modern-form-input::placeholder,
.modern-form-textarea::placeholder {
  color: #9e9e9e;
}

.modern-form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Input Group */
.modern-input-group {
  display: flex;
  align-items: stretch;
}

.modern-input-group .modern-form-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.modern-input-group-text {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

/* Currency Selector */
.modern-currency-selector {
  position: relative;
}

.modern-currency-selector__selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-currency-selector__selected:hover {
  border-color: hsl(var(--base));
}

.modern-currency-selector__text {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.modern-currency-selector__selected i {
  color: #9e9e9e;
  transition: transform 0.3s ease;
}

.modern-currency-selector.active .modern-currency-selector__selected i {
  transform: rotate(180deg);
}

.modern-currency-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}

.modern-currency-selector.active .modern-currency-selector__dropdown {
  display: block;
  animation: slideDown 0.3s ease;
}

.modern-currency-selector__item {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-currency-selector__item:hover {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
  color: hsl(var(--base));
}

/* Price Result */
.modern-price-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  color: #856404;
  font-size: 14px;
}

.modern-price-result i {
  font-size: 24px;
  color: hsl(var(--warning));
}

.modern-price-result strong {
  color: hsl(var(--warning));
  font-weight: 700;
}

/* Form Actions */
.modern-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.modern-btn-primary,
.modern-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.modern-btn-primary {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  color: #fff;
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4);
  color: #fff;
}

.modern-btn-secondary {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #e0e0e0;
}

.modern-btn-secondary:hover {
  background: #e9ecef;
  color: #495057;
  transform: translateY(-2px);
}

/* Select2 Customization for Modern Forms */
.modern-form-group .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
}

.modern-form-group .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 16px;
  color: #2c3e50;
  font-size: 14px;
}

.modern-form-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 12px;
}

.modern-form-group .select2-container--default.select2-container--open .select2-selection--single {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
}

.modern-form-group .select2-dropdown {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.modern-form-group .select2-results__option {
  padding: 12px 16px;
  font-size: 14px;
}

.modern-form-group .select2-results__option--highlighted {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) !important;
  color: hsl(var(--base)) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
  .modern-ad-create-container {
    padding: 0;
  }

  .modern-stepper {
    padding: 24px 20px;
    margin-bottom: 20px;
  }

  .modern-stepper__step-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .modern-stepper__step-label {
    font-size: 12px;
  }

  .modern-stepper__line {
    margin: 0 12px;
    align-self: flex-start;
    margin-top: 23px;
  }

  .modern-ad-card {
    padding: 24px 20px;
  }
}

@media (max-width: 767px) {
  .modern-stepper {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .modern-stepper__step-number {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .modern-stepper__check {
    font-size: 20px;
  }

  .modern-stepper__step-label {
    font-size: 11px;
    max-width: 80px;
  }

  .modern-stepper__line {
    margin: 0 8px;
    margin-top: 20px;
  }

  .modern-ad-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .modern-ad-type-selector {
    gap: 10px;
  }

  .modern-ad-type-btn {
    padding: 16px 12px;
    gap: 8px;
    flex-direction: row;
    justify-content: center;
  }

  .modern-ad-type-btn i {
    font-size: 20px;
  }

  .modern-ad-type-btn span {
    font-size: 13px;
  }

  .modern-ad-notice {
    padding: 12px 14px;
    font-size: 13px;
  }

  .modern-form-actions {
    gap: 10px;
  }

  .modern-btn-primary,
  .modern-btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 12px 20px;
  }
}

@media (max-width: 575px) {
  .modern-stepper__step-label {
    display: none;
  }

  .modern-stepper__line {
    margin: 0 6px;
    margin-top: 18px;
  }

  .modern-ad-type-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modern-ad-type-btn {
    padding: 12px 10px;
    gap: 6px;
  }

  .modern-ad-type-btn i {
    font-size: 18px;
  }

  .modern-ad-type-btn span {
    font-size: 12px;
  }

  .modern-form-label {
    font-size: 13px;
  }

  .modern-form-input,
  .modern-form-select,
  .modern-form-textarea {
    font-size: 13px;
    padding: 10px 14px;
  }

  .modern-input-group-text {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Keep Asset and Fiat fields side by side on small screens */
  .modern-ad-form .row.g-3>.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Make price result smaller on small screens */
  .modern-price-result {
    padding: 12px 14px;
    gap: 8px;
    font-size: 12px;
  }

  .modern-price-result i {
    font-size: 18px;
  }
}

/* Currency Selector Click Handler */
@media (hover: none) {
  .modern-currency-selector__selected:active {
    background: #f8f9fa;
  }
}


/* ============================================
   Modern Contact Page Styles
   ============================================ */

/* Contact Section */
.modern-contact-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* Contact Heading */
.modern-contact-heading {
  margin-bottom: 40px;
}

.modern-contact-heading__title {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
  line-height: 1.2;
}

.modern-contact-heading__desc {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Form Card */
.modern-contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
}

.modern-contact-form .modern-form-group {
  margin-bottom: 20px;
}

.modern-contact-form .modern-form-group:last-child {
  margin-bottom: 0;
  margin-top: 24px;
}

.modern-contact-form .modern-btn-primary {
  padding: 14px 28px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Contact Thumb */
.modern-contact-thumb {
  margin-bottom: 24px;
}

.modern-contact-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.modern-contact-thumb:hover img {
  transform: scale(1.02);
}

/* Contact Info Wrapper */
.modern-contact-info-wrapper {
  margin-top: 24px;
}

/* Contact Info Card */
.modern-contact-info {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modern-contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-contact-info__icon {
  margin-bottom: 4px;
}

.modern-contact-info__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.modern-contact-info__title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0;
}

.modern-contact-info__desc {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.5;
}

.modern-contact-info__link {
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--base));
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-all;
}

.modern-contact-info__link:hover {
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
  text-decoration: underline;
}

/* Captcha Styling */
.modern-contact-form .captcha-wrapper {
  margin-bottom: 20px;
}

.modern-contact-form .captcha-wrapper .form-group {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-contact-section {
    padding: 50px 0;
  }

  .modern-contact-heading__title {
    font-size: 36px;
  }

  .modern-contact-form-card {
    padding: 28px;
  }
}

@media (max-width: 991px) {
  .modern-contact-section {
    padding: 40px 0;
  }

  .modern-contact-heading {
    margin-bottom: 32px;
  }

  .modern-contact-heading__title {
    font-size: 32px;
  }

  .modern-contact-heading__desc {
    font-size: 15px;
  }

  .modern-contact-form-card {
    padding: 24px;
    margin-bottom: 30px;
  }

  .modern-contact-thumb {
    margin-bottom: 20px;
  }

  .modern-contact-thumb img {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .modern-contact-section {
    padding: 32px 0;
  }

  .modern-contact-heading {
    margin-bottom: 28px;
  }

  .modern-contact-heading__title {
    font-size: 28px;
  }

  .modern-contact-heading__desc {
    font-size: 14px;
  }

  .modern-contact-form-card {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-contact-form .modern-form-group {
    margin-bottom: 16px;
  }

  .modern-contact-form .modern-btn-primary {
    padding: 12px 24px;
    font-size: 14px;
  }



  .modern-contact-info {
    padding: 20px;
  }

  .modern-contact-info__icon {
    width: 48px;
    height: 48px;
  }

  .modern-contact-info__icon img {
    width: 28px;
    height: 28px;
  }

  .modern-contact-info__title {
    font-size: 16px;
  }

  .modern-contact-info__desc {
    font-size: 13px;
  }

  .modern-contact-info__link {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .modern-contact-section {
    padding: 24px 0;
  }

  .modern-contact-heading {
    margin-bottom: 24px;
  }

  .modern-contact-heading__title {
    font-size: 24px;
  }

  .modern-contact-form-card {
    padding: 16px;
  }

  .modern-contact-form .modern-form-group {
    margin-bottom: 14px;
  }

  .modern-contact-info {
    padding: 16px;
  }

  .modern-contact-info-wrapper .row.g-3 {
    gap: 12px !important;
  }
}

/* Animation */
.modern-contact-info {
  animation: fadeInUp 0.5s ease;
}

.modern-contact-info:nth-child(1) {
  animation-delay: 0.1s;
}

.modern-contact-info:nth-child(2) {
  animation-delay: 0.2s;
}

.modern-contact-info:nth-child(3) {
  animation-delay: 0.3s;
}

.modern-contact-info:nth-child(4) {
  animation-delay: 0.4s;
}

/* Print Styles */
@media print {
  .modern-contact-info {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}


/* ============================================
   Modern CTA (Call to Action) Section Styles
   ============================================ */

/* CTA Section */
.modern-cta-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* CTA Card */
.modern-cta-card {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 15%)) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.modern-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.modern-cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

/* CTA Content */
.modern-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA Icon */
.modern-cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.modern-cta-icon i {
  font-size: 40px;
  color: #fff;
}

/* CTA Title */
.modern-cta-title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* CTA Description */
.modern-cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* CTA Button */
.modern-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #fff;
  color: hsl(var(--base)) !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  background: #f8f9fa;
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) !important;
}

.modern-cta-btn i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.modern-cta-btn:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-cta-section {
    padding: 70px 0;
  }

  .modern-cta-card {
    padding: 50px 35px;
  }

  .modern-cta-title {
    font-size: 34px;
  }

  .modern-cta-desc {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .modern-cta-section {
    padding: 60px 0;
  }

  .modern-cta-card {
    padding: 45px 30px;
    border-radius: 20px;
  }

  .modern-cta-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .modern-cta-icon i {
    font-size: 36px;
  }

  .modern-cta-title {
    font-size: 30px;
  }

  .modern-cta-desc {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .modern-cta-btn {
    padding: 14px 36px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .modern-cta-section {
    padding: 50px 0;
  }

  .modern-cta-card {
    padding: 40px 24px;
    border-radius: 16px;
  }

  .modern-cta-card::before,
  .modern-cta-card::after {
    display: none;
  }

  .modern-cta-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .modern-cta-icon i {
    font-size: 32px;
  }

  .modern-cta-title {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .modern-cta-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .modern-cta-btn {
    padding: 13px 32px;
    font-size: 14px;
    border-radius: 10px;
  }

  .modern-cta-btn i {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .modern-cta-section {
    padding: 40px 0;
  }

  .modern-cta-card {
    padding: 32px 20px;
  }

  .modern-cta-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .modern-cta-icon i {
    font-size: 28px;
  }

  .modern-cta-title {
    font-size: 22px;
  }

  .modern-cta-desc {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .modern-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 28px;
  }
}

/* Animation */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.modern-cta-icon {
  animation: pulse 3s ease-in-out infinite;
}

/* Print Styles */
@media print {
  .modern-cta-card {
    box-shadow: none;
    border: 2px solid hsl(var(--base));
    page-break-inside: avoid;
  }

  .modern-cta-card::before,
  .modern-cta-card::after {
    display: none;
  }
}


/* ============================================
   Modern Account Open Section Styles
   ============================================ */

/* Account Open Section */
.modern-account-open-section {
  padding: 80px 0;
  background: #fff;
}

/* Section Header */
.modern-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.modern-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Account Card */
.modern-account-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modern-account-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Card Icon */
.modern-account-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  transition: all 0.3s ease;
}

.modern-account-card:hover .modern-account-card__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.15) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.08) 100%);
}

.modern-account-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Card Content */
.modern-account-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modern-account-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.4;
}

.modern-account-card__desc {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-account-open-section {
    padding: 70px 0;
  }

  .modern-section-header {
    margin-bottom: 42px;
  }

  .modern-section-title {
    font-size: 32px;
  }

  .modern-account-card {
    padding: 28px 22px;
  }

  .modern-account-card__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }

  .modern-account-card__icon img {
    width: 44px;
    height: 44px;
  }

  .modern-account-card__title {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .modern-account-open-section {
    padding: 60px 0;
  }

  .modern-section-header {
    margin-bottom: 36px;
  }

  .modern-section-title {
    font-size: 28px;
  }

  .modern-account-card {
    padding: 26px 20px;
  }

  .modern-account-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
  }

  .modern-account-card__icon img {
    width: 40px;
    height: 40px;
  }

  .modern-account-card__title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .modern-account-card__desc {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .modern-account-open-section {
    padding: 50px 0;
  }

  .modern-section-header {
    margin-bottom: 32px;
  }

  .modern-section-title {
    font-size: 26px;
  }

  .modern-account-card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .modern-account-card:hover {
    transform: translateY(-4px);
  }

  .modern-account-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .modern-account-card__icon img {
    width: 38px;
    height: 38px;
  }

  .modern-account-card__title {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .modern-account-open-section {
    padding: 40px 0;
  }

  .modern-section-header {
    margin-bottom: 28px;
  }

  .modern-section-title {
    font-size: 22px;
  }

  .modern-account-card {
    padding: 20px 18px;
  }

  .modern-account-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .modern-account-card__icon img {
    width: 36px;
    height: 36px;
  }

  .modern-account-card__title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .modern-account-card__desc {
    font-size: 13px;
  }
}

/* Animation */
.modern-account-card {
  animation: fadeInUp 0.5s ease;
}

.modern-account-card:nth-child(1) {
  animation-delay: 0.1s;
}

.modern-account-card:nth-child(2) {
  animation-delay: 0.2s;
}

.modern-account-card:nth-child(3) {
  animation-delay: 0.3s;
}

.modern-account-card:nth-child(4) {
  animation-delay: 0.4s;
}

.modern-account-card:nth-child(5) {
  animation-delay: 0.5s;
}

.modern-account-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Print Styles */
@media print {
  .modern-account-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}


/* ============================================
   Modern Trade Section Styles
   ============================================ */

/* Trade Section */
.modern-trade-section {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Trade Header */
.modern-trade-header {
  margin-bottom: 40px;
}

.modern-trade-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Modern Trade Tabs Wrapper */
.modern-trade-tabs-wrapper {
  display: flex;
  justify-content: flex-end;
}

/* Modern Trade Tabs */
.modern-trade-tabs {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 6px;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modern-trade-tabs__item {
  flex: 0 0 auto;
}

.modern-trade-tabs__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-trade-tabs__btn i {
  font-size: 18px;
}

.modern-trade-tabs__btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #2c3e50;
}

.modern-trade-tabs__btn.active {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  color: #fff;
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Trade Content */
.modern-trade-content {
  margin-top: 32px;
}

/* Trade Card */
.modern-trade-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-trade-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Card Image */
.modern-trade-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modern-trade-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.modern-trade-card:hover .modern-trade-card__image img {
  transform: scale(1.05);
}

/* Card Content */
.modern-trade-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modern-trade-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.4;
}

.modern-trade-card__desc {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-trade-section {
    padding: 70px 0;
  }

  .modern-trade-header {
    margin-bottom: 36px;
  }

  .modern-trade-title {
    font-size: 32px;
  }



  .modern-trade-tabs__btn {
    padding: 11px 18px;
    font-size: 13px;
  }

  .modern-trade-card__image {
    height: 180px;
  }

  .modern-trade-card__content {
    padding: 22px;
  }

  .modern-trade-card__title {
    font-size: 17px;
  }
}

@media (max-width: 991px) {
  .modern-trade-section {
    padding: 60px 0;
  }

  .modern-trade-header {
    margin-bottom: 32px;
  }

  .modern-trade-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .modern-trade-tabs-wrapper {
    justify-content: flex-start;
  }

  .modern-trade-tabs__btn {
    padding: 10px 16px;
  }

  .modern-trade-tabs__btn i {
    font-size: 16px;
  }

  .modern-trade-card__image {
    height: 170px;
  }

  .modern-trade-card__content {
    padding: 20px;
  }

  .modern-trade-card__title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .modern-trade-card__desc {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .modern-trade-section {
    padding: 50px 0;
  }

  .modern-trade-header {
    margin-bottom: 28px;
  }

  .modern-trade-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .modern-trade-tabs-wrapper {
    justify-content: flex-start;
  }

  .modern-trade-tabs {
    width: 100%;
    padding: 5px;
  }

  .modern-trade-tabs__item {
    flex: 1;
  }

  .modern-trade-tabs__btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .modern-trade-content {
    margin-top: 24px;
  }

  .modern-trade-card {
    border-radius: 12px;
  }

  .modern-trade-card:hover {
    transform: translateY(-4px);
  }

  .modern-trade-card__image {
    height: 160px;
    padding: 16px;
  }

  .modern-trade-card__content {
    padding: 18px;
  }

  .modern-trade-card__title {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .modern-trade-section {
    padding: 40px 0;
  }

  .modern-trade-header {
    margin-bottom: 24px;
  }

  .modern-trade-title {
    font-size: 22px;
  }

  .modern-trade-tabs {
    padding: 4px;
  }

  .modern-trade-tabs__btn {
    padding: 10px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .modern-trade-tabs__btn i {
    font-size: 16px;
  }

  .modern-trade-tabs__btn span {
    display: none;
  }

  .modern-trade-content {
    margin-top: 20px;
  }

  .modern-trade-card__image {
    height: 150px;
    padding: 14px;
  }

  .modern-trade-card__content {
    padding: 16px;
  }

  .modern-trade-card__title {
    font-size: 14px;
  }

  .modern-trade-card__desc {
    font-size: 12px;
  }
}

/* Animation */
.modern-trade-card {
  animation: fadeInUp 0.5s ease;
}

.modern-trade-card:nth-child(1) {
  animation-delay: 0.1s;
}

.modern-trade-card:nth-child(2) {
  animation-delay: 0.2s;
}

.modern-trade-card:nth-child(3) {
  animation-delay: 0.3s;
}

.modern-trade-card:nth-child(4) {
  animation-delay: 0.4s;
}

.modern-trade-card:nth-child(5) {
  animation-delay: 0.5s;
}

.modern-trade-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Tab Transition */
.modern-trade-content .tab-pane {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Print Styles */
@media print {
  .modern-trade-tabs {
    display: none;
  }

  .modern-trade-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
}


/* ============================================
   Modern Dashboard Styles
   ============================================ */

/* Dashboard Container */
.modern-dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section Subtitle */
.modern-section-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Referral Card */
.modern-referral-card {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.modern-referral-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modern-referral-card__header i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.modern-referral-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Modern Input Group */
.modern-input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.modern-input-group__input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 14px;
  color: #2c3e50;
  font-weight: 500;
  outline: none;
  transition: all 0.3s ease;
}

.modern-input-group__input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.modern-input-group__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.modern-input-group__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.modern-input-group__btn i {
  font-size: 18px;
}

/* Wallets Section */
.modern-wallets-section {
  margin-bottom: 0;
}

/* Wallet Card */
.modern-wallet-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.modern-wallet-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Wallet Icon */
.modern-wallet-card__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modern-wallet-card:hover .modern-wallet-card__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.15) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.08) 100%);
}

.modern-wallet-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Wallet Content */
.modern-wallet-card__content {
  flex: 1;
  min-width: 0;
}

.modern-wallet-card__label {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.modern-wallet-card__balance {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  word-break: break-all;
}

.modern-wallet-card__usd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6c757d;
}

.modern-wallet-card__usd i {
  font-size: 14px;
  color: hsl(var(--base));
}

.modern-wallet-card__usd strong {
  color: hsl(var(--base));
  font-weight: 600;
}

/* Ads Section */
.modern-ads-section {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-dashboard {
    gap: 28px;
  }

  .modern-section-subtitle {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .modern-referral-card {
    padding: 24px;
  }

  .modern-wallet-card {
    padding: 20px;
  }

  .modern-wallet-card__icon {
    width: 56px;
    height: 56px;
  }

  .modern-wallet-card__icon img {
    width: 36px;
    height: 36px;
  }

  .modern-wallet-card__balance {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .modern-dashboard {
    gap: 24px;
  }

  .modern-section-subtitle {
    font-size: 17px;
  }

  .modern-referral-card {
    padding: 22px;
    border-radius: 14px;
  }

  .modern-referral-card__header i {
    font-size: 24px;
  }

  .modern-referral-card__title {
    font-size: 16px;
  }

  .modern-input-group__input {
    padding: 12px 16px;
    font-size: 13px;
  }

  .modern-input-group__btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .modern-wallet-card {
    padding: 18px;
  }

  .modern-wallet-card__icon {
    width: 52px;
    height: 52px;
  }

  .modern-wallet-card__icon img {
    width: 34px;
    height: 34px;
  }

  .modern-wallet-card__balance {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .modern-dashboard {
    gap: 20px;
  }

  .modern-section-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .modern-referral-card {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-referral-card__header {
    margin-bottom: 16px;
  }

  .modern-referral-card__header i {
    font-size: 22px;
  }

  .modern-referral-card__title {
    font-size: 15px;
  }

  .modern-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .modern-input-group__input {
    padding: 12px 14px;
  }

  .modern-input-group__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .modern-wallet-card {
    padding: 16px;
    border-radius: 12px;
  }

  .modern-wallet-card:hover {
    transform: translateY(-4px);
  }

  .modern-wallet-card__icon {
    width: 48px;
    height: 48px;
  }

  .modern-wallet-card__icon img {
    width: 32px;
    height: 32px;
  }

  .modern-wallet-card__balance {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .modern-wallet-card__usd {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .modern-dashboard {
    gap: 18px;
  }

  .modern-section-subtitle {
    font-size: 15px;
  }

  .modern-referral-card {
    padding: 18px;
  }

  .modern-referral-card__header {
    gap: 10px;
  }

  .modern-input-group__input {
    font-size: 12px;
  }

  .modern-input-group__btn {
    font-size: 12px;
  }

  .modern-wallet-card {
    gap: 16px;
    padding: 14px;
  }

  .modern-wallet-card__label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .modern-wallet-card__balance {
    font-size: 16px;
  }

  .modern-wallet-card__usd {
    font-size: 11px;
  }
}

/* Animation */
.modern-wallet-card {
  animation: fadeInUp 0.5s ease;
}

.modern-wallet-card:nth-child(1) {
  animation-delay: 0.1s;
}

.modern-wallet-card:nth-child(2) {
  animation-delay: 0.2s;
}

.modern-wallet-card:nth-child(3) {
  animation-delay: 0.3s;
}

.modern-wallet-card:nth-child(4) {
  animation-delay: 0.4s;
}

.modern-wallet-card:nth-child(5) {
  animation-delay: 0.5s;
}

.modern-wallet-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Print Styles */
@media print {
  .modern-referral-card {
    box-shadow: none;
    border: 2px solid hsl(var(--base));
  }

  .modern-input-group__btn {
    display: none;
  }

  .modern-wallet-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}


/* ============================================
   Modern Sidebar Menu Styles
   ============================================ */

/* Sidebar Container */
.modern-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
}

/* Close Button (Mobile) */
.modern-sidebar__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modern-sidebar__close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

/* Sidebar Navigation */
.modern-sidebar__nav {
  width: 100%;
}

/* Sidebar Menu */
.modern-sidebar__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Sidebar Item */
.modern-sidebar__item {
  margin-bottom: 4px;
  padding: 0 12px;
}

.modern-sidebar__item:last-child {
  margin-bottom: 0;
}

/* Logout Item Separator */
.modern-sidebar__item--logout {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Sidebar Link */
.modern-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.modern-sidebar__link:hover {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.08);
  color: hsl(var(--base));
  transform: translateX(4px);
}

/* Active State */
.modern-sidebar__item.active .modern-sidebar__link,
.modern-sidebar__item.menu-active .modern-sidebar__link {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  color: #fff;
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-sidebar__item.active .modern-sidebar__link:hover,
.modern-sidebar__item.menu-active .modern-sidebar__link:hover {
  transform: translateX(0);
}

/* Sidebar Icon */
.modern-sidebar__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-sidebar__icon i {
  font-size: 20px;
  line-height: 1;
}

/* Sidebar Text */
.modern-sidebar__text {
  flex: 1;
  white-space: nowrap;
}

/* Logout Link Special Styling */
.modern-sidebar__item--logout .modern-sidebar__link {
  color: #dc3545;
}

.modern-sidebar__item--logout .modern-sidebar__link:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #c82333;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-sidebar {
    top: 90px;
    padding: 18px 0;
  }

  .modern-sidebar__link {
    padding: 11px 14px;
    font-size: 13px;
  }

  .modern-sidebar__icon i {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .modern-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    padding: 60px 0 20px;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .modern-sidebar.show {
    left: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .modern-sidebar__close {
    display: flex;
  }

  .modern-sidebar__item {
    padding: 0 16px;
  }

  .modern-sidebar__link {
    padding: 12px 16px;
  }
}

@media (max-width: 767px) {
  .modern-sidebar {
    width: 260px;
    padding: 56px 0 16px;
  }

  .modern-sidebar__close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .modern-sidebar__item {
    padding: 0 12px;
    margin-bottom: 3px;
  }

  .modern-sidebar__link {
    padding: 10px 14px;
    font-size: 13px;
    gap: 10px;
  }

  .modern-sidebar__icon {
    width: 22px;
    height: 22px;
  }

  .modern-sidebar__icon i {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .modern-sidebar {
    width: 240px;
  }

  .modern-sidebar__link {
    font-size: 12px;
  }
}

/* Sidebar Overlay (Mobile) */
.modern-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
  .modern-sidebar-overlay.show {
    display: block;
    opacity: 1;
  }
}

/* Scrollbar Styling for Sidebar */
.modern-sidebar::-webkit-scrollbar {
  width: 6px;
}

.modern-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.modern-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.modern-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Animation */
.modern-sidebar__item {
  animation: fadeInLeft 0.4s ease;
}

.modern-sidebar__item:nth-child(1) {
  animation-delay: 0.05s;
}

.modern-sidebar__item:nth-child(2) {
  animation-delay: 0.1s;
}

.modern-sidebar__item:nth-child(3) {
  animation-delay: 0.15s;
}

.modern-sidebar__item:nth-child(4) {
  animation-delay: 0.2s;
}

.modern-sidebar__item:nth-child(5) {
  animation-delay: 0.25s;
}

.modern-sidebar__item:nth-child(6) {
  animation-delay: 0.3s;
}

.modern-sidebar__item:nth-child(7) {
  animation-delay: 0.35s;
}

.modern-sidebar__item:nth-child(8) {
  animation-delay: 0.4s;
}

.modern-sidebar__item:nth-child(9) {
  animation-delay: 0.45s;
}

.modern-sidebar__item:nth-child(10) {
  animation-delay: 0.5s;
}

.modern-sidebar__item:nth-child(11) {
  animation-delay: 0.55s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Print Styles */
@media print {
  .modern-sidebar {
    display: none;
  }
}


/* ============================================
   Modern Sidebar Toggle Button (Mobile)
   ============================================ */

@media (max-width: 991px) {
  .sidebar-toggle-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 22px !important;
    box-shadow: 0 6px 20px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4) !important;
    z-index: 999 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
  }

  .sidebar-toggle-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.5) !important;
  }

  .sidebar-toggle-btn:active {
    transform: scale(0.95) !important;
  }

  .sidebar-toggle-btn i {
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .sidebar-toggle-btn {
    width: 48px !important;
    height: 48px !important;
    bottom: 16px !important;
    left: 16px !important;
    font-size: 20px !important;
  }
}

@media (max-width: 575px) {
  .sidebar-toggle-btn {
    width: 46px !important;
    height: 46px !important;
    bottom: 14px !important;
    left: 14px !important;
    font-size: 18px !important;
  }
}


/* ============================================
   Modern User Banner (Dashboard Header) Styles
   ============================================ */

/* User Banner Section */
.modern-user-banner {
  padding: 32px 0;
  background: linear-gradient(135deg, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 2%)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 2%)) 100%);
}

/* Banner Card */
.modern-user-banner__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Profile Section */
.modern-user-banner__profile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Avatar */
.modern-user-banner__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid hsl(var(--base));
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-user-banner__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* User Info */
.modern-user-banner__info {
  flex: 1;
  min-width: 0;
}

.modern-user-banner__name {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
  word-break: break-word;
}

.modern-user-banner__email {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 0;
  word-break: break-all;
}

/* Details Section */
.modern-user-banner__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* Detail Item */
.modern-user-banner__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modern-user-banner__label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.modern-user-banner__action {
  font-size: 11px;
  color: hsl(var(--base));
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modern-user-banner__action:hover {
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
  text-decoration: underline;
}

.modern-user-banner__value {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0;
  word-break: break-word;
}

/* Modern Badge (reusable) */
.modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.modern-badge--success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.modern-badge--warning {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.modern-badge--danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.modern-badge i {
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-user-banner {
    padding: 28px 0;
  }

  .modern-user-banner__card {
    padding: 24px;
  }

  .modern-user-banner__avatar {
    width: 72px;
    height: 72px;
  }

  .modern-user-banner__name {
    font-size: 22px;
  }

  .modern-user-banner__details {
    gap: 18px;
  }
}

@media (max-width: 991px) {
  .modern-user-banner {
    padding: 24px 0;
  }

  .modern-user-banner__card {
    padding: 22px;
    border-radius: 14px;
  }

  .modern-user-banner__profile {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .modern-user-banner__avatar {
    width: 68px;
    height: 68px;
  }

  .modern-user-banner__name {
    font-size: 20px;
  }

  .modern-user-banner__email {
    font-size: 13px;
  }

  .modern-user-banner__details {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .modern-user-banner {
    padding: 20px 0;
  }

  .modern-user-banner__card {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-user-banner__profile {
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .modern-user-banner__avatar {
    width: 64px;
    height: 64px;
    border-width: 2px;
  }

  .modern-user-banner__name {
    font-size: 18px;
  }

  .modern-user-banner__email {
    font-size: 12px;
  }

  .modern-user-banner__details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modern-user-banner__label {
    font-size: 11px;
  }

  .modern-user-banner__value {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .modern-user-banner {
    padding: 16px 0;
  }

  .modern-user-banner__card {
    padding: 16px;
  }

  .modern-user-banner__profile {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .modern-user-banner__avatar {
    width: 60px;
    height: 60px;
  }

  .modern-user-banner__name {
    font-size: 16px;
  }

  .modern-user-banner__details {
    gap: 12px;
  }

  .modern-user-banner__item {
    gap: 4px;
  }

  .modern-badge {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* Animation */
.modern-user-banner__card {
  animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles */
@media print {
  .modern-user-banner {
    background: none;
  }

  .modern-user-banner__card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .modern-user-banner__action {
    display: none;
  }
}


/* ============================================
   Modern Profile Settings Styles
   ============================================ */

/* Profile Settings Container */
.modern-profile-settings {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Profile Picture Section */
.modern-profile-picture {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modern-profile-picture__avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid hsl(var(--base));
  box-shadow: 0 6px 20px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-profile-picture__avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4);
}

.modern-profile-picture__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-profile-picture__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-profile-picture__avatar:hover .modern-profile-picture__overlay {
  opacity: 1;
}

.modern-profile-picture__overlay i {
  font-size: 40px;
  color: #fff;
}

.modern-profile-picture__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: hsl(var(--base));
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-profile-picture__btn:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(var(--base-h), var(--base-s), var(--base-l), 0.4);
}

.modern-profile-picture__btn i {
  font-size: 18px;
}

/* Profile Form Card */
.modern-profile-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Form Section */
.modern-form-section {
  margin-bottom: 32px;
}

.modern-form-section:last-of-type {
  margin-bottom: 0;
}

.modern-form-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.modern-form-section__title i {
  font-size: 22px;
  color: hsl(var(--base));
}

/* Form Actions */
.modern-form-actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-end;
}

.modern-form-actions .modern-btn-primary {
  padding: 14px 32px;
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-profile-settings {
    gap: 20px;
  }

  .modern-profile-picture {
    padding: 28px;
  }

  .modern-profile-picture__avatar {
    width: 130px;
    height: 130px;
  }

  .modern-profile-form-card {
    padding: 28px;
  }

  .modern-form-section {
    margin-bottom: 28px;
  }

  .modern-form-section__title {
    font-size: 17px;
  }
}

@media (max-width: 991px) {
  .modern-profile-settings {
    gap: 18px;
  }

  .modern-profile-picture {
    padding: 24px;
  }

  .modern-profile-picture__avatar {
    width: 120px;
    height: 120px;
  }

  .modern-profile-picture__overlay i {
    font-size: 36px;
  }

  .modern-profile-picture__btn {
    padding: 11px 22px;
    font-size: 13px;
  }

  .modern-profile-form-card {
    padding: 24px;
  }

  .modern-form-section {
    margin-bottom: 24px;
  }

  .modern-form-section__title {
    font-size: 16px;
    margin-bottom: 18px;
  }
}

@media (max-width: 767px) {
  .modern-profile-settings {
    gap: 16px;
  }

  .modern-profile-picture {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-profile-picture__avatar {
    width: 110px;
    height: 110px;
    border-width: 3px;
  }

  .modern-profile-picture__overlay i {
    font-size: 32px;
  }

  .modern-profile-picture__btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .modern-profile-form-card {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-form-section {
    margin-bottom: 20px;
  }

  .modern-form-section__title {
    font-size: 15px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .modern-form-section__title i {
    font-size: 20px;
  }

  .modern-form-actions {
    margin-top: 24px;
    padding-top: 20px;
  }

  .modern-form-actions .modern-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .modern-profile-picture {
    padding: 18px;
  }

  .modern-profile-picture__avatar {
    width: 100px;
    height: 100px;
  }

  .modern-profile-picture__btn {
    width: 100%;
    justify-content: center;
  }

  .modern-profile-form-card {
    padding: 16px;
  }

  .modern-form-section__title {
    font-size: 14px;
  }
}

/* Animation */
.modern-profile-picture {
  animation: fadeInUp 0.5s ease;
}

.modern-profile-form-card {
  animation: fadeInUp 0.5s ease 0.1s;
  animation-fill-mode: both;
}

/* Print Styles */
@media print {
  .modern-profile-picture__btn {
    display: none;
  }

  .modern-profile-picture,
  .modern-profile-form-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .modern-form-actions {
    display: none;
  }
}


/* ============================================
   Modern Referral Page Styles
   ============================================ */

/* Referral Page Container */
.modern-referral-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Referral Info Card */
.modern-referral-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  border: 1px solid hsla(var(--base-h), var(--base-s), var(--base-l), 0.2);
  border-radius: 12px;
}

.modern-referral-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--base));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}

.modern-referral-info__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modern-referral-info__label {
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}

.modern-referral-info__link {
  font-size: 18px;
  font-weight: 700;
  color: hsl(var(--base));
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-referral-info__link:hover {
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
  text-decoration: underline;
}

/* Referral Tree Card */
.modern-referral-tree-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-referral-tree-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.modern-referral-tree-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.modern-referral-tree-title i {
  font-size: 24px;
  color: hsl(var(--base));
}

.modern-referral-tree-count {
  padding: 6px 14px;
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
  color: hsl(var(--base));
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Modern Treeview Container */
.modern-treeview-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modern Treeview Styles */
.modern-treeview {
  padding-left: 0;
}

.modern-treeview li {
  position: relative;
  padding: 8px 0 8px 24px;
  list-style: none;
}

.modern-treeview li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  border-left: 2px solid hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
  border-bottom: 2px solid hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-treeview li:last-child::before {
  height: 20px;
}

.modern-tree-root {
  padding-left: 0 !important;
}

.modern-tree-root::before {
  display: none !important;
}

.modern-tree-username {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
  border: 1px solid hsla(var(--base-h), var(--base-s), var(--base-l), 0.2);
  border-radius: 6px;
  color: hsl(var(--base));
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.modern-tree-username::before {
  content: '\f007';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  font-size: 12px;
}

.modern-treeview li:hover>.modern-tree-username {
  background: hsl(var(--base));
  color: #fff;
  transform: translateX(4px);
}

/* Empty Referrals State */
.modern-empty-referrals {
  background: #fff;
  border-radius: 16px;
  padding: 60px 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-empty-referrals__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.1) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--base));
}

.modern-empty-referrals__icon i {
  font-size: 48px;
}

.modern-empty-referrals__title {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.modern-empty-referrals__text {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-referral-page {
    gap: 20px;
  }

  .modern-referral-tree-card {
    padding: 24px;
  }

  .modern-referral-tree-title {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .modern-referral-page {
    gap: 18px;
  }

  .modern-referral-info {
    padding: 18px 20px;
  }

  .modern-referral-info__icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .modern-referral-info__link {
    font-size: 16px;
  }

  .modern-referral-tree-card {
    padding: 22px;
  }

  .modern-referral-tree-header {
    margin-bottom: 20px;
  }

  .modern-referral-tree-title {
    font-size: 17px;
  }

  .modern-referral-tree-title i {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .modern-referral-page {
    gap: 16px;
  }

  .modern-referral-info {
    padding: 16px 18px;
    border-radius: 10px;
  }

  .modern-referral-info__icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modern-referral-info__label {
    font-size: 12px;
  }

  .modern-referral-info__link {
    font-size: 15px;
  }

  .modern-referral-tree-card {
    padding: 20px;
    border-radius: 12px;
  }

  .modern-referral-tree-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .modern-referral-tree-title {
    font-size: 16px;
  }

  .modern-referral-tree-count {
    font-size: 12px;
    padding: 5px 12px;
  }

  .modern-tree-username {
    font-size: 13px;
    padding: 5px 10px;
  }

  .modern-empty-referrals {
    padding: 40px 20px;
  }

  .modern-empty-referrals__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }

  .modern-empty-referrals__icon i {
    font-size: 40px;
  }

  .modern-empty-referrals__title {
    font-size: 20px;
  }

  .modern-empty-referrals__text {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .modern-referral-info {
    flex-direction: column;
    text-align: center;
  }

  .modern-referral-tree-card {
    padding: 16px;
  }

  .modern-referral-tree-title {
    font-size: 15px;
  }

  .modern-tree-username {
    font-size: 12px;
  }

  .modern-empty-referrals {
    padding: 32px 16px;
  }

  .modern-empty-referrals__icon {
    width: 70px;
    height: 70px;
  }

  .modern-empty-referrals__icon i {
    font-size: 36px;
  }

  .modern-empty-referrals__title {
    font-size: 18px;
  }
}

/* Animation */
.modern-referral-info {
  animation: fadeInDown 0.5s ease;
}

.modern-referral-tree-card {
  animation: fadeInUp 0.5s ease 0.1s;
  animation-fill-mode: both;
}

.modern-empty-referrals {
  animation: fadeInUp 0.5s ease;
}

/* Print Styles */
@media print {

  .modern-referral-info,
  .modern-referral-tree-card,
  .modern-empty-referrals {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}


/* ============================================
   Modern Withdraw History Styles
   ============================================ */

/* Withdraw History Container */
.modern-withdraw-history {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Filter Card */
.modern-filter-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: fit-content;
  max-width: 100%;
}

.modern-filter-form__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}

@media (max-width: 991px) {
  .modern-filter-card {
    width: 100%;
  }

  .modern-filter-form__fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-text {
    display: none;
  }

  .modern-btn-primary {
    width: fit-content;
    padding: 12px 16px;
  }
}

@media (max-width: 575px) {
  .modern-filter-form__fields {
    grid-template-columns: 1fr;
  }

  .search-text {
    display: inline;
  }

  .modern-btn-primary {
    width: 100%;
  }
}

.modern-filter-form__field {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  gap: 8px;
}

@media (max-width: 991px) {
  .modern-filter-form__field {
    min-width: 0;
  }
}

.modern-filter-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-filter-form__action .modern-btn-primary {
  padding: 12px 28px;
  white-space: nowrap;
}

/* Withdrawals List */
.modern-withdrawals-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Modern Accordion */
.modern-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modern-accordion__item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-accordion__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-accordion__header {
  margin: 0;
}

.modern-accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-accordion__button:not(.collapsed) {
  background: hsla(var(--base-h), var(--base-s), var(--base-l), 0.05);
}

.modern-accordion__main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.modern-accordion__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsla(var(--base-h), var(--base-s), var(--base-l), 0.15) 0%, hsla(var(--base-h), var(--base-s), var(--base-l), 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--base));
  font-size: 22px;
  flex-shrink: 0;
}

.modern-accordion__info {
  flex: 1;
  min-width: 0;
}

.modern-accordion__title {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.modern-accordion__date {
  font-size: 12px;
  color: #6c757d;
}

.modern-accordion__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.modern-accordion__trx {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modern-accordion__trx-label {
  font-size: 11px;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-accordion__trx-value {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}

.modern-accordion__amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.modern-accordion__amount-value {
  font-size: 15px;
  font-weight: 700;
  color: #2c3e50;
}

.modern-accordion__amount-charge {
  font-size: 12px;
  font-weight: 600;
  color: #dc3545;
}

.modern-accordion__toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.modern-accordion__button:not(.collapsed) .modern-accordion__toggle {
  background: hsl(var(--base));
  color: #fff;
  transform: rotate(180deg);
}

.modern-accordion__toggle i {
  font-size: 18px;
}

/* Accordion Body */
.modern-accordion__body {
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Detail List */
.modern-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.modern-detail-list__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modern-detail-list__item--full {
  grid-column: 1 / -1;
}

.modern-detail-list__label {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-detail-list__value {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  word-break: break-all;
}

.modern-detail-list__value--highlight {
  color: hsl(var(--base));
  font-size: 15px;
}

.modern-detail-list__value--address {
  font-family: monospace;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-withdraw-history {
    gap: 20px;
  }

  .modern-filter-card {
    padding: 22px;
  }

  .modern-withdrawals-list {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  .modern-withdraw-history {
    gap: 18px;
  }

  .modern-filter-card {
    padding: 20px;
  }

  .modern-filter-form__fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modern-filter-form__action .modern-btn-primary {
    width: 100%;
    justify-content: center;
  }

  .modern-withdrawals-list {
    padding: 16px;
  }

  .modern-accordion__button {
    padding: 16px 18px;
  }

  .modern-accordion__meta {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .modern-filter-card {
    padding: 18px;
    border-radius: 12px;
  }

  .modern-withdrawals-list {
    padding: 14px;
    border-radius: 12px;
  }

  .modern-accordion {
    gap: 10px;
  }

  .modern-accordion__item {
    border-radius: 10px;
  }

  .modern-accordion__button {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }

  .modern-accordion__main {
    width: 100%;
    order: 1;
  }

  .modern-accordion__meta {
    width: calc(100% - 48px);
    order: 2;
    gap: 16px;
  }

  .modern-accordion__toggle {
    order: 3;
  }

  .modern-accordion__icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modern-accordion__title {
    font-size: 14px;
  }

  .modern-accordion__date {
    font-size: 11px;
  }

  .modern-accordion__trx-value {
    font-size: 12px;
  }

  .modern-accordion__amount-value {
    font-size: 14px;
  }

  .modern-accordion__body {
    padding: 16px;
  }

  .modern-detail-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .modern-accordion__button {
    padding: 12px 14px;
  }

  .modern-accordion__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .modern-accordion__title {
    font-size: 13px;
  }

  .modern-accordion__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modern-accordion__amount {
    align-items: flex-start;
  }

  .modern-accordion__toggle {
    width: 28px;
    height: 28px;
  }

  .modern-accordion__toggle i {
    font-size: 16px;
  }

  .modern-accordion__body {
    padding: 14px;
  }

  .modern-detail-list {
    gap: 12px;
  }

  .modern-detail-list__value {
    font-size: 13px;
  }
}

/* Animation */
.modern-accordion__item {
  animation: fadeInUp 0.4s ease;
}

.modern-accordion__item:nth-child(1) {
  animation-delay: 0.05s;
}

.modern-accordion__item:nth-child(2) {
  animation-delay: 0.1s;
}

.modern-accordion__item:nth-child(3) {
  animation-delay: 0.15s;
}

.modern-accordion__item:nth-child(4) {
  animation-delay: 0.2s;
}

.modern-accordion__item:nth-child(5) {
  animation-delay: 0.25s;
}

/* Print Styles */
@media print {
  .modern-filter-card {
    display: none;
  }

  .modern-accordion__item {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .modern-accordion__toggle {
    display: none;
  }

  .modern-accordion__collapse {
    display: block !important;
  }
}


/* ============================================
   Modern Deposit History Styles
   ============================================ */

/* Deposit History uses same styles as Withdraw History */
.modern-deposit-history {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modern-deposits-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Deposit-specific icon color (green for incoming) */
.modern-accordion__icon--deposit {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%);
  color: #28a745;
}

/* Deposit amount color (green for positive) */
.modern-accordion__amount-value--deposit {
  color: #28a745;
}

/* Responsive adjustments for deposit history */
@media (max-width: 1199px) {
  .modern-deposit-history {
    gap: 20px;
  }

  .modern-deposits-list {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  .modern-deposit-history {
    gap: 18px;
  }

  .modern-deposits-list {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .modern-deposits-list {
    padding: 14px;
    border-radius: 12px;
  }
}


/* ============================================
   Modern Transactions Page Styles
   ============================================ */

/* Transactions Page Container */
.modern-transactions-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Transactions Filter (4 fields + actions) */
.modern-transactions-filter__fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.modern-transactions-filter__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-transactions-filter__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modern-transactions-filter__actions .modern-btn-primary,
.modern-transactions-filter__actions .modern-btn-secondary {
  padding: 12px 24px;
}

/* Transactions List */
.modern-transactions-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Withdraw icon color (red for outgoing) */
.modern-accordion__icon--withdraw {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.08) 100%);
  color: #dc3545;
}

/* Amount balance text */
.modern-accordion__amount-balance {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .modern-transactions-page {
    gap: 20px;
  }

  .modern-transactions-filter__fields {
    grid-template-columns: repeat(2, 1fr);
  }

  .modern-transactions-list {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  .modern-transactions-page {
    gap: 18px;
  }

  .modern-transactions-filter__fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modern-transactions-filter__actions {
    flex-direction: column;
  }

  .modern-transactions-filter__actions .modern-btn-primary,
  .modern-transactions-filter__actions .modern-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .modern-transactions-list {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .modern-transactions-list {
    padding: 14px;
    border-radius: 12px;
  }
}


/* ========================================
   MODERN SUPPORT TICKETS STYLING
   ======================================== */

/* Tickets Grid (Index Page) */
.modern-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.modern-ticket-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: hsl(var(--base-h), var(--base-s), var(--base-l));
}

.modern-ticket-card__header {
  padding: 20px;
  border-bottom: 1px solid hsl(var(--base-h), var(--base-s), 95%);
}

.modern-ticket-card__title-section {
  margin-bottom: 12px;
}

.modern-ticket-card__number {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%));
  background: hsl(var(--base-h), var(--base-s), 95%);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.modern-ticket-card__subject {
  font-size: 16px;
  font-weight: 600;
  color: hsl(0, 0%, 20%);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-ticket-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modern-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-badge--open {
  background: hsl(210, 100%, 95%);
  color: hsl(210, 100%, 40%);
}

.modern-badge--answered {
  background: hsl(145, 70%, 95%);
  color: hsl(145, 70%, 35%);
}

.modern-badge--reply {
  background: hsl(45, 100%, 95%);
  color: hsl(45, 100%, 35%);
}

.modern-badge--closed {
  background: hsl(0, 0%, 95%);
  color: hsl(0, 0%, 40%);
}

.modern-ticket-card__body {
  padding: 20px;
}

.modern-ticket-card__info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.modern-ticket-card__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modern-ticket-card__info-label {
  font-size: 12px;
  color: hsl(0, 0%, 60%);
  font-weight: 500;
}

.modern-ticket-card__info-value {
  font-size: 14px;
  color: hsl(0, 0%, 30%);
  font-weight: 600;
}

.modern-priority {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.modern-priority::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.modern-priority--low::before {
  background: hsl(210, 100%, 50%);
}

.modern-priority--medium::before {
  background: hsl(45, 100%, 50%);
}

.modern-priority--high::before {
  background: hsl(0, 100%, 50%);
}

.modern-ticket-card__footer {
  padding: 16px 20px;
  background: hsl(var(--base-h), var(--base-s), 98%);
  border-top: 1px solid hsl(var(--base-h), var(--base-s), 95%);
}

.modern-btn--view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  border: 1px solid hsl(var(--base-h), var(--base-s), var(--base-l));
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-btn--view:hover {
  background: hsl(var(--base-h), var(--base-s), var(--base-l));
  color: white;
  transform: translateX(4px);
}

/* Create Ticket Page */
.modern-ticket-create-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.modern-ticket-create-card__header {
  padding: 30px;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  text-align: center;
}

.modern-ticket-create-card__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.modern-ticket-create-card__subtitle {
  font-size: 14px;
  margin: 0;
  opacity: 0.95;
}

.modern-ticket-form {
  padding: 30px;
}

.modern-ticket-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.modern-form-group {
  margin-bottom: 20px;
}

.modern-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0, 0%, 30%);
  margin-bottom: 8px;
}

.modern-form-input,
.modern-form-select,
.modern-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 85%);
  border-radius: 8px;
  font-size: 14px;
  color: hsl(0, 0%, 20%);
  background: white;
  transition: all 0.3s ease;
}

.modern-form-input:focus,
.modern-form-select:focus,
.modern-form-textarea:focus {
  outline: none;
  border-color: hsl(var(--base-h), var(--base-s), var(--base-l));
  box-shadow: 0 0 0 3px hsla(var(--base-h), var(--base-s), var(--base-l), 0.1);
}

.modern-form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.modern-ticket-attachments {
  margin-bottom: 30px;
}

.modern-ticket-attachments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modern-btn--attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: hsl(var(--base-h), var(--base-s), 96%);
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--attachment:hover {
  background: hsl(var(--base-h), var(--base-s), var(--base-l));
  color: white;
  border-color: hsl(var(--base-h), var(--base-s), var(--base-l));
}

.modern-ticket-attachments__info {
  font-size: 12px;
  color: hsl(0, 0%, 60%);
  margin: 0;
  flex: 1;
  text-align: right;
}

.modern-ticket-attachments__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.modern-ticket-form__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid hsl(var(--base-h), var(--base-s), 95%);
}

.modern-btn--submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* View Ticket Page */
.modern-ticket-view {
  max-width: 1000px;
  margin: 0 auto;
}

.modern-ticket-header {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.modern-ticket-header__info {
  flex: 1;
  min-width: 250px;
}

.modern-ticket-header__title-section {
  margin-bottom: 12px;
}

.modern-ticket-header__number {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  background: hsl(var(--base-h), var(--base-s), 95%);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.modern-ticket-header__subject {
  font-size: 20px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0;
  line-height: 1.4;
}

.modern-ticket-header__status {
  display: flex;
  gap: 8px;
}

.modern-btn--close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: hsl(0, 70%, 50%);
  border: 1px solid hsl(0, 70%, 50%);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--close:hover {
  background: hsl(0, 70%, 50%);
  color: white;
}

.modern-ticket-reply-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  padding: 24px;
  margin-bottom: 20px;
}

.modern-ticket-reply-card__title {
  font-size: 18px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 20px 0;
}

.modern-ticket-reply-form__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

/* Messages Thread */
.modern-ticket-messages {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  padding: 24px;
}

.modern-ticket-messages__title {
  font-size: 18px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid hsl(var(--base-h), var(--base-s), 95%);
}

.modern-message {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid hsl(var(--base-h), var(--base-s), 95%);
}

.modern-message:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.modern-message__avatar {
  flex-shrink: 0;
}

.modern-message__avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: hsl(var(--base-h), var(--base-s), 95%);
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.modern-message__avatar-circle--admin {
  background: linear-gradient(135deg,
      hsl(45, 100%, 60%) 0%,
      hsl(45, 100%, 50%) 100%);
  color: white;
}

.modern-message__content {
  flex: 1;
  min-width: 0;
}

.modern-message__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.modern-message__author {
  font-size: 15px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
}

.modern-message__badge {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg,
      hsl(45, 100%, 60%) 0%,
      hsl(45, 100%, 50%) 100%);
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-message__time {
  font-size: 13px;
  color: hsl(0, 0%, 60%);
  margin-left: auto;
}

.modern-message__body {
  background: hsl(var(--base-h), var(--base-s), 98%);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.modern-message--admin .modern-message__body {
  background: linear-gradient(135deg,
      hsl(45, 100%, 97%) 0%,
      hsl(45, 100%, 95%) 100%);
  border-left: 3px solid hsl(45, 100%, 50%);
}

.modern-message__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: hsl(0, 0%, 30%);
}

.modern-message__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: white;
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-attachment-link:hover {
  background: hsl(var(--base-h), var(--base-s), var(--base-l));
  color: white;
  border-color: hsl(var(--base-h), var(--base-s), var(--base-l));
}

/* Responsive Design */
@media (max-width: 767px) {
  .modern-tickets-grid {
    grid-template-columns: 1fr;
  }

  .modern-ticket-card__info {
    flex-direction: column;
    gap: 12px;
  }

  .modern-ticket-create-card__header {
    padding: 24px 20px;
  }

  .modern-ticket-form {
    padding: 20px;
  }

  .modern-ticket-form__grid {
    grid-template-columns: 1fr;
  }

  .modern-ticket-attachments__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .modern-ticket-attachments__info {
    text-align: left;
  }

  .modern-ticket-attachments__list {
    grid-template-columns: 1fr;
  }

  .modern-ticket-header {
    padding: 20px;
  }

  .modern-ticket-header__subject {
    font-size: 18px;
  }

  .modern-message {
    gap: 12px;
  }

  .modern-message__avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modern-message__header {
    gap: 8px;
  }

  .modern-message__time {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .modern-ticket-create-card__title {
    font-size: 20px;
  }

  .modern-btn--submit {
    width: 100%;
    justify-content: center;
  }

  .modern-ticket-form__actions {
    justify-content: stretch;
  }
}


/* ========================================
   MODERN 2FA SECURITY STYLING
   ======================================== */

.modern-2fa-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Status Card */
.modern-2fa-status-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.modern-2fa-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.modern-2fa-status-card--enabled {
  border-color: hsl(145, 70%, 90%);
  background: linear-gradient(135deg, hsl(145, 70%, 98%) 0%, white 100%);
}

.modern-2fa-status-card--enabled::before {
  background: linear-gradient(90deg, hsl(145, 70%, 50%) 0%, hsl(145, 70%, 60%) 100%);
}

.modern-2fa-status-card--disabled {
  border-color: hsl(45, 100%, 90%);
  background: linear-gradient(135deg, hsl(45, 100%, 98%) 0%, white 100%);
}

.modern-2fa-status-card--disabled::before {
  background: linear-gradient(90deg, hsl(45, 100%, 50%) 0%, hsl(45, 100%, 60%) 100%);
}

.modern-2fa-status-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.modern-2fa-status-card--enabled .modern-2fa-status-card__icon {
  background: linear-gradient(135deg, hsl(145, 70%, 50%) 0%, hsl(145, 70%, 60%) 100%);
  color: white;
  box-shadow: 0 8px 24px hsla(145, 70%, 50%, 0.3);
}

.modern-2fa-status-card--disabled .modern-2fa-status-card__icon {
  background: linear-gradient(135deg, hsl(45, 100%, 50%) 0%, hsl(45, 100%, 60%) 100%);
  color: white;
  box-shadow: 0 8px 24px hsla(45, 100%, 50%, 0.3);
}

.modern-2fa-status-card__content {
  flex: 1;
}

.modern-2fa-status-card__title {
  font-size: 28px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 8px 0;
}

.modern-2fa-status-card__description {
  font-size: 15px;
  color: hsl(0, 0%, 50%);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.modern-2fa-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.modern-2fa-status-badge--active {
  background: hsl(145, 70%, 95%);
  color: hsl(145, 70%, 35%);
}

.modern-2fa-status-badge--inactive {
  background: hsl(45, 100%, 95%);
  color: hsl(45, 100%, 35%);
}

/* Disable Card */
.modern-2fa-disable-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(0, 0%, 90%);
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.modern-2fa-disable-card__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsl(0, 0%, 95%);
}

.modern-2fa-disable-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(0, 70%, 50%) 0%, hsl(0, 70%, 60%) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.modern-2fa-disable-card__title {
  font-size: 20px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 4px 0;
}

.modern-2fa-disable-card__subtitle {
  font-size: 14px;
  color: hsl(0, 0%, 60%);
  margin: 0;
}

/* Setup Grid */
.modern-2fa-setup-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start;
}

/* Setup Card */
.modern-2fa-setup-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  overflow: hidden;
}

.modern-2fa-setup-card__header {
  padding: 24px;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.modern-2fa-setup-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.modern-2fa-setup-card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.modern-2fa-setup-card__body {
  padding: 30px;
}

/* QR Section */
.modern-2fa-qr-section {
  text-align: center;
  margin-bottom: 30px;
}

.modern-2fa-qr-section__instruction {
  font-size: 15px;
  color: hsl(0, 0%, 40%);
  margin: 0 0 20px 0;
  font-weight: 500;
}

.modern-2fa-qr-wrapper {
  display: inline-block;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 2px solid hsl(var(--base-h), var(--base-s), 90%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-2fa-qr-image {
  display: block;
  max-width: 200px;
  height: auto;
}

/* Divider */
.modern-2fa-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.modern-2fa-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: hsl(0, 0%, 90%);
}

.modern-2fa-divider span {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  background: white;
  color: hsl(0, 0%, 60%);
  font-size: 13px;
  font-weight: 600;
}

/* Key Section */
.modern-2fa-key-section {
  margin-bottom: 30px;
}

.modern-2fa-key-input-group {
  display: flex;
  gap: 8px;
}

.modern-2fa-key-input-group .modern-form-input {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.modern-2fa-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: hsl(var(--base-h), var(--base-s), var(--base-l));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.modern-2fa-copy-btn:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-2fa-copy-btn.copied {
  background: hsl(145, 70%, 50%);
}

.modern-2fa-copy-btn.copied::after {
  content: 'Copied!';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: hsl(145, 70%, 50%);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}

/* Help Section */
.modern-2fa-help-section {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: hsl(210, 100%, 98%);
  border-radius: 12px;
  border-left: 4px solid hsl(210, 100%, 50%);
}

.modern-2fa-help-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(210, 100%, 50%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.modern-2fa-help-content {
  flex: 1;
}

.modern-2fa-help-title {
  font-size: 15px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 8px 0;
}

.modern-2fa-help-text {
  font-size: 13px;
  color: hsl(0, 0%, 50%);
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.modern-2fa-help-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: hsl(210, 100%, 50%);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-2fa-help-link:hover {
  background: hsl(210, 100%, 45%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(210, 100%, 50%, 0.3);
}

/* Enable Card */
.modern-2fa-enable-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  padding: 30px;
  position: sticky;
  top: 20px;
}

.modern-2fa-enable-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid hsl(0, 0%, 95%);
}

.modern-2fa-enable-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg,
      hsl(145, 70%, 50%) 0%,
      hsl(145, 70%, 60%) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.modern-2fa-enable-card__title {
  font-size: 18px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 4px 0;
}

.modern-2fa-enable-card__subtitle {
  font-size: 13px;
  color: hsl(0, 0%, 60%);
  margin: 0;
}

/* Steps */
.modern-2fa-steps {
  margin-bottom: 24px;
}

.modern-2fa-step {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.modern-2fa-step:last-child {
  margin-bottom: 0;
}

.modern-2fa-step__number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.modern-2fa-step__content {
  flex: 1;
}

.modern-2fa-step__title {
  font-size: 14px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 4px 0;
}

.modern-2fa-step__text {
  font-size: 13px;
  color: hsl(0, 0%, 60%);
  margin: 0;
  line-height: 1.5;
}

/* Form */
.modern-2fa-form {
  margin-top: 20px;
}

.modern-form-input--code {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 8px;
  font-family: 'Courier New', monospace;
}

.modern-btn--danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg, hsl(0, 70%, 50%) 0%, hsl(0, 70%, 60%) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px hsla(0, 70%, 50%, 0.3);
}

.modern-btn--success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg, hsl(145, 70%, 50%) 0%, hsl(145, 70%, 60%) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px hsla(145, 70%, 50%, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
  .modern-2fa-setup-grid {
    grid-template-columns: 1fr;
  }

  .modern-2fa-enable-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .modern-2fa-status-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .modern-2fa-status-card__icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .modern-2fa-status-card__title {
    font-size: 22px;
  }

  .modern-2fa-disable-card {
    padding: 24px 20px;
  }

  .modern-2fa-disable-card__header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .modern-2fa-setup-card__body {
    padding: 20px;
  }

  .modern-2fa-qr-wrapper {
    padding: 16px;
  }

  .modern-2fa-qr-image {
    max-width: 160px;
  }

  .modern-2fa-key-input-group {
    flex-direction: column;
  }

  .modern-2fa-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .modern-2fa-help-section {
    flex-direction: column;
    text-align: center;
  }

  .modern-2fa-help-icon {
    margin: 0 auto;
  }

  .modern-2fa-enable-card {
    padding: 24px 20px;
  }

  .modern-2fa-enable-card__header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 575px) {
  .modern-2fa-status-card__title {
    font-size: 20px;
  }

  .modern-form-input--code {
    font-size: 20px;
    letter-spacing: 4px;
  }
}


/* ========================================
   MODERN CHANGE PASSWORD STYLING
   ======================================== */

.modern-password-container {
  max-width: 700px;
  margin: 0 auto;
}

/* Header */
.modern-password-header {
  background: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  position: relative;
  overflow: hidden;
}

.modern-password-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
}

.modern-password-header__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

.modern-password-header__content {
  flex: 1;
}

.modern-password-header__title {
  font-size: 24px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 6px 0;
}

.modern-password-header__subtitle {
  font-size: 14px;
  color: hsl(0, 0%, 60%);
  margin: 0;
  line-height: 1.5;
}

/* Password Card */
.modern-password-card {
  background: white;
  border-radius: 12px;
  border: 1px solid hsl(var(--base-h), var(--base-s), 90%);
  padding: 32px;
  margin-bottom: 24px;
}

.modern-password-form {
  /* Form container */
}

/* Security Tips */
.modern-password-tips {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, hsl(210, 100%, 98%) 0%, hsl(210, 100%, 96%) 100%);
  border-radius: 12px;
  border-left: 4px solid hsl(210, 100%, 50%);
  margin-bottom: 28px;
}

.modern-password-tips__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(210, 100%, 50%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.modern-password-tips__content {
  flex: 1;
}

.modern-password-tips__title {
  font-size: 15px;
  font-weight: 700;
  color: hsl(0, 0%, 20%);
  margin: 0 0 10px 0;
}

.modern-password-tips__list {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

.modern-password-tips__list li {
  font-size: 13px;
  color: hsl(0, 0%, 50%);
  line-height: 1.8;
  position: relative;
}

.modern-password-tips__list li::before {
  content: '✓';
  position: absolute;
  left: -20px;
  color: hsl(210, 100%, 50%);
  font-weight: 700;
}

/* Password Input Wrapper */
.modern-password-input-wrapper {
  position: relative;
}

.modern-password-input {
  padding-right: 50px !important;
}

.modern-password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 48px;
  background: transparent;
  border: none;
  color: hsl(0, 0%, 60%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modern-password-toggle:hover {
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
}

.modern-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(0, 0%, 30%);
  margin-bottom: 8px;
}

.modern-form-label i {
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  font-size: 14px;
}

/* Password Strength Indicator */
.modern-password-strength {
  margin-top: 8px;
}

.modern-password-strength__bar {
  height: 6px;
  background: hsl(0, 0%, 95%);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.modern-password-strength__fill {
  height: 100%;
  width: 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.modern-password-strength__fill[data-strength="weak"] {
  background: linear-gradient(90deg, hsl(0, 100%, 60%) 0%, hsl(0, 100%, 50%) 100%);
}

.modern-password-strength__fill[data-strength="fair"] {
  background: linear-gradient(90deg, hsl(45, 100%, 60%) 0%, hsl(45, 100%, 50%) 100%);
}

.modern-password-strength__fill[data-strength="good"] {
  background: linear-gradient(90deg, hsl(210, 100%, 60%) 0%, hsl(210, 100%, 50%) 100%);
}

.modern-password-strength__fill[data-strength="strong"] {
  background: linear-gradient(90deg, hsl(145, 70%, 60%) 0%, hsl(145, 70%, 50%) 100%);
}

.modern-password-strength__text {
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.modern-password-strength__text[data-strength="weak"] {
  color: hsl(0, 100%, 50%);
}

.modern-password-strength__text[data-strength="fair"] {
  color: hsl(45, 100%, 45%);
}

.modern-password-strength__text[data-strength="good"] {
  color: hsl(210, 100%, 50%);
}

.modern-password-strength__text[data-strength="strong"] {
  color: hsl(145, 70%, 45%);
}

/* Password Match Indicator */
.modern-password-match {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-password-match[data-match="true"] {
  color: hsl(145, 70%, 45%);
}

.modern-password-match[data-match="false"] {
  color: hsl(0, 100%, 50%);
}

.modern-password-match i {
  font-size: 14px;
}

/* Form Actions */
.modern-password-form__actions {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid hsl(0, 0%, 95%);
}

.modern-btn--password {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 32px;
  background: linear-gradient(135deg,
      hsl(var(--base-h), var(--base-s), var(--base-l)) 0%,
      hsl(var(--base-h), var(--base-s), calc(var(--base-l) + 10%)) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-btn--password:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px hsla(var(--base-h), var(--base-s), var(--base-l), 0.3);
}

/* Additional Info */
.modern-password-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modern-password-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid hsl(0, 0%, 90%);
  font-size: 13px;
  color: hsl(0, 0%, 50%);
}

.modern-password-info__item i {
  color: hsl(var(--base-h), var(--base-s), var(--base-l));
  font-size: 16px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
  .modern-password-header {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .modern-password-header__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .modern-password-header__title {
    font-size: 20px;
  }

  .modern-password-card {
    padding: 24px 20px;
  }

  .modern-password-tips {
    flex-direction: column;
    text-align: center;
  }

  .modern-password-tips__icon {
    margin: 0 auto;
  }

  .modern-password-tips__list {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .modern-password-header__title {
    font-size: 18px;
  }

  .modern-password-header__subtitle {
    font-size: 13px;
  }

  .modern-password-tips__title {
    font-size: 14px;
  }

  .modern-password-tips__list li {
    font-size: 12px;
  }
}


/* ========================================
   MINIMAL DASHBOARD HEADER STYLING
   ======================================== */

.minimal-dashboard-header {
  background: white;
  border-bottom: 1px solid hsl(0, 0%, 92%);
  padding: 24px 0;
}

.minimal-dashboard-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Profile Section */
.minimal-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.minimal-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid hsl(0, 0%, 92%);
  flex-shrink: 0;
}

.minimal-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.minimal-profile__info {
  min-width: 0;
}

.minimal-profile__name {
  font-size: 18px;
  font-weight: 600;
  color: hsl(0, 0%, 20%);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.minimal-profile__email {
  font-size: 13px;
  color: hsl(0, 0%, 60%);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status Badges */
.minimal-status-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.minimal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.minimal-badge i {
  font-size: 12px;
}

.minimal-badge--success {
  background: hsl(145, 70%, 96%);
  color: hsl(145, 70%, 35%);
}

.minimal-badge--warning {
  background: hsl(45, 100%, 96%);
  color: hsl(45, 100%, 35%);
}

.minimal-badge--error {
  background: hsl(0, 70%, 96%);
  color: hsl(0, 70%, 40%);
}

.minimal-badge--neutral {
  background: hsl(0, 0%, 96%);
  color: hsl(0, 0%, 50%);
}

.minimal-badge__link {
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  opacity: 0.7;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.minimal-badge__link:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
  .minimal-dashboard-header__wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .minimal-status-badges {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .minimal-dashboard-header {
    padding: 20px 0;
  }

  .minimal-profile__avatar {
    width: 48px;
    height: 48px;
  }

  .minimal-profile__name {
    font-size: 16px;
  }

  .minimal-profile__email {
    font-size: 12px;
  }

  .minimal-status-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .minimal-badge {
    justify-content: space-between;
  }
}

@media (max-width: 575px) {
  .minimal-profile__avatar {
    width: 44px;
    height: 44px;
  }

  .minimal-profile__name {
    font-size: 15px;
  }

  .minimal-badge {
    font-size: 12px;
    padding: 7px 12px;
  }
}


/* ========================================
   HIDE DASHBOARD PAGE TITLE SECTION
   ======================================== */

.ptable-header-section {
  display: none !important;
}

/* Modern Profile Card */
.modern-profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  position: sticky;
  top: 100px;
}

.modern-profile-header {
  margin-bottom: 24px;
}

.modern-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modern-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-profile-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.modern-profile-subtitle {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.modern-profile-verifications {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.verification-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.verification-badge.verified {
  background: rgba(40, 199, 111, 0.1);
  color: #28c76f;
}

.modern-profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-box .value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.stat-box .label {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-box .value.text--success {
  color: #28c76f !important;
}

.stat-box .value.text--danger {
  color: #ea5455 !important;
}

.modern-profile-info-list {
  margin-top: 25px;
  text-align: left;
}

.modern-profile-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.modern-profile-info-item:last-child {
  border-bottom: none;
}

.modern-profile-info-label {
  color: #64748b;
  font-weight: 500;
}

.modern-profile-info-value {
  color: #1e293b;
  font-weight: 600;
}

/* Modern Section Title */
.modern-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-section-title i {
  color: hsl(var(--base));
}

/* Modern Table Card */
.modern-table-card {
  background: #fff;
  border-radius: 16px;
  padding: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 30px;
}

.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.modern-table th {
  background: #f8fafc;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.modern-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  font-size: 14px;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.modern-table tr:hover td {
  background: #f8fafc;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .modern-profile-card {
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .modern-table-card {
    overflow-x: auto;
  }

  .modern-table th,
  .modern-table td {
    white-space: nowrap;
  }
}

/* Modern Buy/Sell Section */
.modern-buysell-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* Modern Crypto Tabs */
.modern-crypto-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.modern-crypto-tab {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-crypto-tab:hover {
  background: #f8fafc;
  border-color: hsl(var(--base));
  color: hsl(var(--base));
}

.modern-crypto-tab.active {
  background: hsl(var(--base));
  border-color: hsl(var(--base));
  color: #fff;
}

/* Modern Buy/Sell Toggle */
.modern-buysell-toggle {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.modern-buysell-toggle__btn {
  padding: 12px 32px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-buysell-toggle__btn:hover {
  color: hsl(var(--base));
}

.modern-buysell-toggle__btn.active {
  background: hsl(var(--base));
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile styles for buy/sell toggle buttons */
@media screen and (max-width: 767px) {
  .modern-buysell-toggle {
    padding: 3px;
  }

  .modern-buysell-toggle__btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

/* Modern Filter for Buy/Sell */
.modern-buysell-filter {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.modern-buysell-filter__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: end;
}

@media (max-width: 1200px) {
  .modern-buysell-filter__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .modern-buysell-filter__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modern-buysell-filter {
    padding: 12px;
    margin-bottom: 12px;
  }

  .modern-buysell-filter__field {
    gap: 4px;
  }

  .modern-buysell-filter__label {
    font-size: 11px;
    font-weight: 600;
  }

  .modern-form-input,
  .modern-form-select {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .modern-buysell-filter .select2-container .select2-selection--single {
    height: 36px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
  }

  .modern-buysell-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
    font-size: 13px !important;
  }

  .modern-buysell-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
  }

  .modern-buysell-filter__buttons .modern-btn-primary,
  .modern-buysell-filter__buttons .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

/* Modern Form Inputs and Selects */
.modern-form-input,
.modern-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
  transition: all 0.3s ease;
}

.modern-form-input:focus,
.modern-form-select:focus {
  outline: none;
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsla(var(--base), 0.1);
}

.modern-form-input::placeholder {
  color: #94a3b8;
}

.modern-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Select2 Overrides for Modern Styling */
.modern-buysell-filter .select2-container .select2-selection--single {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  height: 46px !important;
  padding: 12px 16px !important;
  background: #fff !important;
}

.modern-buysell-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 22px !important;
  padding-left: 0 !important;
  padding-right: 24px !important;
  color: #1e293b !important;
  font-size: 14px !important;
}

.modern-buysell-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
  right: 8px !important;
  top: 1px !important;
}

.modern-buysell-filter .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 3px hsla(var(--base), 0.1) !important;
}

.modern-buysell-filter .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8 !important;
}

.modern-buysell-filter__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-buysell-filter__label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-buysell-filter__buttons {
  display: flex;
  gap: 12px;
  flex-direction: row;
}

.modern-buysell-filter__buttons .modern-btn-primary,
.modern-buysell-filter__buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  border-radius: 12px;
}

/* Modern User Cell in Table */
.modern-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-user-cell__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.modern-user-cell__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-user-cell__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modern-user-cell__name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.modern-user-cell__name a {
  color: hsl(var(--base));
  text-decoration: none;
  transition: color 0.3s ease;
}

.modern-user-cell__name a:hover {
  color: hsl(var(--base-dark));
}

.modern-user-cell__stats {
  font-size: 12px;
  color: #64748b;
}

/* Load More Button */
.modern-load-more {
  text-align: center;
  margin-top: 24px;
}

.modern-load-more__btn {
  padding: 12px 32px;
  background: #fff;
  border: 2px solid hsl(var(--base));
  border-radius: 12px;
  color: hsl(var(--base));
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-load-more__btn:hover {
  background: hsl(var(--base));
  color: #fff;
}

.modern-load-more__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Hide old styles when using modern ones */
.ptable-header-section.modern-mode {
  display: none;
}

.ptable-section.modern-mode {
  padding: 0;
  background: transparent;
}

.ptable-section.modern-mode .ptable-wrapper {
  padding: 0;
}

/* Empty State */
.modern-empty-state {
  padding: 60px 20px;
  text-align: center;
}

.modern-empty-state img {
  max-width: 200px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.modern-empty-state__message {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

/* Action Buttons in Table */
.modern-table .btn--base {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-table .badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Mobile Ad Cards */
.mobile-ad-cards {
  display: none;
}

@media (max-width: 991px) {
  .modern-table-card {
    display: none;
  }

  .mobile-ad-cards {
    display: block;
  }
}

.mobile-ad-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-ad-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-ad-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.mobile-ad-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-ad-card__user-info {
  flex: 1;
}

.mobile-ad-card__username {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.mobile-ad-card__username a {
  color: hsl(var(--base));
  text-decoration: none;
}

.mobile-ad-card__stats {
  font-size: 13px;
  color: #64748b;
}

.mobile-ad-card__body {
  margin-bottom: 12px;
}

.mobile-ad-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.mobile-ad-card__label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.mobile-ad-card__value {
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
  text-align: right;
}

.mobile-ad-card__rate {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}

.mobile-ad-card__footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.mobile-ad-card__action {
  width: fit-content;
}

.mobile-ad-card__action .btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.mobile-ad-card.own-trade {
  background: #f8fafc;
  border-color: hsl(var(--base));
}

/* Empty state for mobile */
.mobile-ad-cards .modern-empty-state {
  background: #fff;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
}

/* ================================
   Modern KYC Form Styles
   ================================ */

/* Modern KYC Card */
.modern-kyc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Modern KYC Header */
.modern-kyc-header {
  background: linear-gradient(135deg, hsl(var(--base)) 0%, hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 10%)) 100%);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-kyc-header__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-kyc-header__icon i {
  font-size: 28px;
  color: #fff;
}

.modern-kyc-header__content {
  flex: 1;
}

.modern-kyc-header__title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.modern-kyc-header__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Modern KYC Form */
.modern-kyc-form {
  padding: 32px;
}

.modern-kyc-form .form-group {
  margin-bottom: 24px;
}

.modern-kyc-form label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  display: block;
}

.modern-kyc-form .form--control {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.modern-kyc-form .form--control:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 3px hsla(var(--base), 0.1);
  outline: none;
}

/* Modern KYC Submit Button */
.modern-kyc-submit {
  width: 100%;
  padding: 16px 24px;
  background: hsl(var(--base));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.modern-kyc-submit i {
  font-size: 20px;
}

.modern-kyc-submit:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(var(--base), 0.3);
}

.modern-kyc-submit:active {
  transform: translateY(0);
}

/* Modern KYC Body (for info page) */
.modern-kyc-body {
  padding: 32px;
}

/* Modern KYC Data Display */
.modern-kyc-data {
  display: grid;
  gap: 16px;
}

.modern-kyc-data__item {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.modern-kyc-data__item:hover {
  border-color: hsl(var(--base));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-kyc-data__label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modern-kyc-data__value {
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}

.modern-kyc-data__value i {
  font-size: 18px;
  color: hsl(var(--base));
  flex-shrink: 0;
}

.modern-kyc-data__value span {
  flex: 1;
}

/* Modern KYC File Download */
.modern-kyc-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: hsl(var(--base));
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modern-kyc-file i {
  font-size: 18px;
  color: #fff;
}

.modern-kyc-file:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsla(var(--base), 0.3);
}

/* Modern KYC Empty State */
.modern-kyc-empty {
  text-align: center;
  padding: 60px 20px;
}

.modern-kyc-empty i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 20px;
  display: block;
}

.modern-kyc-empty h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.modern-kyc-empty p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .modern-kyc-header {
    padding: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .modern-kyc-header__icon {
    width: 48px;
    height: 48px;
  }

  .modern-kyc-header__icon i {
    font-size: 24px;
  }

  .modern-kyc-header__title {
    font-size: 20px;
  }

  .modern-kyc-header__desc {
    font-size: 13px;
  }

  .modern-kyc-form {
    padding: 20px;
  }

  .modern-kyc-body {
    padding: 20px;
  }

  .modern-kyc-submit {
    padding: 14px 20px;
    font-size: 15px;
  }

  .modern-kyc-data__item {
    padding: 16px;
  }

  .modern-kyc-empty {
    padding: 40px 20px;
  }

  .modern-kyc-empty i {
    font-size: 48px;
  }

  .modern-kyc-empty h5 {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .modern-kyc-header {
    padding: 20px;
  }

  .modern-kyc-form {
    padding: 16px;
  }

  .modern-kyc-body {
    padding: 16px;
  }
}

/* Modern File Input Styling */
.modern-kyc-form input[type="file"],
.form-group input[type="file"],
input[type="file"].form--control {
  border: 2px dashed #e2e8f0;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.modern-kyc-form input[type="file"]:hover,
.form-group input[type="file"]:hover,
input[type="file"].form--control:hover {
  border-color: hsl(var(--base));
  background: #fff;
}

.modern-kyc-form input[type="file"]:focus,
.form-group input[type="file"]:focus,
input[type="file"].form--control:focus {
  border-color: hsl(var(--base));
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px hsla(var(--base), 0.1);
}

/* File input button styling */
.modern-kyc-form input[type="file"]::file-selector-button,
.form-group input[type="file"]::file-selector-button,
input[type="file"].form--control::file-selector-button {
  padding: 10px 20px;
  background: hsl(var(--base));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-right: 16px;
  transition: all 0.3s ease;
}

.modern-kyc-form input[type="file"]::file-selector-button:hover,
.form-group input[type="file"]::file-selector-button:hover,
input[type="file"].form--control::file-selector-button:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  transform: translateY(-1px);
}

/* Webkit file input button */
.modern-kyc-form input[type="file"]::-webkit-file-upload-button,
.form-group input[type="file"]::-webkit-file-upload-button,
input[type="file"].form--control::-webkit-file-upload-button {
  padding: 10px 20px;
  background: hsl(var(--base));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-right: 16px;
  transition: all 0.3s ease;
}

.modern-kyc-form input[type="file"]::-webkit-file-upload-button:hover,
.form-group input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"].form--control::-webkit-file-upload-button:hover {
  background: hsl(var(--base-h), var(--base-s), calc(var(--base-l) - 5%));
  transform: translateY(-1px);
}

/* Mobile file input */
@media (max-width: 767px) {

  .modern-kyc-form input[type="file"]::file-selector-button,
  .form-group input[type="file"]::file-selector-button,
  input[type="file"].form--control::file-selector-button,
  .modern-kyc-form input[type="file"]::-webkit-file-upload-button,
  .form-group input[type="file"]::-webkit-file-upload-button,
  input[type="file"].form--control::-webkit-file-upload-button {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Fix file input vertical alignment */
.modern-kyc-form input[type="file"],
.form-group input[type="file"],
input[type="file"].form--control {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 44px;
}

/* Improved file input vertical alignment */
.modern-kyc-form input[type="file"],
.form-group input[type="file"],
input[type="file"].form--control {
  padding: 8px 16px !important;
  line-height: 1.5;
}

.modern-kyc-form input[type="file"]::file-selector-button,
.form-group input[type="file"]::file-selector-button,
input[type="file"].form--control::file-selector-button {
  vertical-align: middle;
}

.modern-kyc-form input[type="file"]::-webkit-file-upload-button,
.form-group input[type="file"]::-webkit-file-upload-button,
input[type="file"].form--control::-webkit-file-upload-button {
  vertical-align: middle;
}