@charset "UTF-8";

/* __________________________________________________________________________
   Layout (moved from layout.twig <head>) - loaded before the theme rules, as before
   __________________________________________________________________________ */

/* ---- from layout.twig (all pages) ---- */
/* Mobile top bar: grey pill around language and currency button, like desktop */
.sc-topbar-right .sc-tb-lang .hrm-flag-icon {
    width: 26px !important;
    height: 26px !important;
}

.sc-topbar-right .dropdown .sc-tb-lang {
    width: 75px !important;
    height: 32px !important;
    justify-content: center;
}

.sc-topbar-right .sc-tb-lang {
    background: rgb(238, 241, 246);
    border: 1px solid rgb(230, 237, 243);
    border-radius: 50px;
    padding: 4px 10px !important;
}

/* ---- from layout.twig (all pages) ---- */
/* Mobile top bar: separate language and currency buttons */
.sc-topbar-right .sc-tb-lang,
.sc-topbar-right .sc-tb-cur {
    width: auto !important;
    min-width: 0;
    padding: 0 8px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sc-tb-code {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.sc-topbar-right .sc-cur-label-mob {
    font-size: 12px;
    font-weight: 700;
}

/* ---- from layout.twig (all pages) ---- */
/* User dropdown: space between icon and label */
.dropdown-menu .dropdown-item > i:first-child {
    margin-inline-end: .6rem !important;
}

/* ---- from layout.twig (all pages) ---- */
h3.top-title.pwd {
    min-width: 12ch;
}

/* ── mobile nav tickets badge ── */
.mnc-item-icon {
    position: relative;
}

.mnc-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--theme-primary,#22bcf4);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}

:root {
  --theme-primary: #22C8FE;
  --theme-primary-dark: #1EAAE7;
  --theme-primary-hover: #14a3d6;
  --theme-primary-rgb: 30, 170, 231;
}

body.theme-female {
  --theme-primary: #E78FAF;
  --theme-primary-dark: #CE708F;
  --theme-primary-hover: #B85A7C;
  --theme-primary-rgb: 231, 143, 175;
}

.primary-color {
        color: var(--theme-primary)
}

.dark {color: #fff;}

.dark .smmspot-fav-btn {
        background: transparent;
}

.dark .smmspot-fav-btn.smmspot-fb-faved {
        color: #fff !important;
}

body {
        transition: .14s ease;
}

.hidden {
        display: none!important
}

.pagination {
  flex-wrap: wrap;
}

pre.code {
        color: #3E4954 !important;
    background: #F0F4F5 !important;
        border-radius: 5px;
        padding: 10px
}

.main-color {
        color: var(--theme-primary)
}

.main, .page-content {
        overflow-x: hidden!important
}

.hrm-flag-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.form-label, .control-label {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 8px;
  padding-left: 2px;
}

.form-control {
  min-height: 50px;
  background: #F6F6F6;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  line-height: 18px;
  color: #3E4954;
  padding: 16px 24px;
}

.fc-white {
  background-color: #f6f6f5;
}

.form-select {
  min-height: 50px;
  background-color: #F6F6F6;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  line-height: 18px;
  color: #3E4954;
  padding: 16px 24px;
}

.input-group-text {
  background-color: #F6F6F6;
  border: none;
}

.igt-box {
  font-size: 11px;
  line-height: 13px;
  color: #FFFFFF;
  background-color: var(--theme-primary);
  border-radius: 5px;
  display: inline-block;
  padding: 12px 10px;
}

.igt-sq {
  font-size: 11px;
  line-height: 13px;
  color: #FFFFFF;
  background-color: var(--theme-primary);
  border-radius: 5px;
  display: inline-block;
  padding: 12px 10px;
  height: 45px;
  width: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: normal;
  font-size: 25px;
  line-height: 25px;
}

.btn {
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
  border: none;
  padding: 15px 25px;
}

.btn-lg {
  padding: 20px 30px;
  font-size: 14px;
  line-height: 17px;
}

.btn-home {
  padding: 22px 34px;
  font-size: 14px;
  line-height: 17px;
  border-radius: 15px;
  font-size: 14px;
}

.btn-home.btn-primary {
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  background-color: var(--theme-primary);
}

.btn-primary:hover {
  background-color: var(--theme-primary-hover);
}

.btn-secondary {
  background-color: #3E4954;
}

.btn-secondary:hover {
  background-color: #4f5a65;
}

.btn-language {
  height: 56px;
  padding: auto 14px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 24px 100px rgba(88, 88, 88, 0.1);
          box-shadow: 0px 24px 100px rgba(88, 88, 88, 0.1);
  border-radius: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flag-icon {
  border: 2px solid #eee;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  -o-object-fit: cover;
     object-fit: cover;
}

.btn-outline-primary {
  border: 1px solid var(--theme-primary);
  color: var(--theme-primary);
  border-radius: 30px;
}

.btn-outline-primary:hover {
  border-color: var(--theme-primary);
  background-color: var(--theme-primary);
  color: #fff;
}

body, html {
  background: #0A2753;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

.app-body {
  background-color: #F7F7F7;
}

.p-color {
  color: var(--theme-primary);
}

.m-color {
  color: #3E4954;
}

.d-color {
  color: #E12020;
}

.alert {
  border: none;
  padding: 23px;
  font-size: 14px;
  line-height: 21px;
  border-radius: 10px
}

.alert.alert-danger {
  color: #ED1C1C;
  background: rgba(237, 28, 28, 0.12);
}

.alert.alert-success {
    color: #fffffe;
    background-color: var(--theme-primary);
    -webkit-box-shadow: 10px 5px 10px rgba(var(--theme-primary-rgb), 0.5);
}

.alert.alert-secondary {
  background: rgba(135, 135, 135, 0.25);
  color: #9F9F9F;
}

.alert.alert-primary {
  background: rgba(var(--theme-primary-rgb), 0.25);
  color: var(--theme-primary);
}

.alert.alert-warning {
  background: rgba(237, 206, 28, 0.12);
  color: #edb51c;
}

.container-xxl {
  max-width: 1560px;
}

.main {
  padding-top: 104px;
  position: relative;
  background: #F7F7F7;
  padding-bottom: 30px;
  min-height: 100vh;
}

.page-content {
  padding-top: 34px;
}

/* card */
.card {
  border: none;
  background: #fff;
  border-radius: 14px;
}

.card-body-2 {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding: 1.75rem 1.75rem;
}

.nip-card {
  background-color: var(--theme-primary);
  background-size: cover;
  background-position: center;
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
  border-radius: 10px;
  border: none;
  position: relative;
}

.nip-card::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 50%;
  height: 100%;
  background-image: url();
  background-size: auto 100%;
  z-index: 1;
}

.nip-card::after {
  content: '';
  position: absolute;
  right: 0px;
  top: 0px;
  width: 50%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right;
  z-index: 1;
}

.nip-card .nip-body {
  z-index: 5;
  position: relative;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

.nip-item {
  color: #fff;
}

.nip-item .nip-icon {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 10px;
}

.nip-item .nip-title {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 6px;
}

.nip-item .nip-text {
  font-size: 23px;
  line-height: 32px;
  font-weight: 700;
}

.nop-card .card-body {
  padding: 18px 18px 18px 40px;
}

.nop-card .nop-title {
  font-size: 20px;
  line-height: 32px;
  color: #3E4954;
}

.nop-card .nop-title span {
  font-weight: 600;
}

.nop-card .nop-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(var(--theme-primary-rgb), 0.15);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.nop-card .nop-icon i {
  font-size: 40px;
  line-height: 40px;
  color: var(--theme-primary-dark);
}

.nop-card .nop-progress {
  font-weight: 600;
  font-size: 25px;
  line-height: 32px;
  color: #3E4954;
}

.nop-card .progress {
  height: 8px;
  border-radius: 4px;
  background: #EDEDED;
  margin: 8px 0 20px;
}

.nop-card .progress .progress-bar {
  height: 8px;
  background: linear-gradient(269.67deg, var(--theme-primary-dark) 2.87%, var(--theme-primary) 98.83%);
  border-radius: 4px;
}

.nop-card .nop-text {
  font-size: 14px;
  line-height: 1.4;
  color: #3E4954;
}

.nop-card .nop-box {
  background-color: var(--theme-primary);
  background-image: url();
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
  border-radius: 10px;
}

.nop-card .nop-box .nop-box-content {
  padding: 34px 30px;
  color: #fff;
}

.nop-card .nop-box .npb-point {
  font-weight: 600;
}

.nop-card .nop-box .npb-point .point {
  font-size: 30px;
}

.nop-card .nop-box .npb-point .text {
  font-size: 20px;
}

.nop-card .nop-box a {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.nav-custom {
  margin: 0 -7px;
}

.nav-custom .nav-item {
  padding: 4px 7px;
}

.nav-custom .nav-link {
  background: #F6F6F6;
  border-radius: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #3E4954;
  height: 55px;
  justify-content: center;
}

.nav-custom .nav-link.active {
  background: var(--theme-primary);
  color: #FFFFFF;
}

.noi-card {
  margin-top: 40px;
}

.noi-title {
  background: linear-gradient(269.67deg, #6c757d21 2.87%, #dcdfe07a 98.83%);
  border-radius: 10px;
  text-align: center;
  padding: 22px 14px;
  color: #fff;
  margin: 0 40px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.noi-title h2 {
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0px;
}

.noi-item {
  position: relative;
  background: #F7F7F7;
  border-radius: 10px;
  display: block;
  padding: 12px;
}

.noi-icon {
  background: var(--theme-primary);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 25px;
}

.noii-content {
  color: #3E4954;
  font-size: 14px;
}

.noii-content .noii-title {
  font-weight: 600;
}

.noii-content .noii-text .fas {
  color: #FFA800;
}

.page-head {
  margin-top: 30px;
  padding: 50px 0
}

.page-head .ph-active-page {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}

.page-head .ph-title {
  font-weight: 600;
  font-size: 25px;
  line-height: 31px;
  text-align: center;
}.ph-iib {
  background: #FFFFFF;
  -webkit-box-shadow: 0px 24px 40px rgba(148, 148, 148, 0.14);
          box-shadow: 0px 24px 40px rgba(148, 148, 148, 0.14);
  border-radius: 10px;
  padding: 8px 17px 8px 8px;
  display: inline-block;
  text-decoration: none;
  outline: none;
  border: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #3E4954;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.ph-iib:hover {
  -webkit-box-shadow: 0px 28px 50px rgba(148, 148, 148, 0.24);
          box-shadow: 0px 28px 50px rgba(148, 148, 148, 0.24);
  color: #3E4954;
}

.ph-iib .ph-iib-icon {
  background: var(--theme-primary);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  font-size: 20px;
}

.services-search {
  background: #FFFFFF;
  border-radius: 10px;
  height: 67px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.services-search-new {
  background: #FFFFFF;
  border-radius: 10px;
  height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.services-search:focus-within {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
          box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.services-search-new:focus-within {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
          box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.services-search .icon {
  width: 67px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #acacac;
}

.services-search-new .icon {
  width: 67px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #acacac;
}

.services-search .input {
  outline: none;
  border: none;
  height: 67px;
  background-color: transparent;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #3E4954;
}

.services-search-new .input {
  outline: none;
  border: none;
  height: 35px;
  background-color: transparent;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #3E4954;
}

.services-search .input::-webkit-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search-new .input::-webkit-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search .input:-ms-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search-new .input:-ms-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search .input::-ms-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search-new .input::-ms-input-placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search .input::placeholder {
  color: #acacac;
  font-weight: 600;
}

.services-search-new .input::placeholder {
  color: #acacac;
  font-weight: 600;
}

.btn-filter {
  background: var(--theme-primary);
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.2);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.2);
  border-radius: 10px;
  padding: 25px 30px;
}

.dd-menu {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
}

.nav-custom-2 {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.nav-custom-2 .nav-link {
  color: #3E4954;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #FFFFFF;
  border: 1px solid #EFEFEF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 15px;
  padding: 24px 20px;
  font-size: 14px;
  line-height: 24px;
}

.nav-custom-2 .nav-link .icon {
  margin-bottom: 8px;
  font-size: 25px;
}

.nav-custom-2 .nav-link.active {
  background-color: var(--theme-primary);
  border: 1px solid #72DCFF;
  -webkit-filter: drop-shadow(0px 24px 40px rgba(var(--theme-primary-rgb), 0.33));
          filter: drop-shadow(0px 24px 40px rgba(var(--theme-primary-rgb), 0.33));
}

.nav-custom-2 .nav-link:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
          box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.orders-container {
  margin-top: 14px;
  padding: 30px 0;
}

.order-item {
  background: #FFFFFF;
  border-radius: 5px;
  padding: 20px 30px;
}

.order-item.active .oi-bottom {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #EAEAEA;
  max-height: 550px;
}

.order-item .oi-bottom {
  -webkit-transition: .14s ease;
  transition: .14s ease;
  max-height: 0px;
  overflow: hidden;
}

.order-item .oi-first {
  max-width: 100px;
}

.order-item > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.order-item .oi-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  margin-bottom: 0px;
}

.order-item .oi-id {
  background: rgba(var(--theme-primary-rgb), 0.2);
  border: 1px solid var(--theme-primary);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--theme-primary);
  padding: 22px 40px;
}

.oio-text {
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 5px;
}

.oio-title {
  font-size: 16px;
  line-height: 19px;
  color: #ACACAC;
}

.oi-status {
  padding: 15px 10px;
  background-color: #acacac;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #3E4954;
  border-radius: 9px;
}

.oi-status.oi-success {
  color: #01B780;
  background: rgba(1, 183, 128, 0.25);
}

.oi-status.oi-secondary {
  background: rgba(135, 135, 135, 0.25);
  color: #9F9F9F;
}

.oi-status.oi-primary {
  background: rgba(var(--theme-primary-rgb), 0.25);
  color: var(--theme-primary);
}

.oi-status.oi-danger {
  background: rgba(237, 28, 28, 0.12);
  color: #ED1C1C;
}

.oi-status.oi-warning {
  background: rgba(237, 206, 28, 0.12);
  color: #edb51c;
}

.oi-status.oi-process {
  color: #FF5C00;
  background: rgba(255, 92, 0, 0.24);
}

.order-input {
  height: 55px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 8px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(234, 234, 234, 0.4);
  border-radius: 10px;
}

.order-input .btn {
  color: #747886;
  font-size: 12px;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  padding: 15px 5px 15px;
}

.order-input:focus-within {
  outline: none;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
          box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
}

.order-input .oi-control {
  text-decoration: none;
  padding: 10px 0px 10px 4px;
  outline: none;
  border: none;
  background: transparent;
  color: #626D77;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  direction: ltr;
}

.oib-item > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.oib-item .oib-item--icon {
  font-size: 30px;
  line-height: 30px;
  color: #fff;
  height: 64px;
  width: 64px;
  background: var(--theme-primary);
  border-radius: 13px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.oib-item .oib-item--title {
  font-weight: 600;
  font-size: 17px;
  line-height: 25px;
  color: #acacac;
  margin-bottom: 3px;
}

.oib-item .oib-item--text {
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
}

.btn-oi {
  padding: 0px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 30px;
  line-height: 30px;
  width: 60px;
  height: 60px;
  border-radius: 9px;
}

.nt-item {
  position: relative;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 22px;
  margin: 15px 0;
}

.nt-item > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nt-item .nt-item--icon {
  background: rgba(var(--theme-primary-rgb), 0.1);
  border-radius: 15px;
  font-size: 29.3678px;
  line-height: 29px;
  color: #0BAFFF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 62px;
  width: 62px;
}

.nt-item .nt-item--title {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
}

.nt-item .nt-item--text {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #ACACAC;
  margin-bottom: 0px;
}

.nt-title > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nt-title .nt-title-icon {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: rgba(var(--theme-primary-rgb), 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #0BAFFF;
  font-size: 16px;
}

.nt-title .nt-title-text {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  margin-bottom: 0px;
}

.nt-select-cats {
  margin: 0px -10px;
  padding: 0px;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
  overflow-x: auto;
}

.nt-select-cats .nt-select-cat {
  padding: 0 5px;
  margin: 15px 0;
}

.nt-select-cats .nt-select-cat input {
  display: none;
}

.nt-select-cats .nt-select-cat input:checked + .nt-sc-box {
  background-color: var(--theme-primary);
  color: #fff;
  -webkit-box-shadow: 0px 4px 20px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 4px 20px rgba(var(--theme-primary-rgb), 0.33);
}

.nt-select-cats .nt-select-cat .nt-sc-box {
  background: #FFFFFF;
  border-radius: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 16px 24px 20px 24px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
  cursor: pointer;
  text-align: center;
}

.nt-select-cats .nt-select-cat .nt-sc-box-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 35px;
  line-height: 35px;
  color: #fff;
  height: 70px;
  width: 70px;
  border-radius: 10px;
  background-color: var(--theme-primary);
}

.nt-select-cats .nt-select-cat .nt-sc-box-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  margin-top: 12px;
}

.nt-sc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  list-style: none;
  margin: 0 -15px;
  padding: 0px;
  overflow-x: auto;
}

.nt-sc .nt-sc-li {
  padding: 0 5px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.nt-sc .nt-sc-li input {
  display: none;
}

.nt-sc .nt-sc-li input:checked + label {
  -webkit-filter: drop-shadow(0px 24px 40px rgba(var(--theme-primary-rgb), 0.33));
          filter: drop-shadow(0px 24px 40px rgba(var(--theme-primary-rgb), 0.33));
  background: var(--theme-primary)!important;
  color: #fff;
}

.nt-sc .nt-sc-li input:checked + label .text {
  color: #fff;
}

.nt-sc .nt-sc-li input:checked + label .check {
  border-color: #fff;
  color: #fff;
}

.nt-sc .nt-sc-li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 10px;
  border: 1px solid #F6F6F6;
  padding: 18px 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: .14s ease;
  transition: .14s ease;
  justify-content: center;
  background: #F6F6F6
}

.nt-sc .nt-sc-li label .text {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
}

.nt-sc .nt-sc-li label .check {
  border: 3px solid #EAEAEA;
  color: transparent;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 28px;
  width: 28px;
  font-size: 16px;
  line-height: 16px;
  justify-self: flex-end;
}.ticket-message-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ticket-message-block.ticket-message-left + .ticket-message-left {
    margin-top: 0px;
}

.ticket-message-block.ticket-message-right + .ticket-message-right {
  margin-top: 0;
}

.ticket-message-block.ticket-message-right {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.ticket-message-block.ticket-message-right .ticket-msg-container {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.ticket-message-block.ticket-message-right .ticket-msg-container .ticket-msg {
  background: #3E4954;
}

.ticket-message-block .ticket-msg-container {
  width: 100%;
}

.ticket-message-block .ticket-msg-container .ticket-msg {
  background: var(--theme-primary);
  border-radius: 30px;
  padding: 14px 26px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  font-weight: 500;
  font-size: 13px;
  line-height: 22px;
  letter-spacing: .3px;
  color: #fff;
  margin-bottom: 12px;  
}

.ticket-message-block .ticket-msg-container .date-time {
  font-size: 12px;
  line-height: 13px;
  color: #A5A5A5;
  margin-bottom: 30px;
  padding: 0 10px;
  display: block;
}

.schat-body .schat-chat-body {
  max-height: 553px;
  min-height: 553px;
  overflow-y: auto;
  padding: 0 15px
}

.schat-body .schat-input {
  padding-top: 10px;
}

.schat-msg-input {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: rgba(234, 234, 234, 0.5);
  border-radius: 10px;
  height: 70px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.schat-msg-input textarea {
  border: none;
  outline: none;
  background: transparent;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 9px 26px;
  color: #fff;
  font-size: 14px;
  line-height: 17px;
  color: #ACACAC;
}

.schat-msg-input .send-btn {
  height: 54px;
  padding: 0 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: var(--theme-primary);
  outline: none;
  border: none;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  margin-right: 10px
}

a {
  color: var(--theme-primary);
  -webkit-transition: .14s ease;
  transition: .14s ease;
  text-decoration: none;
}

a:hover {
  color: #19b7e7;
  -webkit-text-decoration: underlin;
          text-decoration: underlin;
}

.payments-table {
  width: 100%;
}

.payments-table tr {
  background: #F9F9F9;
  border-radius: 10px;
  padding: 12px 14px;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 14px;
}

.payments-table tr > td {
  padding: 0 5px;
}

.payments-table .pyt-id {
  background: var(--theme-primary);
  border-radius: 7px;
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

.payments-table .pyt-title {
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 2px;
}

.payments-table .pyt-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--theme-primary);
  margin-bottom: 0px;
}

.nav-addfunds {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.nav-addfunds .nav-item {
  padding: 10px 0;
}

.nav-addfunds .nav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px 10px;
  color: #3E4954;
  background-color: #fff;
  border-radius: 10px;
  min-width: 100px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.nav-addfunds .nav-link.active {
  background: var(--theme-primary);
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
}

.nav-addfunds .nav-link.active .icon {
  color: #fff;
}

.nav-addfunds .nav-link.active .icon img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.nav-addfunds .nav-link .icon {
  font-size: 35px;
  line-height: 35px;
  color: #ACACAC;
  margin-bottom: 10px;
}

.nav-addfunds .nav-link .text {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
}

.pay-title {
  font-weight: 600;
  font-size: 25px;
  line-height: 31px;
  color: #000;
  margin-bottom: 20px;
}

.pay-bot-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #ACACAC;
  padding-bottom: 20px;
}

.pay-pg {
  font-weight: 600;
  font-size: 16px;
  line-height: 30px;
  color: #3E4954;
  margin-bottom: 30px;
}

.aff-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  margin-bottom: 22px;
}

.aff-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: #ACACAC;
  margin-bottom: 0px;
}

.aff-title-2 {
  font-weight: bold;
  font-size: 24px;
  line-height: 30px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.aff-text-2 {
  font-weight: normal;
  font-size: 14px;
  line-height: 25px;
  color: #FFFFFF;
  margin-bottom: 0px;
}

.af-item {
  background: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 20px;
}

.af-item .af-item--body {
  padding: 10px 10px 10px 24px;
}

.af-item .af-item--body > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.af-item .af-item--body-2 {
  padding: 10px 24px 10px 10px;
}

.af-item .af-item--body-2 > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.af-item .af-item--icon {
  background-color: var(--theme-primary);
  border: none;
  outline: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  color: #fff;
  font-size: 28px;
  line-height: 28px;
}

.af-item .af-item--title {
  font-weight: 600;
  font-size: 14px;
  line-height: 26px;
  color: #acacac;
  margin-bottom: 0px;
}

.af-item .af-item--text {
  font-weight: 600;
  font-size: 19px;
  line-height: 26px;
  word-wrap: break-word;
}

.af-item .af-item--icon-2 {
  background-color: var(--theme-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 23px;
}

.af-item .af-item--title-2 {
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 0px;
}

.af-item .af-item--text-2 {
  font-weight: 600;
  font-size: 19px;
  line-height: 19px;
  color: #acacac;
}

.af-payout-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e5edf2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(31, 70, 93, 0.06);
}

.af-payout-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 22px;
}

.af-payout-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.af-payout-heading__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.16);
  border-radius: 14px;
  background: rgba(var(--theme-primary-rgb), 0.11);
  color: var(--theme-primary-dark);
  font-size: 21px;
}

.af-payout-eyebrow {
  margin: 0 0 5px;
  color: var(--theme-primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.af-payout-heading h3 {
  margin: 0;
  color: #1e2c39;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.2;
}

.af-payout-description {
  margin: 5px 0 0;
  color: #7f8b98;
  font-size: 13px;
  line-height: 1.4;
}

.af-payout-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #e8eef2;
  border-radius: 999px;
  background: #f8fbfd;
  color: #61717e;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.af-payout-count__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.13);
}

.af-payout-table-wrap {
  border-top: 1px solid #edf1f4;
}

.af-payout-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  color: #344451;
  font-size: 14px;
}

.af-payout-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.af-payout-table thead {
  background: #f7fafc;
}

.af-payout-table th {
  padding: 13px 26px;
  color: #85919c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: start;
  text-transform: uppercase;
}

.af-payout-table th:nth-child(2),
.af-payout-table td:nth-child(2),
.af-payout-table th:last-child,
.af-payout-table td:last-child {
  text-align: end;
}

.af-payout-table tbody tr {
  transition: background-color 160ms ease;
}

.af-payout-table tbody tr:hover {
  background: #f8fcfe;
}

.af-payout-table td {
  padding: 17px 26px;
  border-top: 1px solid #edf1f4;
}

.af-payout-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.af-payout-date__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 11px;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary-dark);
  font-size: 16px;
}

.af-payout-date__value {
  display: grid;
  gap: 3px;
  text-align: start;
}

.af-payout-date__value strong {
  color: #293a48;
  font-size: 13px;
  font-weight: 650;
}

.af-payout-date__value small {
  color: #8995a0;
  font-size: 11px;
}

.af-payout-amount {
  color: #233544;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  white-space: nowrap;
}

.af-payout-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 82px;
  padding: 7px 10px;
  border: 1px solid #d8f0e4;
  border-radius: 999px;
  background: #effaf4;
  color: #188258;
  font-size: 11px;
  font-weight: 700;
}

.af-payout-status i {
  font-size: 14px;
}

.af-payout-status-cell {
  text-align: end;
}

@media (max-width: 620px) {
  .af-payout-card {
    border-radius: 15px;
  }

  .af-payout-card__header {
    align-items: flex-start;
    padding: 18px 16px;
  }

  .af-payout-heading {
    gap: 11px;
  }

  .af-payout-heading__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    font-size: 18px;
  }

  .af-payout-heading h3 {
    font-size: 18px;
  }

  .af-payout-description {
    font-size: 12px;
  }

  .af-payout-count {
    padding: 7px 9px;
    font-size: 11px;
  }

  .af-payout-table thead {
    display: none;
  }

  .af-payout-table tbody,
  .af-payout-table tr,
  .af-payout-table td {
    display: block;
    width: 100%;
  }

  .af-payout-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 16px;
    border-top: 1px solid #edf1f4;
  }

  .af-payout-table td {
    padding: 0;
    border: 0;
    text-align: start !important;
  }

  .af-payout-table td.af-payout-date-cell {
    grid-column: 1 / -1;
  }

  .af-payout-table td:not(.af-payout-date-cell)::before {
    display: block;
    margin-bottom: 7px;
    color: #8995a0;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .af-payout-status {
    min-width: 0;
  }
}

.chp-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
}

.card-ns {
  background: rgba(var(--theme-primary-rgb), 0.15);
  border-radius: 10px;
  padding: 12px;
}

.card-ns .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.card-ns .card-ns-icon {
  background: var(--theme-primary);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 24px;
  line-height: 24px;
}

.card-ns .card-ns-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--theme-primary);
}

.card-ns-toggle {
  background: var(--theme-primary);
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding: 26px 30px;
  color: #fff;
}

.chp-video {
  display: block;
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.chp-video .video-thumb {
  position: absolute;
  z-index: 1;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.chp-video:hover .video-overlay {
  background: transparent;
}

.chp-video .video-overlay {
  position: absolute;
  z-index: 3;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(var(--theme-primary-rgb), 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.chp-video .video-overlay .video-play {
  height: 77px;
  width: 77px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 25px;
  line-height: 25px;
  color: #fff;
}

.chp-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: #acacac;
}

.custom-accordion .accordion-item {
  margin-bottom: 14px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.custom-accordion .accordion-item .accordion-button {
  border-bottom: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding: 20px 20px;
}

.custom-accordion .accordion-item .accordion-button:not(.collapsed) {
  color: #0c63e4;
  background-color: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.custom-accordion .accordion-item .accordion-body {
  padding: 20px 24px 24px 24px;
  font-size: 13px;
  line-height: 25px;
  color: #ACACAC;
}

.acp-abox {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
}

.acp-abox .icon {
  height: 60px;
  width: 60px;
  background: var(--theme-primary);
  -webkit-box-shadow: 0px 16px 28px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 16px 28px rgba(var(--theme-primary-rgb), 0.33);
  border-radius: 7px;
  font-size: 30px;
  line-height: 30px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.acp-item {
  margin: 10px 0;
}

.acp-item > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.acp-item .acp-item--icon {
  font-size: 35px;
  line-height: 35px;
  color: var(--theme-primary);
}

.acp-item .acp-item--username {
  font-size: 14px;
  line-height: 17px;
  color: #acacac;
}

.acp-item .acp-item--user {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #3E4954;
  margin-bottom: 0px;
}

.divider {
  margin: 10px 0;
  border-bottom: 1px solid #EAEAEA;
}

.acpa-container {
  text-align: center;
}

.acpa-container .acpa-avatar {
  position: relative;
  margin-bottom: 14px;
}

.acpa-container .acpa-fullname {
  font-size: 16px;
  line-height: 20px;
  color: #000;
  margin-bottom: 8px;
}

.acpa-container .acpa-email {
  font-size: 14px;
  line-height: 17px;
  color: #acacac;
}

.acpa-switch {
  min-width: 280px;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0.5px solid #EAEAEA;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 5px;
  position: relative;
  background: transparent;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.acpa-switch:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), 0.25);
          box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), 0.25);
}

.acpa-switch:focus-within {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), 0.25);
}

.acpa-switch.gender-male .switch-male {
  color: #fff;
}

.acpa-switch.gender-female .switch-female {
  color: #fff;
}

.acpa-switch.gender-female .switch-bg {
  left: calc(50% - 5px);
}

.acpa-switch .switch-bg {
  background: var(--theme-primary);
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 50%;
  border-radius: 10px;
  position: absolute;
  -webkit-transition: .23s ease;
  transition: .23s ease;
}

.acpa-switch .switch-btn {
  -webkit-transition: .14s ease;
  transition: .14s ease;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  z-index: 2;
  padding: 0 8px;
  height: 44px;
  background: transparent;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--body-color, #3E4954);
  cursor: pointer;
}

.user-card {
  background: #F7F9FD;
  border-radius: 10px;
  padding: 12px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-width: 200px;
}

.user-card > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user-card .user-card--icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.15);
  height: 50px;
  width: 50px;
  border-radius: 10px;
  font-size: 25px;
  line-height: 25px;
}

.user-card .user-card--title {
  font-size: 12px;
  line-height: 15px;
  margin-bottom: 4px;
  color: #ACACAC;
}

.user-card .user-card--status {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  color: #3E4954;
}

.fc-blue {
  background: rgba(var(--theme-primary-rgb), 0.15) !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: var(--theme-primary);
}

.fc-blue:focus {
  background: rgba(var(--theme-primary-rgb), 0.15) !important;
}

.btn-fb {
  padding: 0px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  font-size: 24px;
}

.nav-custom-4 {
  margin: 0 -10px;
}

.nav-custom-4 .nav-item {
  padding: 0 10px;
}

.nav-custom-4 .nav-link {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 20px 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-weight: 600;
  font-size: 16px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 20px;
  color: #3E4954;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.nav-custom-4 .nav-link i {
  font-size: 45px;
  line-height: 45px;
  margin-bottom: 14px;
}

.nav-custom-4 .nav-link.active {
  color: #fff;
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
  border-radius: 10px;
  background-color: var(--theme-primary);
}

.clearfix {
  display: block;
  clear: both;
}

.smmspot-updates-item {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 18px 38px;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  margin-bottom: 14px;
}

.smmspot-updates-item > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.smmspot-updates-item .update-type {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  border-radius: 25px;
  padding: 15px 24px;
  color: #fff;
  background-color: #666;
}

.smmspot-updates-item[data-type="add"] .update-type {
  background: #48DDB0;
}

.smmspot-updates-item[data-type="remove"] .update-type {
  background: #EB4E56;
}

.smmspot-updates-item[data-type="price-increase"] .update-type {
  background: var(--theme-primary);
}

.smmspot-updates-item[data-type="price-decrease"] .update-type {
  background: #374BFF;
}

.smmspot-updates-item[data-type="max-increase"] .update-type {
  background: #B648DD;
}

.smmspot-updates-item[data-type="max-decrease"] .update-type {
  background: #FFA337;
}

.smmspot-updates-item[data-type="min-increase"] .update-type {
  background: #4EEBD8;
}

.smmspot-updates-item[data-type="min-decrease"] .update-type {
  background: #EB4EA3;
}

.pagination .page-item {
  padding: 0 4px;
}

.pagination .page-item.active .page-link {
  background-color: var(--theme-primary);
  color: #fff;
}

.pagination .page-item.pi-pn .page-link {
  background-color: var(--theme-primary);
  color: #fff;
}

.pagination .page-item .page-link {
  border: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  padding: 12px 12px;
  min-width: 45px;
  height: 45px;
  border-radius: 23px;
  color: var(--theme-primary);
  background-color: transparent;
}

.home-header {
  height: 100px;
  position: fixed;
  width: 100%;
  left: 0px;
  top: 30px;
  z-index: 1000;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.home-header.active {
  top: 0px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.home-header.active .btn {
  padding: 14px 30px;
}

.home-header.active .btn-primary {
  padding: 14px 50px;
}

.home-header .row-100 {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100px;
}

.home-header .btn {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding: 24px 30px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.home-header .btn-primary {
  -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
          box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 0.33);
  border-radius: 15px;
  padding: 24px 50px;
}

.login-menu {
  margin: 0px;
  padding: 0px;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -30px;
}

.login-menu .menu-item {
  padding: 0 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.login-menu .menu-link {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #0A2753;
  position: relative;
  padding: 20px 0;
}

.login-menu .menu-link::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 4px;
  border-radius: 2px;
  width: 0px;
  background-color: #16C4FC;
  -webkit-transition: .4s ease;
  transition: .4s ease;
}

.login-menu .menu-link.active {
  color: #16C4FC;
}

.login-menu .menu-link.active::before {
  width: 40px;
}

.home-main {
  padding-top: 160px;
}

.home-head {
  padding: 80px 0;
  position: relative;
}

.home-head .container-xxl {
  position: relative;
}

.hh-bg {
  position: absolute;
  left: 50%;
  width: 50%;
  top: 0px;
  bottom: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.hh-bg .shape1, .hh-bg .shape2, .hh-bg .shape3, .hh-bg .shape4, .hh-bg .shape5 {
        position: absolute
}

.hh-bg .shape1 {
        top: 0;
        left: 50px
}

.hh-bg .shape2 {
        top: 15px;
        right: 0
}

.hh-bg .shape3 {
    top: 350px;
    left: 60px;
}

.hh-bg .shape4 {
        top: 275px;
        right: 50px
}

.hh-bg .shape5 {
        top: 150px;
        left: 50px
}

.hh-bg .hh-bg-img {
    width: 128%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    margin-top: 54px;
}

.hh-top-title {
  background: rgba(10, 39, 83, 0.05);
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: #0A2753;
  display: inline-block;
}

.hh-title {
  margin-bottom: 20px;
}

.hh-title h1 {
  font-weight: 600;
  font-size: 45px;
  line-height: 80px;
  color: #0A2753;
  margin-bottom: 0px;
}

.hh-title h1 span {
  color: var(--theme-primary);
  font-weight: 700;
  position: relative;
}

.hh-title h1 span::before {
  content: '';
  background-image: url(https://storage.perfectcdn.com/2b04b8/lujdba582rr35fk7.svg);
  position: absolute;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  left: -5px;
  bottom: -18px;
  width: calc(100% + 10px);
  height: 20px;
}

.hh-p {
  font-size: 16px;
  line-height: 35px;
  color: #0A2753;
  margin-bottom: 50px;
}

.login-form {
  margin-top: 30px;
  z-index: 10;
  position: relative;
}

.login-form .input-group-text {
  background-color: #fff;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.login-form .form-control {
  background-color: #fff;
  height: 72px;
  font-size: 16px;
  font-weight: 700;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.login-form .igt-sq {
  font-size: 20px;
}

.login-form .btn-login {
  height: 72px;
  width: 72px;
  background-color: #fff;
  border: 2px solid #EAEAEA;
  border-radius: 12px;
  font-size: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.login-form .login-btn {
  height: 72px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.knd-checkbox input {
  display: none;
}

.knd-checkbox input:checked ~ button {
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff;
}

.login-top {
  position: relative;
  z-index: 10;
  margin-top: 80px;
}

.login-top .lt-icon {
  color: var(--theme-primary);
  font-size: 40px;
}

.login-top .lt-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 30px;
  color: #000;
  margin-bottom: 8px;
}

.login-top .lt-text {
  font-size: 14px;
  line-height: 20px;
  color: #ACACAC;
}

.home-section {
  position: relative;
  padding: 80px 0;
}

.home-topbar {
  max-width: 100%;
}

.home-title {
  font-weight: 600;
  font-size: 35px;
  line-height: 64px;
  letter-spacing: -1px;
  color: #0A2753;
  margin-bottom: 30px;
}

.home-image {
  max-width: 100%;
}

.home-p {
  font-size: 14px;
  line-height: 30px;
  color: #0A2753;
  margin-bottom: 4s0px;
}

.nav-home-social .nav-link {
  background-color: transparent;
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  color: #ACACAC;
  outline: none;
  border: none;
  padding: 24px 0;
  border-bottom: 1px solid #E5E5E5;
  position: relative;
}

.nav-home-social .nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 2px;
  width: 0px;
  background: var(--theme-primary);
  -webkit-transition: .2s ease;
  transition: .2s ease;
}

.nav-home-social .nav-link.active {
  background: transparent;
  color: #000;
}

.nav-home-social .nav-link.active::after {
  width: 120px;
}

.hpri-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  color: #0A2753;
  margin-bottom: 18px;
}

.hpri-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
  color: #ACACAC;
  margin-bottom: 0px;
}

.comments-container {
  position: relative;
}

.hcc-item {
  position: relative;
}

.hcc-item .hcc-head {
  position: relative;
}

.hcc-item .hcc-head > .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.hcc-item .hcc-name {
  font-weight: 600;
  font-size: 19px;
  color: #0A2753;
}

.hcc-item .hcc-about {
  font-weight: 600;
  font-size: 14px;
  color: #acacac;
}

.hcc-item .hcc-body {
  padding: 20px 0;
}

.hcc-item .hcc-text {
  font-size: 14px;
  line-height: 30px;
  color: #0A2753;
}

.hcc-item .hcc-footer {
  background: rgba(227, 227, 227, 0.2);
  border-radius: 15px;
  padding: 36px 28px;
  line-height: 20px;
  font-size: 16px;
  color: #0A2753;
  font-weight: 600;
}

.hcc-item .fa-star {
  color: #FFAC0A;
  font-size: 16px;
  line-height: 20px;
}

.hcc-item .star-point {
  line-height: 20px;
}

.hcc-nav-container {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  position: absolute;
  right: 0px;
  top: 0px;
  margin: 0px -6px;
  padding: 0px;
  list-style: none;
  z-index: 3;
}

.hcc-nav-container .n-item {
  padding: 0 6px;
}

.hcc-nav-container .n-link {
  border: 1px solid #EAEAEA !important;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 20px;
  color: #0A2753;
}

.card-hcc {
  height: 100%;
  background-color: var(--theme-primary);
  background-image: url(https://storage.perfectcdn.com/2b04b8/28o9ixhrenfmykip.svg);
  background-size: cover;
  background-position: center;
}

.card-hcc .c-body {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  color: #fff;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.card-hcc .chcc-title {
  font-weight: 600;
  font-size: 25px;
  line-height: 35px;
}

.card-hcc .chcc-p {
  font-size: 16px;
  line-height: 25px;
  color: #FFFFFF;
}

.card-hcc .hcc-icons {
  max-width: 300px;
  width: 100%;
}

.home-bottom-section {
  position: relative;
}

.home-bottom-section > div {
  position: relative;
}

.home-bottom-section > div > .row {
  position: relative;
  z-index: 4;
}

.home-bottom-section > div::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 50%;
  height: 440px;
  background-image: url(https://storage.perfectcdn.com/2b04b8/pjyg13hr4dj1c0z1.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.home-bottom-section > div::after {
  content: '';
  position: absolute;
  right: 0px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 50%;
  height: 440px;
  background-image: url(https://storage.perfectcdn.com/2b04b8/rsayassm52fdrdjr.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}

.footer {
  background: -webkit-gradient(linear, left bottom, left top, color-stop(15.91%, #EBF2FA), color-stop(75.28%, rgba(247, 247, 247, 0)));
  background: linear-gradient(to top, #EBF2FA 15.91%, rgba(247, 247, 247, 0) 75.28%);
}

.footer-top {
  padding: 40px 0;
}

.footer-menu {
  list-style: none;
  margin: 0px -30px;
  padding: 0px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.footer-menu .fm-item {
  padding: 10px 30px;
}

.footer-menu.fm-soc {
  margin: 0 -5px;
}

.footer-menu.fm-soc .fm-item {
  padding: 10px 5px;
}

.footer-menu .fm-link {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #0A2753;
}

.footer-menu .fm-social {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  border: 2px solid #0A2753;
  color: #0A2753;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.footer-menu .fm-social:hover {
  background: #0A2753;
  color: #fff;
}

.footer-bottom {
  padding: 10px 0 40px 0;
}

.fb-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
  color: #0A2753;
}

.menu-formobile {
  display: none;
}

.hm-right-menubar {
  display: none;
}

.dd-menu {
  border: none;
  -webkit-box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
}

.page-info .pi-content {
  padding: 70px 0 40px;
  text-align: center;
}

.page-info .pi-title  {
  font-weight: 600;
  font-size: 35px;
  line-height: 135%;
  color: #0A2753;
}

.page-info .pi-p {
  font-size: 16px;
  line-height: 35px;
  color: #0A2753;
  margin-top: 18px;
}

.blog-card {
  margin-bottom: 30px;
}

.blog-card .bc-image-container {
  position: relative;
  width: 100%;
  padding-top: 65%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-card .bc-image-container .bc-image {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-card .bc-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 26px;
  color: #0A2753;
  margin: 20px 0 14px 0;
}

.blog-card .bc-p {
  font-size: 14px;
  line-height: 23px;
  color: #ACACAC;
}

.bi-head {
  position: relative;
}

.bi-head .bih-box {
  -webkit-filter: drop-shadow(0px 30px 25px rgba(107, 103, 103, 0.2));
          filter: drop-shadow(0px 30px 25px rgba(107, 103, 103, 0.2));
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.bi-head .bih-image {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

.bi-head .bih-image::after {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  background: -webkit-gradient(linear, left bottom, left top, from(#000000), color-stop(117.23%, rgba(0, 0, 0, 0)));
  background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 117.23%);
}

.bi-head .bih-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  -o-object-fit: cover;
     object-fit: cover;
}

.bi-head .bih-body {
  padding: 180px 20px 0px 20px;
  position: relative;
  z-index: 10;
}

.bi-head .bih-info {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
}

.bi-head .bih-info a {
  color: #fff;
}

.bi-head .bih-info a:hover {
  text-decoration: underline;
}

.bi-head .bih-title h2 {
  font-weight: bold;
  font-size: 35px;
  line-height: 135%;
  color: #FFFFFF;
}

.main-fixed {
  position: fixed;
  overflow: auto;
  top: 104px;
  z-index: 5;
  left: 0px;
  bottom: 0px;
  right: 0px;
  padding-top: 0px;
  min-height: inherit !important;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  -webkit-transition: .24s ease;
  transition: .24s ease;
}

.main-fixed.active {
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}

.db-title {
  font-weight: bold;
  font-size: 22px;
  line-height: 26px;
  color: #3E4954;
}

.db-p {
  font-size: 14px;
  line-height: 26px;
  color: #ACACAC;
}

.db-box {
  background-color: var(--theme-primary);
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  border-radius: 10px;
}

.blog-content {
  font-weight: normal;
  font-size: 16px;
  line-height: 29px;
  color: #3E4954;
}

.blog-content p {
  font-size: 16px;
  line-height: 29px;
  color: #3E4954;
  margin-bottom: 30px;
}

.blog-content img {
  max-width: 100%;
  margin: auto;
  display: block;
  border-radius: 20px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
  margin-bottom: 34px;
}

.blog-content img:hover {
  border-radius: 0;
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}

.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  font-weight: 600;
  color: #0A2753;
  line-height: 140%;
  margin-bottom: 34px;
}

.blog-content h1 {
  font-size: 32px;
}

.blog-content h2 {
  font-size: 26px;
}

.blog-content h3 {
  font-size: 22px;
}

.blog-content h4 {
  font-size: 18px;
}

.blog-content h5 {
  font-size: 16px;
}

.blog-content h6 {
  font-size: 14px;
}

.r-ticket .r-ticket-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 23px;
  color: #3E4954;
  margin-bottom: 0px;
}

.r-ticket .r-ticket-id {
  font-size: 16px;
  line-height: 20px;
  color: var(--theme-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(var(--theme-primary-rgb), 0.2);
  border: 1px solid var(--theme-primary);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 50px;
  padding: 20px 30px;
}

.r-ticket .rt-title {
  font-weight: bold;
  font-size: 19px;
  line-height: 24px;
  color: #3E4954;
  margin-top: 6px;
}

.r-ticket .rt-info {
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #ACACAC;
  margin-bottom: 6px;
}

.close {
        background: none;
        border: none
}

.bs-toast {
  background: var(--theme-primary);
  color: #fff;
  padding: 13px 24px;
  border-radius: 6px;
  position: fixed;
  bottom: 30px;
  left: 40px;
  width: 100%;
  max-width: 300px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: none;
  z-index: 3000;
}

.bs-toast .bs-toast-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bs-toast .toast-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.bs-toast .toast-times {
  cursor: pointer;
  border: none;
  outline: none;
  color: #fff;
  background: transparent;
}

.modal-title {
        font-size: 14px!important
}

.modal-header {
        background: var(--theme-primary);
        color: #fff
}

#fields .form-group {
        margin-bottom: 1.5rem!important
}

.blog-txt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-header.astatus {
        margin: 0 15px;
        padding: 30px;
        border-radius: 15px;
}
.modal-header.astatus h4 {
        font-size: 24px!important
}
.status-box {
        background: rgb(33,198,246);
        background: linear-gradient(180deg, rgba(33,198,246,1) 0%, rgba(73,202,247,1) 100%);
        border-radius: 15px;
        padding: 30px 30px 15px 30px
}
.status-box.special {
        background: rgb(35,182,251);
        background: linear-gradient(180deg, rgba(35,182,251,1) 0%, rgba(62,36,247,1) 100%);
}
.status-box.vip {
        background: rgb(88,38,249);
        background: linear-gradient(180deg, rgba(88,38,249,1) 0%, rgba(37,245,231,1) 100%);
}
.status-box.royal {
        background: rgb(144,33,250);
        background: linear-gradient(180deg, rgba(144,33,250,1) 0%, rgba(250,35,217,1) 100%);
}
.status-box h3, .status-box p {
        text-align: center;
        color: #fff
}
.status-box ul {
        padding-left: 0
}
.status-box ul li {
        list-style-type: none;
        background: rgb(0, 0, 0, 0.4);;
        border-radius: 5px;
        padding: 5px 0;
        text-align: center;
        margin-bottom: 5px;
        color: #fff
}
.status-box ul li.unlisted {
        color: #3195ce;
        text-decoration: line-through
}
.modal-footer.sfooter {
        background: #d6f4f6;
        margin: 0 15px;
        padding: 5px 15px;
        border-radius: 15px;
        justify-content: flex-start;
        color: #21c4fb
}
.modal-footer.sfooter .sf-inn {
        display: flex;
        align-items: center;
        justify-content: space-around
}

.fas.fa-sun, .d-light, .logo-dark {
        display: none
}

body.dark .main {background: #1e1e1e}
body.dark .dropdown-menu.dd-menu {background: #1e1e1e!important}
body.dark .dropdown-menu.dd-menu .dropdown-item {color:#fff!important}
body.dark .dropdown-menu.dd-menu .dropdown-item:hover {background:#242424!important}
body.dark .btn.btn-open {color:#fff}
body.dark .noii-content {color:#fff}
body.dark .card {background:#242424}
body.dark .card.nip-card {background: var(--theme-primary)}
body.dark .nop-card .nop-title, body.dark .nop-card .nop-progress, body.dark .nop-card .nop-text {color:#fff}
body.dark .noi-item, body.dark .form-control, body.dark .form-select, body.dark .nav-custom .nav-link {background: #1e1e1e; color: #fff}
body.dark .nav-custom .nav-link.active, body.dark .nav-custom-2 .nav-link.active, body.dark .nav-addfunds .nav-link.active, body.dark .nav-custom-4 .nav-link.active {background: var(--theme-primary);color: #FFFFFF;}
body.dark .page-head .ph-title, body.dark .page-head .ph-active-page {color: #fff}
body.dark .nav-custom-2 .nav-link, body.dark .nav-addfunds .nav-link {background: #242424; color: #fff; border-color: #393939}
body.dark .services-search .input, body.dark .services-search .icon {background: #242424; color: #fff}
body.dark .services-search-new .input, body.dark .services-search-new .icon {background: #242424; color: #fff}
body.dark .src-txt {color: #fff}
body.dark .order-item {background: #242424}
body.dark .oio-text, body.dark .oib-item--text {color: #fff}
body.dark .order-input .oi-control, body.dark .order-input .btn, body.dark .order-input {background: #1e1e1e; color: #fff}
body.dark .order-item.active .oi-bottom {border-color: #1e1e1e}
body.dark .modal-body, body.dark .modal-content {background: #242424}
body.dark .services-info, body.dark .modal-header { border-color: #383838 }
body.dark .services-info .si-item small, body.dark .services-info .si-item p {
    color: #fff !important;
}
body.dark .modal-header .btn {color: #fff}
body.dark .ph-iib {background:#242424; color:#fff}
body.dark .pay-title, body.dark .pay-pg {color: #fff}
body.dark .nt-item {background: #242424}
body.dark .nt-item .nt-item--text {color:#fff}
body.dark .payments-table tr {background: #1e1e1e}
body.dark .payments-table .pyt-title {color:#fff}
body.dark .nt-item .nt-item--title {color:#fff}
body.dark .nt-select-cats .nt-select-cat .nt-sc-box {background: #242424}
body.dark .nt-select-cats .nt-select-cat .nt-sc-box-text {color: #fff}
body.dark .nt-select-cats .nt-select-cat input:checked + .nt-sc-box {background-color: var(--theme-primary); color: #fff;}
body.dark .nt-sc .nt-sc-li label {border-color: #1e1e1e; background-color: #313131;}
body.dark .nt-sc .nt-sc-li label .text, body.dark .nt-title .nt-title-text {color: #fff}
body.dark .r-ticket .rt-title, body.dark .db-title, body.dark .r-ticket .r-ticket-title {color:#fff}
body.dark .ordernumbers .form-control, body.dark .form-control.fc-white {background:#242424;color:#fff}
body.dark .nt-sc .nt-sc-li label .check {border-color: #1e1e1e}body.dark .schat-msg-input {background: #1e1e1e}
body.dark .tservices-row {color:#fff}
body.dark .service-item {background: #242424}
body.dark .tservice-fav .far.fa-star {color:#fff}
body.dark .modal-footer {background: #242424;border-color: #1e1e1e;}
body.dark .aff-title {color: #fff}
body.dark .af-item {background: #242424}
body.dark .af-item .af-item--text {color:#fff}
body.dark .af-payout-card {background:#242424;border-color:#383838;color:#fff}
body.dark .af-payout-heading h3 {color:#fff}
body.dark .af-payout-description {color:#b9c2ca}
body.dark .af-payout-count {background:#1e1e1e;border-color:#383838;color:#d0d6dc}
body.dark .af-payout-table-wrap {border-color:#383838}
body.dark .af-payout-table {color:#e6eaee}
body.dark .af-payout-table thead {background:#1e1e1e}
body.dark .af-payout-table th {color:#aeb8c2}
body.dark .af-payout-table td {border-color:#383838}
body.dark .af-payout-table tbody tr:hover {background:#2c2c2c}
body.dark .af-payout-date__icon {background:rgba(var(--theme-primary-rgb),.16)}
body.dark .af-payout-date__value strong,
body.dark .af-payout-amount {color:#f3f6f8}
body.dark .af-payout-date__value small {color:#abb5bf}
body.dark .af-payout-status {background:#18382c;border-color:#285940;color:#8ce2b7}
body.dark .form-label, body.dark .control-label, body.dark .chp-title {color: #fff}
body.dark .smmspot-updates-item {background:#242424}
body.dark .smmspot-updates-item .service-name, body.dark .smmspot-updates-item .update-date {color:#fff}
body.dark .accordion-header, body.dark .custom-accordion .accordion-item .accordion-body {background: #242424}
body.dark .custom-accordion .accordion-item .accordion-button {background:#242424;color:#fff}
body.dark .accordion-button::after {-webkit-filter: brightness(0) invert(1);filter: brightness(0) invert(1);}
body.dark .nav-custom-4 .nav-link {background:#242424;color:#fff}
body.dark .acp-item .acp-item--user, body.dark .order-item .oi-title {color:#fff}
body.dark .acp-abox {background:#242424}
body.dark .divider, body.dark .acpa-switch {border-color: #1e1e1e}
body.dark .user-card {background: #1e1e1e}
body.dark .user-card .user-card--status, body.dark .acpa-container .acpa-fullname {color:#fff}
body.dark .acpa-switch .switch-btn {color:#fff}
body.dark .logo-light {display: none; transition:300ms all}
body.dark .logo-dark {display:block!important; transition:300ms all}
body.dark pre.code {color: #fff !important;background: #1e1e1e !important;}
body.dark .table.api tbody, body.dark .table.api td, body.dark .table.api tfoot, body.dark .table.api th, body.dark .table.api thead, body.dark .table.api tr {color:#fff}
body.dark .modal-dialog.modal-xl .modal-content {background: #242424}

.reg-left {
        background: var(--theme-primary) url(https://storage.perfectcdn.com/2b04b8/iz00mmb4zlbmlj8x.png);
        background-repeat: no-repeat;
        min-height: 500px;
        border-radius: 15px;
        color: #fff
}

.p-100 {
        padding: 0 100px
}

.reg-left h3 {
        padding-top: 50px;
        font-size: 32px;
        line-height: 42px
}

.badge {
        background: var(--theme-primary)!important;
    border-radius: 5px!important;       
}

#statusModal .btn-close {
        -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    border: 2px dotted #fff;
    border-radius: 100%;
    opacity: 1;
}

#servisDetay .modal-dialog .modal-body h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 0;
}

#servisDetay .modal-dialog .modal-body p {
  color: #525560;
  font-size: 13px;
  padding: 0;
  max-height: 200px;
  overflow-x: scroll;
}

.services-info {
        position: relative;
    border: 1px solid #efefef;
    border-radius: 15px;
    padding: 25px 30px;
    background: rgb(26 27 30 / 10%);
}

.si-overlay {
  background: url(https://storage.perfectcdn.com/2b04b8/t7bhjsuh40xntzzi.png);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 125px;
  border-radius: 20px;
  margin-top: -100px;
}

.services-info h2 {
  font-size: 16px;
}

.services-info .si-item {
  text-align: center;
}

.services-info .si-item small,
.services-info .si-item p {
  color: #0a2753 !important;
  font-weight: 400;
}

.services-info .si-circle {
  background: var(--theme-primary);
  width: 55px;
  height: 55px;
  border-radius: 100%;
  text-align: center;
  line-height: 55px;
  font-size: 24px;
  margin-bottom: 5px;
}

.services-info .si-circle i {
  color: #fff
}

.service-id-box {
  width: max-content;
  height: 50px;
  border-radius: 8px;
  background: var(--theme-primary);
  color: #fff;
  padding: 0 15px!important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#servisDetay .modal-dialog .modal-body .service-id-box {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 35px;
  padding: 0 15px;
  border-radius: 8px;
  background: #c31331;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#servisDetay .modal-dialog .modal-body h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 15px 0;
}

#servisDetay .modal-dialog .modal-body p {
  color: #525560;
  font-size: 13px;
  padding: 0;
  max-height: 200px;
  overflow-x: scroll;
}

.hpst {
  margin: 10px 0;
}

.hpst .hpst-icon {
  font-size: 50px;
  line-height: 57px;
  color: var(--theme-primary);
}

.hpst .hpst-title {
  font-weight: 600;
  font-size: 19px;
  line-height: 35px;
  color: #acacac;
}

.hpst .hpst-text {
  font-weight: bold;
  font-size: 35px;
  line-height: 35px;
  color: #0a2753;
}

.hsp-icon {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  background: rgba(var(--theme-primary-rgb), 0.15);
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 30px;
  font-weight: 900;
  font-size: 35px !important;
  line-height: 35px;
  color: var(--theme-primary);
}

.hpri-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #0A2753;
}

.privPrevbtn {
  border: 1px solid #0A2753;
  background-color: transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #0A2753;
  padding: 0px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: .14s;
  transition: .14s;
  font-size: 20px;
}

.privPrevbtn:hover {
  background-color: #0A2753;
  color: #fff;
}

.card-pm {
  cursor: pointer;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.card-pm:hover {
  background-color: #fafafa;
}

.card-pm .card-body {
  height: 100px;
  width: 100px
}

.card-pm .card-body img {
  max-width: 100%;
  max-height: 100%;
}

.card-pm .card-body i {
  font-size: 46px
}

.card-pm .card-body .fa-bitcoin {
        color: #ff7b00
}

.card-pm .card-body .fa-cc-paypal {
        color: #003087
}

.card-pm .card-body .fa-ethereum {
        color: #62688f
}

.card-pm .card-body .fa-apple-pay {
        color: #000
}

.card-pm .card-body .fa-cc-stripe {
        color: #00afe1
}

.card-pm .card-body .fa-cc-visa {
        color: #f7b600
}

.order-head {
        background: var(--theme-primary);
        color: #fff;
        border-radius: 5px;
        padding-top: 30px;
        padding-bottom: 30px
}

body.dark #ticketsend .fc-white {
    background: #313131;
}

.sticky31 {
    position: sticky;
    top: 120px;
}

.rtickets {
        max-height: 500px;
        overflow: scroll
}

.rtickets::-webkit-scrollbar {
        width: 7px;
        height: 7px;
}

body.dark .rtickets::-webkit-scrollbar-thumb {
        background: rgba(var(--theme-primary-rgb), 0.2);
}

.rtickets::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 5px;
}

.rtickets::-webkit-scrollbar-track {
        background: transparent;
}

.pagination {
  margin: 0;
  padding: 0;
  text-align: center
}

.pagination li {
  display: inline
}

.pagination li a {
  display: inline-block;
  text-decoration: none;
  padding: 5px 10px;
  color: #202020;
  background: #fff;
  margin-right: 5px;
}

.pagination li a {
  border-radius: 5px;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s
    
}
.pagination li.active a {
  background-color: var(--theme-primary);
  color: #fff
}
.pagination li a:hover:not(.active) {
  background-color: var(--theme-primary);
} 
.col-xl-auto {
    flex: 0 0 auto;
    width: 120px;
}  

.select2.select2-container.select2-container--default {
    width: 100%!important;
}

.currency-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        z-index: 2000;
        display: none;
}

.currency-drawer {
        display: none;
        transform: translateX(100%);
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        z-index: 2003;
        background: #fff;
        border-left: 1px solid #ccc;
        width: 280px;
        display: flex;
        flex-direction: column;
        transition: 0.14s ease;
}

.rtl-enable .currency-drawer {
        transform: translateX(0);
}

.currency-drawer .drawer-header {
        display: flex;
        align-items: center;
        gap: 20px;
        height: 80px;
        padding: 0 20px;
        background-color: var(--theme-primary);
}

.currency-drawer .drawer-header-title {
        font-weight: 600;
        font-size: 19px;
        line-height: 22px;
        color: #fff;
        margin-bottom: 0;
}

.currency-drawer .drawer-header-close {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        font-size: 20px;
        cursor: pointer;
        color: #fff
}

.currency-drawer .drawer-body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
        padding: 10px 20px 40px;
        overflow-y: auto;
}

.currency-item {
        background: #F6F6F6;
    border: 1px solid #eee5e5;
    border-radius: 7px;
    padding: 7px 10px;
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #3E4954;
    transition: 0.14s ease;
    cursor: pointer;
    margin-bottom: 5px;
}

.currency-item span {
        background: var(--theme-primary-dark);
    float: right;
    width: 35px;
    text-align: center;
    border-radius: 3px;
    color: #fff;
}

.currency-item:hover,
.currency-item:focus {
        color: var(--theme-primary);
        border: 1px solid var(--theme-primary)
}

.currency-item.active {
        background: var(--theme-primary);
        border: 1px solid var(--theme-primary);
}

.btn.search {
        border-radius: 0 10px 10px 0;
        height: 50px
}

.rtl-enable .btn.search {
    border-radius: 10px 0 0 10px;
}

.sUpd.priceDown {
        color: rgba(133, 131, 251, 1)
}

.sUpd.newServ {
        color: rgb(12, 224, 21, 1)
}

.sUpd.priceUp {
        color: rgba(255, 38, 38, 1)
}

.sUpd.priceActive {
        color: rgba(255, 193, 7, 1)
}

.sUpd.priceCare {
        color: rgba(214, 97, 238, 1)
}

.mobile-navbar {
    position: fixed;
    z-index: 1031;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 70px;
    border-top: 1px solid;
    background-color: #fff;
    border-color: #f6f6f6;
    padding: 10px;
    -webkit-box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 1);
    box-shadow: 0px 24px 40px rgba(var(--theme-primary-rgb), 1);
}

.mobile-navbar-content {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-around;
}

.mnc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #3E4954;
}

.mnc-item.active {
  color: #fff;
}

.mnc-item-icon {
  font-size: 20px;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.mnc-item-text {
  font-size: 12px;
  font-weight: 500;
}

.nav-custom .auto-subscription-filter {
  gap: 8px;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.22);
  background: rgba(var(--theme-primary-rgb), 0.08);
  color: var(--theme-primary-dark);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-custom .auto-subscription-filter:hover,
.nav-custom .auto-subscription-filter.is-active {
  border-color: var(--theme-primary);
  background: var(--theme-primary);
  color: #fff;
}

.nav-custom .auto-subscription-filter:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.top-card {
        display: flex;
        align-items: center;
}

.top-card .top-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--theme-primary-rgb), 0.15);
        margin-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.rtl-enable .top-card .top-icon {
    margin-left: 15px;
        margin-right: auto
}

.top-card .top-icon i {
    font-size: 24px;
    line-height: 24px;
    color: var(--theme-primary-dark);
}

.top-card h3.top-title {
        font-size: 22px;
    margin-bottom: 0.2rem;
        color: #3E4954
}

.top-card .top-text {
        font-size: 13px;
    color: #878787
}

.progress-bar {
    border-radius: 10px;
    background-color: var(--theme-primary)
}

.progress {
    height: 0.5rem;
    background-color: #F6F6F6;
    border-radius: 10px;
}

.progress-btn .btn {
    background-color: var(--theme-primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-box-shadow: 0px 7px 40px rgba(var(--theme-primary-rgb), 0.33);
    box-shadow: 0px 7px 40px rgba(var(--theme-primary-rgb), 0.33);
    border-radius: 10px;
}

.w-text {
    font-size: 18px;
    color: #3E4954;
    text-align: center;
    border-bottom: 1px solid #f6f6f6;
    padding: 0 0 10px 0;
}

body.dark .w-text {
    border-color: #1e1e1e;
}

body.dark .w-text, body.dark .top-card h3.top-title {
                color: #fff!important
  }
body.dark .top-card .top-text {
      color: #ded6d6!important
  }  

body.dark .currency-item {
    background: #3e4954;
    border: 1px solid #242424;
}

body.dark .nav-custom .auto-subscription-filter {
  border-color: #3e4954;
  background: #242424;
  color: #e6eaee;
}

body.dark .nav-custom .auto-subscription-filter:hover,
body.dark .nav-custom .auto-subscription-filter.is-active {
  border-color: var(--theme-primary);
  background: var(--theme-primary);
  color: #fff;
}

.select2-results__option a {
        color: #3E4954 !important;
        font-size: 14px !important;
        border-bottom: 1px solid #e9ecef
}

body.dark .select2-results__option a {
        color: #fff !important;
        font-size: 14px !important;
        border-bottom: 1px solid #242424
}

.select2-results__option a:hover {
        background: #e9ecef;
        color: #3E4954 !important
}

body.dark .select2-results__option a:hover {
        background: #242424;
        color: #fff !important
}

.select2-container--default .select2-results .select2-results__options,
.select2-container--open .select2-dropdown--below,
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option:hover {
        background-color: #F6F6F6 !important;
}

body.dark .select2-container--default .select2-results .select2-results__options,
body.dark .select2-container--open .select2-dropdown--below,
body.dark .select2-container--default .select2-results__option[aria-selected=true],
body.dark .select2-container--default .select2-results__option:hover {
        background-color: #1e1e1e !important;
}

.select2-container--default .select2-selection--single {
        height: 45px;
        line-height: 24px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
        white-space: normal !important;
}

.select2-container .select2-selection--single {
    height: 50px;
    background: #f6f6f6;
    border: none;
}

body.dark .select2-container .select2-selection--single {
    background: #1e1e1e;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 18px;
}

body.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #fff
}

.select2-results__option {
        padding: 0!important
}

.select2-container .select2-selection__icon {
    width: 25px;
}

.select2-dropdown {
        border: none
}

ul.platforms {
        display: flex;
        align-content: center;
        list-style: none;
        gap: 6px;
        margin: 0;
        padding: 0;
}

ul.platforms li {
        flex-grow: 1;
}

ul.platforms li button {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #222f56;
        background: #192446;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
}

ul.platforms li button.all {
        background: #4a5cf6;
        border: 1px solid #222f56;
}

ul.platforms li button.instagram {
        background: #ff0099;
        border: 1px solid #ff0099;
}

ul.platforms li button.twitter {
        background: #1da1f2;
        border: 1px solid #1da1f2;
}

ul.platforms li button.facebook {
        background: #3b5998;
        border: 1px solid #3b5998;
}

ul.platforms li button.youtube {
        background: #ff0000;
        border: 1px solid #ff0000;
}

ul.platforms li button.tiktok {
        background: #000000;
        border: 1px solid #000000;
}

ul.platforms li button.telegram {
        background: #0088cc;
        border: 1px solid #0088cc;
}

ul.platforms li button.steam {
        background: #000000;
        border: 1px solid #000000;
}

ul.platforms li button.discord {
        background: #7289da;
        border: 1px solid #7289da;
}

ul.platforms li button.reddit {
        background: #ff4500;
        border: 1px solid #ff4500;
}

ul.platforms li button.twitch {
        background: #6441a5;
        border: 1px solid #6441a5;
}

ul.platforms li button.snapchat {
        background: #fffc00;
        border: 1px solid #fffc00;
}

ul.platforms li button.snapchat i {
        color: #000;
}

ul.platforms li button.linkedin {
        background: #0077b5;
        border: 1px solid #0077b5;
}

ul.platforms li button.pinterest {
        background: #bd081c;
        border: 1px solid #bd081c;
}

ul.platforms li button.tumblr {
        background: #35465c;
        border: 1px solid #35465c;
}

ul.platforms li button.soundcloud {
        background: #ff5500;
        border: 1px solid #ff5500;
}

ul.platforms li button.likee {
        background: #964bff;
        border: 1px solid #964bff;
}

ul.platforms li button.website {
        background: #ff0000;
        border: 1px solid #ff0000;
}

ul.platforms li button.trendyol {
        background: #f27a1a;
        border: 1px solid #f27a1a;
}

ul.platforms li button i {
        font-size: 18px;
        color: #fff;
}

ul.platforms li button.active {
        transform: scale(1.1);
}

.s-row {
        display: flex;
        align-items: center;
        gap: 10px;
}

.s-row.s-title {
        font-weight: 600;
        display: none;
}

.services-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
}

.si-wrapper {
        flex: 0 0 auto;
        width: 100%;
        position: relative;
}

.s-col {
        flex: 0 0 auto;
}

.service-item {
        padding: 12px 30px;
        border-radius: 15px;
        margin-bottom: 14px;
        background: #fff;
        border: 1px solid #fff;
        box-sizing: border-box;
        border-radius: 15px;
}

.service-item .s-col-id i {
        cursor: pointer
}

.services-head-row .service-item {
        background-color: transparent;
        border: none;
}

.sp-serv-title {
        font-weight: 600;
        font-size: 14px;
        line-height: 17px;
}

.sp-services .card {
        margin-bottom: 30px;
}

.si-header {
        padding: 15px 30px;
        background: var(--theme-primary);
        border-radius: 15px;
        border: 1px solid var(--theme-primary);
        margin-bottom: 14px;
}

.si-header .si-title {
        font-weight: 600;
        font-size: 16px;
        line-height: 23px;
        color: #fff;
        margin-bottom: 0;
}

@media only screen and (min-width: 992px) {
        .si-wrapper {
                flex: 0 0 auto;
                width: 50%;
        }

        .s-row.s-title {
                display: flex;
        }

        .s-col {
                flex: 0 0 50px;
                width: 50px;
        }

        .s-col.s-col-sm {
                flex: 0 0 70px;
                width: 70px;
        }

        .s-col.s-col-md {
                flex: 0 0 135px;
                width: 135px;
        }

        .s-col.s-col-lg {
                flex: 0 0 180px;
                width: 180px;
        }

        .s-col.s-title {
                flex: 1 0 0;
                width: auto;
        }

        .services-wrapper {
                flex-direction: column;
        }

        .si-wrapper {
                width: 100%;
        }

        .sp-services .card {
                background-color: #fff;
                border: 1px solid #eee;
                overflow: hidden;
        }
}

body.dark .service-item {
    border-color: #242424;
}

.fav-btn, .fav-btn:hover, .fav-btn:focus {
        background: #f7f7f7;
    border: none!important;
    border-radius: 5px!important
}

body.dark .fav-btn, body.dark .fav-btn:hover, body.dark .fav-btn:focus {
        background: #1e1e1e;
    border: none!important;
    border-radius: 5px!important;
        color: #a0a0a0
}

.fav-btn.smmspot-fb-faved, .fav-btn.smmspot-fb-faved:hover, .fav-btn.smmspot-fb-faved:focus {
        background: var(--theme-primary);
    border: none!important;
    border-radius: 5px!important;
    color: #fff;
}

body.dark .fav-btn.smmspot-fb-faved, body.dark .fav-btn.smmspot-fb-faved:hover, body.dark .fav-btn.smmspot-fb-faved:focus {
        background: var(--theme-primary);
    border: none!important;
    border-radius: 5px!important;
    color: #fff;
}

.back-to-top {
  background-color: var(--theme-primary);
  text-decoration: none;
  cursor: pointer;
  width: 56px;
  height: 56px;
  z-index: 999;
  position: fixed;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 100%;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.4);
}

.back-to-top:hover {
  background-color: var(--theme-primary);
}

.back-to-top:active {
  box-shadow: none;
  background-color: var(--theme-primary);
}

.back-to-top svg.icon__arrow-up {
  fill: white;
  width: 32px;
  height: 32px;
}

 #error-search {
     visibility: hidden;
     min-width: 250px;
     background-color: #de3f3f;
     color: #fff;
     text-align: center;
     border-radius: 20px;
     padding: 16px;
     position: fixed;
     bottom: 30px;
     left: 50%;
     z-index: 5;
     transform: translate(-50%, -50%);
}
 #error-search.show i {
     background: #fff;
     border-radius: 50px;
     line-height: 1;
     display: flex;
     width: 40px;
     height: 40px;
     align-items: center;
     justify-content: center;
}
 #error-search.show i {
     color: #de3f3f !important 
}
 #error-search.show {
     visibility: visible;
     -webkit-animation: .5s fadein, .5s 2.5s fadeout;
     animation: .5s fadein, .5s 2.5s fadeout;
     display: flex;
     gap: 10px;
     justify-content: center;
     align-items: center 
}
 #error-search {
     background: #de3f3f;
     border: 0;
     color: #fff 
}

 @-webkit-keyframes fadein {
     from {
         bottom: 0;
         opacity: 0 
    }
     to {
         bottom: 30px;
         opacity: 1 
    }
}
 @keyframes fadein {
     from {
         bottom: 0;
         opacity: 0 
    }
     to {
         bottom: 30px;
         opacity: 1 
    }
}
 @-webkit-keyframes fadeout {
     from {
         bottom: 30px;
         opacity: 1 
    }
     to {
         bottom: 0;
         opacity: 0 
    }
}
 @keyframes fadeout {
     from {
         bottom: 30px;
         opacity: 1 
    }
     to {
         bottom: 0;
         opacity: 0 
    }
}

.input-group input {
        padding-left: 35px
}

.input-group-btn {
        position: absolute;
    top: 15px;
    left: 15px;
}

.input-group-btn i {
        color: var(--theme-primary)
}

.top-box {
        display: flex
}

.top-box button {
        margin-left: 10px;
        padding: 10px 15px
}

body.dark .table {
        color: #fff
}

body.dark .table tr, body.dark .table tr th {
        border-color: #1e1e1e
}

/* ============================================================
   RESPONSIVE / MOBILE STYLES
   Bootstrap 5 breakpoints:
     ≤1199.98px  xl    sidebar slides off-canvas
     ≤991.98px   lg    tablet — mobile topbar takes over
     ≤767.98px   md    phone
     ≤575.98px   sm    small phone

   NOTE: Sidebar transform, .sc-body margin-left/right,
   .sc-topbar display, and .sc-topnav display live in
   pages/layout.html (Twig RTL conditionals). Not duplicated here.
   ============================================================ */

/* ── 1. GLOBAL MOBILE RESETS ──────────────────────────────── */

@media (max-width: 991.98px) {
    * { -webkit-tap-highlight-color: transparent; }
    body { -webkit-overflow-scrolling: touch; }
    .main,
    .page-content { overflow-x: hidden; }
}

/* ── 2. LAYOUT — CONTAINER & SPACING ─────────────────────── */

@media (max-width: 991.98px) {
    .sc-body .container-xxl,
    .sc-body .container-xl,
    .sc-body .container-lg,
    .sc-body .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .sc-body .main {
        padding-top: 72px !important;
        padding-bottom: 80px !important;
    }
    .sc-body .page-content {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .sc-body .container-xxl,
    .sc-body .container-xl,
    .sc-body .container-lg,
    .sc-body .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ── 3. CARDS ─────────────────────────────────────────────── */

@media (max-width: 767.98px) {
    .card .card-body { padding: 16px !important; }
    .nop-card .card-body { padding: 24px !important; }
    .noi-card .card-body { padding: 20px !important; }
}

/* ── 4. PAGE HEADER ───────────────────────────────────────── */

@media (max-width: 767.98px) {
    .page-head { flex-direction: column !important; gap: 8px; }
    .page-head .col-md-3:nth-child(1) { display: none !important; }
    .page-head .col-md-3:nth-child(3) { justify-content: center !important; }
}

/* ── 5. FORMS & INPUTS ────────────────────────────────────── */

@media (max-width: 991.98px) {
    /* Prevent iOS Safari zoom on focus */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    textarea,
    .form-control,
    .form-select { font-size: 16px !important; }

    /* WCAG 2.5.5 minimum 44×44 px touch targets */
    .btn,
    .form-control,
    .form-select { min-height: 44px; }

    .top-box { flex-direction: column !important; gap: 10px; }
    .top-box button { margin-left: 0 !important; width: 100%; }
}

/* ── 6. TABLES ────────────────────────────────────────────── */

@media (max-width: 767.98px) {
    .table-responsive { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .table { min-width: 480px; }
}

/* ── 7. SELECT2 DROPDOWNS ─────────────────────────────────── */

@media (max-width: 991.98px) {
    /* Stack smmspot two-column form on mobile */
    .smmspot-orderFormContainer,
    .smmspot-newOrderArea {
        display: block !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    .smmspot-orderFormContainer > * {
        width: 100% !important;
        min-width: 0 !important;
        float: none !important;
    }
    .select2-dropdown { max-width: calc(100vw - 32px) !important; }
}

/* ── 8. ORDERS PAGE ───────────────────────────────────────── */

@media (max-width: 767.98px) {
    .order-item { padding: 5px 0 !important; }
    .order-input { margin: 0 !important; margin-top: 10px !important; }
    .oi-status { margin: 15px 0; }
    .oio-text, .ord-btns { margin-top: 15px; }
    .order-item .oi-bottom { margin-top: 15px !important; padding-top: 15px !important; }
    .order-item .oi-id { padding: 10px 40px; text-align: center; }
    .order-item .oi-first { max-width: 100%; padding-bottom: 15px; text-align: center; }
    .oib-item--icon { display: none !important; }
    .col-mob { display: flex !important; flex-direction: row-reverse; align-items: center; }
    .col-mob > * { flex: 1; text-align: center; padding: 6px 14px; }
    .col-mob + .col-mob { border-top: 1px solid rgba(0,0,0,.12); }
    .src-txt { display: none; }
}

/* ── 9. SERVICES PAGE ─────────────────────────────────────── */
/* ── services cards (single source) ── */

/* ── services page: mobile list cards v3 ── */
@media (max-width: 991.98px) {
  .service-item { padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
  .category-card { background: var(--card-bg, #ffffff) !important; border-radius: 18px; overflow: hidden; padding: 0 5px; margin-bottom: 14px; }
  .service-item .s-row:not(.s-title) > :nth-child(5),
  .service-item .s-row:not(.s-title) > :nth-child(6) { width: 50%; flex: 0 0 50%; }
  .service-item .s-row:not(.s-title) > :nth-child(5) { border-inline-end: 1px solid var(--sc-border, #e2e8f0); }
  .service-item .s-row:not(.s-title) { column-gap: 0; row-gap: 0; gap: 0; }
  .service-item .s-row.s-title { display: none; }
  .service-item .s-row:not(.s-title) {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 14px;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--sc-border, #e2e8f0);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  }
  .service-item .s-row:not(.s-title) > * {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--sc-border, #e2e8f0);
    font-size: 14px;
    color: var(--sc-text, #0f172a);
  }
  .service-item .s-row:not(.s-title) > *::before {
    flex-shrink: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
  }
  .service-item .s-row:not(.s-title) > :nth-child(2)::before { content: "معرّف الخدمة"; }
  .service-item .s-row:not(.s-title) > :nth-child(3)::before { content: "الاسم"; }
  .service-item .s-row:not(.s-title) > :nth-child(4)::before { content: "السعر لكل ألف"; }
  .service-item .s-row:not(.s-title) > :nth-child(5)::before { content: "الحد الأدنى"; }
  .service-item .s-row:not(.s-title) > :nth-child(6)::before { content: "الحد الأعلى"; }
  .service-item .s-row:not(.s-title) > :nth-child(7)::before { content: "السرعة التقريبية"; }
  .service-item .s-row:not(.s-title) > :nth-child(1)::before,
  .service-item .s-row:not(.s-title) > :nth-child(8)::before,
  .service-item .s-row:not(.s-title) > :nth-child(9)::before { content: none; }
  .service-item .s-row:not(.s-title) > :nth-child(3) { align-items: flex-start; }
  .service-item .s-row:not(.s-title) > :nth-child(3) .sp-serv-title {
    flex: 1;
    font-weight: 600;
    line-height: 1.7;
    text-align: start;
  }
  .service-item .s-row:not(.s-title) > :nth-child(2) .sp-serv-sm {
    background: #0ea5e9;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
  }
  .service-item .s-row:not(.s-title) > :nth-child(4) .sp-serv-sm {
    background: rgba(34, 188, 244, 0.12);
    color: #0284c7;
    padding: 4px 10px;
    border-radius: 10px;
    font-weight: 700;
  }
  .service-item .s-row:not(.s-title) .orlc {
    color: var(--sc-text, #0f172a) !important;
    font-weight: 700;
  }
  .service-item .s-row:not(.s-title) > :nth-child(7) {
    font-size: 12.5px;
    color: #64748b;
  }
  .service-item .s-row:not(.s-title) > :nth-child(1),
  .service-item .s-row:not(.s-title) > :nth-child(8),
  .service-item .s-row:not(.s-title) > :nth-child(9) {
    width: auto;
    flex: 1 1 0;
    padding: 12px 10px;
    border-bottom: 0;
    justify-content: center;
    background: var(--card-bg, #ffffff);
  }
  .service-item .s-row:not(.s-title) > :nth-child(1) { flex: 0 0 40px; order: 3; }
  .service-item .s-row:not(.s-title) > :nth-child(8) { order: 1; }
  .service-item .s-row:not(.s-title) > :nth-child(9) { order: 2; }
  .service-item .s-row:not(.s-title) { margin: 0 0 10px; }
  .service-item .s-row:not(.s-title) > :nth-child(n+2):nth-child(-n+7) { padding: 9px 12px; }
  .service-item .s-row:not(.s-title) > :nth-child(2),
  .service-item .s-row:not(.s-title) > :nth-child(4) { width: 50%; flex: 0 0 50%; }
  .service-item .s-row:not(.s-title) > :nth-child(2) { border-inline-end: 1px solid var(--sc-border, #e2e8f0); }
  .service-item .s-row:not(.s-title) > :nth-child(2) { order: 0; }
  .service-item .s-row:not(.s-title) > :nth-child(4) { order: 0; }
  .service-item .s-row:not(.s-title) > :nth-child(2),
  .service-item .s-row:not(.s-title) > :nth-child(4) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
  .service-item .s-row:not(.s-title) > :nth-child(2) { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 2px; row-gap: 4px; }
  .service-item .s-row:not(.s-title) > :nth-child(2)::before { grid-column: 1 / -1; justify-self: start; }
  .service-item .s-row:not(.s-title) > :nth-child(3) { order: 1; }
  .service-item .s-row:not(.s-title) > :nth-child(5),
  .service-item .s-row:not(.s-title) > :nth-child(6) { order: 2; }
  .service-item .s-row:not(.s-title) > :nth-child(7) { order: 3; }
  .service-item .s-row:not(.s-title) > :nth-child(8) { order: 10; }
  .service-item .s-row:not(.s-title) > :nth-child(9) { order: 11; }
  .service-item .s-row:not(.s-title) > :nth-child(1) { order: 12; }
  .service-item .s-row:not(.s-title) .s-col-btn .btn {
    width: 100%;
    border-radius: 12px;
    padding: 10px 6px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 700;
  }
  .service-item .s-row:not(.s-title) .s-col-btn .btn-primary {
    background: transparent;
    color: #0284c7;
    border: 1.5px solid #22bcf4;
  }
  body.dark .service-item .s-row:not(.s-title) > * {
    color: #e2e8f0;
    border-bottom-color: #334155;
  }
  body.dark .service-item .s-row:not(.s-title) > *::before { color: #94a3b8; }
  body.dark .service-item .s-row:not(.s-title) > :nth-child(2) .sp-serv-sm { color: #ffffff; }
  body.dark .service-item .s-row:not(.s-title) > :nth-child(4) .sp-serv-sm { color: #7dd3fc; background: rgba(34, 188, 244, 0.18); }
}
@media (max-width: 991.98px) {
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(2)::before { content: "Service ID"; }
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(3)::before { content: "Name"; }
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(4)::before { content: "Price / 1K"; }
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(5)::before { content: "Min"; }
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(6)::before { content: "Max"; }
html[lang="en"] .service-item .s-row:not(.s-title) > :nth-child(7)::before { content: "Avg time"; }
}

/* ── services page: copy service ID ── */
.services-list .sp-copy-id {
  border: 0;
  background: transparent;
  color: #0284c7;
  padding: 0 4px;
  margin-inline-start: 4px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}
.services-list .sp-copy-id:hover,
.services-list .sp-copy-id:focus-visible { color: #0ea5e9; }
.services-list .sp-copy-id.copied { color: #16a34a; }
.services-list .s-col-id { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: nowrap; }
body.dark .services-list .sp-copy-id { color: #7dd3fc; }

.service-item .s-col-btn .btn {
  border-radius: 15px !important;
}
@media (max-width: 991.98px) {
  .service-item .s-col-btn .btn {
    border-radius: 18px !important;
  }
}

.category-card{content-visibility:auto;contain-intrinsic-size:auto 1400px}.sp-cart{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#22C8FE,#0b8de0);color:#fff !important;box-shadow:0 4px 12px rgba(34,200,254,.35);text-decoration:none !important;flex:none}.sp-cart i{font-size:16px;color:#fff}.sp-cart:active{transform:scale(.94)}@media (max-width:991.98px){.service-item .s-row:not(.s-title)>:nth-child(8){flex:0 0 56px !important;order:11 !important;padding:10px 4px !important}.service-item .s-row:not(.s-title)>:nth-child(9){order:10 !important}.service-item .s-row:not(.s-title)>:nth-child(1){order:12 !important;flex:0 0 52px !important}}#spDetModal .modal-dialog{max-width:420px}#spDetModal .modal-body{padding:20px 22px}#spDetModal .sp-det-text{margin:0 0 18px;line-height:1.8;max-height:55vh;overflow-y:auto}#spDetModal .btn{padding:10px;font-weight:600}@media (max-width:575.98px){#spDetModal .modal-dialog{margin:12px auto;max-width:calc(100% - 24px)}}
/* ── services page: mobile top gap, search, lazy description ── */
@media (max-width:991.98px){body .main:has(.services-list) .page-head{display:none !important}body .main:has(.services-list) .page-content>.container-xxl>.row.mt-4:first-child{margin-top:0 !important;padding-top:0 !important}}
.sp-hide{display:none !important}
.sp-sk{display:block;height:12px;border-radius:6px;margin:0 0 10px;background:linear-gradient(90deg,#eef2f7 25%,#e2e8f0 37%,#eef2f7 63%);background-size:400% 100%;animation:spSk 1.2s ease infinite}
.sp-sk-s{width:60%}
body.dark .sp-sk{background:linear-gradient(90deg,#2a3242 25%,#343d50 37%,#2a3242 63%);background-size:400% 100%}
@keyframes spSk{0%{background-position:100% 0}100%{background-position:0 0}}
/* ── services table: desktop column widths ── */
@media (max-width:991.98px){.service-item .sp-nodet{display:none !important}}@media (min-width:992px){.service-item .s-row>.s-col-fav{flex:0 0 44px !important;width:44px !important;display:flex;justify-content:center;align-items:center}.service-item .s-row>.s-col-id{flex:0 0 64px !important;width:64px !important}.service-item .s-row>.s-title{flex:1 1 auto !important;width:auto !important;min-width:0}.service-item .s-row>.s-col-c{flex:0 0 100px !important;width:100px !important}.service-item .s-row>.s-col-lg{flex:0 0 150px !important;width:150px !important}.service-item .s-row>.s-col-cart{flex:0 0 56px !important;width:56px !important;display:flex;justify-content:center;align-items:center}.service-item .s-row>.s-col-det{flex:0 0 110px !important;width:110px !important}.service-item .s-row>.s-col-det .btn{width:100%}}

@media (max-width: 991.98px) {
    .services-info { padding: 20px; margin: 0; }
    .services-all { display: flex !important; flex-wrap: wrap; margin: 0 -1%; }
    .services-all .service-title { flex: 0 0 98%; margin: 1%; }
    .services-all .service-item { flex: 0 0 48%; margin: 1%; box-sizing: border-box; }
}

@media (max-width: 767.98px) {
    .services-all .service-item { flex: 0 0 98% !important; margin: 10px 1%; }
    .tservice-head { display: none; }
    .tservices-row { flex-wrap: wrap; margin: -10px 0; justify-content: center; }
    .tservices-row > * { padding: 10px; flex: 0 0 50%; }
    .tservices-row > .tservice-avt { padding: 10px; flex: 0 0 50%; }
    .tservices-row > *::before { font-size: 13px; color: #acacac; display: block; }
    .tservices-row .tservice-per::before { content: 'Per 1000'; }
    .tservices-row .tservice-avt::before { content: 'Avg. Time'; }
    .tservices-row .tservice-min::before { content: 'Minimum'; }
    .tservices-row .tservice-max::before { content: 'Maximum'; }
    .tservices-row .tservice-name { flex: 0 0 100%; text-align: center; justify-content: center; }
    .tservices-row .tservice-des { flex: 0 0 100% !important; display: flex; }
    .tservices-row .tservice-des .btn { display: block; flex: 0 0 49%; }
    .tservices-row .tservice-des .btn + .btn { margin-left: 2%; }
    .scrollt { display: flex; overflow-x: auto; overflow-y: hidden; max-width: 100%; -webkit-overflow-scrolling: touch; }
    .scrollt > * { display: flex; overflow-x: auto; overflow-y: hidden; max-width: 100%; width: 100%; flex-wrap: nowrap; white-space: nowrap; justify-content: flex-start !important; }
    .scrollt ul.platforms { padding-bottom: 20px; }
    .scrollt .app-ord-nav { padding-top: 10px; padding-bottom: 20px; }
}

/* ── 10. NAVIGATION TABS ──────────────────────────────────── */

@media (max-width: 767.98px) {
    .nav-custom-2 { width: 100%; }
    .nav-custom-2 .nav-item { width: 48%; padding: 0 1%; margin-bottom: 15px; }
    .nav-custom-2 .nav-link { flex-direction: row; padding: 15px 20px; }
    .nav-custom-2 .nav-link i { padding-right: 10px; }
    .nav-custom-4 .nav-link { font-size: 14px; font-weight: 600; margin: 4px 0; display: flex; flex-direction: row; padding: 10px; line-height: 16px; align-items: center; }
    .nav-custom-4 .nav-link i { font-size: 15px; line-height: 15px; margin: 0 6px; }
    .orders-filter-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
    .orders-filter-tabs::-webkit-scrollbar { display: none; }
    .orders-filter-tabs .filter-tab { white-space: nowrap; flex-shrink: 0; }
}

/* ── 11. STATS / TOP CARDS ────────────────────────────────── */

@media (max-width: 991.98px) {
    .top-card { margin-bottom: 25px; text-align: center; justify-content: center; }
    .top-text .d-flex { justify-content: center; }
    .progress-btn .btn { justify-content: center; }
    .top-card h3.top-title { font-size: 18px; }
    .top-card .top-text { font-size: 12px; }
    .w-text { text-align: center; padding: 7px; font-size: 18px; background: #f6f6f6; border-radius: 10px; border: none; }
    body.dark .w-text { background: #3E4954; border-color: transparent; color: #fff; }
}

/* ── 12. TICKETS / SUPPORT ────────────────────────────────── */

@media (max-width: 767.98px) {
    .sticky31 { position: static !important; top: auto; }
    .rtickets { max-height: 300px; }
    .acp-item .acp-item--icon { width: 50px; text-align: center; }
}

/* ── 13. ADD FUNDS / PAYMENT METHOD CARDS ─────────────────── */

@media (max-width: 767.98px) {
    .card-pm .card-body { height: 70px !important; width: 70px !important; }
}

/* ── 14. BOTTOM MOBILE NAVBAR ─────────────────────────────── */

@media (min-width: 768px) {
    .mobile-navbar { display: none !important; pointer-events: none; }
}

@media (max-width: 767.98px) {
    .mobile-navbar {
        position: fixed;
        z-index: 1031;
        left: 0; right: 0; bottom: 0;
        height: 64px;
        padding: 8px 16px;
        background: var(--card-bg, #fff);
        border-top: 1px solid var(--sc-border, #eef1f6);
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        height: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-navbar-content { display: flex; gap: 8px; align-items: center; justify-content: space-around; height: 100%; }
    .mnc-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--sc-text, #374151); min-width: 44px; min-height: 44px; }
    .mnc-item.active { color: var(--theme-primary, #22bcf4); }
    .mnc-item-icon { font-size: 20px; display: flex; align-items: center; justify-content: center; height: 28px; }
    .mnc-item-text { font-size: 11px; font-weight: 500; margin-top: 2px; }
    body.dark .mobile-navbar { background: #1e1e1e; border-color: #2a2a2a; }
    body.dark .mnc-item { color: #ccc; }
    body.dark .mnc-item.active { color: var(--theme-primary, #22bcf4); }
}

/* ── 15. BACK-TO-TOP BUTTON ───────────────────────────────── */

@media (max-width: 767.98px) {
    .back-to-top {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ── 16. MODALS ───────────────────────────────────────────── */

@media (max-width: 575.98px) {
    .modal-dialog { margin: 8px; }
    .modal-body { padding: 16px; }
    .modal-footer { padding: 12px 16px; }
    .modal-footer.sfooter .sf-inn { flex-direction: column; gap: 10px; }
}

/* ── 17. PUBLIC PAGES (sign-in / sign-up / reset) ─────────── */

@media (max-width: 575.98px) {
    body#outside .card { margin: 0 8px; }
    body#outside .hh-bg { display: none; }
    body#outside .hh-title h1 { font-size: 27px; line-height: 1.4; }
    body#outside .hh-p { font-size: 14px; line-height: 1.8; }
}

/* ── 18. MISCELLANEOUS ────────────────────────────────────── */

@media (max-width: 991.98px) {
    .p-100 { padding: 0 15px !important; }
}

/* ===== Female theme: pink tab buttons (new order / add funds) ===== */
body.theme-female #pills-tab .nav-link {
  background: rgba(var(--theme-primary-rgb), 0.07) !important;
  color: var(--theme-primary-dark) !important;
  border-color: rgba(var(--theme-primary-rgb), 0.3) !important;
}
body.theme-female #pills-tab .nav-link:hover {
  background: rgba(var(--theme-primary-rgb), 0.14) !important;
}
body.theme-female #pills-tab .nav-link.active,
body.theme-female #pills-tab .nav-link[aria-pressed="true"] {
  background: var(--theme-primary) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px 0 rgba(var(--theme-primary-rgb), 0.3) !important;
}

/* ===== Female theme: add funds page (sidebar item + bonus banner) ===== */
body.theme-female a.sc-item.active[href^="/addfunds"] {
  background: rgba(var(--theme-primary-rgb), 0.1) !important;
}
body.theme-female a.sc-item.active[href^="/addfunds"] * {
  color: var(--theme-primary) !important;
}
body.theme-female .pm-hero {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
}

/* ===== Female theme: services list (mobile cards) ===== */
body.theme-female .service-item .s-col-id .sp-serv-sm {
  background: var(--theme-primary) !important;
  color: #fff !important;
}
body.theme-female .service-item .s-col-c .sp-serv-sm {
  background: rgba(var(--theme-primary-rgb), 0.12) !important;
  color: var(--theme-primary-dark) !important;
}
@media (max-width: 767.98px) {
  body.theme-female .service-item .s-col-btn .btn-primary {
    border-color: var(--theme-primary) !important;
    color: var(--theme-primary-dark) !important;
    box-shadow: 0 6px 16px 0 rgba(var(--theme-primary-rgb), 0.3) !important;
  }
}

/* ===== Female theme: add funds sidebar link + pay button shadow ===== */
body.theme-female a.sc-item.active[href^="/addfunds"] {
  color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}
body.theme-female button.btn-primary.btn-block {
  box-shadow: 0 6px 16px 0 rgba(var(--theme-primary-rgb), 0.28) !important;
}

/* ── bootstrap 5 rtl compat (keeps Arabic as it was on 4.6) ── */
:where(.rtl) .row{--bs-gutter-x:30px;--bs-gutter-y:0}:where(.rtl) .form-group{margin-bottom:1rem}:where(.rtl) .btn-block{display:block;width:100%}:where(.rtl) .btn-block+.btn-block{margin-top:.5rem}:where(.rtl) select.form-control{-webkit-appearance:menulist;-moz-appearance:menulist;appearance:auto}:where(.rtl) .badge-pill{border-radius:10rem;padding-right:.6em;padding-left:.6em}:where(.rtl) .badge-secondary{color:#fff;background-color:#6c757d}:where(.rtl) .mr-5{margin-left:3rem}:where(.rtl) .ml-1{margin-right:.25rem}:where(.rtl) .mr-1{margin-left:.25rem}:where(.rtl) .close{float:left;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.5;background:transparent;border:0;padding:0}:where(.rtl) .close:hover{opacity:.75}:where(.rtl) kbd{direction:rtl;unicode-bidi:isolate}:where(.rtl) label{margin-bottom:.5rem}:where(.rtl) .orders-pagination{padding-right:40px}:where(.rtl) .form-control{height:calc(1.5em + .75rem + 2px)}:where(.rtl) textarea.form-control,:where(.rtl) .form-control[size],:where(.rtl) .form-control[multiple]{height:auto}:where(.rtl) .form-select{background-image:none;-webkit-appearance:menulist;-moz-appearance:menulist;appearance:auto;line-height:normal}:where(.rtl) .badge{padding:.25em .4em}:where(.rtl) .badge-pill{padding-right:.6em;padding-left:.6em}
/* affiliates: lone last stat card fills the row on mobile */
@media (max-width:767.98px){.row-cols-2>.col:last-child:nth-child(odd):has(.af-item){width:100%}}

/* ==========================================================================
   Account tables: Drip-feed, Subscriptions, Refunds
   (moved from drip_feed.twig, subscriptions.twig, refunds.twig)
   ========================================================================== */

/* ── shared ── */
.pgtbl {
    width: 100%;
    border-collapse: collapse;
}

.pgtbl-head {
    background: var(--theme-primary,#22bcf4);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.pgtbl-head th:first-child {
    border-radius: 12px 0 0 0;
}

.pgtbl-head th:last-child {
    border-radius: 0 12px 0 0;
}

.pgtbl tbody tr {
    background: var(--card-bg,#fff);
    border-bottom: 1px solid var(--sc-border,#eef1f6);
    transition: background .12s;
}

.pgtbl tbody tr:hover {
    background: rgba(var(--theme-primary-rgb,34,188,244),.04);
}

.pg-badge-completed {
    background: rgba(40,199,111,.12);
    color: #28c76f;
}

.pg-badge-canceled {
    background: rgba(234,84,85,.12);
    color: #ea5455;
}

@media (max-width: 991px) {
    .pgtbl thead {
        display: none;
    }
}

.pg-pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pg-pagination .page-link {
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
}

/* ── Drip-feed page only (.pg-page-dripfeed) ── */
:where(.pg-page-dripfeed) .pgtbl-head th {
    padding: 13px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

:where(.pg-page-dripfeed) .pgtbl td {
    padding: 14px 12px;
    font-size: 13px;
    color: var(--body-color,#6c757d);
    vertical-align: middle;
}

/* runs ("10 / 10") stay on one line */
:where(.pg-page-dripfeed) .pgtbl td:nth-child(9) {
    white-space: nowrap;
}

:where(.pg-page-dripfeed) .pgtbl td .pg-id {
    color: var(--theme-primary,#22bcf4);
    font-weight: 700;
    cursor: pointer;
}

:where(.pg-page-dripfeed) .pgtbl td .pg-link-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 160px;
}

:where(.pg-page-dripfeed) .pgtbl td .pg-link-wrap span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

:where(.pg-page-dripfeed) .pgtbl td .pg-link-btn {
    flex-shrink: 0;
    background: rgba(var(--theme-primary-rgb,34,188,244),.1);
    border: none;
    color: var(--theme-primary,#22bcf4);
    border-radius: 6px;
    padding: 3px 7px;
    cursor: pointer;
    font-size: 11px;
}

:where(.pg-page-dripfeed) .pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

:where(.pg-page-dripfeed) .pg-badge-active {
    background: rgba(var(--theme-primary-rgb,34,188,244),.12);
    color: var(--theme-primary,#22bcf4);
}

:where(.pg-page-dripfeed) .pgtbl .pg-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid rgba(234,84,85,.28);
    border-radius: 7px;
    background: rgba(234,84,85,.08);
    color: #d94445;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}

:where(.pg-page-dripfeed) .pgtbl .pg-cancel-btn:hover {
    background: #ea5455;
    border-color: #ea5455;
    color: #fff;
}

@media (max-width: 991px) {
    /* Drip-feed on mobile: each row becomes a card like the orders page */
    :where(.pg-page-dripfeed) .pgtbl,
    :where(.pg-page-dripfeed) .pgtbl tbody {
        display: block;
        width: 100%;
    }

    :where(.pg-page-dripfeed) .pgtbl tr {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas: "id id id id" "dt dt dt dt" "sv sv sv sv" "ln ln ln ln" "ch ch ch ch" "qt tq iv rn" "ac ac ac ac";
        align-items: start;
        width: auto;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border-radius: 14px;
        border-bottom: none;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-completed) { border-left-color: #28c76f; }
    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-active) { border-left-color: var(--theme-primary, #22bcf4); }
    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-pending) { border-left-color: #ff9f43; }
    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-partial) { border-left-color: #8280ff; }
    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-canceled),
    :where(.pg-page-dripfeed) .pgtbl tr:has(.pg-badge-error) { border-left-color: #ea5455; }

    :where(.pg-page-dripfeed) .pgtbl td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
        font-size: 13px;
        font-weight: 600;
        text-align: start;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(1) {
        grid-area: id;
        padding-inline-end: 120px;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(1) .pg-id {
        display: inline-block;
        direction: ltr;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(1) .pg-id::before {
        content: "#";
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(2) {
        grid-area: dt;
        margin: 2px 0 12px;
        font-size: 11px;
        font-weight: 400;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(7) {
        grid-area: sv;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--body-color, #555);
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(3) {
        grid-area: ln;
        margin-bottom: 10px;
        padding: 7px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        overflow: hidden;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(4) { grid-area: ch; margin-bottom: 10px; }
    :where(.pg-page-dripfeed) .pgtbl td:nth-child(5) { grid-area: qt; }
    :where(.pg-page-dripfeed) .pgtbl td:nth-child(6) { grid-area: tq; }
    :where(.pg-page-dripfeed) .pgtbl td:nth-child(8) { grid-area: iv; }
    :where(.pg-page-dripfeed) .pgtbl td:nth-child(9) { grid-area: rn; }

    /* quantity, total, interval and runs share one strip */
    :where(.pg-page-dripfeed) .pgtbl td:is(:nth-child(5), :nth-child(6), :nth-child(8), :nth-child(9)) {
        align-self: stretch;
        padding: 8px 2px;
        background: var(--body-bg, #f4f6fb);
        font-size: 12px;
        text-align: center;
    }

    :where(.pg-page-dripfeed) .pgtbl td:is(:nth-child(6), :nth-child(8), :nth-child(9)) {
        border-inline-start: 1px solid var(--card-bg, #fff);
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(5) {
        border-start-start-radius: 8px;
        border-end-start-radius: 8px;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(9) {
        border-start-end-radius: 8px;
        border-end-end-radius: 8px;
    }

    :where(.pg-page-dripfeed) .pgtbl td:is(:nth-child(4), :nth-child(5), :nth-child(6), :nth-child(8), :nth-child(9))::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--muted-color, #aaa);
    }

    :where(.pg-page-dripfeed) .pgtbl td:is(:nth-child(5), :nth-child(6), :nth-child(8), :nth-child(9))::before {
        text-align: center;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(10) {
        position: absolute;
        top: 16px;
        inset-inline-end: 16px;
    }

    :where(.pg-page-dripfeed) .pgtbl td:nth-child(11) {
        grid-area: ac;
        margin-top: 12px;
    }

    :where(.pg-page-dripfeed) .pgtbl td.order-actions:not(:has(*)) {
        display: none;
    }
}

/* ── Subscriptions page only (.pg-page-subscriptions) ── */
:where(.pg-page-subscriptions) .pgtbl-head th {
    padding: 13px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

:where(.pg-page-subscriptions) .pgtbl td {
    padding: 12px 10px;
    font-size: 12.5px;
    color: var(--body-color,#6c757d);
    vertical-align: middle;
}

:where(.pg-page-subscriptions) .pg-id {
    color: var(--theme-primary,#22bcf4);
    font-weight: 700;
    cursor: pointer;
}

:where(.pg-page-subscriptions) .pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

:where(.pg-page-subscriptions) .pg-badge-active {
    background: rgba(var(--theme-primary-rgb,34,188,244),.12);
    color: var(--theme-primary,#22bcf4);
}

:where(.pg-page-subscriptions) .pg-badge-paused {
    background: rgba(255,159,67,.12);
    color: #ff9f43;
}

:where(.pg-page-subscriptions) .pg-badge-expired {
    background: rgba(130,134,139,.12);
    color: #82868b;
}

:where(.pg-page-subscriptions) .pg-badge-error {
    background: rgba(234,84,85,.12);
    color: #ea5455;
}

:where(.pg-page-subscriptions) .pg-act-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: opacity .15s;
}

:where(.pg-page-subscriptions) .pg-act-btn:hover {
    opacity: .8;
}

:where(.pg-page-subscriptions) .pg-act-reorder {
    background: rgba(var(--theme-primary-rgb,34,188,244),.15);
    color: var(--theme-primary,#22bcf4);
}

:where(.pg-page-subscriptions) .pg-act-stop {
    background: rgba(234,84,85,.12);
    color: #ea5455;
}

:where(.pg-page-subscriptions) .pg-act-resume {
    background: rgba(40,199,111,.12);
    color: #28c76f;
}

@media (max-width: 991px) {
    /* Subscriptions on mobile: each row becomes a card like the orders page */
    :where(.pg-page-subscriptions) .pgtbl,
    :where(.pg-page-subscriptions) .pgtbl tbody {
        display: block;
        width: 100%;
    }

    :where(.pg-page-subscriptions) .pgtbl tr {
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas: "id id id id" "dt dt dt dt" "us us us us" "sv sv sv sv" "qt po op dl" "up up ex ex" "ac ac ac ac";
        align-items: start;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border: 0;
        border-radius: 14px;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-completed) { border-left-color: #28c76f; }
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-active) { border-left-color: var(--theme-primary, #22bcf4); }
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-paused),
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-pending) { border-left-color: #ff9f43; }
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-canceled),
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-expired),
    :where(.pg-page-subscriptions) .pgtbl tr:has(.pg-badge-error) { border-left-color: #ea5455; }

    :where(.pg-page-subscriptions) .pgtbl td {
        display: block;
        min-width: 0;
        padding: 0;
        border: 0;
        font-size: 13px;
        font-weight: 600;
        text-align: start;
        word-break: break-word;
    }

    :where(.pg-page-subscriptions) .pgtbl td:empty {
        display: none;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(1) {
        grid-area: id;
        padding-inline-end: 120px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(1) .pg-id {
        display: inline-block;
        direction: ltr;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(1) .pg-id::before {
        content: "#";
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(8) {
        grid-area: dt;
        margin: 2px 0 12px;
        font-size: 11px;
        font-weight: 400;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(2) {
        grid-area: us;
        margin-bottom: 10px;
        padding: 7px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(7) {
        grid-area: sv;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--body-color, #555);
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(3) { grid-area: qt; }
    :where(.pg-page-subscriptions) .pgtbl td:nth-child(4) { grid-area: po; }
    :where(.pg-page-subscriptions) .pgtbl td:nth-child(5) { grid-area: op; }
    :where(.pg-page-subscriptions) .pgtbl td:nth-child(6) { grid-area: dl; }
    :where(.pg-page-subscriptions) .pgtbl td:nth-child(9) { grid-area: up; margin-top: 10px; }
    :where(.pg-page-subscriptions) .pgtbl td:nth-child(10) { grid-area: ex; margin-top: 10px; }

    /* quantity, posts, old posts and delay share one strip */
    :where(.pg-page-subscriptions) .pgtbl td:is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6)) {
        align-self: stretch;
        padding: 8px 2px;
        background: var(--body-bg, #f4f6fb);
        font-size: 12px;
        text-align: center;
        direction: ltr;
    }

    :where(.pg-page-subscriptions) .pgtbl td:is(:nth-child(4), :nth-child(5), :nth-child(6)) {
        border-inline-start: 1px solid var(--card-bg, #fff);
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(3) {
        border-start-start-radius: 8px;
        border-end-start-radius: 8px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(6) {
        border-start-end-radius: 8px;
        border-end-end-radius: 8px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6), :nth-child(9), :nth-child(10))::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--muted-color, #aaa);
    }

    :where(.pg-page-subscriptions) .pgtbl td:is(:nth-child(3), :nth-child(4), :nth-child(5), :nth-child(6))::before {
        text-align: center;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(11) {
        position: absolute;
        top: 16px;
        inset-inline-end: 16px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(12) {
        grid-area: ac;
        margin-top: 12px;
    }

    :where(.pg-page-subscriptions) .pgtbl td:nth-child(12):not(:has(a, button)) {
        display: none;
    }
}

/* ── Support button (subscriptions + drip-feed, VIP and above) ── */
:where(.pg-page-subscriptions) .pg-act-support {
    background: rgba(130,128,255,.12);
    color: #8280ff;
}

:where(.pg-page-dripfeed) .pgtbl .pg-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid rgba(130,128,255,.35);
    border-radius: 7px;
    background: rgba(130,128,255,.1);
    color: #6f6cf0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

:where(.pg-page-dripfeed) .pgtbl .order-actions {
    white-space: nowrap;
}

:where(.pg-page-dripfeed) .pgtbl .order-actions > * + * {
    margin-inline-start: 6px;
}

/* ── Refunds page only (.pg-page-refunds) ── */
:where(.pg-page-refunds) .pgtbl-head th {
    padding: 13px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

:where(.pg-page-refunds) .pgtbl td {
    padding: 14px 14px;
    font-size: 13px;
    color: var(--body-color,#6c757d);
    vertical-align: middle;
}

:where(.pg-page-refunds) .pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

:where(.pg-page-refunds) .pg-badge-pending {
    background: rgba(255,159,67,.12);
    color: #ff9f43;
}

:where(.pg-page-refunds) .pg-badge-partial {
    background: rgba(0,207,232,.12);
    color: #00cfe8;
}

@media (max-width: 991px) {
    /* Refunds on mobile: each row becomes a card like the orders page */
    :where(.pg-page-refunds) .pgtbl,
    :where(.pg-page-refunds) .pgtbl tbody {
        display: block;
        width: 100%;
    }

    :where(.pg-page-refunds) .pgtbl tr {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "id" "dt" "am";
        align-items: start;
        width: auto;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border: 0;
        border-radius: 14px;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-refunds) .pgtbl tr:has(.pg-badge-completed) { border-left-color: #28c76f; }
    :where(.pg-page-refunds) .pgtbl tr:has(.pg-badge-partial) { border-left-color: #8280ff; }
    :where(.pg-page-refunds) .pgtbl tr:has(.pg-badge-canceled) { border-left-color: #ea5455; }
    :where(.pg-page-refunds) .pgtbl tr:has(.pg-badge-pending) { border-left-color: #ff9f43; }

    :where(.pg-page-refunds) .pgtbl td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border: 0;
        font-size: 13px;
        text-align: start;
    }

    :where(.pg-page-refunds) .pgtbl td::before {
        content: none;
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(1) {
        grid-area: id;
        padding-inline-end: 120px;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(1) a::before {
        content: "#";
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(4) {
        grid-area: dt;
        margin: 2px 0 12px;
        font-size: 11px;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(2) {
        grid-area: am;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 14px;
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(2)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .5px;
        color: var(--muted-color, #aaa);
    }

    :where(.pg-page-refunds) .pgtbl td:nth-child(3) {
        position: absolute;
        top: 16px;
        inset-inline-end: 16px;
    }
}

/* ==========================================================================
   Orders page (moved from orders.twig) — scoped to .pg-page-orders
   Also used by the Refill (.pg-page-refill) and Updates (.pg-page-updates) pages,
   see their sections below
   ========================================================================== */

/* ── Toolbar / filters ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-toolbar {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 20px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-filter-tabs .filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--body-color, #6c757d);
    background: var(--body-bg, #f4f6fb);
    border: 2px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-filter-tabs .filter-tab:hover {
    border-color: var(--theme-primary, #22bcf4);
    color: var(--theme-primary, #22bcf4);
    background: rgba(var(--theme-primary-rgb,34,188,244),.07);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-filter-tabs .filter-tab.active {
    background: var(--theme-primary, #22bcf4);
    color: #fff;
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb,34,188,244),.3);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-filter-tabs .filter-tab i {
    font-size: 13px;
}

/* ── Search ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-search-wrap {
    position: relative;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-search-wrap .search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    color: var(--theme-primary, #22bcf4);
    font-size: 14px;
    pointer-events: none;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-search-wrap input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border: 2px solid var(--border-color, #e8ecf1);
    border-radius: 50px;
    font-size: 14px;
    background: var(--body-bg, #f4f6fb);
    color: var(--body-color, #333);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-search-wrap input:focus {
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb,34,188,244),.12);
    background: var(--card-bg, #fff);
}

/* ── Table header ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-table-head {
    display: grid;
    grid-template-columns: 44px 90px 105px minmax(100px,1fr) 75px 75px 75px minmax(110px,1.5fr) 75px 100px 90px;
    align-items: center;
    padding: 12px 20px;
    background: var(--theme-primary, #22bcf4);
    border-radius: 12px 12px 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-table-head .th {
    padding: 0 6px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-table-head .th.center {
    text-align: center;
}

/* ── Order card (desktop table row) ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card {
    display: grid;
    grid-template-columns: 44px 90px 105px minmax(100px,1fr) 75px 75px 75px minmax(110px,1.5fr) 75px 100px 90px;
    align-items: center;
    padding: 14px 20px;
    background: var(--card-bg, #fff);
    border-bottom: 1px solid var(--border-color, #eef1f6);
    transition: background .15s, box-shadow .15s;
    position: relative;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card:hover {
    background: var(--body-bg, #f8fafd);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card.selected {
    background: rgba(var(--theme-primary-rgb,34,188,244),.06);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card .td {
    padding: 0 6px;
    font-size: 13px;
    color: var(--body-color, #444);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card .td.center {
    text-align: center;
}

/* accent bar on left of card */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity .2s;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card:hover::before,
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-card.selected::before {
    opacity: 1;
    background: var(--theme-primary, #22bcf4);
}

/* ── Order ID ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 13px;
    color: var(--theme-primary, #22bcf4);
    cursor: pointer;
    transition: opacity .15s;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-id-badge:hover {
    opacity: .75;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-id-badge i {
    font-size: 10px;
}

/* ── Date ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-date {
    font-size: 12px;
    color: var(--muted-color, #888);
    line-height: 1.4;
}

/* ── Link input ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .link-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .link-cell .link-open {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--theme-primary-rgb,34,188,244),.1);
    color: var(--theme-primary, #22bcf4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .link-cell .link-open:hover {
    background: rgba(var(--theme-primary-rgb,34,188,244),.2);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .link-cell input {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: var(--body-color, #555);
    background: transparent;
    border: none;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}

/* ── Service cell ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .service-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .service-id {
    font-weight: 700;
    font-size: 11px;
    color: var(--theme-primary, #22bcf4);
    background: rgba(var(--theme-primary-rgb,34,188,244),.1);
    border-radius: 4px;
    padding: 1px 6px;
    display: inline-block;
    width: fit-content;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .service-name {
    font-size: 12px;
    color: var(--body-color, #555);
    line-height: 1.3;
}

/* ── Status badges ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-completed {
    background: rgba(40,199,111,.12);
    color: #28c76f;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-inprogress {
    background: rgba(var(--theme-primary-rgb,34,188,244),.12);
    color: var(--theme-primary,#22bcf4);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-processing {
    background: rgba(255,159,67,.12);
    color: #ff9f43;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-pending {
    background: rgba(234,84,85,.12);
    color: #ea5455;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-partial {
    background: rgba(130,128,255,.12);
    color: #8280ff;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .status-canceled {
    background: rgba(130,134,139,.12);
    color: #82868b;
}

/* ── Action buttons ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btns {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
    text-decoration: none;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn:hover {
    transform: translateY(-1px);
    opacity: .85;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn.btn-support {
    background: rgba(130,128,255,.15);
    color: #8280ff;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn.btn-refill {
    background: rgba(40,199,111,.15);
    color: #28c76f;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn.btn-cancel {
    background: rgba(234,84,85,.12);
    color: #ea5455;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .action-btn.btn-refilling {
    background: rgba(var(--theme-primary-rgb,34,188,244),.1);
    color: var(--theme-primary,#22bcf4);
    opacity: .6;
    cursor: not-allowed;
}

/* ── Stat numbers ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .stat-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color, #444);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .charge-num {
    font-size: 13px;
    font-weight: 700;
    color: #28c76f;
}

/* ── Orders wrapper card ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-table-wrap {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
}

/* ── Checkbox ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .order-checkbox,
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #select-all-orders {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--theme-primary, #22bcf4);
}

/* ── Copy IDs floating bar ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--theme-primary, #22bcf4);
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px 10px 24px;
    box-shadow: 0 8px 32px rgba(var(--theme-primary-rgb,34,188,244),.35);
    display: none;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    animation: slideUp .25s ease;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar .bar-count {
    font-weight: 700;
    font-size: 14px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar .bar-copy-btn {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 50px;
    padding: 5px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar .bar-copy-btn:hover {
    background: rgba(255,255,255,.3);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar .bar-clear {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.8);
    font-size: 16px;
    cursor: pointer;
    padding: 0 2px;
    transition: color .15s;
    line-height: 1;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar .bar-clear:hover {
    color: #fff;
}

@media (max-width: 767.98px) {
    :where(.pg-page-orders, .pg-page-refill, .pg-page-updates) #copy-ids-bar {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px);
    }
}

/* ── Pagination ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 28px;
    padding-bottom: 20px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 2px solid var(--border-color, #e5eaf2);
    background: var(--card-bg, #fff);
    color: var(--body-color, #555);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all .15s;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-pagination .page-link:hover {
    border-color: var(--theme-primary, #22bcf4);
    color: var(--theme-primary, #22bcf4);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-pagination .page-item.active .page-link {
    background: var(--theme-primary, #22bcf4);
    border-color: var(--theme-primary, #22bcf4);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb,34,188,244),.3);
}

/* ── Empty state ── */
:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg, #fff);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-empty img {
    max-width: 160px;
    margin-bottom: 20px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-empty h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-empty p {
    color: var(--muted-color, #888);
    font-size: 14px;
}

:where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-empty .empty-actions {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsiveness ── */
@media (max-width: 1199px) {
    :where(.pg-page-orders, .pg-page-refill, .pg-page-updates) .orders-table-head {
        display: none !important;
    }
}

/* ── Orders: VIP support modal (one shared modal, see script.js) ── */
.sc-tk .modal-dialog {
    max-width: 420px;
}

.sc-tk .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg, #fff);
    color: var(--body-color, #1f2937);
    box-shadow: 0 20px 50px rgba(15,23,42,.2);
}

.sc-tk-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color, #eef1f6);
}

.sc-tk-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.sc-tk-title i {
    color: var(--theme-primary, #22bcf4);
}

.sc-tk-id {
    direction: ltr;
    color: var(--theme-primary, #22bcf4);
}

.sc-tk-x {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: var(--body-bg, #f4f6fb);
    color: inherit;
}

.sc-tk-body {
    padding: 16px;
}

.sc-tk-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted-color, #8a94a6);
}

.sc-tk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.sc-tk-chip {
    padding: 6px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

.sc-tk-chip.on {
    background: var(--theme-primary, #22bcf4);
    border-color: var(--theme-primary, #22bcf4);
    color: #fff;
}

.sc-tk-text {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 10px 12px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    background: var(--body-bg, #f8fafc);
    color: inherit;
    font-size: 16px;
    resize: vertical;
}

.sc-tk-text:focus {
    outline: 0;
    border-color: var(--theme-primary, #22bcf4);
}

.sc-tk-send {
    width: 100%;
    height: 44px;
    margin-top: 12px;
    border: 0;
    border-radius: 12px;
    background: var(--theme-primary, #22bcf4);
    color: #fff;
    font-weight: 700;
}

.sc-tk-send:disabled {
    opacity: .6;
}

.sc-tk-msg {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.sc-tk-msg.ok {
    color: #28c76f;
}

.sc-tk-msg.err {
    color: #ea5455;
}

@media (max-width: 575.98px) {
    .sc-tk .modal-dialog {
        margin: 16px;
    }
}

/* ── Orders: one markup for desktop and mobile — each row turns into a card under 1200px ── */
:where(.pg-page-orders) .order-card .link-ic {
    display: none;
}

@media (max-width: 1199.98px) {
    :where(.pg-page-orders) .orders-table-wrap {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    :where(.pg-page-orders) .order-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "id id" "dt dt" "sv sv" "ln ln" "qt ch" "sc rm" "ac ac";
        column-gap: 10px;
        align-items: start;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border-radius: 14px;
        border-bottom: none;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-orders) .order-card:last-child {
        border-radius: 14px;
    }

    :where(.pg-page-orders) .order-card > .td {
        padding: 0;
        text-align: start;
        min-width: 0;
    }

    :where(.pg-page-orders) .order-card > .td-cb {
        position: absolute;
        top: 30px;
        inset-inline-start: 16px;
        line-height: 1;
    }

    :where(.pg-page-orders) .order-card > .td-id {
        grid-area: id;
        padding-inline: 21px 120px;
    }

    :where(.pg-page-orders) .order-card .order-id-badge {
        direction: ltr;
        gap: 0;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-orders) .order-card .order-id-badge i {
        display: none;
    }

    :where(.pg-page-orders) .order-card .order-id-badge::before {
        content: "#";
    }

    :where(.pg-page-orders) .order-card > .td-dt {
        grid-area: dt;
        margin: 2px 0 12px;
        padding-inline-start: 21px;
    }

    :where(.pg-page-orders) .order-card .order-date {
        font-size: 11px;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-orders) .order-card > .td-st {
        position: absolute;
        top: 16px;
        inset-inline-end: 16px;
    }

    :where(.pg-page-orders) .order-card > .td-sv {
        grid-area: sv;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 12px;
        line-height: 1.4;
        color: var(--body-color, #555);
    }

    :where(.pg-page-orders) .order-card .service-cell {
        display: block;
    }

    :where(.pg-page-orders) .order-card .service-id {
        display: inline-block;
        margin-right: 4px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        font-size: 12px;
        font-weight: 700;
        color: var(--theme-primary, #22bcf4);
    }

    :where(.pg-page-orders) .order-card .service-name {
        font-size: 12px;
        color: var(--body-color, #555);
    }

    :where(.pg-page-orders) .order-card > .td-ln {
        grid-area: ln;
        margin-bottom: 10px;
    }

    :where(.pg-page-orders) .order-card .link-cell {
        padding: 7px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        overflow: hidden;
    }

    :where(.pg-page-orders) .order-card .link-ic {
        display: inline-block;
        flex-shrink: 0;
        font-size: 12px;
        color: var(--theme-primary, #22bcf4);
    }

    :where(.pg-page-orders) .order-card .link-open {
        order: 3;
        width: auto;
        height: auto;
        padding: 15px 25px;
        background: transparent;
        color: #212529;
        font-size: 13px;
    }

    :where(.pg-page-orders) .order-card > .td-qt { grid-area: qt; margin-bottom: 10px; }
    :where(.pg-page-orders) .order-card > .td-ch { grid-area: ch; margin-bottom: 10px; }
    :where(.pg-page-orders) .order-card > .td-sc { grid-area: sc; margin-bottom: 12px; }
    :where(.pg-page-orders) .order-card > .td-rm { grid-area: rm; margin-bottom: 12px; }

    :where(.pg-page-orders) .order-card > .td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--muted-color, #aaa);
    }

    :where(.pg-page-orders) .order-card .stat-num,
    :where(.pg-page-orders) .order-card .charge-num {
        font-size: 13px;
        font-weight: 600;
        color: var(--body-color, #333);
    }

    :where(.pg-page-orders) .order-card .charge-num {
        color: #28c76f;
    }

    :where(.pg-page-orders) .order-card > .td-ac {
        grid-area: ac;
    }

    :where(.pg-page-orders) .order-card .action-btns {
        justify-content: flex-start;
        gap: 6px;
    }

    :where(.pg-page-orders) .order-card.status-border-completed { border-left-color: #28c76f; }
    :where(.pg-page-orders) .order-card.status-border-inprogress { border-left-color: var(--theme-primary, #22bcf4); }
    :where(.pg-page-orders) .order-card.status-border-processing { border-left-color: #ff9f43; }
    :where(.pg-page-orders) .order-card.status-border-pending { border-left-color: #ea5455; }
    :where(.pg-page-orders) .order-card.status-border-partial { border-left-color: #8280ff; }
    :where(.pg-page-orders) .order-card.status-border-canceled { border-left-color: #82868b; }
}

@media (max-width: 767.98px) {
    :where(.pg-page-orders) .order-card .action-btns {
        gap: 8px;
    }

    :where(.pg-page-orders) .order-card .action-btns .action-btn {
        width: auto !important;
        height: 36px !important;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border-radius: 10px;
        font-size: 12.5px;
        font-weight: 600;
        white-space: nowrap;
    }

    :where(.pg-page-orders) .order-card .action-btns .btn-support {
        border: 1px solid rgba(130,128,255,.35);
    }

    :where(.pg-page-orders) .order-card .action-btns .btn-support::after {
        content: "الدعم الفني";
    }

    :where(.pg-page-orders) .order-card .action-btns .btn-cancel {
        margin-inline-start: auto;
        background: #ea5455;
        color: #fff;
        border: 1px solid #ea5455;
    }

    :where(.pg-page-orders) .order-card .action-btns .btn-cancel::after {
        content: "إلغاء";
    }
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Refill page — reuses the Orders design above (.pg-page-refill);
   only the table columns and a few small parts differ
   ========================================================================== */

:where(.pg-page-refill) .orders-table-head,
:where(.pg-page-refill) .order-card {
    grid-template-columns: 110px 150px 110px minmax(140px, 1fr) minmax(180px, 1.5fr) 140px;
}

:where(.pg-page-refill) .rf-order-link {
    color: var(--theme-primary, #22bcf4);
    font-weight: 700;
    text-decoration: none;
}

:where(.pg-page-refill) .rf-order-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Updates page — reuses the Orders design above (.pg-page-updates);
   only the table columns, the update badges and the card colours differ
   ========================================================================== */

:where(.pg-page-updates) .orders-table-head,
:where(.pg-page-updates) .order-card {
    grid-template-columns: 100px minmax(260px, 1fr) 120px 300px;
}

/* ── update badges ── */
:where(.pg-page-updates) .sUpd {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    background: rgba(100,116,139,.14);
    color: #475569;
}

:where(.pg-page-updates) .sUpd-on {
    background: rgba(34,197,94,.14);
    color: #15803d;
}

:where(.pg-page-updates) .sUpd-down {
    background: rgba(34,188,244,.14);
    color: #0284c7;
}

:where(.pg-page-updates) .sUpd-up {
    background: rgba(245,158,11,.16);
    color: #b45309;
}

:where(.pg-page-updates) .sUpd-off {
    background: rgba(239,68,68,.12);
    color: #b91c1c;
}


/* ── Refill: one markup for desktop and mobile — each row turns into a card under 1200px ── */
:where(.pg-page-refill) .order-card .link-ic {
    display: none;
}

@media (max-width: 1199.98px) {
    :where(.pg-page-refill) .orders-table-wrap {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    :where(.pg-page-refill) .order-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "id id" "dt dt" "sv sv" "ln ln" "or .";
        column-gap: 10px;
        align-items: start;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border-radius: 14px;
        border-bottom: none;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-refill) .order-card:last-child {
        border-radius: 14px;
    }

    :where(.pg-page-refill) .order-card > .td {
        padding: 0;
        text-align: start;
        min-width: 0;
    }

    :where(.pg-page-refill) .order-card > .td-id {
        grid-area: id;
        padding-inline-end: 120px;
    }

    :where(.pg-page-refill) .order-card .order-id-badge {
        direction: ltr;
        gap: 0;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-refill) .order-card .order-id-badge i {
        display: none;
    }

    :where(.pg-page-refill) .order-card .order-id-badge::before {
        content: "#";
    }

    :where(.pg-page-refill) .order-card > .td-dt {
        grid-area: dt;
        margin: 2px 0 12px;
    }

    :where(.pg-page-refill) .order-card .order-date {
        font-size: 11px;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-refill) .order-card > .td-st,
    :where(.pg-page-refill) .order-card > .td-st.center {
        position: absolute;
        top: 16px;
        inset-inline-end: 16px;
    }

    :where(.pg-page-refill) .order-card > .td-sv {
        grid-area: sv;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 12px;
        line-height: 1.4;
        color: var(--body-color, #555);
    }

    :where(.pg-page-refill) .order-card .service-cell {
        display: block;
    }

    :where(.pg-page-refill) .order-card .service-name {
        font-size: 12px;
        color: var(--body-color, #555);
    }

    :where(.pg-page-refill) .order-card > .td-ln {
        grid-area: ln;
        margin-bottom: 10px;
    }

    :where(.pg-page-refill) .order-card .link-cell {
        padding: 7px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        overflow: hidden;
    }

    :where(.pg-page-refill) .order-card .link-ic {
        display: inline-block;
        flex-shrink: 0;
        font-size: 12px;
        color: var(--theme-primary, #22bcf4);
    }

    :where(.pg-page-refill) .order-card .link-open {
        order: 3;
        width: auto;
        height: auto;
        padding: 15px 25px;
        background: transparent;
        color: #212529;
        font-size: 13px;
    }

    :where(.pg-page-refill) .order-card > .td-or {
        grid-area: or;
        margin-bottom: 12px;
        font-size: 13px;
        font-weight: 600;
    }

    :where(.pg-page-refill) .order-card > .td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        color: var(--muted-color, #aaa);
    }

    :where(.pg-page-refill) .order-card.status-border-completed { border-left-color: #28c76f; }
    :where(.pg-page-refill) .order-card.status-border-inprogress { border-left-color: var(--theme-primary, #22bcf4); }
    :where(.pg-page-refill) .order-card.status-border-processing { border-left-color: #ff9f43; }
    :where(.pg-page-refill) .order-card.status-border-pending { border-left-color: #ea5455; }
    :where(.pg-page-refill) .order-card.status-border-canceled { border-left-color: #82868b; }
}

/* ── Updates: one markup for desktop and mobile — each row turns into a card under 1200px ── */
@media (max-width: 1199.98px) {
    :where(.pg-page-updates) .orders-table-wrap {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    :where(.pg-page-updates) .order-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "id" "dt" "sv" "up";
        align-items: start;
        padding: 16px;
        margin-bottom: 14px;
        background: var(--card-bg, #fff);
        border-radius: 14px;
        border-bottom: none;
        border-left: 4px solid var(--theme-primary, #22bcf4);
        box-shadow: 0 2px 12px rgba(0,0,0,.07);
    }

    :where(.pg-page-updates) .order-card:last-child {
        border-radius: 14px;
    }

    :where(.pg-page-updates) .order-card > .td {
        padding: 0;
        text-align: start;
        min-width: 0;
    }

    :where(.pg-page-updates) .order-card > .td-id {
        grid-area: id;
    }

    :where(.pg-page-updates) .order-card .order-id-badge {
        direction: ltr;
        gap: 0;
        font-size: 16px;
        font-weight: 800;
    }

    :where(.pg-page-updates) .order-card .order-id-badge i {
        display: none;
    }

    :where(.pg-page-updates) .order-card .order-id-badge::before {
        content: "#";
    }

    :where(.pg-page-updates) .order-card > .td-dt {
        grid-area: dt;
        margin: 2px 0 12px;
    }

    :where(.pg-page-updates) .order-card .order-date {
        font-size: 11px;
        color: var(--muted-color, #999);
    }

    :where(.pg-page-updates) .order-card > .td-sv {
        grid-area: sv;
        margin-bottom: 10px;
        padding: 8px 10px;
        background: var(--body-bg, #f4f6fb);
        border-radius: 8px;
        font-size: 12px;
        line-height: 1.4;
        color: var(--body-color, #555);
    }

    :where(.pg-page-updates) .order-card .service-cell {
        display: block;
    }

    :where(.pg-page-updates) .order-card .service-name {
        font-size: 12px;
        color: var(--body-color, #555);
    }

    :where(.pg-page-updates) .order-card > .td-up,
    :where(.pg-page-updates) .order-card > .td-up.center {
        grid-area: up;
        text-align: start;
    }

    :where(.pg-page-updates) .order-card .sUpd {
        white-space: normal;
    }

    :where(.pg-page-updates) .order-card.upd-on { border-left-color: #22c55e; }
    :where(.pg-page-updates) .order-card.upd-down { border-left-color: #22bcf4; }
    :where(.pg-page-updates) .order-card.upd-up { border-left-color: #f59e0b; }
    :where(.pg-page-updates) .order-card.upd-off { border-left-color: #ef4444; }
}

/* ==========================================================================
   Tickets page (moved from tickets.twig) — scoped to .pg-page-tickets
   ========================================================================== */

/* ── form card ─────────────────────────────── */
:where(.pg-page-tickets) .tk-form-card {
    border-radius: 16px;
    border: none;
    background: #fff;
    overflow: hidden;
}

:where(.pg-page-tickets) .tk-form-header {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.12) 0%, rgba(var(--theme-primary-rgb), 0.03) 100%);
    padding: 28px 32px 24px;
    border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    position: relative;
    gap: 16px;
}

:where(.pg-page-tickets) .tk-form-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--theme-primary);
}

:where(.pg-page-tickets) .tk-form-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--theme-primary-rgb), 0.35);
    flex-shrink: 0;
}

:where(.pg-page-tickets) .tk-form-header-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

:where(.pg-page-tickets) .tk-form-header-sub {
    font-size: 13px;
    color: #888;
    margin: 0;
}

:where(.pg-page-tickets) .tk-form-body {
    padding: 28px 32px 32px;
}

/* ── labels & inputs ──────────────────────── */
:where(.pg-page-tickets) .tk-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

:where(.pg-page-tickets) .tk-label i {
    color: var(--theme-primary);
    font-size: 14px;
}

:where(.pg-page-tickets) .tk-input,
:where(.pg-page-tickets) .tk-textarea {
    width: 100%;
    background: #f7f8fa;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 14px;
    color: #3e4954;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}

:where(.pg-page-tickets) .tk-input:focus,
:where(.pg-page-tickets) .tk-textarea:focus {
    border-color: var(--theme-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb), 0.10);
}

:where(.pg-page-tickets) .tk-textarea {
    resize: vertical;
    min-height: 148px;
    line-height: 1.6;
}

/* ── submit button ────────────────────────── */
:where(.pg-page-tickets) .tk-submit {
    width: 100%;
    background: var(--theme-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s;
    box-shadow: 0 6px 18px rgba(var(--theme-primary-rgb), 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

:where(.pg-page-tickets) .tk-submit:hover {
    background: var(--theme-primary-hover, var(--theme-primary));
    box-shadow: 0 10px 26px rgba(var(--theme-primary-rgb), 0.40);
    transform: translateY(-1px);
}

:where(.pg-page-tickets) .tk-submit:active {
    transform: translateY(0);
}

/* ── file uploader wrapper ────────────────── */
:where(.pg-page-tickets, .pg-page-viewticket) .tk-uploader-wrap {
    border: 1.5px dashed rgba(var(--theme-primary-rgb), 0.35);
    border-radius: 10px;
    padding: 16px 18px;
    background: rgba(var(--theme-primary-rgb), 0.03);
    transition: border-color .2s;
}

:where(.pg-page-tickets, .pg-page-viewticket) .tk-uploader-wrap:hover {
    border-color: var(--theme-primary);
}

/* ── info sidebar ─────────────────────────── */
:where(.pg-page-tickets) .tk-info-card {
    border-radius: 16px;
    border: none;
    background: #fff;
    overflow: hidden;
}

:where(.pg-page-tickets) .tk-info-header {
    padding: 22px 24px 18px;
    background: var(--theme-primary);
    position: relative;
    overflow: hidden;
}

:where(.pg-page-tickets) .tk-info-header::before {
    content: '';
    position: absolute;
    right: -24px;
    top: -24px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}

:where(.pg-page-tickets) .tk-info-header::after {
    content: '';
    position: absolute;
    right: 24px;
    bottom: -32px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

:where(.pg-page-tickets) .tk-info-header h6 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

:where(.pg-page-tickets) .tk-info-header p {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    margin: 0;
}

:where(.pg-page-tickets) .tk-info-header .tk-info-main-icon {
    font-size: 26px;
    color: rgba(255,255,255,.90);
    margin-bottom: 10px;
}

:where(.pg-page-tickets) .tk-info-steps {
    padding: 20px 24px;
}

:where(.pg-page-tickets) .tk-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

:where(.pg-page-tickets) .tk-step:last-child {
    border-bottom: none;
}

:where(.pg-page-tickets) .tk-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(var(--theme-primary-rgb), 0.10);
    color: var(--theme-primary);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-page-tickets) .tk-step-text strong {
    display: block;
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

:where(.pg-page-tickets) .tk-step-text span {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ── status tag ───────────────────────────── */
:where(.pg-page-tickets) .tk-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

:where(.pg-page-tickets) .tk-status-open {
    background: rgba(34,200,127,.12);
    color: #14a37a;
}

:where(.pg-page-tickets) .tk-status-closed {
    background: #f0f0f0;
    color: #888;
}

:where(.pg-page-tickets) .tk-status-answered {
    background: rgba(var(--theme-primary-rgb),.12);
    color: var(--theme-primary);
}

:where(.pg-page-tickets) .tk-status-waiting {
    background: rgba(255,165,0,.12);
    color: #e08c00;
}

/* ── history card ─────────────────────────── */
:where(.pg-page-tickets) .tk-history-card {
    border-radius: 16px;
    border: none;
    background: #fff;
    overflow: hidden;
    margin-top: 20px;
}

:where(.pg-page-tickets) .tk-history-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:where(.pg-page-tickets) .tk-history-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 9px;
}

:where(.pg-page-tickets) .tk-history-title i {
    color: var(--theme-primary);
}

:where(.pg-page-tickets) .tk-table {
    width: 100%;
    border-collapse: collapse;
}

:where(.pg-page-tickets) .tk-table thead th {
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .6px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

:where(.pg-page-tickets) .tk-table tbody tr {
    transition: background .15s;
}

:where(.pg-page-tickets) .tk-table tbody tr:hover {
    background: #fafbff;
}

:where(.pg-page-tickets) .tk-table tbody td {
    padding: 14px 18px;
    font-size: 13.5px;
    color: #3e4954;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

:where(.pg-page-tickets) .tk-table tbody tr:last-child td {
    border-bottom: none;
}

:where(.pg-page-tickets) .tk-ticket-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--theme-primary-rgb), 0.10);
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 8px;
}

:where(.pg-page-tickets) .tk-ticket-link {
    color: #3e4954;
    font-weight: 500;
    text-decoration: none;
}

:where(.pg-page-tickets) .tk-ticket-link:hover {
    color: var(--theme-primary);
}

:where(.pg-page-tickets) .tk-ticket-link strong {
    color: #1a1a2e;
}

:where(.pg-page-tickets) .tk-time {
    color: #aaa;
    font-size: 12.5px;
    white-space: nowrap;
}

/* ── search bar ───────────────────────────── */
:where(.pg-page-tickets) .tk-search-wrap {
    padding: 14px 18px;
    border-bottom: 1px solid #f3f3f3;
}

:where(.pg-page-tickets) .tk-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f8fa;
    border-radius: 9px;
    padding: 9px 16px;
}

:where(.pg-page-tickets) .tk-search-inner i {
    color: #bbb;
    font-size: 14px;
}

:where(.pg-page-tickets) .tk-search-inner input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 13.5px;
    color: #3e4954;
    outline: none;
}

:where(.pg-page-tickets) .tk-search-inner input::placeholder {
    color: #bbb;
}

:where(.pg-page-tickets) .tk-search-btn {
    background: var(--theme-primary);
    border: none;
    color: #fff;
    border-radius: 7px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}

:where(.pg-page-tickets) .tk-search-btn:hover {
    opacity: .88;
}

/* ── pagination ───────────────────────────── */
:where(.pg-page-tickets) .tk-pagination {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 16px 18px;
    justify-content: center;
}

:where(.pg-page-tickets) .tk-pagination li {
    list-style: none;
}

:where(.pg-page-tickets) .tk-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    text-decoration: none;
    transition: background .15s, color .15s;
}

:where(.pg-page-tickets) .tk-pagination li.active a,
:where(.pg-page-tickets) .tk-pagination li a:hover {
    background: var(--theme-primary);
    color: #fff;
}

/* ── empty state ──────────────────────────── */
:where(.pg-page-tickets) .tk-empty {
    padding: 40px 24px;
    text-align: center;
    color: #bbb;
}

:where(.pg-page-tickets) .tk-empty i {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

:where(.pg-page-tickets) .tk-empty p {
    font-size: 13.5px;
    margin: 0;
}

/* ── dark mode ────────────────────────────── */
body.dark :where(.pg-page-tickets) .tk-form-card,
body.dark :where(.pg-page-tickets) .tk-info-card,
body.dark :where(.pg-page-tickets) .tk-history-card {
    background: #242424;
}

body.dark :where(.pg-page-tickets) .tk-form-header {
    border-bottom-color: rgba(255,255,255,.06);
}

body.dark :where(.pg-page-tickets) .tk-form-header-title,
body.dark :where(.pg-page-tickets) .tk-history-title {
    color: #e8e8e8;
}

body.dark :where(.pg-page-tickets) .tk-label {
    color: #aaa;
}

body.dark :where(.pg-page-tickets) .tk-input,
body.dark :where(.pg-page-tickets) .tk-textarea {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark :where(.pg-page-tickets) .tk-input:focus,
body.dark :where(.pg-page-tickets) .tk-textarea:focus {
    background: #1a1a1a;
}

body.dark :where(.pg-page-tickets) .tk-table thead th {
    background: #1e1e1e;
    color: #666;
    border-bottom-color: #333;
}

body.dark :where(.pg-page-tickets) .tk-table tbody tr:hover {
    background: #2a2a2a;
}

body.dark :where(.pg-page-tickets) .tk-table tbody td {
    color: #ccc;
    border-bottom-color: #2e2e2e;
}

body.dark :where(.pg-page-tickets) .tk-ticket-link {
    color: #ccc;
}

body.dark :where(.pg-page-tickets) .tk-ticket-link:hover {
    color: var(--theme-primary);
}

body.dark :where(.pg-page-tickets) .tk-step-text strong {
    color: #ddd;
}

body.dark :where(.pg-page-tickets) .tk-history-header,
body.dark :where(.pg-page-tickets) .tk-search-wrap {
    border-color: #333;
}

body.dark :where(.pg-page-tickets) .tk-search-inner {
    background: #1e1e1e;
}

body.dark :where(.pg-page-tickets) .tk-search-inner input {
    color: #e0e0e0;
}

body.dark :where(.pg-page-tickets) .tk-table tbody tr:last-child td {
    border-bottom: none;
}

body.dark :where(.pg-page-tickets) .tk-step {
    border-bottom-color: #333;
}

body.dark :where(.pg-page-tickets) .tk-status-closed {
    background: #333;
    color: #888;
}

body.dark :where(.pg-page-tickets, .pg-page-viewticket) .tk-uploader-wrap {
    background: rgba(var(--theme-primary-rgb),.05);
}

/* ── error alert ──────────────────────────── */
:where(.pg-page-tickets) .ticket-danger {
    display: none;
    margin-bottom: 18px;
    border-radius: 10px;
}

:where(.pg-page-tickets) .tk-table tbody tr {
    cursor: pointer;
    position: relative;
}

:where(.pg-page-tickets) .tk-table tbody tr:hover {
    background: rgba(var(--theme-primary-rgb), 0.06);
}

:where(.pg-page-tickets) .tk-table tbody tr .tk-ticket-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

:where(.pg-page-tickets) .tk-table .tk-ticket-id {
    position: relative;
    z-index: 2;
    cursor: copy;
}

/* ── mobile select fix ── */
:where(.pg-page-tickets) select.tk-input,
:where(.pg-page-tickets) select[name="TicketForm[subcategory]"] {
    box-sizing: border-box;
    height: 48px;
    line-height: 1.25;
    padding: 0 18px;
    font-size: 16px;
}

/* ── stretched link: keep inside its own cell (iOS ignores position:relative on tr) ── */
:where(.pg-page-tickets) .tk-table tbody td {
    position: relative;
}

/* ── Order ID tags field ── */
:where(.pg-page-tickets) .oid-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    cursor: text;
    transition: border-color .2s,box-shadow .2s;
}

:where(.pg-page-tickets) .oid-box:focus-within {
    border-color: #22C8FE;
    box-shadow: 0 0 0 4px rgba(34,200,254,.14);
}

:where(.pg-page-tickets) .oid-chips {
    display: contents;
}

:where(.pg-page-tickets) .oid-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px 5px 12px;
    border-radius: 999px;
    background: rgba(34,200,254,.12);
    color: #1689d5;
    font-weight: 800;
    font-size: 13.5px;
    direction: ltr;
    animation: oidpop .18s ease-out;
}

:where(.pg-page-tickets) .oid-chip button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 0;
    background: rgba(22,137,213,.15);
    color: #1689d5;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

:where(.pg-page-tickets) .oid-chip button:hover {
    background: #ef4444;
    color: #fff;
}

:where(.pg-page-tickets) .oid-in {
    flex: 1;
    min-width: 160px;
    border: 0;
    outline: 0;
    background: transparent;
    height: 34px;
    font-weight: 600;
    color: #0f172a;
}

:where(.pg-page-tickets) .oid-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 8px 4px 22px;
    font-size: 12.5px;
    color: #64748b;
}

:where(.pg-page-tickets) .oid-hint {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

:where(.pg-page-tickets) .oid-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-weight: 600;
}

:where(.pg-page-tickets) .oid-step b {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-page-tickets) .oid-key {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #cfd9e4;
    border-bottom-width: 3px;
    color: #0f172a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
}

:where(.pg-page-tickets) .oid-arr {
    font-size: 9px;
    color: #94a3b8;
}

:where(.pg-page-tickets) .oid-count {
    font-weight: 800;
    color: #1689d5;
    white-space: nowrap;
}

body.dark :where(.pg-page-tickets) .oid-box {
    background: #0f1218;
    border-color: #2f3542;
}

body.dark :where(.pg-page-tickets) .oid-in {
    color: #e2e8f0;
}

body.dark :where(.pg-page-tickets) .oid-chip {
    color: #5fd6ff;
}

body.dark :where(.pg-page-tickets) .oid-step {
    color: #cbd5e1;
}

body.dark :where(.pg-page-tickets) .oid-key {
    background: #161a22;
    border-color: #3a4252;
    color: #e2e8f0;
}

@keyframes oidpop {
    from {
        transform: scale(.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes oidkey {
    0%,
    70%,
    100% {
        transform: translateY(0);
        border-bottom-width: 3px;
    }

    80% {
        transform: translateY(2px);
        border-bottom-width: 1px;
    }
}

/* ==========================================================================
   View ticket page (moved from viewticket.twig) — scoped to .pg-page-viewticket
   ========================================================================== */

/* ── messages ── */
:where(.pg-page-viewticket) .ticket-message-block .ticket-msg-container .ticket-msg {
    display: flex;
    flex-direction: column;
}

:where(.pg-page-viewticket) .msg-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
    padding-top: 7px;
    border-top: 1px solid rgba(255,255,255,0.18);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.78;
    white-space: nowrap;
}

:where(.pg-page-viewticket) .ticket-message-right .msg-meta {
    flex-direction: row-reverse;
}

:where(.pg-page-viewticket) .msg-meta .msg-author {
    font-weight: 700;
    letter-spacing: 0.02em;
}

:where(.pg-page-viewticket) .msg-meta .msg-time {
    font-size: 10.5px;
    opacity: 0.85;
}

:where(.pg-page-viewticket) a {
    color: #ffffff;
}

/* ── attachments ── *//* ── View ticket: avatars at the outer edge, bottom-aligned, round ── */
:where(.pg-page-viewticket) .ticket-message-block .ticket-msg-container > .row {
    align-items: flex-end;
    flex-wrap: nowrap;
    align-self: stretch;
}

:where(.pg-page-viewticket) .ticket-message-right .ticket-msg-container > .row {
    justify-content: flex-start;
}

:where(.pg-page-viewticket) .ticket-message-left .ticket-msg-container > .row {
    justify-content: flex-end;
}

/* customer: avatar on the outer (start) side */
:where(.pg-page-viewticket) .ticket-message-right .ticket-img {
    order: -1;
}

/* support: avatar on the outer (end) side */
:where(.pg-page-viewticket) .ticket-message-left .ticket-img {
    order: 1;
}

:where(.pg-page-viewticket) .ticket-img {
    padding-left: 6px;
    padding-right: 6px;
}

:where(.pg-page-viewticket) .ticket-img img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.12);
}

:where(.pg-page-viewticket) .ticket-msg {
    max-width: calc(100% - 52px);
}

/* ── View ticket: header card (ticket no., subject, priority, department, response time) ── */
:where(.pg-page-viewticket) .vt-head {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin: 4px 0 10px;
}

:where(.pg-page-viewticket) .vt-head-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

:where(.pg-page-viewticket) .vt-back {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary, #22c8fe);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(34,200,254,.35);
    text-decoration: none;
}

:where(.pg-page-viewticket) .vt-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
}

:where(.pg-page-viewticket) .vt-title b {
    color: var(--theme-primary, #22c8fe);
}

:where(.pg-page-viewticket) .vt-subject {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 2px;
}

:where(.pg-page-viewticket) .vt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

:where(.pg-page-viewticket) .vt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

:where(.pg-page-viewticket) .vt-chip i {
    color: var(--theme-primary, #22c8fe);
}

:where(.pg-page-viewticket) .vt-chip-urgent {
    background: rgba(239,68,68,.1);
    color: #b91c1c;
}

:where(.pg-page-viewticket) .vt-chip-urgent i {
    color: #ef4444;
}

:where(.pg-page-viewticket) .vt-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #0b8de0;
    background: rgba(34,200,254,.1);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

/* dark mode */
body.dark :where(.pg-page-viewticket) .vt-title {
    color: #f1f5f9;
}

body.dark :where(.pg-page-viewticket) .vt-subject {
    color: #94a3b8;
}

body.dark :where(.pg-page-viewticket) .vt-chip {
    background: rgba(255,255,255,.06);
    color: #e2e8f0;
}

body.dark :where(.pg-page-viewticket) .vt-chip-urgent {
    background: rgba(239,68,68,.16);
    color: #fca5a5;
}

/* ── View ticket: bubble corner next to the avatar + avatar level with the bubble ── */
/* customer: avatar on the start side → sharp bottom-start corner */
:where(.pg-page-viewticket) .ticket-message-right .ticket-msg {
    border-end-start-radius: 6px !important;
}

/* support: avatar on the end side → sharp bottom-end corner */
:where(.pg-page-viewticket) .ticket-message-left .ticket-msg {
    border-end-end-radius: 6px !important;
}

/* the bubble has margin-bottom: 12px, give the avatar the same */
:where(.pg-page-viewticket) .ticket-img {
    margin-bottom: 12px;
}

/* ── View ticket: attached file name visible in the uploader ── */
:where(.pg-page-viewticket) .tickets-uploader .files-item,
:where(.pg-page-viewticket) .tickets-uploader .files-item a {
    color: #334155;
}

body.dark :where(.pg-page-viewticket) .tickets-uploader .files-item,
body.dark :where(.pg-page-viewticket) .tickets-uploader .files-item a {
    color: #e2e8f0;
}

/* send button: icon on mobile only, text on desktop */
:where(.pg-page-viewticket) .vt-send i {
    display: none;
}

/* ── View ticket (mobile): chat layout — one scroll, reply bar fixed at the bottom ── */
@media (max-width: 991.98px) {
    html body .pg-page-viewticket .schat-chat-body {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    .pg-page-viewticket .page-content {
        padding-bottom: 170px;
    }

    .pg-page-viewticket form.vt-composer {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 90px;
        z-index: 1031;
        display: flex;
        align-items: flex-end;
        gap: 8px;
        margin: 0;
        padding: 8px;
        border-radius: 24px;
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(0,0,0,.06);
        box-shadow: 0 6px 24px rgba(0,0,0,.14);
    }

    body.dark .pg-page-viewticket form.vt-composer {
        background: rgba(28,28,30,.88);
        border-color: rgba(255,255,255,.08);
    }

    .pg-page-viewticket form.vt-composer .form-group {
        margin: 0 !important;
    }

    /* message field */
    .pg-page-viewticket form.vt-composer .form-group:first-of-type {
        order: 2;
        flex: 1 1 auto;
    }

    .pg-page-viewticket form.vt-composer label.control-label {
        display: none;
    }

    .pg-page-viewticket form.vt-composer textarea {
        min-height: 0 !important;
        height: 42px;
        max-height: 120px;
        resize: none;
        padding: 10px 14px !important;
        border: 0 !important;
        border-radius: 20px !important;
        background: #f1f5f9 !important;
        font-size: 14px;
        line-height: 1.4;
    }

    body.dark .pg-page-viewticket form.vt-composer textarea {
        background: rgba(255,255,255,.08) !important;
        color: #f1f5f9;
    }

    /* attach (paperclip) */
    .pg-page-viewticket form.vt-composer .form-group.mb-3 {
        order: 1;
        flex: 0 0 auto;
    }

    .pg-page-viewticket form.vt-composer .tk-uploader-wrap {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .pg-page-viewticket form.vt-composer .files-wrapper {
        display: flex;
        align-items: center;
    }

    .pg-page-viewticket form.vt-composer .files-label {
        display: none;
    }

    .pg-page-viewticket form.vt-composer #uploader-button {
        width: 42px;
        height: 42px;
        justify-content: center;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
    }

    .pg-page-viewticket form.vt-composer #uploader-button,
    .pg-page-viewticket form.vt-composer #uploader-button a {
        color: #0b8de0 !important;
    }

    .pg-page-viewticket form.vt-composer #uploader-button svg {
        width: 22px;
        height: 22px;
    }

    /* chosen file: small card above the reply bar */
    .pg-page-viewticket form.vt-composer .files-item {
        position: absolute;
        bottom: 58px;
        inset-inline-start: 8px;
        padding: 6px 10px;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
        font-size: 12px;
    }

    /* send */
    .pg-page-viewticket form.vt-composer .vt-send {
        order: 3;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pg-page-viewticket form.vt-composer .vt-send i {
        display: inline-block;
        font-size: 16px;
    }

    [dir="rtl"] .pg-page-viewticket form.vt-composer .vt-send i,
    .rtl .pg-page-viewticket form.vt-composer .vt-send i {
        transform: scaleX(-1);
    }

    .pg-page-viewticket form.vt-composer .vt-send-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* ── View ticket: copyable ticket number ── */
:where(.pg-page-viewticket) .vt-title .vt-copy {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(34,200,254,.12);
}

:where(.pg-page-viewticket) .vt-title .vt-copy i {
    font-size: 13px;
    opacity: .8;
}

/* ── View ticket (desktop): ticket card in a side column, chat narrower ── */
@media (min-width: 992px) {
    /* overflow-x: hidden on these makes them scroll containers and breaks sticky; clip keeps the same look */
    html body .main.pg-page-viewticket,
    html body .pg-page-viewticket .page-content {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    :where(.pg-page-viewticket) .vt-aside-inner {
        position: sticky;
        top: 76px;
    }

    :where(.pg-page-viewticket) .vt-head {
        margin-top: 0;
    }

    :where(.pg-page-viewticket) .vt-chips {
        flex-direction: column;
        align-items: flex-start;
    }

    :where(.pg-page-viewticket) .vt-chip {
        width: 100%;
    }

    :where(.pg-page-viewticket) .vt-note {
        align-items: flex-start;
    }
}

/* ==========================================================================
   Add funds page (moved from addfunds.twig) — scoped to .pg-page-addfunds
   ========================================================================== */

/* Add funds: professional layout */
:where(.pg-page-addfunds) .nav-custom {
    background: var(--body-bg, #f1f4f8);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    flex-wrap: nowrap;
}

:where(.pg-page-addfunds) .nav-custom .nav-link {
    border: 0;
    border-radius: 9px;
    font-weight: 600;
    color: var(--body-color, #6b7280);
    padding: 9px 14px;
}

:where(.pg-page-addfunds) .nav-custom .nav-link.active {
    background: var(--card-bg, #fff);
    color: var(--theme-primary, #22bcf4);
    box-shadow: 0 1px 4px rgba(15,23,42,.1);
}

:where(.pg-page-addfunds) ul.nav-addfunds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}

:where(.pg-page-addfunds) ul.nav-addfunds::before {
    content: "اختر وسيلة الشحن";
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 700;
    color: var(--body-color, #212529);
    margin-bottom: 2px;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-item {
    list-style: none;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--card-bg, #fff);
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    color: var(--body-color, #212529);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link:hover {
    border-color: var(--theme-primary, #22bcf4);
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34,200,254,.12);
    color: var(--theme-primary, #22bcf4);
    font-size: 18px;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link .text {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link.active {
    border-color: var(--theme-primary, #22bcf4);
    background: rgba(34,200,254,.07);
    box-shadow: 0 0 0 3px rgba(34,200,254,.15);
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link.active .icon {
    background: var(--theme-primary, #22bcf4);
    color: #fff;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link.active::after {
    content: "";
    position: absolute;
    top: 9px;
    inset-inline-end: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--theme-primary, #22bcf4);
}

:where(.pg-page-addfunds) .rtl-form .control-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color, #212529);
    margin-bottom: 6px;
}

:where(.pg-page-addfunds) .rtl-form .form-control {
    height: 46px;
    border-radius: 10px;
    font-size: 14px;
    padding: 0 14px;
}

:where(.pg-page-addfunds) .rtl-form .form-control:focus {
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 0 0 3px rgba(34,200,254,.18);
}

:where(.pg-page-addfunds) .rtl-form .btn-primary {
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: var(--theme-primary, #22bcf4);
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 6px 16px rgba(34,200,254,.28);
}

:where(.pg-page-addfunds) .rtl-form .btn-primary:hover {
    filter: brightness(.96);
}

@media (max-width: 575.98px) {
    :where(.pg-page-addfunds) ul.nav-addfunds {
        gap: 8px;
    }

    :where(.pg-page-addfunds) ul.nav-addfunds .nav-link {
        padding: 12px 6px;
    }

    :where(.pg-page-addfunds) ul.nav-addfunds .nav-link .text {
        font-size: 11.5px;
    }
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link {
    height: auto !important;
    min-height: 96px !important;
    padding: 14px 8px !important;
    justify-content: center !important;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link .icon {
    height: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    line-height: 40px !important;
    margin: 0 !important;
    display: flex !important;
}

:where(.pg-page-addfunds) ul.nav-addfunds .nav-link .text {
    display: block !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

:where(.pg-page-addfunds) .amount-bonus-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

:where(.pg-page-addfunds) .amount-bonus-wrap input {
    flex: 1 1 160px;
    min-width: 0;
}

:where(.pg-page-addfunds) .bonus-box {
    flex: 0 1 auto;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(34,200,254,.08);
    border: 1px dashed rgba(34,200,254,.45);
    color: var(--body-color, #212529);
}

:where(.pg-page-addfunds) .bonus-box strong {
    color: var(--theme-primary, #22bcf4);
}

:where(.pg-page-addfunds) .pm-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8edf3);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
    margin-bottom: 16px;
    height: 100%;
}

:where(.pg-page-addfunds) .pm-label {
    font-size: 12px;
    color: var(--sc-muted, #8a94a6);
    font-weight: 600;
}

:where(.pg-page-addfunds) .pm-name {
    font-size: 18px;
    font-weight: 700;
    margin: 4px 0 12px;
    color: var(--body-color, #212529);
}

:where(.pg-page-addfunds) .pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

:where(.pg-page-addfunds) .pm-grid > div {
    background: var(--body-bg, #f6f8fb);
    border-radius: 10px;
    padding: 10px 12px;
}

:where(.pg-page-addfunds) .pm-grid span {
    display: block;
    font-size: 11px;
    color: var(--sc-muted, #8a94a6);
}

:where(.pg-page-addfunds) .pm-grid b {
    font-size: 14px;
    color: var(--body-color, #212529);
}

:where(.pg-page-addfunds) .pm-hero {
    border-radius: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--theme-primary, #22c8fe), #0ea5e9);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

:where(.pg-page-addfunds) .pm-hero small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: .92;
    margin-top: 4px;
}






:where(.pg-page-addfunds) .pm-instr p {
    margin: 0 0 8px;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--body-bg, #f6f8fb);
    font-size: 14px;
    color: var(--body-color, #212529);
    line-height: 1.7;
}

:where(.pg-page-addfunds) .pm-instr p:last-child {
    margin-bottom: 0;
}

:where(.pg-page-addfunds) .pm-bmin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--body-bg, #f6f8fb);
    font-size: 13px;
    margin-bottom: 12px;
}

:where(.pg-page-addfunds) .pm-bmin-row span {
    color: var(--sc-muted, #8a94a6);
}

:where(.pg-page-addfunds) .pm-bmin-row b {
    color: var(--body-color, #212529);
}

:where(.pg-page-addfunds) .pm-hero::before {
    content: "\f06b";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 22px;
    opacity: .9;
    display: inline-block;
    margin-inline-end: 8px;
    vertical-align: middle;
}

:where(.pg-page-addfunds) .pm-label i,
:where(.pg-page-addfunds) .pm-bmin-row i {
    color: var(--theme-primary, #22c8fe);
    margin-inline-end: 4px;
}

:where(.pg-page-addfunds) .pm-instr p i {
    color: var(--theme-primary, #22c8fe);
    width: 18px;
    text-align: center;
    margin-inline-end: 8px;
}



:where(.pg-page-addfunds) .amount-bonus-wrap input[readonly] {
    background: var(--body-bg, #f6f8fb);
    cursor: not-allowed;
    font-weight: 700;
}


/* ── payment notes ── */
:where(.pg-page-addfunds) .nt-item--text {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
    color: inherit;
}

:where(.pg-page-addfunds) .form-group {
    margin-bottom: 1.5rem!important;
}

:where(.pg-page-addfunds) .nt-item {
    padding: 0px;
}

/* ── first-deposit nudge ── */
:where(.pg-page-addfunds) .cd-nudge-fa {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(var(--theme-primary-rgb,30,170,231),.1);
    border: 1px solid rgba(var(--theme-primary-rgb,30,170,231),.35);
    font-size: 14px;
    line-height: 1.7;
}

:where(.pg-page-addfunds) .cd-nudge-fa strong {
    color: var(--theme-primary-dark,#1EAAE7);
}

/* ── Add funds: payment history as compact cards ── */
:where(.pg-page-addfunds) .pyh-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

:where(.pg-page-addfunds) .pyh-row {
    background: var(--card-bg, #fff);
    border: 1px solid var(--sc-border, #eef1f6);
    border-radius: 12px;
    padding: 10px 12px;
}

:where(.pg-page-addfunds) .pyh-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

:where(.pg-page-addfunds) .pyh-id {
    font-size: 12px;
    font-weight: 700;
    color: var(--theme-primary, #22bcf4);
    background: rgba(34,188,244,.1);
    padding: 2px 9px;
    border-radius: 999px;
}

/* added = green, deducted = red */
:where(.pg-page-addfunds) .pyh-amount {
    font-size: 15px;
    font-weight: 800;
    color: #16a34a;
    direction: ltr;
}

:where(.pg-page-addfunds) .pyh-amount.is-neg {
    color: #dc2626;
}

:where(.pg-page-addfunds) .pyh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

:where(.pg-page-addfunds) .pyh-meta i {
    margin-inline-end: 5px;
    color: var(--theme-primary, #22bcf4);
}

body.dark :where(.pg-page-addfunds) .pyh-row {
    border-color: rgba(255,255,255,.08);
}

body.dark :where(.pg-page-addfunds) .pyh-meta {
    color: #94a3b8;
}

/* ==========================================================================
   Account page (moved from account.twig)
   Already namespaced: .account-redesign (the <main>) and .cem (change-email modal)
   ========================================================================== */

.account-redesign {
    --ar-card: var(--card-bg, #fff);
    --ar-surface: var(--body-bg, #f5f8fa);
    --ar-subtle: var(--body-bg, #f7f9fb);
    --ar-ink: var(--body-color, #193247);
    --ar-muted: var(--muted-color, #718494);
    --ar-border: var(--border-color, #e1e9ef);
    --ar-accent: var(--theme-primary, #22bcf4);
    --ar-accent-dark: var(--theme-primary-dark, #1689d5);
    --ar-accent-soft: rgba(var(--theme-primary-rgb, 34, 188, 244), .12);
    color: var(--ar-ink);
    padding-block-end: 44px;
}

.account-redesign,
.account-redesign * {
    box-sizing: border-box;
}

.account-redesign .account-shell {
    max-width: 1240px;
    margin-inline: auto;
}

.account-redesign .account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 24px;
}

.account-redesign .account-crumb {
    margin: 0 0 5px;
    color: var(--ar-muted);
    font-size: 13px;
}

.account-redesign .account-crumb strong {
    color: var(--ar-accent-dark);
}

.account-redesign .account-title {
    margin: 0;
    color: var(--ar-ink);
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.035em;
}

.account-redesign .account-settings-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ar-muted);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.account-redesign .account-settings-link i {
    color: var(--ar-accent-dark);
}

.account-redesign .account-alerts {
    margin-block-end: 18px;
}

.account-redesign .account-overview {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(0, 1.8fr);
    align-items: center;
    gap: 26px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--ar-border);
    border-radius: 18px;
    background: var(--ar-card);
    box-shadow: 0 10px 28px rgba(31, 62, 82, .045);
}

.account-redesign .account-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.account-redesign .account-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 19px;
    background: var(--ar-accent-soft);
    box-shadow: inset 0 0 0 1px rgba(var(--theme-primary-rgb, 34, 188, 244), .18);
}

.account-redesign .account-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.account-redesign .account-identity-copy {
    min-width: 0;
}

.account-redesign .account-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: var(--ar-ink);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: -.025em;
}

.account-redesign .account-name .fa-circle-check {
    color: var(--ar-accent-dark);
    font-size: 14px;
}

.account-redesign .account-email {
    margin: 4px 0 0;
    color: var(--ar-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.account-redesign .account-gender-switch {
    display: flex;
    gap: 4px;
    width: fit-content;
    margin-block-start: 14px;
    padding: 4px;
    border: 1px solid var(--ar-border);
    border-radius: 10px;
    background: var(--ar-subtle);
}

.account-redesign .account-gender-switch .switch-bg {
    display: none;
}

.account-redesign .account-gender-switch .switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ar-muted);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.account-redesign .account-gender-switch.gender-male .switch-male,
.account-redesign .account-gender-switch.gender-female .switch-female {
    background: var(--ar-accent);
    color: #fff;
    box-shadow: 0 2px 5px rgba(19, 68, 96, .14);
}

.account-redesign .account-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-inline-start: 1px solid var(--ar-border);
}

.account-redesign .account-metric {
    min-width: 0;
    padding: 7px clamp(13px, 2vw, 26px);
    border-inline-end: 1px solid var(--ar-border);
}

.account-redesign .account-metric:last-child {
    border-inline-end: 0;
}

.account-redesign .account-metric-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ar-muted);
    font-size: 12px;
    font-weight: 600;
}

.account-redesign .account-metric-label i {
    color: var(--ar-accent-dark);
}

.account-redesign .account-metric-value {
    margin: 9px 0 0;
    color: var(--ar-ink);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 750;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.account-redesign .account-content {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
    align-items: start;
    gap: 20px;
    margin-block-start: 20px;
}

.account-redesign .account-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.account-redesign .account-panel {
    min-width: 0;
    padding: clamp(20px, 2.8vw, 29px);
    border: 1px solid var(--ar-border);
    border-radius: 16px;
    background: var(--ar-card);
    box-shadow: 0 8px 22px rgba(31, 62, 82, .035);
}

.account-redesign .account-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block-end: 20px;
}

.account-redesign .account-panel-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--ar-accent-soft);
    color: var(--ar-accent-dark);
}

.account-redesign .account-eyebrow {
    display: block;
    margin-block-end: 2px;
    color: var(--ar-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-redesign .account-panel-title {
    margin: 0;
    color: var(--ar-ink);
    font-size: 17px;
    font-weight: 730;
    letter-spacing: -.02em;
}

.account-redesign .account-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 13px;
    border-block-start: 1px solid var(--ar-border);
}

.account-redesign .account-detail-row:first-of-type {
    border-block-start: 0;
    padding-block-start: 0;
}

.account-redesign .account-detail-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ar-muted);
    font-size: 12px;
    flex: 0 0 auto;
}

.account-redesign .account-detail-label i {
    color: var(--ar-accent-dark);
}

.account-redesign .account-detail-value {
    min-width: 0;
    color: var(--ar-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: end;
    overflow-wrap: anywhere;
}

.account-redesign .account-inline-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 8px;
    color: var(--ar-accent-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.account-redesign .account-inline-action:hover {
    text-decoration: underline;
}

.account-redesign .account-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.account-redesign .account-field > label,
.account-redesign .account-field > span {
    color: var(--ar-ink);
    font-size: 12px;
    font-weight: 650;
}

.account-redesign .form-control,
.account-redesign .form-select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--ar-border);
    border-radius: 9px;
    background-color: var(--ar-subtle);
    color: var(--ar-ink);
    font-size: 13px;
}

.account-redesign textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.account-redesign .form-control:focus,
.account-redesign .form-select:focus {
    border-color: var(--ar-accent);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb, 34, 188, 244), .16);
    background-color: var(--ar-card);
    color: var(--ar-ink);
}

.account-redesign .form-control::placeholder {
    color: var(--ar-muted);
    opacity: .8;
}

.account-redesign .account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.account-redesign .account-field--wide {
    grid-column: 1 / -1;
}

.account-redesign .account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-block-start: 17px;
}

.account-redesign .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.account-redesign .account-divider {
    height: 1px;
    margin-block: 22px;
    border: 0;
    background: var(--ar-border);
}

.account-redesign .account-hint {
    margin: 13px 0 0;
    color: var(--ar-muted);
    font-size: 12px;
    line-height: 1.55;
}

.account-redesign .account-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(33, 132, 92, .12);
    color: #21845c;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

body.dark .account-redesign .account-status {
    background: #193b31;
    color: #8ed6b1;
}

.account-redesign .account-api-generate-form {
    margin: 0;
}

.account-redesign .account-api-generate {
    width: 100%;
}

.account-redesign .account-generated-key {
    margin-block-start: 16px;
}

.account-redesign .account-api-key-control {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.account-redesign .account-api-key-control .form-control {
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    letter-spacing: .04em;
}

.account-redesign .account-api-copy {
    flex: 0 0 auto;
    min-width: 42px;
    padding-inline: 12px;
}

.account-redesign .account-api-copy-status {
    display: block;
    min-height: 1.3em;
    margin-block-start: 6px;
    color: var(--ar-muted);
    font-size: 11px;
}

.account-redesign .account-security-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ar-border);
    border-radius: 11px;
    background: var(--ar-subtle);
}

.account-redesign .account-security-status > i {
    color: var(--ar-accent-dark);
}

.account-redesign .account-security-copy {
    flex: 1;
    min-width: 0;
}

.account-redesign .account-security-copy strong {
    display: block;
    color: var(--ar-ink);
    font-size: 13px;
}

.account-redesign .account-security-copy > span {
    display: block;
    margin-block-start: 4px;
    color: var(--ar-muted);
    font-size: 11px;
    line-height: 1.45;
}

.account-redesign .account-2fa-form {
    flex: 0 0 auto;
    margin: 0;
}

.account-redesign .account-2fa-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid var(--ar-border);
    border-radius: 999px;
    background: var(--ar-card);
    color: var(--ar-ink);
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.account-redesign .account-2fa-toggle:hover {
    border-color: var(--ar-accent);
}

.account-redesign .account-2fa-toggle__track {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    flex: 0 0 40px;
    border-radius: 999px;
    background: #9aa9b4;
    transition: background .18s ease;
}

.account-redesign .account-2fa-toggle__track::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(10, 30, 45, .2);
    transition: transform .18s ease;
}

.account-redesign .account-2fa-toggle[aria-checked="true"] .account-2fa-toggle__track {
    background: var(--ar-accent);
}

.account-redesign .account-2fa-toggle[aria-checked="true"] .account-2fa-toggle__track::after {
    transform: translateX(16px);
}

.account-redesign:dir(rtl) .account-2fa-toggle[aria-checked="true"] .account-2fa-toggle__track::after {
    transform: translateX(-16px);
}

.account-redesign .account-2fa-toggle__label {
    min-width: 24px;
    color: var(--ar-muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .04em;
}

.account-redesign .account-2fa-toggle[aria-checked="true"] .account-2fa-toggle__label {
    color: var(--ar-accent-dark);
}

.account-redesign .account-2fa-toggle:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 980px) {
    .account-redesign .account-overview {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .account-redesign .account-metrics {
        border-inline-start: 0;
        border-block-start: 1px solid var(--ar-border);
        padding-block-start: 14px;
    }

    .account-redesign .account-metric:first-child {
        padding-inline-start: 0;
    }

    .account-redesign .account-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-redesign .account-stack--side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .account-redesign {
        padding-block-end: 30px;
    }

    .account-redesign .account-head {
        align-items: flex-start;
        margin-block-end: 18px;
    }

    .account-redesign .account-settings-link {
        width: 38px;
        height: 38px;
        justify-content: center;
        border: 1px solid var(--ar-border);
        border-radius: 9px;
        font-size: 0;
    }

    .account-redesign .account-settings-link i {
        font-size: 17px;
    }

    .account-redesign .account-overview {
        gap: 18px;
        padding: 19px 16px;
        border-radius: 14px;
    }

    .account-redesign .account-avatar {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .account-redesign .account-metrics {
        grid-template-columns: 1fr 1fr;
        row-gap: 14px;
    }

    .account-redesign .account-metric {
        padding: 4px 10px;
        border-inline-end: 0;
    }

    .account-redesign .account-metric:nth-child(2) {
        border-inline-start: 1px solid var(--ar-border);
    }

    .account-redesign .account-metric:last-child {
        grid-column: 1 / -1;
        padding-block-start: 12px;
        border-block-start: 1px solid var(--ar-border);
    }

    .account-redesign .account-metric-value {
        margin-block-start: 6px;
    }

    .account-redesign .account-stack--side {
        grid-template-columns: 1fr;
    }

    .account-redesign .account-panel {
        padding: 20px 16px;
        border-radius: 13px;
    }

    .account-redesign .account-form-grid {
        grid-template-columns: 1fr;
    }

    .account-redesign .account-field--wide {
        grid-column: auto;
    }

    .account-redesign .account-detail-row {
        align-items: flex-start;
    }

    .account-redesign .account-detail-value {
        text-align: end;
    }
}

.account-redesign .account-detail-value.acc-email-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

html[dir="rtl"] .account-redesign .account-detail-value.acc-email-wrap {
    flex-direction: row-reverse;
}

.account-redesign .acc-email {
    font-weight: 700;
    unicode-bidi: isolate;
    direction: ltr;
}

.account-redesign .acc-email-wrap .account-inline-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--ar-border,#e1e9ef);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ar-accent,#22bcf4);
    background: var(--ar-card,#fff);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s,background .18s;
}

.account-redesign .acc-email-wrap .account-inline-action:hover {
    border-color: var(--ar-accent,#22bcf4);
    background: rgba(34,188,244,.08);
}

.account-redesign .acc-email-wrap .account-inline-action i {
    font-size: 11px;
}

/* Change email modal */
.cem .modal-dialog {
    max-width: 460px;
}

.cem .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15,23,42,.25);
    background: var(--card-bg,#fff);
}

.cem .modal-header {
    position: relative;
    display: block;
    text-align: center;
    padding: 34px 28px 8px;
    border: 0;
    background: linear-gradient(180deg,rgba(34,200,254,.12),rgba(34,200,254,0));
    color: inherit;
}

.cem .cem-ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    box-shadow: 0 12px 26px rgba(34,200,254,.35);
    transform: rotate(-6deg);
}

.cem .cem-ico i {
    transform: rotate(6deg);
}

.cem .modal-header .modal-title {
    float: none;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.4;
    margin: 0 0 6px;
}

.cem .cem-sub {
    color: #64748b;
    font-size: 13.5px;
    margin: 0;
}

.cem .cem-x {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(15,23,42,.06);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}

html[dir="ltr"] .cem .cem-x {
    left: auto;
    right: 14px;
}

.cem .cem-x:hover {
    background: rgba(239,68,68,.12);
    color: #ef4444;
    transform: rotate(90deg);
}

.cem .modal-body {
    padding: 18px 28px 6px;
}

.cem .cem-cur {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f5f8fb;
    border: 1px dashed #cfd9e4;
}

.cem .cem-cur-ico {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    color: #22C8FE;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15,23,42,.06);
}

.cem .cem-cur>div {
    flex: 1;
    min-width: 0;
    text-align: start;
}

.cem .cem-cur small {
    display: block;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
}

.cem .cem-cur bdi {
    display: block;
    font-weight: 800;
    color: #0f172a;
    font-size: 14.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cem .cem-badge {
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22,163,74,.1);
    padding: 3px 10px;
    border-radius: 999px;
}

.cem .cem-arrow {
    display: flex;
    justify-content: center;
    margin: -6px 0 6px;
    position: relative;
    z-index: 1;
}

.cem .cem-arrow i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e1e9ef;
    color: #22C8FE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: -4px;
}

.cem .cem-g {
    margin: 0 0 16px;
}

.cem .cem-lbl {
    display: block;
    font-weight: 700;
    font-size: 13.5px;
    color: #334155;
    margin: 0 4px 8px;
    padding: 0;
}

.cem .cem-field {
    display: flex;
    align-items: center;
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s,box-shadow .2s;
    overflow: hidden;
}

.cem .cem-field:focus-within {
    border-color: #22C8FE;
    box-shadow: 0 0 0 4px rgba(34,200,254,.14);
}

.cem .cem-fi {
    flex: 0 0 46px;
    text-align: center;
    color: #94a3b8;
}

.cem .cem-field:focus-within .cem-fi {
    color: #22C8FE;
}

.cem .cem-field .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 50px;
    padding: 0 4px;
    font-weight: 600;
}

.cem .cem-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset !important;
    -webkit-text-fill-color: #0f172a;
}

.cem .cem-eye {
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0 16px;
    cursor: pointer;
}

.cem .modal-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 0;
    padding: 4px 28px 26px;
}

.cem .modal-footer>* {
    margin: 0;
    width: 100%;
}

.cem .cem-submit {
    height: 52px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(34,200,254,.3);
}

.cem .cem-cancel {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    padding: 8px;
    cursor: pointer;
}

.cem .cem-cancel:hover {
    color: #0f172a;
}

body.dark .cem .modal-content {
    background: #161a22;
}

body.dark .cem .modal-header .modal-title,
body.dark .cem .cem-cur bdi {
    color: #f1f5f9 !important;
}

body.dark .cem .cem-cur {
    background: #0f1218;
    border-color: #2f3542;
}

body.dark .cem .cem-cur-ico,
body.dark .cem .cem-arrow i {
    background: #161a22;
    border-color: #2f3542;
}

body.dark .cem .cem-field {
    background: #0f1218;
    border-color: #2f3542;
}

body.dark .cem .cem-field .form-control {
    color: #e2e8f0;
}

body.dark .cem .cem-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #0f1218 inset !important;
    -webkit-text-fill-color: #e2e8f0;
}

body.dark .cem .cem-lbl {
    color: #cbd5e1;
}

body.dark .cem .cem-x {
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
}

/* ==========================================================================
   Modals: no page shift when a modal opens
   Bootstrap hides the scrollbar and pads <body>, but the fixed sidebar and
   top bar don't get the padding, so they jumped 12px. Reserve the scrollbar
   space instead and drop Bootstrap's padding.
   ========================================================================== */

body.modal-open {
    padding-right: 0 !important;
    overflow: auto !important;
}

/* ==========================================================================
   API page (moved from api.twig) — already namespaced with .api-*
   ([hidden] rule dropped: Bootstrap 5 already has it)
   ========================================================================== */

.api-page {
    --api-accent: var(--theme-primary, #22c8fe);
}

.api-wrap {
    padding: 8px 0 40px;
}

.api-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--api-accent), #0ea5e9);
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(34, 200, 254, .25);
}

.api-kicker {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, .2);
    padding: 4px 10px;
    border-radius: 999px;
}

.api-hero h3 {
    color: #fff;
    font-weight: 800;
    margin: 10px 0 6px;
    font-size: 22px;
}

.api-hero p {
    margin: 0;
    opacity: .92;
    font-size: 14px;
    max-width: 560px;
}

.api-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.api-hero-badges span {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

.api-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.api-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8edf3);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
}

.api-card-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--body-color, #212529);
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-card-title i {
    color: var(--api-accent);
}

.api-field {
    margin-bottom: 14px;
}

.api-label {
    display: block;
    font-size: 12px;
    color: var(--sc-muted, #8a94a6);
    font-weight: 600;
    margin-bottom: 6px;
}

.api-value {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--body-bg, #f6f8fb);
    border: 1px solid var(--border-color, #e8edf3);
    border-radius: 12px;
    padding: 8px 8px 8px 12px;
}

.api-value code {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    text-align: left;
    background: none;
    color: var(--body-color, #212529);
    font-size: 13px;
    padding: 0;
}

.api-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #e8edf3);
    background: var(--card-bg, #fff);
    color: var(--body-color, #212529);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: .2s;
}

.api-icon-btn:hover {
    color: var(--api-accent);
    border-color: var(--api-accent);
}

.api-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.api-meta span {
    font-size: 12px;
    color: var(--sc-muted, #8a94a6);
    background: var(--body-bg, #f6f8fb);
    border-radius: 999px;
    padding: 6px 12px;
}

.api-meta b {
    color: var(--body-color, #212529);
    margin-inline-end: 4px;
}

.api-note {
    font-size: 13px;
    color: var(--sc-muted, #8a94a6);
    margin: 0;
}

.api-toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.api-toc a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--body-color, #212529);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: .2s;
}

.api-toc a:hover {
    background: rgba(34, 200, 254, .1);
    color: var(--api-accent);
}

.api-m {
    font-size: 11px;
    font-weight: 800;
    color: var(--api-accent);
}

.api-ep {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e8edf3);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 18px;
    scroll-margin-top: 90px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .04);
}

.api-ep-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.api-ep-head h4 {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 17px;
    color: var(--body-color, #212529);
}

.api-ep-head p {
    margin: 0;
    color: var(--sc-muted, #8a94a6);
    font-size: 13px;
}

.api-method {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(34, 200, 254, .14);
    color: var(--api-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.api-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border-color, #e8edf3);
    margin-bottom: 14px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 13px;
}

.api-table td,
.api-table th {
    text-align: start;
}

.api-table th {
    background: var(--body-bg, #f6f8fb);
    font-weight: 700;
    color: var(--sc-muted, #8a94a6);
    text-align: start;
    padding: 10px 14px;
    font-size: 12px;
}

.api-table td {
    padding: 10px 14px;
    border-top: 1px solid var(--border-color, #e8edf3);
    color: var(--body-color, #212529);
    vertical-align: middle;
}

.api-table code {
    direction: ltr;
    display: inline-block;
    background: rgba(34, 200, 254, .1);
    color: var(--api-accent);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.api-type-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.api-type-tabs button {
    border: 1px solid var(--border-color, #e8edf3);
    background: var(--card-bg, #fff);
    color: var(--body-color, #212529);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.api-type-tabs button.is-active {
    background: var(--api-accent);
    border-color: var(--api-accent);
    color: #fff;
}

.api-code {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e8edf3);
    margin-top: 4px;
    background: #0f172a;
}

.api-code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .04);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.api-copy-btn {
    border: 1px solid rgba(148, 163, 184, .35);
    background: transparent;
    color: #cbd5e1;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
}

.api-copy-btn.is-done {
    color: #22c55e;
    border-color: #22c55e;
}

.api-code pre {
    margin: 0;
    padding: 14px 16px;
    color: #e2e8f0;
    font-size: 12.5px;
    line-height: 1.7;
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    white-space: pre;
    background: transparent;
    border: 0;
}

.api-footer {
    text-align: center;
    margin-top: 12px;
}

.api-footer a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--api-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991px) {
    .api-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .api-hero {
        padding: 20px;
    }

    .api-hero h3 {
        font-size: 19px;
    }

    .api-ep {
        padding: 16px;
    }

    .api-card {
        padding: 16px;
    }
}

.api-howto {
    margin-top: 6px;
    padding: 14px;
    border-radius: 14px;
    background: var(--body-bg, #f6f8fb);
    border: 1px dashed var(--border-color, #e8edf3);
    margin-bottom: 14px;
}

.api-howto h5 {
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--body-color, #212529);
}

.api-steps {
    margin: 0 0 8px;
    padding-inline-start: 20px;
    font-size: 13px;
    color: var(--body-color, #212529);
    line-height: 1.9;
}

.api-howto a {
    color: var(--api-accent);
    font-weight: 700;
}

.api-howto .api-note {
    font-size: 12px;
    margin: 0;
}

.api-lock {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-muted, #8a94a6);
    flex-shrink: 0;
}

/* ==========================================================================
   Affiliates page (moved from affiliates.twig) — scoped to .pg-page-affiliates
   ========================================================================== */

:where(.pg-page-affiliates) .ap-intro {
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
}

:where(.pg-page-affiliates) .ap-badge {
    display: inline-block;
    background: #e6f9ff;
    color: #0a7fb0;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

:where(.pg-page-affiliates) .ap-h {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.5;
    color: #0a2753;
    margin: 0 0 10px;
}

:where(.pg-page-affiliates) .ap-p {
    color: #4a5568;
    line-height: 1.9;
    font-size: 15px;
    margin: 0 0 18px;
}

:where(.pg-page-affiliates) .ap-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

:where(.pg-page-affiliates) .ap-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f5fbff;
    border: 1px solid #d7f1fd;
    border-radius: 14px;
    padding: 12px;
}

:where(.pg-page-affiliates) .ap-step-no {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c8fe;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-page-affiliates) .ap-step strong {
    display: block;
    color: #0a2753;
    margin-bottom: 2px;
}

:where(.pg-page-affiliates) .ap-step .t {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.7;
}

:where(.pg-page-affiliates) .ap-section {
    margin-top: 44px;
}

:where(.pg-page-affiliates) .ap-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 6px;
}

:where(.pg-page-affiliates) .ap-section-sub {
    color: #6b7280;
    margin: 0 0 20px;
    font-size: 15px;
}

:where(.pg-page-affiliates) .ap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 16px;
}

:where(.pg-page-affiliates) .ap-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 24px rgba(10,39,83,.08);
    position: relative;
    overflow: hidden;
}

:where(.pg-page-affiliates) .ap-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

:where(.pg-page-affiliates) .ap-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 8px;
}

:where(.pg-page-affiliates) .ap-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg,#22c8fe,#0a7fb0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
}

:where(.pg-page-affiliates) .ap-big {
    font-size: 32px;
    font-weight: 900;
    color: #0a2753;
    margin-top: 10px;
}

:where(.pg-page-affiliates) .ap-earn {
    background: linear-gradient(135deg,#0a2753,#0c3a75);
}

:where(.pg-page-affiliates) .ap-earn p {
    color: #cfe9ff;
}

:where(.pg-page-affiliates) .ap-earn .ap-big {
    color: #22c8fe;
}

:where(.pg-page-affiliates) .ap-note {
    color: #6b7280;
    font-size: 13px;
    margin-top: 12px;
}

:where(.pg-page-affiliates) .ap-tip {
    background: #fff8e1;
    border-right: 4px solid #f5b400;
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 16px;
    color: #5b4300;
    font-size: 14px;
    line-height: 1.8;
}

:where(.pg-page-affiliates) .ap-faq details {
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(10,39,83,.06);
}

:where(.pg-page-affiliates) .ap-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #0a2753;
}

:where(.pg-page-affiliates) .ap-faq details p {
    margin: 10px 0 0;
    color: #4a5568;
    line-height: 1.8;
    font-size: 14px;
}

@media (max-width:767.98px) {
    :where(.pg-page-affiliates) .ap-h {
        font-size: 20px;
    }

    :where(.pg-page-affiliates) .ap-section-title {
        font-size: 19px;
    }
}

:where(.pg-page-affiliates) .af-item--body > .row {
    flex-wrap: nowrap;
    align-items: center;
}

:where(.pg-page-affiliates) .af-item--body .col-auto {
    flex: 0 0 auto;
}

:where(.pg-page-affiliates) .col-xl-2 .af-item--body > .row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
}

/* dark mode support */
body.dark :where(.pg-page-affiliates) .ap-intro,
body.dark :where(.pg-page-affiliates) .ap-card,
body.dark :where(.pg-page-affiliates) .af-item,
body.dark :where(.pg-page-affiliates) .ap-faq details {
    background: #13233d!important;
    box-shadow: 0 6px 24px rgba(0,0,0,.35)!important;
    border-color: rgba(255,255,255,.06)!important;
}

body.dark :where(.pg-page-affiliates) .ap-step {
    background: #10203a;
    border-color: rgba(255,255,255,.08);
}

body.dark :where(.pg-page-affiliates) .ap-h,
body.dark :where(.pg-page-affiliates) .ap-section-title,
body.dark :where(.pg-page-affiliates) .ap-card h3,
body.dark :where(.pg-page-affiliates) .ap-step strong,
body.dark :where(.pg-page-affiliates) .af-item--text,
body.dark :where(.pg-page-affiliates) .af-item--body h4,
body.dark :where(.pg-page-affiliates) .ap-faq summary {
    color: #eaf3ff!important;
}

body.dark :where(.pg-page-affiliates) .ap-p,
body.dark :where(.pg-page-affiliates) .ap-card p,
body.dark :where(.pg-page-affiliates) .ap-step .t,
body.dark :where(.pg-page-affiliates) .ap-section-sub,
body.dark :where(.pg-page-affiliates) .ap-faq details p,
body.dark :where(.pg-page-affiliates) .ap-note,
body.dark :where(.pg-page-affiliates) .af-item--title {
    color: #a9bcd6!important;
}

body.dark :where(.pg-page-affiliates) .ap-badge {
    background: rgba(34,200,254,.15);
    color: #7ddcff;
}

body.dark :where(.pg-page-affiliates) .ap-tip {
    background: rgba(245,180,0,.1);
    color: #ffd976;
    border-color: #f5b400;
}

body.dark :where(.pg-page-affiliates) .ap-earn {
    background: linear-gradient(135deg,#0a2753,#06182f)!important;
}

body.dark :where(.pg-page-affiliates) .ap-earn p {
    color: #cfe9ff!important;
}

body.dark :where(.pg-page-affiliates) .ap-big {
    color: #eaf3ff;
}

body.dark :where(.pg-page-affiliates) .ap-earn .ap-big {
    color: #22c8fe;
}

/* ── stats cards ── */
:where(.pg-page-affiliates) .nip-card {
    background: linear-gradient(135deg,#22c8fe 0%,#0a7fb0 55%,#0a2753 100%)!important;
    border: 0!important;
    border-radius: 18px!important;
    box-shadow: 0 14px 40px rgba(10,39,83,.18);
    overflow: hidden;
    position: relative;
    color: #fff;
}

:where(.pg-page-affiliates) .nip-card .aff-title-2 {
    color: #fff!important;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.5;
}

:where(.pg-page-affiliates) .nip-card .aff-text-2 {
    color: #e6f7ff!important;
    line-height: 1.9;
}

:where(.pg-page-affiliates) .af-item {
    background: #fff!important;
    border: 0!important;
    border-radius: 18px!important;
    box-shadow: 0 6px 24px rgba(10,39,83,.08)!important;
    height: 100%;
}

:where(.pg-page-affiliates) .af-item--body,
:where(.pg-page-affiliates) .af-item--body-2 {
    padding: 20px!important;
}

:where(.pg-page-affiliates) .af-item--title {
    font-size: 14px!important;
    color: #6b7280!important;
    font-weight: 600;
    margin: 0 0 6px;
}

:where(.pg-page-affiliates) .af-item--text {
    font-size: 24px!important;
    font-weight: 900;
    color: #0a2753;
}

:where(.pg-page-affiliates) .af-item--body h4 {
    font-size: 15px;
    color: #0a2753;
    word-break: break-all;
    margin: 0;
}

:where(.pg-page-affiliates) .af-item--icon {
    width: 52px;
    height: 52px;
    border-radius: 16px!important;
    background: linear-gradient(135deg,#22c8fe,#0a7fb0)!important;
    color: #fff!important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 0;
    box-shadow: 0 8px 18px rgba(34,200,254,.35);
    padding: 0;
}

/* cards in a row were touching vertically: give rows a vertical gap */
:where(.pg-page-affiliates) .row {
    --bs-gutter-y: 14px;
}

/* ==========================================================================
   Child panel order page (moved from child_panel_order.twig) — already namespaced with .cp-*
   ========================================================================== */

.cp-wrap {
    margin-top: 48px;
}

.cp-h {
    font-size: 24px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 8px;
}

.cp-sub {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 22px;
}

.cp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 16px;
}

.cp-card,
.cp-step,
.cp-table-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 6px 24px rgba(10,39,83,.08);
}

.cp-table-wrap {
    padding: 0;
    overflow: hidden;
}

.cp-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg,#22c8fe,#0a7fb0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
}

.cp-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 8px;
}

.cp-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.cp-hero {
    background: linear-gradient(135deg,#22c8fe 0%,#0a7fb0 55%,#0a2753 100%);
    border-radius: 18px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 14px 40px rgba(10,39,83,.18);
    margin-bottom: 28px;
}

.cp-hero h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}

.cp-hero p {
    color: #e6f7ff;
    line-height: 1.9;
    margin: 0;
    font-size: 15px;
}

.cp-section {
    margin-top: 44px;
}

.cp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cp-table th,
.cp-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef3f8;
    text-align: start;
    color: #4a5568;
    vertical-align: top;
}

.cp-table th {
    background: #f5fbff;
    color: #0a2753;
    font-weight: 800;
}

.cp-table td:first-child {
    font-weight: 700;
    color: #0a2753;
}

.cp-yes {
    color: #16a34a;
    font-weight: 700;
}

.cp-no {
    color: #dc2626;
    font-weight: 700;
}

.cp-step-no {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #22c8fe;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cp-step h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 6px;
}

.cp-step p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width:767.98px) {
    .cp-h {
        font-size: 20px;
    }

    .cp-hero h2 {
        font-size: 20px;
    }
}

/* dark mode support */
body.dark .cp-card,
body.dark .cp-step,
body.dark .cp-table-wrap {
    background: #13233d!important;
    box-shadow: 0 6px 24px rgba(0,0,0,.35)!important;
}

body.dark .cp-h,
body.dark .cp-card h3,
body.dark .cp-step h3,
body.dark .cp-table td:first-child,
body.dark .cp-table th {
    color: #eaf3ff!important;
}

body.dark .cp-sub,
body.dark .cp-card p,
body.dark .cp-step p,
body.dark .cp-table td {
    color: #a9bcd6!important;
}

body.dark .cp-table th {
    background: #10203a!important;
}

body.dark .cp-table th,
body.dark .cp-table td {
    border-color: rgba(255,255,255,.07);
}

body.dark .cp-hero {
    background: linear-gradient(135deg,#0a2753,#06182f);
}

.cp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 12px;
}

.cp-list li {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(10,39,83,.06);
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cp-list li i {
    color: #22c8fe;
    margin-top: 5px;
    flex: 0 0 auto;
}

.cp-note {
    margin-top: 14px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
}

.cp-faq details {
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(10,39,83,.06);
}

.cp-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #0a2753;
}

.cp-faq details p {
    margin: 10px 0 0;
    color: #4a5568;
    line-height: 1.8;
    font-size: 14px;
}

.cp-terms-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(10,39,83,.08);
}

.cp-terms-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0a2753;
    margin: 0 0 12px;
}

.cp-terms-card ol {
    padding-inline-start: 20px;
    margin: 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.9;
}

.cp-terms-card li+li {
    margin-top: 8px;
}

.cp-link {
    color: #0a7fb0;
    font-weight: 700;
}

body.dark .cp-list li,
body.dark .cp-faq details,
body.dark .cp-terms-card {
    background: #13233d!important;
    box-shadow: 0 6px 24px rgba(0,0,0,.35)!important;
    color: #a9bcd6;
}

body.dark .cp-faq summary,
body.dark .cp-terms-card h3 {
    color: #eaf3ff;
}

body.dark .cp-note,
body.dark .cp-faq details p,
body.dark .cp-terms-card ol {
    color: #a9bcd6;
}

body.dark .cp-link {
    color: #7ddcff;
}

.cp-ns-steps {
    padding-inline-start: 22px;
    margin: 0 0 12px;
    color: #4a5568;
    line-height: 1.9;
    font-size: 15px;
}

.cp-ns-steps li+li {
    margin-top: 6px;
}

#createorderform-currency {
    width: 100%!important;
    max-width: 100%!important;
    min-width: 0;
    box-sizing: border-box;
}

body.dark .cp-ns-steps {
    color: #a9bcd6;
}

/* ==========================================================================
   Client dashboard (moved from dashboard.twig) — already namespaced with .cd-* and .lp-*
   ========================================================================== */

.cd-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #1f2937;
}

.cd-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#1EAAE7));
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb,30,170,231),.25);
}

.cd-hi {
    margin: 0;
    font-size: 14px;
    opacity: .9;
    color: #fff;
}

.cd-name {
    margin: 2px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    overflow-wrap: anywhere;
}

.cd-badge {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    min-width: 120px;
}

.cd-badge span {
    display: block;
    font-size: 12px;
    opacity: .9;
    color: #fff;
}

.cd-badge strong {
    display: block;
    font-size: 18px;
    color: #fff;
}

.cd-badge .cd-disc {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    opacity: 1;
}

.cd-stats {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

@media (min-width:992px) {
    .cd-stats {
        grid-template-columns: repeat(5,minmax(0,1fr));
    }
}

.cd-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.cd-stat-lbl {
    font-size: 13px;
    color: #6b7280;
}

.cd-stat-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--theme-primary-dark,#1EAAE7);
    direction: ltr;
    text-align: start;
    white-space: nowrap;
}

@media (min-width:992px) {
    .cd-stat-val {
        font-size: 20px;
    }
}

.cd-stat-sub {
    font-size: 12px;
    color: #6b7280;
}

.cd-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.cd-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.cd-h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: inherit;
}

.cd-muted {
    color: #6b7280;
    font-size: 13px;
}

.cd-small {
    margin: 10px 0 0;
    font-size: 13px;
}

.cd-nudge {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(var(--theme-primary-rgb,30,170,231),.1);
    border: 1px solid rgba(var(--theme-primary-rgb,30,170,231),.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cd-nudge-txt {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    flex: 1 1 260px;
}

.cd-nudge-txt strong {
    color: var(--theme-primary-dark,#1EAAE7);
}

.cd-cta {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 10px;
    background: var(--theme-primary,#22C8FE);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb,30,170,231),.3);
}

@media (prefers-reduced-motion: reduce) {
    .cd-bar span {
        animation: none;
    }
}

.cd-cta:hover {
    background: var(--theme-primary-hover,#14a3d6);
    color: #fff !important;
}

.cd-bar {
    height: 12px;
    border-radius: 99px;
    background: rgba(var(--theme-primary-rgb,30,170,231),.15);
    overflow: hidden;
}

.cd-bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    width: var(--cd-w,0%);
    animation: cdFill 1.2s ease-out both;
    background: linear-gradient(90deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#1EAAE7));
}

.cd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.cd-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 13px;
}

.cd-table th,
.cd-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #eef0f3;
    white-space: nowrap;
    color: inherit;
}

.cd-table thead th {
    background: #f7f8fa;
    color: #1f2937 !important;
    font-weight: 700;
}

.cd-table .cd-feat {
    text-align: start;
    white-space: normal;
    min-width: 170px;
    font-weight: 600;
}

.cd-table .is-cur {
    background: rgba(var(--theme-primary-rgb,30,170,231),.12);
}

.cd-table thead th.is-cur {
    background: var(--theme-primary,#22C8FE);
    color: #fff !important;
}

.cd-yes {
    color: #16a34a;
    font-weight: 700;
    font-size: 15px;
}

.cd-no {
    color: #9ca3af;
}

body.dark .cd-wrap {
    color: #e5e7eb;
}

.cd-table tbody td {
    color: #1f2937;
}

body.dark .cd-table tbody td {
    color: #e5e7eb;
}

body.dark .cd-stat,
body.dark .cd-card {
    background: #1b2230;
    border-color: #2b3445;
    color: #e5e7eb;
}

body.dark .cd-stat-lbl,
body.dark .cd-stat-sub,
body.dark .cd-muted {
    color: #9ca3af;
}

body.dark .cd-table-wrap {
    border-color: #2b3445;
}

body.dark .cd-table thead th {
    background: #243044;
    color: #e5e7eb !important;
}

body.dark .cd-table thead th.is-cur {
    background: var(--theme-primary,#22C8FE);
    color: #fff !important;
}

body.dark .cd-table th,
body.dark .cd-table td {
    border-bottom-color: #2b3445;
}

/* ── dashboard mobile fixes ── */
.cd-swipe {
    display: none;
}

@media (max-width:767.98px) {
    .cd-stats>.cd-stat:last-child:nth-child(odd) {
        grid-column: 1/-1;
    }

    .cd-table-wrap {
        scroll-snap-type: x proximity;
    }

    .cd-table {
        width: max-content !important;
        min-width: 0 !important;
    }

    .cd-table th,
    .cd-table td {
        padding: 10px 12px !important;
        white-space: nowrap;
        min-width: 62px;
        text-align: center;
        scroll-snap-align: end;
    }

    .cd-table tr>:first-child {
        position: sticky;
        right: 0;
        z-index: 2;
        background: #fff;
        min-width: 0 !important;
        width: 118px;
        max-width: 118px;
        white-space: normal !important;
        text-align: right;
        line-height: 1.5;
        box-shadow: -8px 0 10px -8px rgba(15,23,42,.28);
    }

    .cd-wrap[dir="ltr"] .cd-table tr>:first-child {
        right: auto;
        left: 0;
        text-align: left;
        box-shadow: 8px 0 10px -8px rgba(15,23,42,.28);
    }

    body.dark .cd-table tr>:first-child {
        background: #1b2230;
    }

    .cd-swipe {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 600;
        color: #0b8de0;
        margin: 0 0 8px;
    }

    .cd-swipe i {
        animation: cdNudge 1.4s ease-in-out infinite;
    }

    .cd-wrap[dir="ltr"] .cd-swipe i {
        animation-name: cdNudgeR;
    }

    @keyframes cdNudge {
        50% {
            transform: translateX(-5px);
        }
    }

    @keyframes cdNudgeR {
        50% {
            transform: translateX(5px);
        }
    }
}

/* ── level progress card ── */
.lp-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 22px 24px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(11,31,58,.04);
}

.lp-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}

.lp-t {
    font-size: 13px;
    font-weight: 700;
    color: #8a94a6;
    margin-bottom: 6px;
}

.lp-t i {
    color: var(--theme-primary,#22C8FE);
    margin-inline-end: 6px;
}

.lp-h {
    font-size: 20px;
    font-weight: 800;
    color: #0b1f3a;
    line-height: 1.3;
}

.lp-s {
    font-size: 13px;
    color: #5b6b82;
    margin-top: 4px;
}

.lp-disc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--theme-primary-dark,#0e8fc0);
    background: rgba(var(--theme-primary-rgb,34,200,254),.12);
    border: 1px solid rgba(var(--theme-primary-rgb,34,200,254),.35);
}

.lp-disc.lp-none {
    color: #8a94a6;
    background: rgba(138,148,166,.12);
    border-color: rgba(138,148,166,.3);
}

.lp-track {
    position: relative;
    height: 10px;
    border-radius: 50px;
    background: rgba(var(--theme-primary-rgb,34,200,254),.13);
    margin: 0 11px;
}

.lp-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    border-radius: 50px;
    background: linear-gradient(90deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#0ea5e9));
    box-shadow: 0 2px 10px rgba(var(--theme-primary-rgb,34,200,254),.45);
}

.lp-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: -16px;
}

.lp-node {
    width: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lp-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #dfe5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    z-index: 1;
}

.lp-node.done .lp-dot {
    background: var(--theme-primary,#22C8FE);
    border-color: var(--theme-primary,#22C8FE);
}

.lp-node.cur .lp-dot {
    width: 30px;
    height: 30px;
    margin-top: -4px;
    background: var(--theme-primary,#22C8FE);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb,34,200,254),.3);
    font-size: 12px;
}

.lp-lbl {
    position: absolute;
    top: 34px;
    white-space: nowrap;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #8a94a6;
    line-height: 1.5;
}

.lp-lbl small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    opacity: .85;
}

.lp-node:first-child .lp-lbl {
    inset-inline-start: 0;
    text-align: start;
}

.lp-node:last-child .lp-lbl {
    inset-inline-end: 0;
    text-align: end;
}

.lp-node.done .lp-lbl {
    color: #0b1f3a;
}

.lp-node.cur .lp-lbl {
    color: var(--theme-primary-dark,#0e8fc0);
    font-weight: 800;
}

.lp-gap {
    height: 58px;
}

body.dark .lp-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body.dark .lp-h,
body.dark .lp-node.done .lp-lbl {
    color: #f3f4f6;
}

body.dark .lp-s {
    color: #9ca3af;
}

body.dark .lp-dot {
    background: #1e1e1e;
    border-color: #3a3a3a;
}

body.dark .lp-node.done .lp-dot {
    background: var(--theme-primary,#22C8FE);
    border-color: var(--theme-primary,#22C8FE);
}

body.dark .lp-node.cur .lp-dot {
    background: var(--theme-primary,#22C8FE);
    border-color: #1e1e1e;
}

body.dark .lp-node.cur .lp-lbl,
body.dark .lp-disc {
    color: var(--theme-primary,#22C8FE);
}

@media(max-width:767.98px) {
    .lp-lbl small {
        display: none;
    }

    .lp-lbl {
        font-size: 10.5px;
    }

    .lp-h {
        font-size: 17px;
    }

    .lp-card {
        padding: 18px 16px 14px;
    }
}

@keyframes cdFill {
    from {
        width: 0;
    }

    to {
        width: var(--cd-w,0%);
    }
}

/* ==========================================================================
   New order page (moved from neworder.twig) — scoped to .pg-page-neworder
   (#pills-tab is also used on Add funds, so these rules must stay page-scoped)
   ========================================================================== */

/* Service name box: grow with long names instead of overflowing */
:where(.pg-page-neworder) .noi-card .card-body-2 > .form-control.fw-bold {
    height: auto !important;
    min-height: 50px;
    padding: 14px 24px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

:where(.pg-page-neworder) .noi-card .card-body-2 > .form-control.fw-bold h6 {
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* HC-CARDS-START */
:where(.pg-page-neworder) .hc-strip {
    display: contents;
}

:where(.pg-page-neworder) .top-icon {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    :where(.pg-page-neworder) .hc-strip {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        padding: 6px 4px 14px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    :where(.pg-page-neworder) .hc-strip::-webkit-scrollbar {
        display: none;
    }

    :where(.pg-page-neworder) .hc-strip > [class*="col-"] {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        margin: 0 !important;
        padding: 0 !important;
        scroll-snap-align: start;
        display: flex;
    }

    :where(.pg-page-neworder) .hc-strip .top-card {
        width: 100%;
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 18px;
        padding: 14px 16px;
        background: linear-gradient(135deg,#22c8fe 0%,#0ea5e9 55%,#0369a1 100%);
        box-shadow: 0 10px 24px rgba(14,165,233,.3);
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    :where(.pg-page-neworder) .hc-strip .top-card * {
        color: #fff !important;
    }

    :where(.pg-page-neworder) .hc-strip .top-icon {
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255,255,255,.22);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :where(.pg-page-neworder) .hc-strip .top-text {
        flex: 1 1 auto;
        min-width: 0;
    }

    :where(.pg-page-neworder) .hc-strip .top-title {
        font-size: 20px;
        font-weight: 800;
        margin: 0;
        line-height: 1.2;
    }
}

@media (max-width: 991.98px) {
    html body .sc-body .main.main:where(.pg-page-neworder) {
        padding-top: 16px !important;
    }

    body .main:where(.pg-page-neworder) .page-content {
        padding-top: 0 !important;
    }
}

/* HC-TABS-START */
html body :where(.pg-page-neworder) #pills-tab.nav-custom {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ecf2 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom > .nav-item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link {
    width: 100%;
    height: 100%;
    min-width: 0;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 2px 10px !important;
    margin: 0 !important;
    color: #8a94a6 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    position: relative;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: anywhere;
    justify-content: flex-start !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link i {
    font-size: 15px;
    width: 20px;
    height: 20px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    color: inherit !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom {
    margin-bottom: 12px !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active,
html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active:focus,
html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active:hover {
    color: #0b1f3a !important;
    font-weight: 700;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active i {
    color: #0ea5e9 !important;
}

html body :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg,rgba(14,165,233,0),#0ea5e9 20%,#0ea5e9 80%,rgba(14,165,233,0));
    border-radius: 2px;
}

html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom {
    border-bottom-color: #2b3445 !important;
}

html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link {
    color: #9ca3af !important;
}

html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active,
html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active:focus,
html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active:hover {
    color: #f3f4f6 !important;
}

html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active i {
    color: #38bdf8 !important;
}

html body.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active::after {
    background: linear-gradient(90deg,rgba(56,189,248,0),#38bdf8 20%,#38bdf8 80%,rgba(56,189,248,0));
}

html body.dark :where(.pg-page-neworder) .search-id .fa-search,
html body.dark :where(.pg-page-neworder) .search-id .fa-search::before {
    color: #cbd5e1 !important;
}

:where(.pg-page-neworder) .hc-charge-wrap {
    position: relative;
}

:where(.pg-page-neworder) .hc-charge-wrap > #charge {
    padding-left: 150px !important;
    text-align: left !important;
    direction: ltr !important;
    font-weight: 700;
}

:where(.pg-page-neworder) .hc-charge-extra {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

:where(.pg-page-neworder) .hc-charge-badge {
    font-size: 10.5px;
    font-weight: 700;
    background: #e0f7ff;
    color: #0369a1;
    border-radius: 20px;
    padding: 2px 8px;
    white-space: nowrap;
}

:where(.pg-page-neworder) .hc-charge-old {
    font-size: 11.5px;
    color: #8a94a6;
    text-decoration: line-through;
    direction: ltr;
    white-space: nowrap;
}

body.dark :where(.pg-page-neworder) .hc-charge-badge {
    background: #0c3247;
    color: #7dd3fc;
}

body.dark :where(.pg-page-neworder) .hc-charge-old {
    color: #9ca3af;
}

/* Mobile: price never cut — discount + old price stacked in one frame, space adapts */
@media (max-width:575.98px) {
    :where(.pg-page-neworder) .hc-charge-wrap > #charge {
        font-size: 14px !important;
        font-weight: 400 !important;
        padding-right: 14px !important;
    }

    :where(.pg-page-neworder) .hc-charge-extra {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        background: #e0f7ff;
        border-radius: 10px;
        padding: 3px 9px;
        line-height: 1.1;
    }

    :where(.pg-page-neworder) .hc-charge-extra .hc-charge-badge {
        background: transparent;
        padding: 0;
        border-radius: 0;
        line-height: 1.3;
    }

    :where(.pg-page-neworder) .hc-charge-extra .hc-charge-old {
        color: #0369a1;
        opacity: .7;
        line-height: 1.1;
    }

    body.dark :where(.pg-page-neworder) .hc-charge-extra {
        background: #0c3247;
    }

    body.dark :where(.pg-page-neworder) .hc-charge-extra .hc-charge-badge {
        background: transparent;
    }

    body.dark :where(.pg-page-neworder) .hc-charge-extra .hc-charge-old {
        color: #7dd3fc;
    }
}

:where(.pg-page-neworder) .hc-charge-extra.hc-empty {
    display: none;
}

/* Orders search box (new order page): keep input + icon inside the box */
body :where(.pg-page-neworder) .noi-title #history-search {
    width: 100% !important;
    max-width: 100% !important;
}

body :where(.pg-page-neworder) .noi-title .services-search-new {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px;
    overflow: hidden;
    padding: 0 12px !important;
}

body :where(.pg-page-neworder) .noi-title .services-search-new .icon {
    position: static !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 0 0 2px !important;
}

body :where(.pg-page-neworder) .noi-title .services-search-new .input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width:575.98px) {
    body :where(.pg-page-neworder) .noi-title .services-search-new .input {
        font-size: 16px !important;
    }

    body :where(.pg-page-neworder) .noi-title .services-search-new .input::placeholder {
        font-size: 13px !important;
    }
}

body :where(.pg-page-neworder) .noi-title .services-search-new .input,
body :where(.pg-page-neworder) .noi-title .services-search-new .icon {
    background: transparent !important;
}

body.dark :where(.pg-page-neworder) .noi-title .services-search-new {
    background: #242424 !important;
}

body.dark :where(.pg-page-neworder) .noi-title .services-search-new .icon i {
    color: #cbd5e1;
}

/* HC-SELECT-DARK-START */
body.dark :where(.pg-page-neworder) .select2-results__option--highlighted > a,
body.dark :where(.pg-page-neworder) .select2-results__option[aria-selected=true] > a {
    background-color: #0c3247 !important;
    color: #f3f4f6 !important;
}

body.dark :where(.pg-page-neworder) .select2-results__option--highlighted > a .text-muted,
body.dark :where(.pg-page-neworder) .select2-results__option[aria-selected=true] > a .text-muted {
    color: #cbd5e1 !important;
}

/* HC-SELECT-DARK-END */
/* HC-FEMALE-START */
@media (max-width: 991.98px) {
    body.theme-female :where(.pg-page-neworder) .hc-strip .top-card {
        background: linear-gradient(135deg,#E78FAF 0%,#CE708F 55%,#B85A7C 100%) !important;
        box-shadow: 0 10px 24px rgba(231,143,175,.3) !important;
    }
}

html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link:not(.active):not([aria-pressed="true"]) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #8a94a6 !important;
}

html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link:not(.active):not([aria-pressed="true"]):hover,
html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link:not(.active):not([aria-pressed="true"]):focus {
    background: transparent !important;
}

html body.theme-female.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link:not(.active):not([aria-pressed="true"]) {
    color: #9ca3af !important;
}

html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active,
html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link[aria-pressed="true"] {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #0b1f3a !important;
}

html body.theme-female.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active,
html body.theme-female.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link[aria-pressed="true"] {
    color: #f3f4f6 !important;
}

html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active::after,
html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link[aria-pressed="true"]::after {
    background: linear-gradient(90deg,rgba(231,143,175,0),#E78FAF 20%,#E78FAF 80%,rgba(231,143,175,0)) !important;
}

html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active i,
html body.theme-female :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link[aria-pressed="true"] i {
    color: #CE708F !important;
}

html body.theme-female.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link.active i,
html body.theme-female.dark :where(.pg-page-neworder) #pills-tab.nav-custom .nav-link[aria-pressed="true"] i {
    color: #E78FAF !important;
}

/* HC-FEMALE-END */
/* HC-TABS-END */
/* HC-CARDS-END */
/* Balance eye toggle as badge on wallet icon */
:where(.pg-page-neworder) .top-card .top-icon {
    position: relative;
    overflow: visible;
}

:where(.pg-page-neworder) .top-card .top-icon .eye-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15,23,42,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform .2s;
}

html[dir="ltr"] :where(.pg-page-neworder) .top-card .top-icon .eye-badge {
    left: auto;
    right: -4px;
}

:where(.pg-page-neworder) .top-card .top-icon .eye-badge:hover {
    transform: scale(1.12);
}

:where(.pg-page-neworder) .top-card .top-icon .eye-badge .spass {
    font-size: 11px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    background: none !important;
    color: var(--theme-primary,#22C8FE) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

:where(.pg-page-neworder) .top-card .top-icon .eye-badge .spass.hidden {
    display: none !important;
}

body.dark :where(.pg-page-neworder) .top-card .top-icon .eye-badge {
    background: #1f2430;
    box-shadow: 0 3px 10px rgba(0,0,0,.4);
}

/* Top cards: scroll dots under the strip (mobile only, built by script.js) */
:where(.pg-page-neworder) .hc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 4px;
}

:where(.pg-page-neworder) .hc-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(34, 188, 244, .3);
    transition: all .2s;
}

:where(.pg-page-neworder) .hc-dots span.on {
    width: 20px;
    background: var(--theme-primary, #22c8fe);
}

@media (min-width: 992px) {
    :where(.pg-page-neworder) .hc-dots {
        display: none;
    }
}

/* Info cards (start / speed / guarantee / average time): 2 x 2 on mobile, small icon beside the text */
@media (max-width: 991.98px) {
    :where(.pg-page-neworder) .noi-item {
        padding: 10px;
        height: calc(100% - 12px);
    }

    :where(.pg-page-neworder) .noi-item > .row {
        flex-wrap: nowrap;
        --bs-gutter-x: 8px;
    }

    :where(.pg-page-neworder) .noi-item .col {
        min-width: 0;
    }

    :where(.pg-page-neworder) .noi-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :where(.pg-page-neworder) .noi-icon i {
        font-size: 14px;
    }

    :where(.pg-page-neworder) .noii-content {
        display: flex;
        flex-direction: column;
        line-height: 1.35;
    }

    :where(.pg-page-neworder) .noii-title,
    :where(.pg-page-neworder) .noii-text {
        font-size: 12px;
    }
}

/* Custom pages & announcements: light text inside cards in dark mode (moved from newpage.twig / announcements.twig) */
body.dark :where(.pg-page-newpage, .pg-page-announcements) .card-body {
    color: #fff;
}

/* __________________________________________________________________________
   Sign in (home) page (moved from signin.twig) — scoped to .pg-page-signin
   __________________________________________________________________________ */

/* Login card fields: clear border */
:where(.pg-page-signin) #login-card .input-group {
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s,box-shadow .2s;
    flex-wrap: nowrap;
    overflow: hidden;
}

:where(.pg-page-signin) #login-card .input-group:hover {
    border-color: #b9c4d3;
}

:where(.pg-page-signin) #login-card .input-group:focus-within {
    border-color: var(--theme-primary,#22C8FE);
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb,34,200,254),.14);
}

:where(.pg-page-signin) #login-card .input-group .form-control,
:where(.pg-page-signin) #login-card .input-group .input-group-text {
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent;
}

:where(.pg-page-signin) #login-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset !important;
    -webkit-text-fill-color: #0f172a;
}

body.guest-dark :where(.pg-page-signin) #login-card .input-group {
    border-color: #2f3542;
    background: #0f1218;
}

body.guest-dark :where(.pg-page-signin) #login-card .input-group .form-control {
    color: #e2e8f0;
}

body.guest-dark :where(.pg-page-signin) #login-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #0f1218 inset !important;
    -webkit-text-fill-color: #e2e8f0;
    caret-color: #e2e8f0;
}

:where(.pg-page-signin) #login-card .login-btn {
    padding: 0 28px !important;
    height: 52px !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero title: keep decorative underline under the word on mobile */
@media (max-width:991.98px) {
    :where(.pg-page-signin) .hh-title h1 {
        line-height: 1.75 !important;
    }

    :where(.pg-page-signin) .hh-title h1 span::before {
        top: calc(100% - 3px) !important;
        bottom: auto !important;
        height: 14px !important;
        background-position: center top !important;
    }
}

:where(.pg-page-signin) .hh-bg {
    right: 50%;
}

:where(.pg-page-signin) .login-form .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

:where(.pg-page-signin) .login-form .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}

:where(.pg-page-signin) .hcc-nav-container {
    left: 0 !important;
    right: auto;
}

:where(.pg-page-signin) .text-lg-end,
:where(.pg-page-signin) .text-end {
    text-align: left !important;
}

:where(.pg-page-signin) .text-md-start {
    text-align: right !important;
}

/* ===== Home redesign (hs-*) ===== */
:where(.pg-page-signin) .hs-legacy {
    display: none !important;
}

:where(.pg-page-signin) .home-head .login-top {
    display: none !important;
}

:where(.pg-page-signin) .home-head .container-xxl > .row {
    align-items: center;
}

:where(.pg-page-signin) .hs-herocol {
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-page-signin) .hs-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(11,31,58,.12);
    border: 1px solid #eef1f6;
    padding: 30px 28px 22px;
    scroll-margin-top: 120px;
}

:where(.pg-page-signin) .hs-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 4px;
}

:where(.pg-page-signin) .hs-card .hs-sub {
    font-size: 14px;
    color: #5b6b82;
    margin-bottom: 20px;
}

:where(.pg-page-signin) .hs-card .login-form {
    margin: 0 !important;
    padding: 0 !important;
}

:where(.pg-page-signin) .hs-card .login-form .row {
    margin: 0 !important;
}

:where(.pg-page-signin) .hs-card .login-form form > .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
}

:where(.pg-page-signin) .hs-card .login-form .input-group {
    margin-bottom: 0 !important;
}

:where(.pg-page-signin) .hs-card .login-form .form-control,
:where(.pg-page-signin) .hs-card .login-form .input-group-text {
    height: 56px !important;
}

:where(.pg-page-signin) .hs-card .login-form .lgn-opts {
    order: 3;
    margin-top: 0 !important;
}

:where(.pg-page-signin) .hs-card .login-form form > .row > .col-lg {
    order: 4;
}

:where(.pg-page-signin) .hs-card .login-form form > .row > .col-lg .btn,
:where(.pg-page-signin) .hs-card .login-form form > .row > .col-lg input {
    width: 100%;
    height: 54px;
    border-radius: 14px;
}

:where(.pg-page-signin) .hs-card .hs-foot {
    text-align: center;
    font-size: 14px;
    color: #5b6b82;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #eef1f6;
}

:where(.pg-page-signin) .hs-card .hs-foot a {
    font-weight: 800;
    color: var(--theme-primary-dark,#0e8fc0);
}

:where(.pg-page-signin) .hs-strip-wrap,
:where(.pg-page-signin) .hs-how-wrap,
:where(.pg-page-signin) .hs-plats-wrap,
:where(.pg-page-signin) .hs-faq-wrap,
:where(.pg-page-signin) .hs-cta-wrap {
    padding: 56px 0 !important;
}

:where(.pg-page-signin) .hs-strip-wrap {
    padding-top: 10px !important;
}

:where(.pg-page-signin) .hs-h {
    font-size: 30px;
    font-weight: 800;
    color: #0b1f3a;
    text-align: center;
    margin: 0 0 10px;
}

:where(.pg-page-signin) .hs-lead {
    text-align: center;
    color: #5b6b82;
    max-width: 620px;
    margin: 0 auto 36px;
    font-size: 15px;
}

:where(.pg-page-signin) .hs-strip {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(11,31,58,.06);
}

:where(.pg-page-signin) .hs-strip .it {
    text-align: center;
}

:where(.pg-page-signin) .hs-strip .n {
    font-size: 26px;
    font-weight: 900;
    color: var(--theme-primary-dark,#0e8fc0);
}

:where(.pg-page-signin) .hs-strip .l {
    font-size: 13px;
    color: #5b6b82;
    font-weight: 600;
}

:where(.pg-page-signin) .hs-steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

:where(.pg-page-signin) .hs-step {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 20px;
    padding: 26px;
    text-align: center;
}

:where(.pg-page-signin) .hs-step .num {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#0ea5e9));
    box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb,34,200,254),.35);
}

:where(.pg-page-signin) .hs-step h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 6px;
}

:where(.pg-page-signin) .hs-step p {
    font-size: 14px;
    color: #5b6b82;
    margin: 0;
}

:where(.pg-page-signin) .hs-plats {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 16px;
}

:where(.pg-page-signin) .hs-plat {
    display: block;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    padding: 20px;
    text-decoration: none !important;
    transition: transform .2s,box-shadow .2s;
}

:where(.pg-page-signin) .hs-plat:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(11,31,58,.1);
}

:where(.pg-page-signin) .hs-plat .ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}

:where(.pg-page-signin) .hs-plat .hs-x {
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
}

:where(.pg-page-signin) .hs-plat h4 {
    font-size: 17px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 4px;
}

:where(.pg-page-signin) .hs-plat .d {
    font-size: 13px;
    color: #5b6b82;
    margin-bottom: 10px;
}

:where(.pg-page-signin) .hs-plat .pr {
    font-size: 13px;
    font-weight: 800;
    color: var(--theme-primary-dark,#0e8fc0);
}

:where(.pg-page-signin) .hs-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

:where(.pg-page-signin) .hs-more {
    display: inline-block;
    margin: 6px 0 10px;
    font-weight: 800;
    font-size: 14px;
    color: var(--theme-primary-dark,#0e8fc0);
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

:where(.pg-page-signin) .hs-faq {
    max-width: 820px;
    margin: 0 auto;
}

:where(.pg-page-signin) .hs-faq details {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 0 20px;
}

:where(.pg-page-signin) .hs-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-weight: 800;
    color: #0b1f3a;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

:where(.pg-page-signin) .hs-faq summary::-webkit-details-marker {
    display: none;
}

:where(.pg-page-signin) .hs-faq summary::after {
    content: "+";
    font-size: 22px;
    color: var(--theme-primary,#22C8FE);
    font-weight: 400;
}

:where(.pg-page-signin) .hs-faq details[open] summary::after {
    content: "−";
}

:where(.pg-page-signin) .hs-faq details p {
    color: #5b6b82;
    font-size: 14px;
    margin: 0 0 18px;
    line-height: 1.9;
}

:where(.pg-page-signin) .hs-cta {
    border-radius: 26px;
    padding: 44px 36px;
    background: linear-gradient(135deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#0e8fc0));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 24px 50px rgba(var(--theme-primary-rgb,34,200,254),.35);
}

:where(.pg-page-signin) .hs-cta h3 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 6px;
    color: #fff;
}

:where(.pg-page-signin) .hs-cta p {
    margin: 0;
    opacity: .9;
    color: #fff;
}

:where(.pg-page-signin) .hs-cta a {
    background: #fff;
    color: #0b1f3a !important;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none !important;
}

.hs-sticky:where(.pg-page-signin) {
    display: none;
}

:where(.pg-page-signin) .hs-plat h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 4px;
    line-height: 1.4;
}

:where(.pg-page-signin) .hs-seo-p {
    max-width: 860px;
    line-height: 2;
}

:where(.pg-page-signin) .hs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

:where(.pg-page-signin) .hs-tags a {
    padding: 9px 16px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e6ebf2;
    color: #0b1f3a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color .2s,color .2s;
}

:where(.pg-page-signin) .hs-tags a:hover {
    border-color: var(--theme-primary,#22C8FE);
    color: var(--theme-primary-dark,#0e8fc0);
}

:where(.pg-page-signin) .hs-tags-wrap {
    padding: 40px 0 56px !important;
}

body.guest-dark :where(.pg-page-signin) .hs-plat h3 {
    color: #f3f4f6;
}

body.guest-dark :where(.pg-page-signin) .hs-tags a {
    background: #171b22;
    border-color: #262b35;
    color: #e5e7eb;
}

@media (max-width:991.98px) {
    :where(.pg-page-signin) .hs-herocol {
        margin-top: 28px;
    }

    :where(.pg-page-signin) .hs-strip {
        grid-template-columns: repeat(2,1fr);
    }

    :where(.pg-page-signin) .hs-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767.98px) {
    .hs-sticky:where(.pg-page-signin) {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid #eef1f6;
    }

    .hs-sticky:where(.pg-page-signin) a {
        flex: 1;
        text-align: center;
        padding: 13px;
        border-radius: 14px;
        font-weight: 800;
        text-decoration: none !important;
    }

    .hs-sticky:where(.pg-page-signin) .a1 {
        border: 1.5px solid #dfe5ee;
        color: #0b1f3a;
    }

    .hs-sticky:where(.pg-page-signin) .a2 {
        background: var(--theme-primary,#22C8FE);
        color: #fff;
    }

    body#outside:where(:has(.pg-page-signin)) {
        padding-bottom: 76px;
    }

    :where(.pg-page-signin) .hs-h {
        font-size: 24px;
    }

    :where(.pg-page-signin) .hs-card {
        padding: 24px 18px 18px;
    }
}

body.guest-dark :where(.pg-page-signin) .hs-card,
body.guest-dark :where(.pg-page-signin) .hs-strip,
body.guest-dark :where(.pg-page-signin) .hs-step,
body.guest-dark :where(.pg-page-signin) .hs-plat,
body.guest-dark :where(.pg-page-signin) .hs-faq details {
    background: #171b22;
    border-color: #262b35;
}

body.guest-dark :where(.pg-page-signin) .hs-card h3,
body.guest-dark :where(.pg-page-signin) .hs-h,
body.guest-dark :where(.pg-page-signin) .hs-step h4,
body.guest-dark :where(.pg-page-signin) .hs-plat h4,
body.guest-dark :where(.pg-page-signin) .hs-faq summary {
    color: #f3f4f6;
}

body.guest-dark :where(.pg-page-signin) .hs-card .hs-sub,
body.guest-dark :where(.pg-page-signin) .hs-lead,
body.guest-dark :where(.pg-page-signin) .hs-strip .l,
body.guest-dark :where(.pg-page-signin) .hs-step p,
body.guest-dark :where(.pg-page-signin) .hs-plat .d,
body.guest-dark :where(.pg-page-signin) .hs-faq details p,
body.guest-dark :where(.pg-page-signin) .hs-card .hs-foot {
    color: #9ca3af;
}

body.guest-dark :where(.pg-page-signin) .hs-card .hs-foot {
    border-color: #262b35;
}

body.guest-dark .hs-sticky:where(.pg-page-signin) {
    background: rgba(15,18,24,.92);
    border-color: #262b35;
}

body.guest-dark .hs-sticky:where(.pg-page-signin) .a1 {
    border-color: #2f3542;
    color: #e5e7eb;
}

/* Login options: labeled "remember me" and "forgot password" buttons on their own line under the fields */
:where(.pg-page-signin) .login-form .lgn-opts {
    flex: 0 0 100%;
    max-width: 100%;
    order: 5;
    margin-top: -6px;
}

:where(.pg-page-signin) .login-form .lgn-opts > .row {
    justify-content: space-between;
    align-items: center;
}

:where(.pg-page-signin) .login-form .lgn-opts .btn-login {
    width: auto;
    height: 42px;
    padding: 0 14px;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    border-width: 1.5px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    color: #0b1f3a;
    white-space: nowrap;
}

:where(.pg-page-signin) .login-form .lgn-opts .btn-login i {
    font-size: 15px;
}

:where(.pg-page-signin) .login-form .lgn-opts .btn-login:hover {
    border-color: var(--theme-primary);
}

:where(.pg-page-signin) .knd-checkbox input:checked ~ button .lgn-lbl {
    color: #fff;
}

/* __________________________________________________________________________
   Sign up page (moved from signup.twig) — scoped to .pg-page-signup
   __________________________________________________________________________ */

:where(.pg-page-signup) .row.justify-content-center:has(.su-card) {
    align-items: stretch;
}

:where(.pg-page-signup) .su-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    padding: 40px 36px !important;
    margin: 20px 0;
}

:where(.pg-page-signup) .su-head {
    text-align: center;
    margin-bottom: 26px;
}

:where(.pg-page-signup) .su-head h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

:where(.pg-page-signup) .su-head p {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

:where(.pg-page-signup) .su-lbl {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    margin: 0 4px 8px;
}

:where(.pg-page-signup) .su-card .input-group {
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s,box-shadow .2s;
    flex-wrap: nowrap;
    overflow: hidden;
}

:where(.pg-page-signup) .su-card .input-group:hover {
    border-color: #b9c4d3;
}

:where(.pg-page-signup) .su-card .input-group:focus-within {
    border-color: var(--theme-primary,#22C8FE);
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb,34,200,254),.14);
}

:where(.pg-page-signup) .su-card .input-group .form-control,
:where(.pg-page-signup) .su-card .input-group select,
:where(.pg-page-signup) .su-card .input-group .input-group-text {
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent;
    height: 54px !important;
}

:where(.pg-page-signup) .su-eye {
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
}

:where(.pg-page-signup) .su-eye:hover {
    color: var(--theme-primary,#22C8FE);
}

:where(.pg-page-signup) .su-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    margin: 4px 0 18px;
    font-weight: 500;
}

:where(.pg-page-signup) .su-terms input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #c3cdda;
    border-radius: 6px;
    background: #fff;
    margin: 1px 0 0;
    position: relative;
    cursor: pointer;
    transition: .2s;
}

:where(.pg-page-signup) .su-terms input:checked {
    background: var(--theme-primary,#22C8FE);
    border-color: var(--theme-primary,#22C8FE);
}

:where(.pg-page-signup) .su-terms input:checked:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

:where(.pg-page-signup) .su-terms a {
    color: var(--theme-primary,#22C8FE);
    font-weight: 700;
}

:where(.pg-page-signup) .su-card .btn-block[type=submit] {
    height: 56px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 17px;
}

:where(.pg-page-signup) .su-login {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 15px;
}

:where(.pg-page-signup) .su-login a {
    font-weight: 800;
    color: var(--theme-primary,#22C8FE);
}

:where(.pg-page-signup) .reg-left.su-left {
    background: none !important;
    background-color: transparent !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

:where(.pg-page-signup) .su-left {
    display: flex !important;
    align-items: center;
    height: 100%;
}

:where(.pg-page-signup) .su-side {
    width: 100%;
    text-align: start;
    padding: 36px 30px;
    border-radius: 24px;
    background: linear-gradient(150deg,rgba(var(--theme-primary-rgb,34,200,254),.12),rgba(var(--theme-primary-rgb,34,200,254),.03));
    border: 1px solid rgba(var(--theme-primary-rgb,34,200,254),.18);
}

:where(.pg-page-signup) .su-side h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

:where(.pg-page-signup) .su-side > p {
    color: #64748b;
    margin: 0 0 22px;
}

:where(.pg-page-signup) .su-side ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

:where(.pg-page-signup) .su-side li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #1e293b;
    font-weight: 600;
    font-size: 15px;
}

:where(.pg-page-signup) .su-side li i {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    color: var(--theme-primary,#22C8FE);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15,23,42,.06);
}

:where(.pg-page-signup) .su-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

:where(.pg-page-signup) .su-stats div {
    background: #fff;
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
}

:where(.pg-page-signup) .su-stats b {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--theme-primary,#22C8FE);
}

:where(.pg-page-signup) .su-stats span {
    font-size: 12px;
    color: #64748b;
}

body.guest-dark :where(.pg-page-signup) .su-card {
    background: #161a22;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

body.guest-dark :where(.pg-page-signup) .su-head h1,
body.guest-dark :where(.pg-page-signup) .su-side h2,
body.guest-dark :where(.pg-page-signup) .su-side li {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-signup) .su-head p,
body.guest-dark :where(.pg-page-signup) .su-side > p,
body.guest-dark :where(.pg-page-signup) .su-terms,
body.guest-dark :where(.pg-page-signup) .su-login,
body.guest-dark :where(.pg-page-signup) .su-stats span {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-signup) .su-lbl {
    color: #cbd5e1;
}

body.guest-dark :where(.pg-page-signup) .su-card .input-group {
    border-color: #2f3542;
    background: #0f1218;
}

body.guest-dark :where(.pg-page-signup) .su-card .input-group .form-control,
body.guest-dark :where(.pg-page-signup) .su-card .input-group select {
    color: #e2e8f0;
}

:where(.pg-page-signup) .su-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset !important;
    -webkit-text-fill-color: #0f172a;
}

body.guest-dark :where(.pg-page-signup) .su-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #0f1218 inset !important;
    -webkit-text-fill-color: #e2e8f0;
    caret-color: #e2e8f0;
}

body.guest-dark :where(.pg-page-signup) .su-terms input {
    background: #0f1218;
    border-color: #3a4252;
}

body.guest-dark :where(.pg-page-signup) .su-side {
    background: linear-gradient(150deg,rgba(var(--theme-primary-rgb,34,200,254),.10),rgba(255,255,255,.02));
    border-color: #262c38;
}

body.guest-dark :where(.pg-page-signup) .su-side li i,
body.guest-dark :where(.pg-page-signup) .su-stats div {
    background: #161a22;
}

@media (max-width:1199.98px) {
    :where(.pg-page-signup) .su-left {
        height: auto;
        margin-top: 24px;
    }
}

@media (max-width:575.98px) {
    :where(.pg-page-signup) .su-card {
        padding: 28px 18px !important;
    }

    :where(.pg-page-signup) .su-head h1 {
        font-size: 23px;
    }
}

:where(.pg-page-signup) .su-card .row > .py-3 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

@media (min-width:992px) {
    :where(.pg-page-signup) .row.justify-content-center:has(.su-card) {
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 28px;
        margin-left: 0;
        margin-right: 0;
    }

    :where(.pg-page-signup) .row.justify-content-center:has(.su-card) > .su-card {
        flex: 0 0 56% !important;
        max-width: 56% !important;
        margin: 20px 0 !important;
    }

    :where(.pg-page-signup) .row.justify-content-center:has(.su-card) > div:not(.su-card) {
        flex: 1 1 auto !important;
        max-width: none !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    :where(.pg-page-signup) .reg-left.su-left {
        flex: 1;
        height: auto !important;
        margin: 0 !important;
        display: flex !important;
        align-items: stretch;
    }

    :where(.pg-page-signup) .su-side {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 36px;
    }
}

/* __________________________________________________________________________
   Reset password page (moved from resetpassword.twig) — scoped to .pg-page-resetpassword
   __________________________________________________________________________ */

:where(.pg-page-resetpassword) .rp-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    padding: 40px 36px !important;
    align-self: center;
}

:where(.pg-page-resetpassword) .rp-head {
    text-align: center;
    margin-bottom: 26px;
}

:where(.pg-page-resetpassword) .rp-ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    box-shadow: 0 12px 26px rgba(34,200,254,.35);
}

:where(.pg-page-resetpassword) .rp-head h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

:where(.pg-page-resetpassword) .rp-head p {
    color: #64748b;
    margin: 0;
    font-size: 14.5px;
}

:where(.pg-page-resetpassword) .rp-lbl {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    margin: 0 4px 8px;
}

:where(.pg-page-resetpassword) .rp-card .input-group {
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: center;
    transition: border-color .2s,box-shadow .2s;
    margin-bottom: 18px !important;
}

:where(.pg-page-resetpassword) .rp-card .input-group:focus-within {
    border-color: #22C8FE;
    box-shadow: 0 0 0 4px rgba(34,200,254,.14);
}

:where(.pg-page-resetpassword) .rp-card .input-group .input-group-text {
    border: 0 !important;
    background: transparent !important;
    padding: 0 6px;
    height: 52px;
    display: flex;
    align-items: center;
}

:where(.pg-page-resetpassword) .rp-card .input-group .igt-sq {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

:where(.pg-page-resetpassword) .rp-card .input-group .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 52px !important;
    padding: 0 12px;
    font-weight: 600;
}

:where(.pg-page-resetpassword) .rp-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset !important;
    -webkit-text-fill-color: #0f172a;
}

:where(.pg-page-resetpassword) .rp-btn {
    height: 52px;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0 !important;
    padding: 0 !important;
}

:where(.pg-page-resetpassword) .rp-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(34,200,254,.08);
    border: 1px solid rgba(34,200,254,.22);
    color: #475569;
    font-size: 13.5px;
    line-height: 1.7;
}

:where(.pg-page-resetpassword) .rp-note i {
    color: #22C8FE;
    margin-top: 4px;
}

:where(.pg-page-resetpassword) .rp-note a {
    color: #1689d5;
    font-weight: 800;
    unicode-bidi: isolate;
    white-space: nowrap;
}

:where(.pg-page-resetpassword) .rp-back {
    text-align: center;
    margin-top: 18px;
    color: #64748b;
    font-size: 14.5px;
}

:where(.pg-page-resetpassword) .rp-back a {
    font-weight: 800;
    color: #22C8FE;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-card {
    background: #161a22;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

body.guest-dark :where(.pg-page-resetpassword) .rp-head h1 {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-head p,
body.guest-dark :where(.pg-page-resetpassword) .rp-back,
body.guest-dark :where(.pg-page-resetpassword) .rp-note {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-lbl {
    color: #cbd5e1;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-card .input-group {
    border-color: #2f3542;
    background: #0f1218;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-card .input-group .form-control {
    color: #e2e8f0;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #0f1218 inset !important;
    -webkit-text-fill-color: #e2e8f0;
}

body.guest-dark :where(.pg-page-resetpassword) .rp-note {
    background: rgba(34,200,254,.06);
    border-color: rgba(34,200,254,.18);
}

body.guest-dark :where(.pg-page-resetpassword) .rp-note a {
    color: #5fd6ff;
}

@media (min-width:992px) {
    :where(.pg-page-resetpassword) .row.justify-content-center:has(.rp-card) {
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 28px;
        margin-left: 0;
        margin-right: 0;
    }

    :where(.pg-page-resetpassword) .row.justify-content-center:has(.rp-card) > .rp-card {
        flex: 0 0 52% !important;
        max-width: 52% !important;
        margin: 20px 0 !important;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    :where(.pg-page-resetpassword) .row.justify-content-center:has(.rp-card) > div:not(.rp-card) {
        flex: 1 1 auto !important;
        max-width: none !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    :where(.pg-page-resetpassword) .row.justify-content-center:has(.rp-card) .reg-left {
        flex: 1;
        height: auto !important;
        margin: 0 !important;
        border-radius: 24px;
    }
}

@media (max-width:575.98px) {
    :where(.pg-page-resetpassword) .rp-card {
        padding: 28px 18px !important;
    }

    :where(.pg-page-resetpassword) .rp-head h1 {
        font-size: 23px;
    }
}

body.guest-dark :where(.pg-page-resetpassword) .reg-left h3,
body.guest-dark :where(.pg-page-resetpassword) .reg-left p,
body.guest-dark :where(.pg-page-resetpassword) .reg-left strong {
    color: #fff !important;
}

/* __________________________________________________________________________
   Set new password page (moved from setnewpassword.twig) — scoped to .pg-page-setnewpassword
   __________________________________________________________________________ */

:where(.pg-page-setnewpassword) .rp-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
    padding: 40px 36px !important;
}

:where(.pg-page-setnewpassword) .rp-head {
    text-align: center;
    margin-bottom: 26px;
}

:where(.pg-page-setnewpassword) .rp-ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    box-shadow: 0 12px 26px rgba(34,200,254,.35);
}

:where(.pg-page-setnewpassword) .rp-head h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

:where(.pg-page-setnewpassword) .rp-head p {
    color: #64748b;
    margin: 0;
    font-size: 14.5px;
}

:where(.pg-page-setnewpassword) .rp-lbl {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    margin: 0 4px 8px;
}

:where(.pg-page-setnewpassword) .rp-card .input-group {
    border: 1.5px solid #d5dde8;
    border-radius: 14px;
    background: #fff;
    flex-wrap: nowrap;
    overflow: hidden;
    align-items: center;
    transition: border-color .2s,box-shadow .2s;
    margin-bottom: 18px !important;
}

:where(.pg-page-setnewpassword) .rp-card .input-group:focus-within {
    border-color: #22C8FE;
    box-shadow: 0 0 0 4px rgba(34,200,254,.14);
}

:where(.pg-page-setnewpassword) .rp-card .input-group .input-group-text {
    border: 0 !important;
    background: transparent !important;
    padding: 0 6px;
    height: 52px;
    display: flex;
    align-items: center;
}

:where(.pg-page-setnewpassword) .rp-card .input-group .igt-sq {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

:where(.pg-page-setnewpassword) .rp-card .input-group .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 52px !important;
    padding: 0 12px;
    font-weight: 600;
}

:where(.pg-page-setnewpassword) .rp-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #fff inset !important;
    -webkit-text-fill-color: #0f172a;
}

:where(.pg-page-setnewpassword) .rp-card .rp-ro {
    background: #f5f8fb;
    border-style: dashed;
}

:where(.pg-page-setnewpassword) .rp-card .rp-ro .form-control {
    color: #64748b;
}

:where(.pg-page-setnewpassword) .rp-ro-tag {
    color: #94a3b8;
    padding: 0 16px;
    font-size: 13px;
}

:where(.pg-page-setnewpassword) .rp-eye {
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 0 16px;
    cursor: pointer;
}

:where(.pg-page-setnewpassword) .rp-eye:hover {
    color: #22C8FE;
}

:where(.pg-page-setnewpassword) .rp-hint {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: -6px 4px 18px;
    color: #64748b;
    font-size: 13px;
}

:where(.pg-page-setnewpassword) .rp-hint i {
    color: #22C8FE;
}

:where(.pg-page-setnewpassword) .rp-btn {
    height: 52px;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0 !important;
    padding: 0 !important;
}

:where(.pg-page-setnewpassword) .rp-back {
    text-align: center;
    margin-top: 18px;
    color: #64748b;
    font-size: 14.5px;
}

:where(.pg-page-setnewpassword) .rp-back a {
    font-weight: 800;
    color: #22C8FE;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card {
    background: #161a22;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-head h1 {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-head p,
body.guest-dark :where(.pg-page-setnewpassword) .rp-back,
body.guest-dark :where(.pg-page-setnewpassword) .rp-hint {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-lbl {
    color: #cbd5e1;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card .input-group {
    border-color: #2f3542;
    background: #0f1218;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card .input-group .form-control {
    color: #e2e8f0;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card .rp-ro {
    background: #12161d;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card .rp-ro .form-control {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-setnewpassword) .rp-card .input-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #0f1218 inset !important;
    -webkit-text-fill-color: #e2e8f0;
}

@media (min-width:992px) {
    :where(.pg-page-setnewpassword) .row.justify-content-center:has(.rp-card) {
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 28px;
        margin-left: 0;
        margin-right: 0;
    }

    :where(.pg-page-setnewpassword) .row.justify-content-center:has(.rp-card) > .rp-card {
        flex: 0 0 52% !important;
        max-width: 52% !important;
        margin: 20px 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    :where(.pg-page-setnewpassword) .row.justify-content-center:has(.rp-card) > div:not(.rp-card) {
        flex: 1 1 auto !important;
        max-width: none !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    :where(.pg-page-setnewpassword) .row.justify-content-center:has(.rp-card) .reg-left {
        flex: 1;
        height: auto !important;
        margin: 0 !important;
        border-radius: 24px;
    }
}

@media (max-width:575.98px) {
    :where(.pg-page-setnewpassword) .rp-card {
        padding: 28px 18px !important;
    }

    :where(.pg-page-setnewpassword) .rp-head h1 {
        font-size: 23px;
    }
}

body.guest-dark :where(.pg-page-setnewpassword) .reg-left h3,
body.guest-dark :where(.pg-page-setnewpassword) .reg-left p,
body.guest-dark :where(.pg-page-setnewpassword) .reg-left strong {
    color: #fff !important;
}

/* __________________________________________________________________________
   FAQ page (moved from faq.twig) — scoped to .pg-page-faq
   __________________________________________________________________________ */

:where(.pg-page-faq) .fq-wrap {
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 20px 15px 0;
}

body#outside :where(.pg-page-faq) .fq-wrap {
    padding-top: 140px;
}

body#outside .main:has(.fq-wrap):where(.pg-page-faq) {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

:where(.pg-page-faq) .fq-hero {
    background: linear-gradient(135deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#0e8fc0));
    border-radius: 24px;
    padding: 34px 32px;
    color: #fff;
    box-shadow: 0 20px 44px rgba(var(--theme-primary-rgb,34,200,254),.3);
    margin-bottom: 22px;
    text-align: center;
}

:where(.pg-page-faq) .fq-hero h1 {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 6px;
    color: #fff;
}

:where(.pg-page-faq) .fq-hero p {
    margin: 0 0 18px;
    opacity: .92;
    font-size: 15px;
    color: #fff;
}

:where(.pg-page-faq) .fq-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

:where(.pg-page-faq) .fq-search input {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    padding-inline-start: 48px;
    padding-inline-end: 16px;
    font-size: 15px;
    color: #0b1f3a;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11,31,58,.15);
    outline: none;
}

:where(.pg-page-faq) .fq-search i {
    position: absolute;
    inset-inline-start: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a94a6;
}

:where(.pg-page-faq) .fq-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

:where(.pg-page-faq) .fq-toc {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    padding: 16px;
}

body#outside :where(.pg-page-faq) .fq-toc {
    position: sticky;
    top: 120px;
}

:where(.pg-page-faq) .fq-toc a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    color: #0b1f3a;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
}

:where(.pg-page-faq) .fq-toc a span {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(var(--theme-primary-rgb,34,200,254),.12);
    color: var(--theme-primary-dark,#0e8fc0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

:where(.pg-page-faq) .fq-toc a em {
    margin-inline-start: auto;
    font-style: normal;
    font-size: 12px;
    color: #8a94a6;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 2px 9px;
}

:where(.pg-page-faq) .fq-toc a:hover {
    background: #f6f9fc;
}

:where(.pg-page-faq) .fq-sec {
    margin-bottom: 22px;
    scroll-margin-top: 120px;
}

:where(.pg-page-faq) .fq-sec h2 {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 19px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 12px;
}

:where(.pg-page-faq) .fq-sec h2 i {
    color: var(--theme-primary-dark,#0e8fc0);
}

:where(.pg-page-faq) .fq-item {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    margin-bottom: 10px;
    transition: box-shadow .2s,border-color .2s;
    scroll-margin-top: 120px;
}

:where(.pg-page-faq) .fq-item[open] {
    border-color: rgba(var(--theme-primary-rgb,34,200,254),.45);
    box-shadow: 0 10px 26px rgba(11,31,58,.06);
}

:where(.pg-page-faq) .fq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 20px;
    font-weight: 800;
    color: #0b1f3a;
    font-size: 15.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

:where(.pg-page-faq) .fq-item summary::-webkit-details-marker {
    display: none;
}

:where(.pg-page-faq) .fq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #f1f5f9;
    color: var(--theme-primary-dark,#0e8fc0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
}

:where(.pg-page-faq) .fq-item[open] summary::after {
    content: "−";
    background: var(--theme-primary,#22C8FE);
    color: #fff;
}

:where(.pg-page-faq) .fq-a {
    padding: 0 20px 18px;
    color: #3d4b5f;
    font-size: 15px;
    line-height: 1.95;
}

:where(.pg-page-faq) .fq-a p {
    margin: 0 0 10px;
}

:where(.pg-page-faq) .fq-a ul,
:where(.pg-page-faq) .fq-a ol {
    margin: 0 0 10px;
    padding-inline-start: 22px;
}

:where(.pg-page-faq) .fq-a li {
    margin-bottom: 4px;
}

:where(.pg-page-faq) .fq-code {
    background: #0b1f3a;
    color: #e5f6ff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    margin: 0 0 10px;
    text-align: left;
}

:where(.pg-page-faq) .fq-empty {
    display: none;
    text-align: center;
    color: #8a94a6;
    padding: 30px 0;
}

:where(.pg-page-faq) .fq-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 20px;
    padding: 22px 24px;
    margin-top: 10px;
}

:where(.pg-page-faq) .fq-help b {
    display: block;
    font-size: 17px;
    color: #0b1f3a;
}

:where(.pg-page-faq) .fq-help span {
    font-size: 14px;
    color: #5b6b82;
}

:where(.pg-page-faq) .fq-help a {
    background: var(--theme-primary,#22C8FE);
    color: #fff !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none !important;
}

body.guest-dark :where(.pg-page-faq) .fq-toc,
body.guest-dark :where(.pg-page-faq) .fq-item,
body.guest-dark :where(.pg-page-faq) .fq-help,
body.dark :where(.pg-page-faq) .fq-toc,
body.dark :where(.pg-page-faq) .fq-item,
body.dark :where(.pg-page-faq) .fq-help {
    background: #171b22;
    border-color: #262b35;
}

body.guest-dark :where(.pg-page-faq) .fq-toc a,
body.guest-dark :where(.pg-page-faq) .fq-sec h2,
body.guest-dark :where(.pg-page-faq) .fq-item summary,
body.guest-dark :where(.pg-page-faq) .fq-help b,
body.dark :where(.pg-page-faq) .fq-toc a,
body.dark :where(.pg-page-faq) .fq-sec h2,
body.dark :where(.pg-page-faq) .fq-item summary,
body.dark :where(.pg-page-faq) .fq-help b {
    color: #f3f4f6;
}

body.guest-dark :where(.pg-page-faq) .fq-a,
body.guest-dark :where(.pg-page-faq) .fq-help span,
body.dark :where(.pg-page-faq) .fq-a,
body.dark :where(.pg-page-faq) .fq-help span {
    color: #a7b0bf;
}

body.guest-dark :where(.pg-page-faq) .fq-toc a em,
body.guest-dark :where(.pg-page-faq) .fq-item summary::after,
body.dark :where(.pg-page-faq) .fq-toc a em,
body.dark :where(.pg-page-faq) .fq-item summary::after {
    background: #0f1218;
}

body.guest-dark :where(.pg-page-faq) .fq-item[open] summary::after,
body.dark :where(.pg-page-faq) .fq-item[open] summary::after {
    background: var(--theme-primary,#22C8FE);
    color: #fff;
}

body.guest-dark :where(.pg-page-faq) .fq-toc a:hover,
body.dark :where(.pg-page-faq) .fq-toc a:hover {
    background: #0f1218;
}

@media(max-width:991.98px) {
    :where(.pg-page-faq) .fq-grid {
        grid-template-columns: 1fr;
    }

    body#outside :where(.pg-page-faq) .fq-toc {
        position: static;
    }

    :where(.pg-page-faq) .fq-hero {
        padding: 26px 18px;
    }

    :where(.pg-page-faq) .fq-hero h1 {
        font-size: 23px;
    }

    body#outside :where(.pg-page-faq) .fq-wrap {
        padding-top: 110px;
    }

    :where(.pg-page-faq) .fq-toc {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
}

/* __________________________________________________________________________
   Terms page (moved from terms.twig) — scoped to .pg-page-terms
   __________________________________________________________________________ */

:where(.pg-page-terms) .tm-wrap {
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 20px 15px 0;
}

body#outside :where(.pg-page-terms) .tm-wrap {
    padding-top: 140px;
}

body#outside .main:has(.tm-wrap):where(.pg-page-terms) {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

:where(.pg-page-terms) .tm-hero {
    background: linear-gradient(135deg,var(--theme-primary,#22C8FE),var(--theme-primary-dark,#0e8fc0));
    border-radius: 24px;
    padding: 34px 32px;
    color: #fff;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 20px 44px rgba(var(--theme-primary-rgb,34,200,254),.3);
    margin-bottom: 22px;
}

:where(.pg-page-terms) .tm-hero .ic {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

:where(.pg-page-terms) .tm-hero h1 {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 6px;
    color: #fff;
}

:where(.pg-page-terms) .tm-hero p {
    margin: 0;
    opacity: .92;
    font-size: 15px;
    color: #fff;
    line-height: 1.8;
}

:where(.pg-page-terms) .tm-keys {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-bottom: 26px;
}

:where(.pg-page-terms) .tm-key {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

:where(.pg-page-terms) .tm-key i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}

:where(.pg-page-terms) .tm-key.k1 i {
    background: #fff4e5;
    color: #f59e0b;
}

:where(.pg-page-terms) .tm-key.k2 i {
    background: #e8f7fe;
    color: #0e8fc0;
}

:where(.pg-page-terms) .tm-key.k3 i {
    background: #eafaf1;
    color: #16a34a;
}

:where(.pg-page-terms) .tm-key b {
    display: block;
    font-size: 15px;
    color: #0b1f3a;
    margin-bottom: 3px;
}

:where(.pg-page-terms) .tm-key span {
    font-size: 13px;
    color: #5b6b82;
    line-height: 1.7;
}

:where(.pg-page-terms) .tm-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

:where(.pg-page-terms) .tm-toc {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 18px;
    padding: 16px;
}

body#outside :where(.pg-page-terms) .tm-toc {
    position: sticky;
    top: 120px;
}

:where(.pg-page-terms) .tm-toc h3 {
    font-size: 14px;
    font-weight: 800;
    color: #8a94a6;
    margin: 4px 6px 10px;
}

:where(.pg-page-terms) .tm-toc a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    color: #0b1f3a;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
}

:where(.pg-page-terms) .tm-toc a span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #5b6b82;
    flex-shrink: 0;
}

:where(.pg-page-terms) .tm-toc a:hover {
    background: #f6f9fc;
}

:where(.pg-page-terms) .tm-sec {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 20px;
    padding: 26px 28px;
    margin-bottom: 16px;
    scroll-margin-top: 120px;
}

:where(.pg-page-terms) .tm-sec h2 {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #0b1f3a;
    margin: 0 0 16px;
}

:where(.pg-page-terms) .tm-sec h2 i {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(var(--theme-primary-rgb,34,200,254),.12);
    color: var(--theme-primary-dark,#0e8fc0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

:where(.pg-page-terms) .tm-sec ol {
    list-style: none;
    counter-reset: t;
    margin: 0;
    padding: 0;
}

:where(.pg-page-terms) .tm-sec li {
    counter-increment: t;
    position: relative;
    padding-block: 12px;
    padding-inline-start: 44px;
    padding-inline-end: 0;
    color: #3d4b5f;
    font-size: 15px;
    line-height: 1.95;
    border-top: 1px dashed #eef1f6;
}

:where(.pg-page-terms) .tm-sec li:first-child {
    border-top: 0;
}

:where(.pg-page-terms) .tm-sec li::before {
    content: counter(t);
    position: absolute;
    inset-inline-start: 0;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #f1f5f9;
    color: #0b1f3a;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-page-terms) .tm-sec li.warn {
    background: #fff8ed;
    border-radius: 12px;
    border-top: 0;
    margin: 6px 0;
    padding-inline-end: 12px;
}

:where(.pg-page-terms) .tm-sec li.warn::before {
    background: #f59e0b;
    color: #fff;
}

body.guest-dark :where(.pg-page-terms) .tm-key,
body.guest-dark :where(.pg-page-terms) .tm-toc,
body.guest-dark :where(.pg-page-terms) .tm-sec,
body.dark :where(.pg-page-terms) .tm-key,
body.dark :where(.pg-page-terms) .tm-toc,
body.dark :where(.pg-page-terms) .tm-sec {
    background: #171b22;
    border-color: #262b35;
}

body.guest-dark :where(.pg-page-terms) .tm-key b,
body.guest-dark :where(.pg-page-terms) .tm-toc a,
body.guest-dark :where(.pg-page-terms) .tm-sec h2,
body.dark :where(.pg-page-terms) .tm-key b,
body.dark :where(.pg-page-terms) .tm-toc a,
body.dark :where(.pg-page-terms) .tm-sec h2 {
    color: #f3f4f6;
}

body.guest-dark :where(.pg-page-terms) .tm-key span,
body.guest-dark :where(.pg-page-terms) .tm-sec li,
body.dark :where(.pg-page-terms) .tm-key span,
body.dark :where(.pg-page-terms) .tm-sec li {
    color: #a7b0bf;
}

body.guest-dark :where(.pg-page-terms) .tm-toc a span,
body.guest-dark :where(.pg-page-terms) .tm-sec li::before,
body.dark :where(.pg-page-terms) .tm-toc a span,
body.dark :where(.pg-page-terms) .tm-sec li::before {
    background: #0f1218;
    color: #e5e7eb;
}

body.guest-dark :where(.pg-page-terms) .tm-toc a:hover,
body.dark :where(.pg-page-terms) .tm-toc a:hover {
    background: #0f1218;
}

body.guest-dark :where(.pg-page-terms) .tm-sec li,
body.dark :where(.pg-page-terms) .tm-sec li {
    border-color: #262b35;
}

body.guest-dark :where(.pg-page-terms) .tm-sec li.warn,
body.dark :where(.pg-page-terms) .tm-sec li.warn {
    background: rgba(245,158,11,.1);
}

body.guest-dark :where(.pg-page-terms) .tm-sec li.warn::before,
body.dark :where(.pg-page-terms) .tm-sec li.warn::before {
    background: #f59e0b;
    color: #fff;
}

@media(max-width:991.98px) {
    :where(.pg-page-terms) .tm-grid {
        grid-template-columns: 1fr;
    }

    body#outside :where(.pg-page-terms) .tm-toc {
        position: static;
    }

    :where(.pg-page-terms) .tm-keys {
        grid-template-columns: 1fr;
    }

    :where(.pg-page-terms) .tm-hero {
        flex-direction: column;
        text-align: center;
        padding: 26px 20px;
    }

    :where(.pg-page-terms) .tm-hero h1 {
        font-size: 23px;
    }

    :where(.pg-page-terms) .tm-sec {
        padding: 20px 16px;
    }

    body#outside :where(.pg-page-terms) .tm-wrap {
        padding-top: 110px;
    }
}

/* __________________________________________________________________________
   Blog page (moved from blog.twig) — scoped to .pg-page-blog
   __________________________________________________________________________ */

:where(.pg-page-blog) .bg-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

:where(.pg-page-blog) .bg-hero {
    text-align: center;
    padding: 36px 20px 40px;
    margin-bottom: 34px;
    border-radius: 28px;
    background: radial-gradient(120% 140% at 50% 0%,rgba(34,200,254,.16),rgba(34,200,254,0) 60%);
}

:where(.pg-page-blog) .bg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34,200,254,.12);
    color: #1689d5;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 16px;
}

:where(.pg-page-blog) .bg-hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.35;
}

:where(.pg-page-blog) .bg-hero p {
    color: #64748b;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 24px;
}

:where(.pg-page-blog) .bg-search {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #d5dde8;
    border-radius: 16px;
    padding: 0 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
    transition: .2s;
}

:where(.pg-page-blog) .bg-search:focus-within {
    border-color: #22C8FE;
    box-shadow: 0 0 0 4px rgba(34,200,254,.14);
}

:where(.pg-page-blog) .bg-search i {
    color: #94a3b8;
}

:where(.pg-page-blog) .bg-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    height: 52px;
    padding: 0 12px;
    font-weight: 600;
    color: #0f172a;
}

:where(.pg-page-blog) .bg-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

:where(.pg-page-blog) .bg-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
    border: 1px solid #eef2f6;
    transition: transform .25s,box-shadow .25s;
}

:where(.pg-page-blog) .bg-card[hidden] {
    display: none;
}

:where(.pg-page-blog) .bg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15,23,42,.12);
}

:where(.pg-page-blog) .bg-media {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eef6fb;
}

:where(.pg-page-blog) .bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

:where(.pg-page-blog) .bg-card:hover .bg-media img {
    transform: scale(1.06);
}

:where(.pg-page-blog) .bg-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
}

:where(.pg-page-blog) .bg-pin {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15,23,42,.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
}

:where(.pg-page-blog) .bg-pin i {
    color: #fbbf24;
}

html[dir="ltr"] :where(.pg-page-blog) .bg-pin {
    right: auto;
    left: 14px;
}

:where(.pg-page-blog) .bg-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

:where(.pg-page-blog) .bg-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12.5px;
}

:where(.pg-page-blog) .bg-tag {
    background: rgba(34,200,254,.12);
    color: #1689d5;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}

:where(.pg-page-blog) .bg-read {
    color: #94a3b8;
    font-weight: 600;
}

:where(.pg-page-blog) .bg-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 10px;
}

:where(.pg-page-blog) .bg-title a {
    color: #0f172a;
    text-decoration: none;
}

:where(.pg-page-blog) .bg-title a:hover {
    color: #22C8FE;
}

:where(.pg-page-blog) .bg-ex {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

:where(.pg-page-blog) .bg-ex * {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

:where(.pg-page-blog) .bg-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #22C8FE;
    text-decoration: none;
    font-size: 14.5px;
}

:where(.pg-page-blog) .bg-more i {
    transition: transform .2s;
}

html[dir="rtl"] :where(.pg-page-blog) .bg-more:hover i {
    transform: translateX(-4px);
}

html[dir="ltr"] :where(.pg-page-blog) .bg-more:hover i {
    transform: translateX(4px);
}

:where(.pg-page-blog) .bg-feat {
    grid-column: 1/-1;
    flex-direction: row;
}

:where(.pg-page-blog) .bg-feat .bg-pin {
    display: inline-block;
}

:where(.pg-page-blog) .bg-feat .bg-media {
    flex: 0 0 55%;
    aspect-ratio: auto;
    min-height: 340px;
}

:where(.pg-page-blog) .bg-feat .bg-body {
    padding: 34px 36px;
    justify-content: center;
}

:where(.pg-page-blog) .bg-feat .bg-title {
    font-size: 28px;
}

:where(.pg-page-blog) .bg-feat .bg-ex {
    -webkit-line-clamp: 4;
    font-size: 15.5px;
}

:where(.pg-page-blog) .bg-empty {
    text-align: center;
    color: #94a3b8;
    padding: 40px;
    font-weight: 700;
}

:where(.pg-page-blog) .bg-wrap .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 36px 0 0 !important;
}

:where(.pg-page-blog) .bg-wrap .pagination li a {
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e1e9ef;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
    transition: .2s;
}

:where(.pg-page-blog) .bg-wrap .pagination li a:hover {
    border-color: #22C8FE;
    color: #22C8FE;
}

:where(.pg-page-blog) .bg-wrap .pagination li.active a {
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    color: #fff;
    border-color: transparent;
}

:where(.pg-page-blog) .bg-cta {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 34px;
    border-radius: 24px;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
    color: #fff;
    box-shadow: 0 20px 40px rgba(34,200,254,.25);
}

:where(.pg-page-blog) .bg-cta h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff !important;
}

:where(.pg-page-blog) .bg-cta p {
    margin: 0;
    color: #fff !important;
    opacity: .92;
}

:where(.pg-page-blog) .bg-cta .btn {
    background: #fff !important;
    color: #1689d5 !important;
    border: 0;
    height: 52px;
    padding: 0 26px;
    border-radius: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

body.guest-dark :where(.pg-page-blog) .bg-hero h1,
body.dark :where(.pg-page-blog) .bg-hero h1 {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-blog) .bg-search,
body.dark :where(.pg-page-blog) .bg-search {
    background: #161a22;
    border-color: #2f3542;
}

body.guest-dark :where(.pg-page-blog) .bg-search input,
body.dark :where(.pg-page-blog) .bg-search input {
    color: #e2e8f0;
}

body.guest-dark :where(.pg-page-blog) .bg-card,
body.dark :where(.pg-page-blog) .bg-card {
    background: #161a22;
    border-color: #232937;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

body.guest-dark :where(.pg-page-blog) .bg-title a,
body.dark :where(.pg-page-blog) .bg-title a {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-blog) .bg-ex,
body.dark :where(.pg-page-blog) .bg-ex,
body.guest-dark :where(.pg-page-blog) .bg-hero p,
body.dark :where(.pg-page-blog) .bg-hero p {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-blog) .bg-eyebrow,
body.guest-dark :where(.pg-page-blog) .bg-tag,
body.dark :where(.pg-page-blog) .bg-eyebrow,
body.dark :where(.pg-page-blog) .bg-tag {
    color: #5fd6ff;
}

body.guest-dark :where(.pg-page-blog) .bg-wrap .pagination li a,
body.dark :where(.pg-page-blog) .bg-wrap .pagination li a {
    background: #161a22;
    border-color: #2f3542;
    color: #cbd5e1;
}

@media (max-width:991.98px) {
    :where(.pg-page-blog) .bg-grid {
        grid-template-columns: repeat(2,1fr);
    }

    :where(.pg-page-blog) .bg-feat {
        flex-direction: column;
    }

    :where(.pg-page-blog) .bg-feat .bg-media {
        flex: none;
        min-height: 0;
        aspect-ratio: 16/9;
    }

    :where(.pg-page-blog) .bg-feat .bg-body {
        padding: 22px;
    }

    :where(.pg-page-blog) .bg-feat .bg-title {
        font-size: 22px;
    }

    :where(.pg-page-blog) .bg-hero h1 {
        font-size: 30px;
    }
}

@media (max-width:575.98px) {
    :where(.pg-page-blog) .bg-grid {
        grid-template-columns: 1fr;
    }

    :where(.pg-page-blog) .bg-cta {
        flex-direction: column;
        text-align: center;
    }

    :where(.pg-page-blog) .bg-hero h1 {
        font-size: 25px;
    }
}

/* __________________________________________________________________________
   Blog post page (moved from blogpost.twig) — scoped to .pg-page-blogpost
   __________________________________________________________________________ */

:where(.pg-page-blogpost) .ar-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2000;
    background: transparent;
}

:where(.pg-page-blogpost) .ar-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,#22C8FE,#1689d5);
    transition: width .1s;
}

:where(.pg-page-blogpost) .ar-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 10px 0 50px;
}

:where(.pg-page-blogpost) .ar-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 22px;
}

:where(.pg-page-blogpost) .ar-crumbs a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

:where(.pg-page-blogpost) .ar-crumbs a:hover {
    color: #22C8FE;
}

:where(.pg-page-blogpost) .ar-crumbs i {
    font-size: 9px;
}

:where(.pg-page-blogpost) .ar-crumbs span {
    color: #0f172a;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
}

:where(.pg-page-blogpost) .ar-head {
    margin-bottom: 26px;
}

:where(.pg-page-blogpost) .ar-tag {
    display: inline-block;
    background: rgba(34,200,254,.12);
    color: #1689d5;
    font-weight: 800;
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

:where(.pg-page-blogpost) .ar-head h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 18px;
}

:where(.pg-page-blogpost) .ar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    flex-wrap: wrap;
}

:where(.pg-page-blogpost) .ar-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

:where(.pg-page-blogpost) .ar-author b {
    color: #0f172a;
}

:where(.pg-page-blogpost) .ar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

:where(.pg-page-blogpost) .ar-av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
}

:where(.pg-page-blogpost) .ar-cover {
    margin: 0 0 34px;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/8;
    background: #eef6fb;
    box-shadow: 0 20px 50px rgba(15,23,42,.1);
}

:where(.pg-page-blogpost) .ar-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:where(.pg-page-blogpost) .ar-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
}

:where(.pg-page-blogpost) .ar-body {
    font-size: 17.5px;
    line-height: 2.05;
    color: #334155;
}

:where(.pg-page-blogpost) .ar-body h2 {
    font-size: 27px;
    font-weight: 800;
    color: #0f172a;
    margin: 38px 0 14px;
    line-height: 1.5;
}

:where(.pg-page-blogpost) .ar-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 30px 0 12px;
}

:where(.pg-page-blogpost) .ar-body p {
    margin: 0 0 18px;
}

:where(.pg-page-blogpost) .ar-body a {
    color: #1689d5;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

:where(.pg-page-blogpost) .ar-body ul,
:where(.pg-page-blogpost) .ar-body ol {
    margin: 0 0 20px;
    padding-inline-start: 22px;
}

:where(.pg-page-blogpost) .ar-body li {
    margin-bottom: 8px;
}

:where(.pg-page-blogpost) .ar-body li::marker {
    color: #22C8FE;
}

:where(.pg-page-blogpost) .ar-body img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 14px 0;
}

:where(.pg-page-blogpost) .ar-body blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-inline-start: 4px solid #22C8FE;
    background: rgba(34,200,254,.07);
    border-radius: 14px;
    color: #0f172a;
    font-weight: 600;
}

:where(.pg-page-blogpost) .ar-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 36px 0 0;
    padding: 20px 0;
    border-top: 1px solid #e5ebf1;
    border-bottom: 1px solid #e5ebf1;
}

:where(.pg-page-blogpost) .ar-share span {
    font-weight: 800;
    color: #0f172a;
    margin-inline-end: 6px;
}

:where(.pg-page-blogpost) .ar-share a,
:where(.pg-page-blogpost) .ar-share button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e9ef;
    background: #fff;
    color: #475569;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}

:where(.pg-page-blogpost) .ar-share .s-wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

:where(.pg-page-blogpost) .ar-share .s-x:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

:where(.pg-page-blogpost) .ar-share .s-fb:hover {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

:where(.pg-page-blogpost) .ar-share .s-tg:hover {
    background: #229ED9;
    color: #fff;
    border-color: #229ED9;
}

:where(.pg-page-blogpost) .ar-share .s-cp:hover,
:where(.pg-page-blogpost) .ar-share .s-cp.ok {
    background: #22C8FE;
    color: #fff;
    border-color: #22C8FE;
}

:where(.pg-page-blogpost) .ar-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    padding: 26px 28px;
    border-radius: 22px;
    background: linear-gradient(135deg,rgba(34,200,254,.12),rgba(22,137,213,.06));
    border: 1px solid rgba(34,200,254,.25);
}

:where(.pg-page-blogpost) .ar-cta-ico {
    flex: 0 0 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg,#22C8FE,#1689d5);
}

:where(.pg-page-blogpost) .ar-cta > div:nth-child(2) {
    flex: 1;
}

:where(.pg-page-blogpost) .ar-cta h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

:where(.pg-page-blogpost) .ar-cta p {
    margin: 0;
    color: #64748b;
    font-size: 14.5px;
}

:where(.pg-page-blogpost) .ar-cta .btn {
    height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

:where(.pg-page-blogpost) .ar-back {
    margin-top: 26px;
    text-align: center;
}

:where(.pg-page-blogpost) .ar-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 800;
    text-decoration: none;
}

:where(.pg-page-blogpost) .ar-back a:hover {
    color: #22C8FE;
}

body.guest-dark :where(.pg-page-blogpost) .ar-head h1,
body.guest-dark :where(.pg-page-blogpost) .ar-body h2,
body.guest-dark :where(.pg-page-blogpost) .ar-body h3,
body.guest-dark :where(.pg-page-blogpost) .ar-author b,
body.guest-dark :where(.pg-page-blogpost) .ar-crumbs span,
body.guest-dark :where(.pg-page-blogpost) .ar-share span,
body.guest-dark :where(.pg-page-blogpost) .ar-cta h3,
body.dark :where(.pg-page-blogpost) .ar-head h1,
body.dark :where(.pg-page-blogpost) .ar-body h2,
body.dark :where(.pg-page-blogpost) .ar-body h3,
body.dark :where(.pg-page-blogpost) .ar-author b,
body.dark :where(.pg-page-blogpost) .ar-crumbs span,
body.dark :where(.pg-page-blogpost) .ar-share span,
body.dark :where(.pg-page-blogpost) .ar-cta h3 {
    color: #f1f5f9;
}

body.guest-dark :where(.pg-page-blogpost) .ar-body,
body.dark :where(.pg-page-blogpost) .ar-body,
body.guest-dark :where(.pg-page-blogpost) .ar-body p,
body.dark :where(.pg-page-blogpost) .ar-body p {
    color: #cbd5e1;
}

body.guest-dark :where(.pg-page-blogpost) .ar-body blockquote,
body.dark :where(.pg-page-blogpost) .ar-body blockquote {
    color: #e2e8f0;
}

body.guest-dark :where(.pg-page-blogpost) .ar-cta p,
body.dark :where(.pg-page-blogpost) .ar-cta p {
    color: #94a3b8;
}

body.guest-dark :where(.pg-page-blogpost) .ar-share,
body.dark :where(.pg-page-blogpost) .ar-share {
    border-color: #232937;
}

body.guest-dark :where(.pg-page-blogpost) .ar-share a,
body.guest-dark :where(.pg-page-blogpost) .ar-share button,
body.dark :where(.pg-page-blogpost) .ar-share a,
body.dark :where(.pg-page-blogpost) .ar-share button {
    background: #161a22;
    border-color: #2f3542;
    color: #cbd5e1;
}

@media (max-width:767.98px) {
    :where(.pg-page-blogpost) .ar-head h1 {
        font-size: 28px;
    }

    :where(.pg-page-blogpost) .ar-body {
        font-size: 16.5px;
    }

    :where(.pg-page-blogpost) .ar-cta {
        flex-direction: column;
        text-align: center;
    }

    :where(.pg-page-blogpost) .ar-cover {
        aspect-ratio: 16/10;
        border-radius: 18px;
    }
}

:where(.pg-page-blogpost) .ar-share a.s-x {
    font-size: 17px;
    font-weight: 700;
}

html[dir="ltr"] :where(.pg-page-blogpost) .ar-crumbs i {
    transform: none;
}

body.guest-dark :where(.pg-page-blogpost) .ar-tag,
body.dark :where(.pg-page-blogpost) .ar-tag {
    color: #5fd6ff;
    background: rgba(34,200,254,.14);
}

/* __________________________________________________________________________
   Layout (moved from layout.twig <body>, before page content)
   __________________________________________________________________________ */

/* ---- from layout.twig (Arabic only) ---- */
@media (max-width: 1400px) {
    :where(html[lang="ar"]) .header-right-menu {
        padding: 10px;
        position: fixed;
        z-index: 1010;
        top: 20px;
        left: 0px;
        max-width: 100px;
        width: 100%;
        background-color: #fff;
        border-radius: 40px;
        -webkit-transition: .14s ease;
        transition: .14s ease;
        right: inherit;
    }
}

/* ---- from layout.twig (logged-in pages only) ---- */
/* Dark/light icon visibility — defined locally so there is no flash
       while waiting for the external stylesheet to load.
       .d-dark  = moon icon, visible in light mode (click = go dark)
       .d-light = sun  icon, visible in dark  mode (click = go light) */
:where(body:not(#outside)) i.d-dark {
    display: inline-flex;
}

:where(body:not(#outside)) i.d-light {
    display: none;
}

body.dark:where(:not(#outside)) i.d-dark {
    display: none;
}

body.dark:where(:not(#outside)) i.d-light {
    display: inline-flex;
}

/* ═══════════════════════════════════
       SIDEBAR — PROFESSIONAL REDESIGN
    ═══════════════════════════════════ */
:root:where(:has(> body:not(#outside))) {
    --sc-w: 262px;
    --sc-bg: #ffffff;
    --sc-border: #eef1f6;
    --sc-text: #374151;
    --sc-muted: #9ca3af;
    --sc-hover: #f8fafd;
    --sc-active-bg: rgba(var(--theme-primary-rgb,34,188,244),.1);
    --sc-active-color: var(--theme-primary,#22bcf4);
    --sc-label: #b5bcc8;
    --sc-shadow: 2px 0 20px rgba(0,0,0,.07);
}

body.dark:where(:not(#outside)) {
    /* Sidebar / topnav tokens — exact original seoclevers dark palette */
    --sc-bg: #161b22;
    --sc-border: #30363d;
    --sc-text: #e6edf3;
    --sc-muted: #8b949e;
    --sc-hover: #111620;
    --sc-active-bg: rgba(var(--theme-primary-rgb,34,188,244),.14);
    --sc-label: #9ca3af;
    --sc-shadow: 2px 0 20px rgba(0,0,0,.55);
    /* Page-content tokens — exact original seoclevers dark palette */
    --body-bg: #0d1117;
    --card-bg: #161b22;
    --body-color: #e6edf3;
    --border-color: #30363d;
    --muted-color: #8b949e;
}

/* ── Layout shell ── */
:where(body:not(#outside)) .sc-sidebar {
    position: fixed;
    top: 0;
    width: var(--sc-w);
    height: 100vh;
    height: 100dvh;
    background: var(--sc-bg);
    box-shadow: var(--sc-shadow);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    overflow: hidden;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

/* LTR */
:where(body:not(.rtl):not(#outside)) .sc-sidebar {
    left: 0;
    border-right: 1px solid var(--sc-border);
}

/* RTL */
:where(body.rtl:not(#outside)) .sc-sidebar {
    right: 0;
    border-left: 1px solid var(--sc-border);
}

:where(body:not(#outside)) .sc-body {
    min-height: 100vh;
    transition: margin .28s cubic-bezier(.4,0,.2,1);
    background: var(--body-bg, #f4f6fb);
}

/* LTR */
:where(body:not(.rtl):not(#outside)) .sc-body {
    margin-left: var(--sc-w);
}

/* RTL */
:where(body.rtl:not(#outside)) .sc-body {
    margin-right: var(--sc-w);
}

/* ── Logo bar ── */
:where(body:not(#outside)) .sc-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid var(--sc-border);
    flex-shrink: 0;
}

:where(body:not(#outside)) .sc-logo > a {
    display: flex;
    align-items: center;
}

:where(body:not(#outside)) .sc-logo img {
    height: 32px;
}

:where(body:not(#outside)) .sc-logo-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--sc-text);
    font-size: 16px;
    cursor: pointer;
    transition: background .15s;
}

:where(body:not(#outside)) .sc-logo-toggle:hover {
    background: var(--sc-hover);
}

:where(body:not(#outside)) .sc-logo-toggle:focus-visible {
    outline: 2px solid var(--theme-primary,#22bcf4);
    outline-offset: 2px;
}

:where(body:not(#outside)) .sc-logo-close {
    display: none;
    background: none;
    border: none;
    color: var(--sc-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    line-height: 1;
    transition: background .15s;
    margin-inline-start: auto;
}

:where(body:not(#outside)) .sc-logo-close:hover {
    background: var(--sc-hover);
    color: var(--sc-text);
}

/* ── User card ── */
:where(body:not(#outside)) .sc-user {
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--sc-border);
    flex-shrink: 0;
}

:where(body:not(#outside)) .sc-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 11px;
}

:where(body:not(#outside)) .sc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2.5px solid var(--theme-primary, #22bcf4);
}

:where(body:not(#outside)) .sc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:where(body:not(#outside)) .sc-uname {
    font-weight: 700;
    font-size: 14px;
    color: var(--sc-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

:where(body:not(#outside)) .sc-balance-line {
    font-size: 12px;
    color: var(--sc-muted);
}

:where(body:not(#outside)) .sc-balance-line .h-balance {
    font-weight: 700;
    color: var(--theme-primary, #22bcf4);
}

/* Level badge */
:where(body:not(#outside)) .sc-level {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 9px;
}

/* Level progress */
:where(body:not(#outside)) .pg-prog {
    margin-top: 2px;
}

:where(body:not(#outside)) .pg-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--sc-text);
    opacity: .85;
}

:where(body:not(#outside)) .pg-bar {
    height: 6px;
    border-radius: 50px;
    background: rgba(var(--theme-primary-rgb, 34,200,254), .15);
    overflow: hidden;
}

:where(body:not(#outside)) .pg-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--theme-primary, #22C8FE), var(--theme-primary-dark, #0ea5e9));
}

:where(body:not(#outside)) .pg-txt {
    font-size: 11px;
    margin-top: 5px;
    color: var(--sc-muted, inherit);
}

/* Mobile top bar: unified pill (dark mode, language/currency, account) */
:where(body:not(#outside)) .sc-topbar-right .sc-pill {
    display: flex;
    align-items: center;
    height: 43px;
    padding: 0 7.5px 0 5.7px;
    border-radius: 50px;
    background: #eef1f6;
    border: .8px solid #e6edf3;
    gap: 9px;
}

html[dir="ltr"] :where(body:not(#outside)) .sc-topbar-right .sc-pill {
    padding: 0 5.7px 0 7.5px;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .dropdown {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    margin: 0 !important;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .dropdown .sc-tb-lang {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 28px !important;
    gap: 9px !important;
    background: transparent !important;
    border: 0 !important;
    align-items: center !important;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .hrm-flag-icon {
    width: 28px !important;
    height: 28px !important;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .sc-cur-badge {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    font-size: 13px !important;
    font-weight: 800;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill > .sc-topbar-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(15,23,42,.08);
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill > .sc-topbar-btn i {
    font-size: 13px;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill-div {
    width: 1px;
    height: 18px;
    background: #d5dde8;
    flex: 0 0 1px;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .dropdown .sc-topbar-btn:not(.sc-tb-lang) {
    width: 30px !important;
    height: 30px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: none !important;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .sc-tn-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    box-shadow: 0 0 0 2px #fff,0 0 0 3.5px var(--theme-primary,#22C8FE) !important;
}

:where(body:not(#outside)) .sc-topbar-right .sc-pill .dropdown-toggle::after {
    display: none !important;
}

body:where(:not(#outside)) .sc-topbar .sc-topbar-brand img.logo-light,
body:where(:not(#outside)) .sc-topbar .sc-topbar-brand img.logo-dark {
    width: 34px !important;
    height: 34px !important;
    max-width: none !important;
    max-height: none !important;
}

/* Mobile tap targets: wider gaps + invisible 44px hit areas around top bar buttons */
@media (max-width:575.98px) {
    body:where(:not(#outside)) .sc-topbar-right .sc-pill {
        gap: 15px !important;
    }

    body:where(:not(#outside)) .sc-topbar-right .sc-pill .dropdown .sc-tb-lang {
        gap: 15px !important;
    }

    body:where(:not(#outside)) .sc-topbar-right .sc-pill > .sc-topbar-btn,
    body:where(:not(#outside)) .sc-topbar-right .sc-pill .dropdown .sc-topbar-btn {
        position: relative;
        overflow: visible !important;
    }

    body:where(:not(#outside)) .sc-topbar-right .sc-pill > .sc-topbar-btn::before,
    body:where(:not(#outside)) .sc-topbar-right .sc-pill .dropdown .sc-topbar-btn:not(.sc-tb-lang)::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 42px;
        height: 44px;
        transform: translate(-50%,-50%);
        border-radius: 12px;
    }

    body:where(:not(#outside)) .sc-topbar-right .sc-pill .sc-tb-lang {
        position: relative;
    }

    body:where(:not(#outside)) .sc-topbar-right .sc-pill .sc-tb-lang::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -7px;
        right: -7px;
        height: 44px;
        transform: translateY(-50%);
        border-radius: 12px;
    }

    body:where(:not(#outside)) .sc-topbar-brand > .sc-topbar-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile readability: minimum font sizes (12px; section titles 11.5px) */
@media (max-width:575.98px) {
    body:where(:not(#outside)) .mnc-item .mnc-item-text {
        font-size: 12.5px !important;
    }

    body:where(:not(#outside)) .hc-charge-extra .hc-charge-badge {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .hc-charge-extra .hc-charge-old {
        font-size: 12.5px !important;
    }

    body:where(:not(#outside)) .pg-prog .pg-txt {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .pg-lbl > span {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .sc-level > span {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .sc-nav .sc-section {
        font-size: 11.5px !important;
    }

    body:where(:not(#outside)) .disc-badge {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .help-block.min-max {
        font-size: 12px !important;
    }

    body:where(:not(#outside)) .dropdown-menu .sc-dd-section {
        font-size: 11.5px !important;
    }
}

body.dark:where(:not(#outside)) .sc-topbar-right .sc-pill {
    background: #1f2430;
    border-color: #2f3542;
}

body.dark:where(:not(#outside)) .sc-topbar-right .sc-pill > .sc-topbar-btn {
    background: #161a22 !important;
}

body.dark:where(:not(#outside)) .sc-topbar-right .sc-pill-div {
    background: #3a4252;
}

body.dark:where(:not(#outside)) .sc-topbar-right .sc-pill .sc-tn-avatar {
    box-shadow: 0 0 0 2px #1f2430,0 0 0 3.5px var(--theme-primary,#22C8FE) !important;
}

:where(body:not(#outside)) .pg-top .pg-txt {
    color: var(--theme-primary, #22C8FE) !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

:where(body:not(#outside)) .pg-cup {
    color: var(--theme-primary, #22C8FE);
    filter: drop-shadow(0 2px 4px rgba(var(--theme-primary-rgb, 34,200,254),.4));
    animation: pgcup 2.4s ease-in-out infinite;
}

@keyframes pgcup {
    0%,100% {
        transform: rotate(0);
    }
    10% {
        transform: rotate(-12deg);
    }
    20% {
        transform: rotate(10deg);
    }
    30% {
        transform: rotate(0);
    }
}

:where(body:not(#outside)) .pg-no {
    margin-top: 12px;
}

:where(body:not(#outside)) .pg-no .pg-bar {
    height: 18px;
    position: relative;
}

:where(body:not(#outside)) .pg-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #0b1f3a;
    text-shadow: 0 0 3px rgba(255,255,255,.9);
    letter-spacing: .3px;
}

body.dark:where(:not(#outside)) .pg-num {
    color: #f3f4f6;
    text-shadow: 0 0 3px rgba(0,0,0,.7);
}

:where(body:not(#outside)) .pg-lbl b {
    font-weight: 800;
    color: var(--theme-primary, #22C8FE);
}

:where(body:not(#outside)) .disc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--theme-primary-dark, #0e8fc0);
    background: rgba(var(--theme-primary-rgb, 34,200,254), .12);
    border: 1px solid rgba(var(--theme-primary-rgb, 34,200,254), .35);
}

:where(body:not(#outside)) .disc-badge i {
    font-size: 11px;
}

body.dark:where(:not(#outside)) .disc-badge {
    color: var(--theme-primary, #22C8FE);
    background: rgba(var(--theme-primary-rgb, 34,200,254), .15);
}

:where(body:not(#outside)) .disc-badge.disc-none {
    color: #8a94a6;
    background: rgba(138,148,166,.12);
    border-color: rgba(138,148,166,.3);
}

body.dark:where(:not(#outside)) .disc-badge.disc-none {
    color: #9ca3af;
}

:where(body:not(#outside)) .pg-no .pg-lbl,
:where(body:not(#outside)) .pg-no .pg-txt {
    font-size: 12px;
    color: inherit;
}

/* ── Nav ── */
:where(body:not(#outside)) .sc-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--sc-border) transparent;
}

:where(body:not(#outside)) .sc-nav::-webkit-scrollbar {
    width: 3px;
}

:where(body:not(#outside)) .sc-nav::-webkit-scrollbar-thumb {
    background: var(--sc-border);
    border-radius: 4px;
}

:where(body:not(#outside)) .sc-section {
    padding: 10px 20px 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--sc-label);
}

:where(body:not(#outside)) .sc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    color: var(--sc-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .15s, color .15s;
    cursor: pointer;
    position: relative;
}

:where(body:not(#outside)) .sc-item:hover {
    background: var(--sc-hover);
    color: var(--sc-active-color);
    text-decoration: none;
}

:where(body:not(#outside)) .sc-item.active {
    background: var(--sc-active-bg);
    color: var(--sc-active-color);
    font-weight: 600;
}

:where(body:not(#outside)) .sc-item.active::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--theme-primary,#22bcf4);
}

/* LTR */
:where(body:not(.rtl):not(#outside)) .sc-item.active::before {
    left: 0;
    border-radius: 0 3px 3px 0;
}

/* RTL */
:where(body.rtl:not(#outside)) .sc-item.active::before {
    right: 0;
    border-radius: 3px 0 0 3px;
}

:where(body:not(#outside)) .sc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--sc-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background .15s;
    color: var(--sc-muted);
}

:where(body:not(#outside)) .sc-item:hover .sc-icon,
:where(body:not(#outside)) .sc-item.active .sc-icon {
    background: rgba(var(--theme-primary-rgb,34,188,244),.14);
    color: var(--theme-primary,#22bcf4);
}

:where(body:not(#outside)) .sc-item-text {
    flex: 1;
}

:where(body:not(#outside)) .sc-badge {
    background: var(--theme-primary,#22bcf4);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

:where(body:not(#outside)) .sc-sep {
    height: 1px;
    background: var(--sc-border);
    margin: 6px 16px;
}

/* ── Sidebar footer ── */
:where(body:not(#outside)) .sc-foot {
    border-top: 1px solid var(--sc-border);
    padding: 6px 0;
    flex-shrink: 0;
}

/* Dark mode toggle row */
:where(body:not(#outside)) .sc-dark-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}

:where(body:not(#outside)) .sc-dark-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--sc-text);
}

:where(body:not(#outside)) .sc-dark-label .sc-icon {
    font-size: 14px;
}

/* div-based toggle (no checkbox, no double-fire) */
:where(body:not(#outside)) .sc-switch {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50px;
    overflow: visible;
}

:where(body:not(#outside)) .sc-slider {
    position: absolute;
    inset: 0;
    background: var(--sc-border);
    border-radius: 50px;
    transition: background .2s;
}

:where(body:not(#outside)) .sc-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

:where(body:not(#outside)) .sc-switch.sc-switch-on .sc-slider {
    background: var(--theme-primary,#22bcf4);
}

:where(body:not(#outside)) .sc-switch.sc-switch-on .sc-slider::before {
    transform: translateX(18px);
}

/* Merged dropdown */
:where(body:not(#outside)) .sc-merged-dd {
    min-width: 210px;
    padding: 6px 0;
}

:where(body:not(#outside)) .sc-dd-section {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sc-sub-text, #a0aab4);
    padding: 6px 14px 2px;
    pointer-events: none;
}

:where(body:not(#outside)) .sc-merged-dd .dropdown-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 6px 14px;
}

:where(body:not(#outside)) .sc-merged-dd .dropdown-item.sc-dd-active {
    color: var(--theme-primary,#22bcf4);
    font-weight: 600;
}

:where(body:not(#outside)) .sc-dd-check {
    margin-left: auto;
    font-size: 11px;
    color: var(--theme-primary,#22bcf4);
}

:where(body:not(#outside)) .sc-cur-symbol {
    width: 22px;
    display: inline-block;
    font-weight: 600;
    color: var(--theme-primary,#22bcf4);
}

:where(body:not(#outside)) .sc-cur-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: var(--theme-primary,#22bcf4);
    color: #fff;
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Logout */
:where(body:not(#outside)) .sc-item.sc-logout {
    color: #ea5455;
}

:where(body:not(#outside)) .sc-item.sc-logout .sc-icon {
    background: rgba(234,84,85,.1);
    color: #ea5455;
}

:where(body:not(#outside)) .sc-item.sc-logout:hover {
    background: rgba(234,84,85,.06);
}

/* ── Mobile topbar ── */
:where(body:not(#outside)) .sc-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--sc-bg);
    border-bottom: 1px solid var(--sc-border);
    z-index: 1030;
    align-items: center;
    padding: 0 16px;
    gap: 14px;
}

:where(body:not(#outside)) .sc-topbar-btn {
    background: none;
    border: none;
    color: var(--sc-text);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s;
}

:where(body:not(#outside)) .sc-topbar-btn:hover {
    background: var(--sc-hover);
}

:where(body:not(#outside)) .sc-topbar-brand > a img {
    height: 26px;
    width: auto;
}

:where(body:not(#outside)) .sc-topbar-right > .dropdown > .sc-topbar-btn .hrm-flag-icon {
    width: 32px;
    height: 32px;
}

:where(body:not(#outside)) .sc-topbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

:where(body:not(#outside)) .sc-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* LTR */
:where(body:not(.rtl):not(#outside)) .sc-topbar-right {
    margin-left: auto;
}

/* RTL */
:where(body.rtl:not(#outside)) .sc-topbar-right {
    margin-right: auto;
}

/* ── Overlay ── */
:where(body:not(#outside)) .sc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1039;
    backdrop-filter: blur(2px);
}

:where(body:not(#outside)) .sc-overlay.sc-active {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    /* LTR */
    :where(body:not(.rtl):not(#outside)) .sc-sidebar {
        transform: translateX(-100%);
    }

    /* RTL */
    :where(body.rtl:not(#outside)) .sc-sidebar {
        transform: translateX(100%);
    }

    :where(body:not(#outside)) .sc-sidebar.sc-open {
        transform: translateX(0);
    }

    :where(body:not(#outside)) .sc-logo-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :where(body:not(#outside)) .sc-body {
        padding-top: 56px;
    }

    /* LTR */
    :where(body:not(.rtl):not(#outside)) .sc-body {
        margin-left: 0 !important;
    }

    /* RTL */
    :where(body.rtl:not(#outside)) .sc-body {
        margin-right: 0 !important;
    }

    :where(body:not(#outside)) .sc-topbar {
        display: flex;
    }
}

/* ═══ Desktop top nav ═══ */
:where(body:not(#outside)) .sc-topnav {
    position: fixed;
    top: 0;
    height: 56px;
    background: var(--sc-bg);
    border-bottom: 1px solid var(--sc-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 20px;
    z-index: 1029;
    transition: left .28s cubic-bezier(.4,0,.2,1), right .28s cubic-bezier(.4,0,.2,1);
}

/* LTR */
:where(body:not(.rtl):not(#outside)) .sc-topnav {
    left: var(--sc-w);
    right: 0;
}

/* RTL */
:where(body.rtl:not(#outside)) .sc-topnav {
    right: var(--sc-w);
    left: 0;
}

:where(body:not(#outside)) .sc-topnav-brand {
    display: none;
    position: absolute;
    inset-inline-start: 20px;
    align-items: center;
    gap: 8px;
}

:where(body:not(#outside)) .sc-topnav-brand a {
    display: flex;
    align-items: center;
}

:where(body:not(#outside)) .sc-topnav-brand img {
    height: 26px;
}

@media (min-width: 1200px) {
    :where(body:not(#outside)) .sc-logo-toggle {
        display: flex;
    }

    :where(body:not(#outside)) .app.sc-sidebar-collapsed .sc-topnav-brand {
        display: flex;
    }
    /* LTR */
    :where(body:not(.rtl):not(#outside)) .app.sc-sidebar-collapsed .sc-sidebar {
        transform: translateX(-100%);
    }

    /* RTL */
    :where(body.rtl:not(#outside)) .app.sc-sidebar-collapsed .sc-sidebar {
        transform: translateX(100%);
    }
    /* LTR */
    :where(body:not(.rtl):not(#outside)) .app.sc-sidebar-collapsed .sc-body {
        margin-left: 0 !important;
    }

    /* RTL */
    :where(body.rtl:not(#outside)) .app.sc-sidebar-collapsed .sc-body {
        margin-right: 0 !important;
    }

    :where(body:not(#outside)) .app.sc-sidebar-collapsed .sc-topnav {
        left: 0;
        right: 0;
    }
}

@media (max-width: 1199px) {
    :where(body:not(#outside)) .sc-logo-toggle,
    :where(body:not(#outside)) .sc-topnav-brand {
        display: none !important;
    }
}

/* icon buttons */
:where(body:not(#outside)) .sc-tn-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    justify-content: center;
    font-size: 15px;
    color: var(--sc-text);
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    flex-shrink: 0;
}

:where(body:not(#outside)) .sc-tn-btn:hover {
    background: var(--sc-border);
    color: var(--theme-primary,#22bcf4);
}

/* notification dot */
:where(body:not(#outside)) .sc-tn-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ea5455;
    border: 2px solid var(--sc-bg);
}

/* dark mode button — wider to fit toggle switch */
:where(body:not(#outside)) .sc-tn-mode {
    width: auto;
    padding: 0 10px;
    gap: 8px;
    border-radius: 50px;
}

:where(body:not(#outside)) .sc-tn-mode:hover {
    background: var(--sc-border);
}

/* language+currency pill */
:where(body:not(#outside)) .sc-tn-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--sc-border);
    border: none;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sc-text);
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}

:where(body:not(#outside)) .sc-tn-pill:hover {
    background: rgba(var(--theme-primary-rgb,34,188,244),.12);
    color: var(--theme-primary,#22bcf4);
}

:where(body:not(#outside)) .sc-tn-pill::after {
    display: none;
}

/* user button */
:where(body:not(#outside)) .sc-tn-user {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px 10px 4px 4px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--sc-text);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
    visibility: visible !important;
    opacity: 1 !important;
}

:where(body:not(#outside)) .sc-tn-user:hover {
    background: var(--sc-border);
}

:where(body:not(#outside)) .sc-tn-user::after {
    display: none;
}

:where(body:not(#outside)) .sc-tn-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

:where(body:not(#outside)) .sc-tn-uname {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(body:not(#outside)) .sc-tn-caret {
    font-size: 10px;
    color: var(--sc-muted);
}

/* hide on mobile (sc-topbar handles mobile) */
@media (max-width: 991.98px) {
    :where(body:not(#outside)) .sc-topnav {
        display: none;
    }
}

/* remove dropdown caret from custom pills */
:where(body:not(#outside)) .sc-tb-nodrop::after {
    display: none !important;
}

/* ── Override legacy top-nav spacing inside sidebar layout ── */
:where(body:not(#outside)) .sc-body .main {
    padding-top: 72px !important;
    background: transparent !important;
    min-height: unset !important;
    padding-bottom: 30px;
}

:where(body:not(#outside)) .sc-body .page-content {
    padding-top: 10px !important;
}

:where(body:not(#outside)) .sc-body .page-head {
    padding-top: 8px !important;
    padding-bottom: 4px !important;
}

/* mobile: small top spacing for every page (one place instead of per-page overrides) */
@media (max-width: 991.98px) {
    :where(body:not(#outside)) .sc-body .main {
        padding-top: 10px !important;
    }

    :where(body:not(#outside)) .sc-body .page-head {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Full-width: remove Bootstrap auto-centering on container inside sidebar */
:where(body:not(#outside)) .sc-body .container-xxl,
:where(body:not(#outside)) .sc-body .container-xl,
:where(body:not(#outside)) .sc-body .container-lg,
:where(body:not(#outside)) .sc-body .container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* ── Shared toolbar — used by orders, dripfeed, subscriptions, refill, refunds ── */
:where(body:not(#outside)) .orders-toolbar {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 20px;
}

:where(body:not(#outside)) .orders-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:where(body:not(#outside)) .orders-filter-tabs .filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--body-color, #6c757d);
    background: var(--body-bg, #f4f6fb);
    border: 2px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}

:where(body:not(#outside)) .orders-filter-tabs .filter-tab:hover {
    border-color: var(--theme-primary, #22bcf4);
    color: var(--theme-primary, #22bcf4);
    background: rgba(var(--theme-primary-rgb,34,188,244),.07);
}

:where(body:not(#outside)) .orders-filter-tabs .filter-tab.active {
    background: var(--theme-primary, #22bcf4);
    color: #fff;
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb,34,188,244),.3);
}

:where(body:not(#outside)) .orders-filter-tabs .filter-tab i {
    font-size: 13px;
}

:where(body:not(#outside)) .orders-search-wrap {
    position: relative;
}

:where(body:not(#outside)) .orders-search-wrap .search-icon,
:where(body:not(#outside)) .orders-search-wrap .orders-search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    color: var(--theme-primary, #22bcf4);
    font-size: 14px;
    pointer-events: none;
}

:where(body:not(#outside)) .orders-search-wrap input,
:where(body:not(#outside)) .orders-search-wrap .orders-search-input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border: 2px solid var(--border-color, #e8ecf1);
    border-radius: 50px;
    font-size: 14px;
    background: var(--body-bg, #f4f6fb);
    color: var(--body-color, #333);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

:where(body:not(#outside)) .orders-search-wrap input:focus,
:where(body:not(#outside)) .orders-search-wrap .orders-search-input:focus {
    border-color: var(--theme-primary, #22bcf4);
    box-shadow: 0 0 0 4px rgba(var(--theme-primary-rgb,34,188,244),.12);
    background: var(--card-bg, #fff);
}

@media (max-width:575.98px) {
    body:where(:not(#outside)) .sc-nav a.sc-item {
        min-height: 44px !important;
        align-items: center;
    }

    body:where(:not(#outside)) .mobile-navbar-content .mnc-item {
        flex: 1 1 0 !important;
        max-width: none !important;
        justify-content: center;
        min-height: 49px;
    }
}

/* ---- from layout.twig (guest pages only) ---- */
/* Guest pages (before login): center containers and keep content off the edges */
:where(body#outside) .app-body .container-xxl {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

:where(body#outside) .app-body .home-head {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Tablets: the laptop image is hidden below 992px (d-lg-block), so hide its decorative social icons too */
@media (max-width: 991.98px) {
    body#outside:where(#outside) .hh-bg {
        display: none;
    }
}

/* Desktop header buttons: smaller sign in / sign up so the whole menu stays on one line */
@media (min-width: 992px) {
    :where(body#outside) .home-header .btn-login,
    :where(body#outside) .home-header.active .btn-login {
        padding: 12px 22px !important;
        font-size: 15px;
    }

    :where(body#outside) .home-header .btn-primary,
    :where(body#outside) .home-header.active .btn-primary {
        padding: 12px 28px !important;
        font-size: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(var(--theme-primary-rgb), .3);
    }

    :where(body#outside) .home-menu .col-1.d-xl-block,
    :where(body#outside) .home-menu .col-xl-1.d-xl-block {
        display: none !important;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    :where(body#outside) .home-header .login-menu > li {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Small laptops (992-1199px): the full menu does not fit on one line, so use the mobile menu button there too */
@media (min-width: 992px) and (max-width: 1199.98px) {
    :where(body#outside) .home-header .row-100 > .col-lg.d-none.d-lg-block {
        display: none !important;
    }

    :where(body#outside) .home-header .row-100 > .col.d-lg-none {
        display: block !important;
    }
}

/* ---- from layout.twig (guest pages only) ---- */
/* Guest mobile menu */
@media (max-width:1199.98px) {
    :where(body#outside) .menu-formobile {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        bottom: 0;
        width: min(84vw,340px);
        background: #fff;
        z-index: 1060;
        box-shadow: 0 0 40px rgba(11,31,58,.18);
        transition: transform .3s ease,visibility .3s;
        visibility: hidden;
        overflow-y: auto;
        padding: 18px 20px 24px;
    }

    html[dir=rtl] :where(body#outside) .menu-formobile {
        right: 0;
        transform: translateX(100%);
    }

    html:not([dir=rtl]) :where(body#outside) .menu-formobile {
        left: 0;
        transform: translateX(-100%);
    }

    body.mm-open:where(#outside) .menu-formobile {
        transform: none;
        visibility: visible;
    }

    :where(body#outside) .mm-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(11,31,58,.45);
        z-index: 1055;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s,visibility .3s;
    }

    body.mm-open:where(#outside) .mm-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.mm-open:where(#outside) {
        overflow: hidden;
    }

    :where(body#outside) .mm-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 8px;
        border-bottom: 1px solid #eef1f6;
    }

    :where(body#outside) .mm-logo {
        height: 34px;
        width: auto;
    }

    :where(body#outside) .mm-close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 0;
        background: #f1f5f9;
        color: #0b1f3a;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :where(body#outside) .mm-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    :where(body#outside) .mm-content .mm-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 4px;
        border-bottom: 1px solid #eef1f6;
        color: #0b1f3a;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }

    :where(body#outside) .mm-content .mm-link i {
        width: 20px;
        color: var(--theme-primary,#22C8FE);
    }

    :where(body#outside) .mm-lang {
        display: flex;
        gap: 8px;
        margin: 18px 0 6px;
    }

    :where(body#outside) .mm-lang a {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-radius: 12px;
        background: #f1f5f9;
        color: #0b1f3a;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
    }

    :where(body#outside) .mm-lang a.on {
        background: rgba(var(--theme-primary-rgb,34,200,254),.15);
        color: var(--theme-primary-dark,#0e8fc0);
    }

    :where(body#outside) .mm-btns {
        margin-top: auto;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    :where(body#outside) .mm-btns a {
        display: block;
        text-align: center;
        padding: 14px;
        border-radius: 14px;
        font-weight: 800;
        font-size: 15px;
        text-decoration: none;
    }

    :where(body#outside) .mm-btns .mm-in {
        border: 1.5px solid #dfe5ee;
        color: #0b1f3a;
    }

    :where(body#outside) .mm-btns .mm-up {
        background: var(--theme-primary,#22C8FE);
        color: #fff;
        box-shadow: 0 8px 20px rgba(var(--theme-primary-rgb,34,200,254),.35);
    }
}

@media (min-width:1200px) {
    :where(body#outside) .menu-formobile,
    :where(body#outside) .mm-backdrop {
        display: none !important;
    }
}

/* ---- from layout.twig (guest pages only) ---- */
/* Sign in button: keep the login form below the fixed header when scrolled to */
:where(body#outside) .login-form {
    scroll-margin-top: 120px;
}

/* ---- from layout.twig (guest pages only) ---- */
/* ===== Guest dark mode (toggle: .gt-toggle, class body.guest-dark, saved in localStorage guest_theme) ===== */
:where(body#outside) .gt-langcol {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

:where(body#outside) .gt-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e6ebf2;
    background: #fff;
    color: #0b1f3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s,color .2s;
    vertical-align: middle;
}

:where(body#outside) .gt-toggle:hover {
    border-color: var(--theme-primary,#22C8FE);
}

:where(body#outside) .gt-toggle-m {
    margin-inline-end: 8px;
}

body.guest-dark:where(#outside),
body.guest-dark:where(#outside) .app-body,
body.guest-dark:where(#outside) .home-main,
body.guest-dark:where(#outside) .home-head,
body.guest-dark:where(#outside) .home-section {
    background-color: #0f1218 !important;
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .app-body h1,
body.guest-dark:where(#outside) .app-body h2,
body.guest-dark:where(#outside) .app-body h3,
body.guest-dark:where(#outside) .app-body h4,
body.guest-dark:where(#outside) .app-body h5,
body.guest-dark:where(#outside) .app-body h6 {
    color: #f3f4f6;
}

body.guest-dark:where(#outside) .app-body p,
body.guest-dark:where(#outside) .app-body li {
    color: #9ca3af;
}

body.guest-dark:where(#outside) .home-header.active {
    background-color: rgba(15,18,24,.85) !important;
}

body.guest-dark:where(#outside) .home-header .menu-link,
body.guest-dark:where(#outside) .home-header .btn-login {
    color: #e5e7eb !important;
}

body.guest-dark:where(#outside) .btn-language {
    background: #171b22 !important;
    color: #e5e7eb !important;
    border-color: #262b35 !important;
}

body.guest-dark:where(#outside) .dropdown-menu {
    background: #171b22;
    border-color: #262b35;
}

body.guest-dark:where(#outside) .dropdown-item {
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .dropdown-item:hover {
    background: #0f1218;
}

body.guest-dark:where(#outside) .gt-toggle {
    background: #171b22;
    border-color: #2f3542;
    color: #fcd34d;
}

body.guest-dark:where(#outside) .home-header img:not(.flag-icon),
body.guest-dark:where(#outside) .footer img,
body.guest-dark:where(#outside) .mm-logo {
    filter: brightness(0) invert(1);
}

body.guest-dark:where(#outside) .card,
body.guest-dark:where(#outside) .home-section [class*="card"],
body.guest-dark:where(#outside) .hh-top-title,
body.guest-dark:where(#outside) .well,
body.guest-dark:where(#outside) .modal-content {
    background-color: #171b22 !important;
    border-color: #262b35 !important;
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .form-control,
body.guest-dark:where(#outside) .input-group-text,
body.guest-dark:where(#outside) select,
body.guest-dark:where(#outside) textarea {
    background-color: #0f1218 !important;
    border-color: #262b35 !important;
    color: #e5e7eb !important;
}

body.guest-dark:where(#outside) .form-control::placeholder {
    color: #6b7280;
}

body.guest-dark:where(#outside) .login-form .lgn-opts .btn-login {
    background: #0f1218 !important;
    border-color: #2f3542 !important;
    color: #cbd5e1 !important;
}

body.guest-dark:where(#outside) .login-form .lgn-opts .knd-checkbox input:checked ~ .btn-login {
    background: var(--theme-primary,#22C8FE) !important;
    border-color: var(--theme-primary,#22C8FE) !important;
    color: #fff !important;
}

body.guest-dark:where(#outside) .login-form .lgn-opts .knd-checkbox input:checked ~ .btn-login .lgn-lbl,
body.guest-dark:where(#outside) .login-form .lgn-opts .knd-checkbox input:checked ~ .btn-login i {
    color: #fff !important;
}

body.guest-dark:where(#outside) .btn-home:not(.btn-primary) {
    color: #e5e7eb !important;
}

body.guest-dark:where(#outside) .footer {
    background-color: #0b0e13 !important;
    background-image: none !important;
    color: #9ca3af;
}

body.guest-dark:where(#outside) .footer a {
    color: #cbd5e1 !important;
}

body.guest-dark:where(#outside) .menu-formobile {
    background: #171b22 !important;
}

body.guest-dark:where(#outside) .mm-head {
    border-color: #262b35;
}

body.guest-dark:where(#outside) .mm-close {
    background: #0f1218;
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .mm-content .mm-link {
    color: #e5e7eb;
    border-color: #262b35;
}

body.guest-dark:where(#outside) .mm-lang a {
    background: #0f1218;
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .mm-btns .mm-in {
    border-color: #2f3542;
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .menu-toggle {
    color: #e5e7eb;
}

body.guest-dark:where(#outside) .app-body .hs-cta p,
body.guest-dark:where(#outside) .app-body .hs-cta h3 {
    color: #fff !important;
}

body.guest-dark:where(#outside) .hcc-name,
body.guest-dark:where(#outside) .hcc-text,
body.guest-dark:where(#outside) .hcc-footer,
body.guest-dark:where(#outside) .hcc-footer span,
body.guest-dark:where(#outside) .star-point {
    color: #e5e7eb !important;
}

body.guest-dark:where(#outside) .hcc-footer {
    background: rgba(255,255,255,.06) !important;
}

body.guest-dark:where(#outside) .hcc-prev,
body.guest-dark:where(#outside) .hcc-next {
    color: #e5e7eb !important;
    border-color: #3a4150 !important;
    background: transparent;
}

body.guest-dark:where(#outside) .footer div,
body.guest-dark:where(#outside) .footer p,
body.guest-dark:where(#outside) .footer span {
    color: #9ca3af;
}

:where(body#outside) .home-header .row-100 > .col.d-lg-none {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 1199.98px) {
    :where(body#outside) .home-header .menu-toggle {
        padding: 6px 10px !important;
    }

    :where(body#outside) .home-header .gt-toggle-m {
        width: 40px;
        height: 40px;
        margin: 0;
        flex-shrink: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    :where(body#outside) .home-header .row-100 > .col.d-lg-none {
        display: flex !important;
    }
}

/* __________________________________________________________________________
   Layout (moved from layout.twig <body>, after page content)
   __________________________________________________________________________ */

/* ---- from layout.twig (all pages) ---- */
:root {
    --sc-font: "IBM Plex Sans Arabic",-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,sans-serif;
    --sc-pri: var(--theme-primary,#22c8fe);
}

body,
body *:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fad):not([class^="ri-"]):not([class*=" ri-"]):not(pre):not(code) {
    font-family: var(--sc-font) !important;
}

/* Font Awesome 6 names -> FA5 glyphs */
.fa-droplet:before {
    content: "\f043";
}

.fa-rotate-left:before {
    content: "\f2ea";
}

.fa-circle-user:before {
    content: "\f2bd";
}

.fa-circle-check:before {
    content: "\f058";
}

.fa-cart-shopping:before {
    content: "\f07a";
}

.fa-magnifying-glass:before {
    content: "\f002";
}

.fa-house:before {
    content: "\f015";
}

.fa-gear:before {
    content: "\f013";
}

.fa-xmark:before {
    content: "\f00d";
}

.fa-right-from-bracket:before,
.fa-arrow-right-from-bracket:before {
    content: "\f2f5";
}

.fa-circle-info:before {
    content: "\f05a";
}

.fa-circle-exclamation:before {
    content: "\f06a";
}

.fa-circle-question:before {
    content: "\f059";
}

.fa-clock-rotate-left:before {
    content: "\f1da";
}

.fa-arrows-rotate:before {
    content: "\f021";
}

.fa-rotate:before {
    content: "\f2f1";
}

.fa-pen-to-square:before {
    content: "\f044";
}

.fa-trash-can:before {
    content: "\f2ed";
}

.fa-share-nodes:before {
    content: "\f1e0";
}

.fa-bag-shopping:before {
    content: "\f290";
}

.fa-gauge:before {
    content: "\f624";
}

.fa-list-check:before {
    content: "\f0ae";
}

.fa-sack-dollar:before {
    content: "\f81d";
}

.fa-hand-holding-dollar:before {
    content: "\f4c0";
}

.fa-shield-halved:before {
    content: "\f3ed";
}

.fa-user-group:before {
    content: "\f500";
}

.fa-arrow-up-right-from-square:before {
    content: "\f35d";
}

.fa-file-lines:before {
    content: "\f15c";
}

.fa-circle-xmark:before {
    content: "\f057";
}

.fa-headset:before {
    content: "\f590";
}

.fa-ticket:before {
    content: "\f145";
}

.fa-wallet:before {
    content: "\f555";
}

/* Balance show/hide: bigger hit area */
.spass {
    display: inline-block;
    padding: 10px;
    margin: -10px -6px -10px 0;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

/* New order tabs */
#pills-tab.nav-custom {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 0 !important;
    margin-bottom: 16px;
}

#pills-tab .nav-item {
    flex: 1 1 0;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}

#pills-tab .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 12px !important;
    margin: 0 !important;
    border: 1px solid rgba(34,200,254,.30) !important;
    border-radius: 12px !important;
    background: rgba(34,200,254,.07) !important;
    color: #1eaae7 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    white-space: nowrap;
    transition: background .2s,color .2s,box-shadow .2s;
}

#pills-tab .nav-link i {
    margin: 0 !important;
    font-size: 15px;
    color: inherit !important;
}

#pills-tab .nav-link:hover {
    background: rgba(34,200,254,.14) !important;
}

#pills-tab .nav-link.active,
#pills-tab .nav-link[aria-pressed="true"] {
    background: var(--sc-pri) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(34,200,254,.30) !important;
}

#pills-tab #pills-rbyo-tab:not(.active) i {
    color: #f5a524 !important;
}

@media (max-width:576px) {
    #pills-tab.nav-custom {
        flex-wrap: wrap;
    }

    #pills-tab .nav-item {
        flex: 1 1 100%;
    }
}

.top-text .top-title {
    font-size: clamp(15px,1.35vw,19px) !important;
    letter-spacing: -.2px;
    white-space: nowrap;
    line-height: 1.3 !important;
}

.top-text {
    min-width: 0;
}

/* ── mobile drawer: show the full menu without scrolling ── */
@media (max-width: 991.98px) {
    .sc-sidebar .sc-nav .sc-item {
        padding-top: 4px;
        padding-bottom: 4px;
        min-height: 0;
        line-height: 1.2;
    }

    .sc-sidebar .sc-nav .sc-item .sc-icon {
        width: 26px;
        height: 26px;
    }

    .sc-sidebar .sc-section {
        padding-top: 3px;
        padding-bottom: 0;
        line-height: 1.4;
    }

    .sc-sidebar .sc-user {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

/* ---- from layout.twig (all pages) ---- */
@media (max-width:991.98px) {
    body .sc-body {
        padding-bottom: 92px !important;
    }

    body .mobile-navbar {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        height: 66px !important;
        padding: 6px !important;
        border-radius: 24px !important;
        background: rgba(28,28,30,.78) !important;
        backdrop-filter: blur(16px) saturate(170%);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
        border: 1px solid rgba(255,255,255,.09) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 12px 32px rgba(0,0,0,.5) !important;
    }

    body .mobile-navbar-content {
        height: 100% !important;
        gap: 4px;
    }

    body .mnc-item {
        flex: 1 1 0 !important;
        max-width: none !important;
        justify-content: center;
        border-radius: 18px;
        min-height: 54px !important;
        text-decoration: none !important;
        transition: background .25s;
    }

    body .mnc-item-text {
        white-space: nowrap !important;
    }

    body .mnc-item i,
    body .mnc-item-text {
        color: #a3a3aa !important;
        transition: color .25s;
    }

    body .mnc-item.is-active {
        background: rgba(34,200,254,.14) !important;
    }

    body .mnc-item.is-active i,
    body .mnc-item.is-active .mnc-item-text {
        color: #22C8FE !important;
    }

    body .mnc-item.is-active .mnc-item-text {
        font-weight: 600;
    }

    body .mnc-item:active {
        transform: scale(.96);
    }

    body:not(.dark):not(.guest-dark) .mobile-navbar {
        background: rgba(255,255,255,.72) !important;
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        border: 1px solid rgba(255,255,255,.95) !important;
        box-shadow: inset 0 1px 0 #fff,0 0 0 1px rgba(15,40,80,.06),0 12px 30px rgba(15,40,80,.16) !important;
    }

    body:not(.dark):not(.guest-dark) .mnc-item i,
    body:not(.dark):not(.guest-dark) .mnc-item-text {
        color: #5d6472 !important;
    }

    body:not(.dark):not(.guest-dark) .mnc-item.is-active {
        background: rgba(34,200,254,.16) !important;
    }

    body:not(.dark):not(.guest-dark) .mnc-item.is-active i {
        color: #12aeea !important;
    }

    body:not(.dark):not(.guest-dark) .mnc-item.is-active .mnc-item-text {
        color: #0a8cc4 !important;
    }
}
