/* Swaqly custom theme
   This file is self-contained and works with the existing Bootstrap panel. */
:root {
  --swaqly-bg: #07070b;
  --swaqly-surface: #11101a;
  --swaqly-surface-2: #171426;
  --swaqly-border: rgba(167, 139, 250, .22);
  --swaqly-border-strong: rgba(139, 92, 246, .72);
  --swaqly-text: #f8f7ff;
  --swaqly-muted: #a9a4bd;
  --swaqly-violet: #8b5cf6;
  --swaqly-violet-light: #c4b5fd;
  --swaqly-pink: #ec4899;
  --swaqly-glow: rgba(139, 92, 246, .28);
  --swaqly-radius: 14px;
}

html,
body.swaqly-app {
  min-height: 100%;
  background: var(--swaqly-bg);
}

body.swaqly-app {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--swaqly-text);
  font-family: "Tajawal", "Arial", sans-serif;
  background: transparent;
}

body.swaqly-app::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(236, 72, 153, .05) 49%, transparent 50%);
  background-size: 46px 46px, 46px 46px, 180px 180px;
  content: "";
}

body.swaqly-app::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, .13), transparent 28rem),
    radial-gradient(circle at 88% 58%, rgba(236, 72, 153, .08), transparent 25rem),
    linear-gradient(180deg, rgba(7, 7, 11, .82), rgba(7, 7, 11, .96));
  content: "";
}

body.swaqly-app *,
body.swaqly-app *::before,
body.swaqly-app *::after {
  box-sizing: border-box;
}

.swaqly-page-content {
  min-height: calc(100vh - 126px);
  padding: 22px 0 42px;
}

.swaqly-navbar {
  z-index: 50;
  min-height: 62px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
}

.swaqly-navbar .navbar-brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.swaqly-navbar .navbar-brand img {
  max-height: 38px;
  width: auto;
}

.swaqly-navbar .navbar-nav > li > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.swaqly-navbar .navbar-nav > li > a:hover,
.swaqly-navbar .navbar-nav > li.active > a,
.swaqly-navbar .navbar-nav > li.active > a:hover {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-navbar .navbar-icon {
  color: var(--swaqly-violet-light);
}

.swaqly-navbar .badge {
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
  font-weight: 800;
}

.swaqly-navbar .navbar-toggle {
  margin-top: 14px;
  border-color: var(--swaqly-border-strong);
  background: rgba(139, 92, 246, .1);
}

.swaqly-navbar .navbar-toggle .icon-bar {
  background: var(--swaqly-violet-light);
}

.swaqly-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 12px;
}

.swaqly-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-neworder-page {
  width: min(1180px, calc(100% - 30px));
}

.swaqly-neworder-shell {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.5fr);
  align-items: stretch;
  gap: 24px;
}

.swaqly-order-guide,
.swaqly-order-card {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 0 28px var(--swaqly-glow), 0 18px 42px rgba(0, 0, 0, .32);
}

.swaqly-order-guide {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px 22px;
  text-align: right;
}

.swaqly-guide-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  place-items: center;
  border: 5px solid var(--swaqly-pink);
  border-radius: 50%;
  color: var(--swaqly-pink);
  background: #09080d;
  box-shadow: 0 0 0 8px rgba(236, 72, 153, .1), 0 0 28px rgba(236, 72, 153, .3);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.swaqly-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-violet-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swaqly-order-guide h1,
.swaqly-order-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.swaqly-order-guide h1 {
  font-size: 24px;
  text-align: center;
}

.swaqly-order-guide > p {
  margin: 8px 0 20px;
  color: var(--swaqly-muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.swaqly-order-guide ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
  counter-reset: swaqly-guide;
}

.swaqly-order-guide li {
  display: flex;
  gap: 9px;
  color: #e8e4f6;
  font-size: 12px;
  line-height: 1.8;
}

.swaqly-order-guide li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  content: counter(swaqly-guide);
  counter-increment: swaqly-guide;
  font-size: 11px;
  font-weight: 800;
}

.swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 10px;
  background: rgba(139, 92, 246, .1);
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-guide-note strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-order-guide .btn,
.swaqly-order-form > .btn {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 22px rgba(139, 92, 246, .25);
  font-weight: 800;
}

.swaqly-order-main {
  min-width: 0;
}

.swaqly-order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.swaqly-order-heading h2 {
  font-size: 22px;
}

.swaqly-order-heading p {
  margin: 5px 0 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-order-badge {
  padding: 7px 11px;
  border: 1px solid rgba(236, 72, 153, .35);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .1);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.swaqly-order-card {
  min-height: 560px;
  margin: 0;
  padding: 24px;
}

.swaqly-order-form {
  display: grid;
  gap: 14px;
}

.swaqly-order-form .form-group {
  margin: 0;
}

.swaqly-order-form .control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-order-form .form-control,
.swaqly-order-form .select2-container .select2-selection {
  min-height: 44px;
  border: 1px solid rgba(139, 92, 246, .42);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-order-form .form-control {
  padding: 10px 13px;
}

.swaqly-order-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-order-form select.form-control {
  padding-top: 0;
  padding-bottom: 0;
}

.swaqly-order-form #charge {
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .1);
  font-weight: 800;
}

.swaqly-order-form #service_description .panel-body,
.swaqly-order-form .panel-body {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 9px;
  color: var(--swaqly-muted);
  background: rgba(139, 92, 246, .07);
  font-size: 12px;
  line-height: 1.9;
}

.swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-order-form .terms input {
  accent-color: var(--swaqly-violet);
}

.swaqly-order-form .terms a {
  color: var(--swaqly-violet-light);
}

.swaqly-order-form > .btn {
  width: 100%;
  margin-top: 3px;
  padding: 0 20px;
  font-size: 14px;
}

.swaqly-order-form .alert {
  margin: 0;
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 10px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-order-form .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-neworder-text {
  margin-top: 24px;
}

.swaqly-neworder-text .well {
  margin: 0;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .9);
}

@media (max-width: 991px) {
  .swaqly-neworder-shell {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
  }

  .swaqly-order-guide,
  .swaqly-order-card {
    min-height: 0;
  }

  .swaqly-order-guide {
    padding: 24px 17px 18px;
  }

  .swaqly-order-guide li {
    font-size: 11px;
  }

  .swaqly-order-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-page-content {
    padding-top: 16px;
  }

  .swaqly-navbar .navbar-brand,
  .swaqly-navbar .navbar-nav > li > a {
    min-height: 52px;
  }

  .swaqly-navbar .navbar-brand {
    font-size: 17px;
  }

  .swaqly-navbar .navbar-toggle {
    margin-top: 9px;
  }

  .swaqly-neworder-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-neworder-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .swaqly-order-main {
    order: 1;
  }

  .swaqly-order-guide {
    order: 2;
  }

  .swaqly-order-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 11px;
  }

  .swaqly-order-heading h2 {
    font-size: 19px;
  }

  .swaqly-order-heading p {
    font-size: 12px;
  }

  .swaqly-order-card {
    padding: 16px 13px;
  }

  .swaqly-order-form {
    gap: 12px;
  }

  .swaqly-order-guide {
    min-height: 0;
    padding: 24px 16px 18px;
  }

  .swaqly-order-guide h1 {
    font-size: 21px;
  }

  .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared Swaqly surfaces for every remaining panel page. */
.swaqly-page-content > .container {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-page-content > .container > .row {
  margin-inline: 0;
}

.swaqly-services-page {
  padding-top: 8px;
}

.swaqly-services-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 34%), linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
}

.swaqly-services-hero h1 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.swaqly-services-hero p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.swaqly-services-search {
  position: relative;
  width: min(100%, 440px);
}

.swaqly-services-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--swaqly-violet-light);
  transform: translateY(-50%);
}

.swaqly-services-search input {
  width: 100%;
  min-height: 43px;
  padding: 0 41px 0 14px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(7, 7, 12, .72);
}

.swaqly-services-search input:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-services-count {
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-services-count strong {
  color: var(--swaqly-violet-light);
  font-size: 16px;
}

.swaqly-services-card {
  padding: 12px !important;
}

.swaqly-services-table {
  min-width: 840px !important;
}

.swaqly-services-table td,
.swaqly-services-table th {
  vertical-align: middle !important;
}

.swaqly-services-table td small,
.swaqly-service-name {
  display: block;
}

.swaqly-services-table td small {
  max-width: 330px;
  margin-top: 4px;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.7;
}

.swaqly-service-id,
.swaqly-service-rate {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-service-category {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(236, 72, 153, .26);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .08);
  font-size: 11px;
}

.swaqly-services-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 54px 20px;
  color: var(--swaqly-muted);
  text-align: center;
}

.swaqly-services-empty i {
  margin-bottom: 4px;
  color: var(--swaqly-violet-light);
  font-size: 30px;
}

.swaqly-services-empty strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-services-empty span {
  font-size: 12px;
}

@media (max-width: 767px) {
  .swaqly-services-hero,
  .swaqly-services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .swaqly-services-hero {
    padding: 18px 15px;
  }

  .swaqly-services-hero .btn {
    width: 100%;
  }

  .swaqly-services-search {
    width: 100%;
  }
}

.swaqly-page-content .col-md-8,
.swaqly-page-content .col-md-10,
.swaqly-page-content .col-lg-8,
.swaqly-page-content .col-lg-12 {
  float: none;
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 0;
}

.swaqly-page-content .col-md-6 {
  padding-inline: 10px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  margin: 0 0 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .96), rgba(12, 11, 18, .96));
  box-shadow: 0 0 24px rgba(139, 92, 246, .12), 0 16px 36px rgba(0, 0, 0, .25);
}

.swaqly-page-content .well > .well,
.swaqly-page-content .well-float > .well {
  margin-bottom: 14px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  overflow-x: auto;
}

.swaqly-page-content .well h1,
.swaqly-page-content .well h2,
.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  color: #fff;
}

.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  margin-top: 0;
}

.swaqly-page-content .form-group {
  margin-bottom: 17px;
}

.swaqly-page-content .control-label,
.swaqly-page-content label {
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .form-control {
  min-height: 43px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-page-content textarea.form-control {
  min-height: 120px;
  padding-top: 11px;
  resize: vertical;
}

.swaqly-page-content .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-page-content .help-block {
  color: var(--swaqly-muted);
}

.swaqly-page-content .btn {
  min-height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.swaqly-page-content .btn:hover {
  transform: translateY(-1px);
}

.swaqly-page-content .btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 20px rgba(139, 92, 246, .22);
}

.swaqly-page-content .btn-default {
  border-color: var(--swaqly-border);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-page-content .btn-default:hover {
  border-color: var(--swaqly-border-strong);
  color: #fff;
  background: rgba(139, 92, 246, .14);
}

.swaqly-page-content .btn-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fff;
  background: #b4233d;
}

.swaqly-page-content .btn-xs {
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.swaqly-page-content .alert {
  margin-bottom: 17px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: #e9e4ff;
  background: rgba(139, 92, 246, .1);
}

.swaqly-page-content .alert-success {
  border-color: rgba(34, 197, 94, .35);
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-page-content .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-page-content .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.swaqly-page-content .nav-pills > li {
  float: none;
}

.swaqly-page-content .nav-pills > li > a {
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .nav-pills > li.active > a,
.swaqly-page-content .nav-pills > li.active > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
}

.swaqly-orders-page {
  width: min(1240px, calc(100% - 30px)) !important;
}

.swaqly-order-filters {
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  padding: 8px;
  border: 1px solid var(--swaqly-border);
  border-radius: 12px;
  background: rgba(17, 16, 26, .82);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.swaqly-order-filters > li > a {
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 14px !important;
  white-space: nowrap;
}

.swaqly-order-filters .swaqly-order-search {
  flex: 1 1 240px;
  min-width: 210px;
  margin-inline-start: auto;
}

.swaqly-order-search form,
.swaqly-order-search .input-group {
  width: 100%;
  margin: 0;
}

.swaqly-order-search .form-control {
  min-height: 38px;
}

.swaqly-orders-table {
  padding: 12px !important;
}

.swaqly-orders-table .table {
  min-width: 980px;
}

.swaqly-page-content .table-responsive {
  border: 0;
}

.swaqly-page-content .table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  color: #e8e4f6;
  font-size: 12px;
}

.swaqly-page-content .table > thead > tr > th {
  padding: 13px 12px;
  border: 0;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .13);
  font-size: 11px;
  white-space: nowrap;
}

.swaqly-page-content .table > tbody > tr > td {
  padding: 13px 12px;
  border-color: rgba(255, 255, 255, .07);
  vertical-align: middle;
}

.swaqly-page-content .table > tbody > tr:hover {
  background: rgba(139, 92, 246, .06);
}

.swaqly-page-content .table a {
  color: var(--swaqly-violet-light);
}

.swaqly-page-content .table a:hover {
  color: #fff;
}

.swaqly-page-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
}

.swaqly-page-content .pagination > li > a,
.swaqly-page-content .pagination > li > span {
  min-width: 34px;
  border: 1px solid var(--swaqly-border);
  border-radius: 7px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.swaqly-page-content .pagination > .active > a,
.swaqly-page-content .pagination > .active > span {
  border-color: var(--swaqly-violet);
  color: #fff;
  background: var(--swaqly-violet);
}

.swaqly-page-content .input-group .form-control {
  z-index: 1;
}

.swaqly-page-content .input-group-btn .btn {
  min-height: 43px;
}

.swaqly-page-content .modal-content {
  overflow: hidden;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-text);
  background: #11101a;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .6);
}

.swaqly-page-content .modal-header,
.swaqly-page-content .modal-footer {
  border-color: var(--swaqly-border);
}

.swaqly-page-content .modal-header .close {
  color: #fff;
}

.swaqly-page-content .dropdown-menu {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: 9px;
  background: #15121e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

.swaqly-page-content .dropdown-menu > li > a {
  color: var(--swaqly-muted);
}

.swaqly-page-content .dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--swaqly-violet);
}

/* Give the data-heavy pages a readable card grid on desktop and a scrollable
   table on narrow screens without changing their server-side markup. */
.swaqly-authenticated .swaqly-page-content > .container-fluid {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid > .row {
  margin-inline: 0;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .well {
  margin-bottom: 18px;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .table {
  min-width: 900px;
}

@media (max-width: 767px) {
  .swaqly-page-content {
    min-height: calc(100vh - 106px);
    padding: 15px 0 28px;
  }

  .swaqly-page-content > .container,
  .swaqly-authenticated .swaqly-page-content > .container-fluid {
    width: min(100% - 22px, 560px);
  }

  .swaqly-page-content .well,
  .swaqly-page-content .well-float {
    padding: 16px 13px;
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .swaqly-page-content .col-md-6 {
    width: 100%;
    padding-inline: 0;
  }

  .swaqly-page-content .form-control {
    min-height: 42px;
  }

  .swaqly-page-content .table {
    min-width: 650px;
  }

  .swaqly-orders-page {
    width: min(100% - 22px, 560px) !important;
  }

  .swaqly-order-filters {
    align-items: stretch;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 7px;
  }

  .swaqly-order-filters > li > a {
    min-width: 92px;
  }

  .swaqly-order-filters .swaqly-order-search {
    order: -1;
    flex: 0 0 220px;
    min-width: 220px;
  }

  .swaqly-footer {
    padding: 18px 0;
  }
}

/* Imported Swaqly announcement, popup, order-copy and account-level features.
   The cyan variables are intentionally scoped so they do not replace the
   black/violet panel theme above. */
.swaqly-panel-topbar {
  top: 0;
}

.liquid-frame,
#liquidCanvas,
#liquidCanvasOffer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  pointer-events: none;
}

.liquid-frame {
  z-index: 0;
}

.swaqly-popup > :not(.liquid-frame) {
  position: relative;
  z-index: 1;
}

.close-popup,
.minimize-popup {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
}

.close-popup,
.minimize-popup {
  top: 4px;
  padding: 0;
  background: transparent;
  line-height: 1;
}

.close-popup {
  right: 12px;
  color: #ff4d6d;
  font-size: 28px;
}

.minimize-popup {
  right: 50px;
  color: #dffcff;
  font-size: 26px;
}

.swaqly-popup h2 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #8dfbff, #31d7ff, #6ca8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-line {
  margin: 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 238, 255, .35);
  color: #91fbff;
  font-size: 16px;
  font-weight: 700;
}

#popup-home p,
#popup-home h2 {
  margin: 8px 0;
  line-height: 2;
}

#popup-offer p,
#popup-offer h2 {
  margin: 4px 0;
  line-height: 1.6;
}

.swaqly-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.swaqly-buttons a {
  display: flex;
  flex: 1 1 45%;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #000;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .3s ease, filter .3s ease;
}

.swaqly-buttons a:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
  text-decoration: none;
}

.swaqly-buttons a * {
  text-decoration: none !important;
}

.swaqly-buttons a.whatsapp,
.swaqly-buttons a.bot {
  background: linear-gradient(180deg, #36df7b, #1fb95f);
}

.swaqly-buttons a.download-app {
  background: linear-gradient(180deg, #3bc8ff, #1d8dff);
}

.swaqly-buttons a.telegram {
  background: linear-gradient(180deg, #44d8ff, #1d9cf0);
}

.swaqly-buttons a img.icon-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2px;
}

.digit {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #04111f;
  background: linear-gradient(180deg, #90fbff, #31d7ff 55%, #5d8fff);
  box-shadow: 0 0 12px rgba(0, 238, 255, .22);
  font-size: 28px;
  font-weight: 900;
}

.label {
  margin-top: 3px;
  color: #dffcff;
  font-size: 12px;
}

#small-popup-home,
#small-popup-offer {
  display: none;
  position: fixed;
  bottom: 160px;
  left: 20px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#small-popup-offer {
  width: 39px;
  height: 39px;
}

#small-popup-home img,
#small-popup-offer img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0, 238, 255, .2), 0 0 20px rgba(0, 140, 255, .15);
}

.small-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #33dfff, #118dff);
  box-shadow: 0 0 10px rgba(0, 200, 255, .35);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.popup-home-images,
.swaqly-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.popup-home-images img,
.swaqly-icons img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0, 238, 255, .18), 0 0 18px rgba(0, 140, 255, .12);
  transition: transform .3s ease, filter .3s ease;
}

.popup-home-images img:hover,
.swaqly-icons img:hover {
  transform: translateY(-8px) scale(1.12);
  filter: drop-shadow(0 0 12px rgba(0, 238, 255, .35));
}

/* Optional server-rendered blocks from the attached customization. */
#block_330 {
  min-height: 220px !important;
}

#block_330 .container {
  min-height: 220px !important;
  padding: 0 !important;
  background-image: url("https://a.top4top.io/p_38020us8n1.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#block_330 h2,
#block_330 p,
#block_330 img,
#block_330 .text-block__title,
#block_330 .text-block__description {
  display: none !important;
}

#block_332 {
  min-height: 420px !important;
}

#block_332 .container {
  min-height: 420px !important;
  padding-top: 320px !important;
  background-image: url("https://h.top4top.io/p_3803x3qh32.png") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

#block_332 img {
  display: none !important;
}

/* The attached account-card customization works with the platform's
   server-rendered dashboard cards when those blocks are present. */
#block_264 .totals-block__icon-preview {
  position: relative !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 115% 115% !important;
}

#block_264 .totals-block__icon-preview .totals-block__icon {
  visibility: hidden !important;
  opacity: 0 !important;
}

.swaqly-level-card,
.swaqly-discount-card {
  cursor: pointer !important;
}

.swaqly-level-card .totals-block__count-value,
.swaqly-discount-card .totals-block__count-value {
  color: var(--color-id-164, #39eaff) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 28px !important;
}

.swaqly-level-card .swaqly-level-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  direction: rtl !important;
  white-space: nowrap !important;
}

.swaqly-level-fa {
  color: var(--color-id-164, #39eaff) !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

@media (min-width: 769px) {
  #popup-offer {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .swaqly-popup {
    top: 50%;
    width: 92%;
    max-height: none;
    overflow: hidden;
    padding: 15px;
    transform: translate(-50%, -50%);
  }

  .swaqly-popup h2 {
    font-size: 18px;
  }

  .primary-line {
    padding-bottom: 2px;
    font-size: 13px;
  }

  .swaqly-popup p {
    font-size: 14px;
  }

  .swaqly-buttons a {
    gap: 6px;
    padding: 10px 6px;
    font-size: 13px;
  }

  .swaqly-buttons a img.icon-btn {
    width: 22px;
    height: 22px;
  }

  .digit {
    width: 40px;
    height: 45px;
    font-size: 20px;
  }

  .label {
    font-size: 10px;
  }

  .popup-home-images img,
  .swaqly-icons img {
    width: 40px;
    height: 40px;
  }

  #small-popup-home,
  #small-popup-offer {
    width: 40px;
    height: 40px;
  }

  .swaqly-news-bar {
    height: 30px;
    line-height: 30px;
  }

  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }

  .swaqly-news-track {
    font-size: 14px;
    animation-duration: 45s;
  }

  .swaqly-news-track span {
    margin-right: 80px;
  }

  #swaqly-copy-action-bar {
    right: 10px;
    bottom: -180px;
    left: 10px;
    width: calc(100vw - 20px);
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    transform: none;
  }

  #swaqly-copy-action-bar .swaqly-text {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  #swaqly-copy-action-bar .swaqly-copy-btn {
    width: 120px;
    height: 44px;
  }

  #block_330 .container {
    min-height: 180px !important;
    background-image: url("https://k.top4top.io/p_3803tmgkv1.png") !important;
    background-size: 100% auto !important;
  }

  #block_330 {
    min-height: auto !important;
  }

  #block_332 .container {
    min-height: 170px !important;
    padding-top: 0 !important;
    background-image: url("https://g.top4top.io/p_3803li6w91.png") !important;
    background-size: 100% auto !important;
  }

  #block_332 {
    min-height: auto !important;
  }
}

/* Full panel shell: the same dark dashboard language as the live Swaqly app. */
body.swaqly-authenticated {
  overflow-x: hidden;
}

.swaqly-panel-shell {
  min-height: 100vh;
  display: flex;
  direction: rtl;
}

.swaqly-sidebar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  border-left: 1px solid rgba(139, 92, 246, .28);
  background: linear-gradient(180deg, #11101a 0%, #0b0a10 100%);
  box-shadow: -15px 0 42px rgba(0, 0, 0, .24);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .5) transparent;
}

.swaqly-sidebar-brand {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-sidebar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-sidebar-brand img {
  display: block;
  max-width: 148px;
  max-height: 38px;
  object-fit: contain;
}

.swaqly-brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  box-shadow: 0 0 20px rgba(139, 92, 246, .4), inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: "Tajawal", sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.swaqly-brand-mark::before {
  position: absolute;
  width: 50px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  content: "";
  transform: rotate(-38deg);
}

.swaqly-brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  content: "";
}

.swaqly-sidebar-brand strong,
.swaqly-public-brand strong {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-sidebar-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 10px 9px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
}

.swaqly-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--swaqly-pink);
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 72, 153, .18);
  font-size: 16px;
  font-weight: 900;
}

.swaqly-user-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.swaqly-user-copy strong,
.swaqly-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swaqly-user-copy strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-user-copy small {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-user-dot,
.swaqly-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .11), 0 0 12px rgba(34, 197, 94, .45);
}

.swaqly-sidebar-nav {
  display: grid;
  gap: 4px;
}

.swaqly-sidebar-label {
  display: block;
  margin: 8px 9px 5px;
  color: #756d8e;
  font-size: 10px;
  font-weight: 800;
}

.swaqly-sidebar-link {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.swaqly-sidebar-link i {
  width: 18px;
  color: #83789f;
  font-size: 13px;
  text-align: center;
}

.swaqly-sidebar-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, .1);
  text-decoration: none;
}

.swaqly-sidebar-link:hover i,
.swaqly-sidebar-link.active i {
  color: #fff;
}

.swaqly-sidebar-link.active {
  border-color: rgba(139, 92, 246, .4);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, .98), rgba(109, 40, 217, .92));
  box-shadow: 0 8px 22px rgba(109, 40, 217, .25);
}

.swaqly-sidebar-balance {
  margin-top: auto;
  padding: 13px 12px;
  border: 1px solid rgba(236, 72, 153, .28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .06));
}

.swaqly-sidebar-balance span,
.swaqly-sidebar-balance strong {
  display: block;
}

.swaqly-sidebar-balance span {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-sidebar-balance strong {
  margin: 4px 0 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-sidebar-balance a {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-sidebar-balance a:hover {
  color: #fff;
}

.swaqly-panel-main {
  width: calc(100% - 252px);
  min-width: 0;
  min-height: 100vh;
  margin-right: 252px;
  direction: rtl;
}

.swaqly-panel-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
  background: rgba(8, 8, 13, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}

.swaqly-panel-heading,
.swaqly-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swaqly-panel-heading > div {
  display: grid;
  gap: 3px;
}

.swaqly-panel-heading span {
  color: var(--swaqly-violet-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.swaqly-panel-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.swaqly-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.swaqly-currency {
  direction: rtl;
}

.swaqly-currency > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(139, 92, 246, .1);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-currency > a:hover,
.swaqly-currency > a:focus {
  color: #fff;
  text-decoration: none;
}

.swaqly-online-dot {
  display: block;
}

.swaqly-panel-main > .swaqly-page-content {
  min-height: calc(100vh - 125px);
  padding: 24px 26px 34px;
}

.swaqly-panel-main > .swaqly-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 57px;
  padding: 16px 26px;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 11px;
}

.swaqly-panel-main > .swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 900;
}

.swaqly-public-navbar {
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
}

.swaqly-public-navbar .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.swaqly-public-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-public-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-public-brand img {
  max-width: 145px;
  max-height: 37px;
}

.swaqly-public-navbar .navbar-collapse {
  flex: 1;
}

.swaqly-public-navbar .navbar-nav > li > a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-public-navbar .navbar-nav > li > a:hover,
.swaqly-public-navbar .navbar-nav > li.active > a {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-public-toggle {
  display: none;
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 16px;
}

.swaqly-public-hero {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  min-height: 420px;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  align-items: center;
  gap: 58px;
  margin: 18px auto 28px;
  padding: 54px 46px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .18), transparent 15rem),
    linear-gradient(135deg, rgba(27, 22, 40, .98), rgba(9, 8, 14, .98));
  box-shadow: 0 0 44px rgba(139, 92, 246, .16), 0 22px 60px rgba(0, 0, 0, .35);
}

.swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: right;
}

.swaqly-public-hero h1 {
  max-width: 610px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.swaqly-public-hero-copy > p {
  max-width: 550px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 15px;
  line-height: 2;
}

.swaqly-public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.swaqly-public-hero-actions .btn {
  min-width: 132px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.swaqly-public-hero-actions .btn-default {
  border-color: rgba(196, 181, 253, .35);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
  color: #b8b0cf;
  font-size: 11px;
  font-weight: 700;
}

.swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-public-hero-meta i {
  color: var(--swaqly-pink);
}

.swaqly-public-hero-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(196, 181, 253, .32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(139, 92, 246, .27), rgba(17, 16, 26, .9) 58%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  direction: rtl;
}

.swaqly-public-hero-card::before {
  position: absolute;
  top: -45px;
  left: -35px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(236, 72, 153, .22);
  border-radius: 50%;
  content: "";
}

.swaqly-public-card-top,
.swaqly-public-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-public-card-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.swaqly-public-card-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, .6);
}

.swaqly-public-card-balance {
  display: grid;
  gap: 7px;
  padding: 28px 0 22px;
}

.swaqly-public-card-balance span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
}

.swaqly-public-card-balance strong {
  color: #fff;
  font-size: 21px;
}

.swaqly-public-card-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.swaqly-public-card-bars span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
}

.swaqly-public-card-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-card-footer {
  color: #cfc7e4;
}

.swaqly-public-card-footer i {
  margin-left: 4px;
  color: #4ade80;
}

.swaqly-public-card-footer b {
  color: #f9a8d4;
}

.swaqly-public-features {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 28px;
  direction: rtl;
}

.swaqly-public-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--swaqly-border);
  border-radius: 13px;
  background: rgba(17, 16, 26, .84);
}

.swaqly-public-feature > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-feature div {
  display: grid;
  gap: 4px;
}

.swaqly-public-feature strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
}

@media (max-width: 991px) {
  .swaqly-sidebar {
    width: 238px;
  }

  .swaqly-panel-main {
    width: calc(100% - 238px);
    margin-right: 238px;
  }

  .swaqly-panel-topbar,
  .swaqly-panel-main > .swaqly-page-content,
  .swaqly-panel-main > .swaqly-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-sidebar {
    right: -270px;
    width: 258px;
    transition: right .25s ease;
  }

  .swaqly-sidebar-open .swaqly-sidebar {
    right: 0;
  }

  .swaqly-sidebar-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, .66);
  }

  .swaqly-sidebar-open .swaqly-sidebar-overlay {
    display: block;
  }

  .swaqly-panel-main {
    width: 100%;
    margin-right: 0;
  }

  .swaqly-panel-topbar {
    min-height: 62px;
    padding: 0 13px;
  }

  .swaqly-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .swaqly-panel-heading h1 {
    font-size: 15px;
  }

  .swaqly-panel-heading span {
    font-size: 8px;
  }

  .swaqly-panel-actions .swaqly-currency {
    display: none;
  }

  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 114px);
    padding: 16px 11px 28px;
  }

  .swaqly-panel-main > .swaqly-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 13px;
  }

  .swaqly-public-navbar .container {
    min-height: 57px;
    width: calc(100% - 22px);
  }

  .swaqly-public-toggle {
    display: inline-grid;
    width: 35px;
    height: 35px;
    place-items: center;
  }

  .swaqly-public-navbar .navbar-collapse {
    position: absolute;
    z-index: 50;
    top: 57px;
    right: 11px;
    left: 11px;
    padding: 7px;
    border: 1px solid var(--swaqly-border);
    border-radius: 10px;
    background: #11101a;
  }

  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 42px;
    padding: 0 10px;
  }

  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(245px, .9fr);
    gap: 28px;
    padding: 38px 26px;
  }

  .swaqly-public-hero h1 {
    font-size: 33px;
  }
}

@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin-top: 10px;
    padding: 30px 20px;
    border-radius: 16px;
  }

  .swaqly-public-hero h1 {
    font-size: 29px;
  }

  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  .swaqly-public-hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .swaqly-public-hero-card {
    min-height: 230px;
  }

  .swaqly-public-features {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }
}

/* Dashboard bridge for the native Twig shell.
   These selectors mirror the supplied dashboard names so the sidebar,
   topbar, and every server-rendered panel use the same geometry. */
body.swaqly-twig-theme .dashboard-shell {
  display: flex !important;
  min-height: 100vh !important;
  direction: rtl !important;
  background: #050506 !important;
}

body.swaqly-twig-theme .dashboard-sidebar {
  position: relative !important;
  z-index: 60 !important;
  display: flex !important;
  width: 116px !important;
  min-height: 100vh !important;
  flex: 0 0 116px !important;
  flex-direction: column !important;
  padding: 14px 11px !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-left: 1px solid rgba(139, 92, 246, .38) !important;
  background: #0d0d12 !important;
  box-shadow: -18px 0 42px rgba(0, 0, 0, .4), inset -1px 0 0 rgba(139, 92, 246, .16) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 14px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-mark {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border-radius: 9px 9px 9px 3px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, .36) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card {
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(139, 92, 246, .32) !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: #15141c !important;
  text-align: right !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .avatar,
body.swaqly-twig-theme .top-user .avatar {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .6) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .swaqly-user-copy {
  min-width: 0 !important;
  flex: 1 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong,
body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong {
  color: #fff !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  margin-top: 3px !important;
  color: #9892aa !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .swaqly-user-dot {
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 9px rgba(34, 197, 94, .7) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-links {
  display: grid !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-label,
body.swaqly-twig-theme .dashboard-sidebar .swaqly-sidebar-label {
  display: block !important;
  margin: 20px 7px 7px !important;
  color: #777184 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #aaa4b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: .2s ease !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  width: 17px !important;
  color: #9f94bd !important;
  text-align: center !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .3) !important;
  background: rgba(139, 92, 246, .12) !important;
  transform: translateX(-2px) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .38) !important;
  background: linear-gradient(100deg, #7c3aed, #a855f7 60%, #db2777) !important;
  box-shadow: 0 0 22px rgba(139, 92, 246, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card {
  position: relative !important;
  margin-top: auto !important;
  padding: 12px 11px !important;
  border: 1px solid rgba(139, 92, 246, .38) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(236, 72, 153, .06)) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span,
body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  display: block !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span {
  color: #aaa4b8 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  margin: 5px 0 8px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card a {
  color: #c4b5fd !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-main {
  min-width: 0 !important;
  flex: 1 !important;
  background: #08080c !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  position: relative !important;
  z-index: 40 !important;
  display: flex !important;
  min-height: 68px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .22) !important;
  background: #0e0e13 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
}

body.swaqly-twig-theme .dashboard-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child {
  min-width: 0 !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child > span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #a78bfa !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-heading p {
  margin: 3px 0 0 !important;
  color: #898398 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-collapse-toggle,
body.swaqly-twig-theme .dashboard-menu {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 7px !important;
  background: rgba(139, 92, 246, .1) !important;
}

body.swaqly-twig-theme .dashboard-menu {
  display: none !important;
}

body.swaqly-twig-theme .topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.swaqly-twig-theme .notification-button {
  position: relative !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .notification-button:hover {
  color: #fff !important;
  background: rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .notification-dot {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

body.swaqly-twig-theme .top-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-inline-start: 10px !important;
  border-inline-start: 1px solid rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .top-user strong,
body.swaqly-twig-theme .top-user span {
  display: block !important;
}

body.swaqly-twig-theme .top-user strong {
  color: #fff !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .top-user span {
  margin-top: 3px !important;
  color: #22c55e !important;
  font-size: 9px !important;
}

body.swaqly-twig-theme .swaqly-online-dot {
  display: none !important;
}

body.swaqly-twig-theme .dashboard-content {
  width: min(1240px, calc(100% - 48px)) !important;
  min-height: calc(100vh - 68px) !important;
  margin-inline: auto !important;
  padding: 24px 0 42px !important;
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .panel {
  border-color: rgba(139, 92, 246, .28) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #191622, #0f0e14) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 18px rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th,
body.swaqly-twig-theme .dashboard-content .table > tbody > tr > td {
  color: #d9d4e8 !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th {
  background: rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .dashboard-content .form-control,
body.swaqly-twig-theme .dashboard-content select,
body.swaqly-twig-theme .dashboard-content textarea {
  color: #fff !important;
  background: #0b0a10 !important;
}

body.swaqly-twig-theme .notification-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  display: grid !important;
  min-width: 220px !important;
  gap: 7px !important;
  padding: 12px !important;
  border: 1px solid rgba(139, 92, 246, .48) !important;
  border-radius: 10px !important;
  background: #171321 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55) !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .notification-menu[hidden] {
  display: none !important;
}

body.swaqly-twig-theme .notification-menu strong {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .notification-menu span {
  padding: 6px 0 !important;
  color: #aaa4b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body.swaqly-twig-theme .notification-menu a {
  color: #f0abfc !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;
    bottom: 0 !important;
    width: 258px !important;
    min-height: 100vh !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-sidebar-open .dashboard-sidebar {
    right: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-menu {
    display: grid !important;
  }

  body.swaqly-twig-theme .dashboard-collapse-toggle {
    display: none !important;
  }

  body.swaqly-twig-theme .dashboard-topbar {
    min-height: 64px !important;
    padding-inline: 14px !important;
  }

  body.swaqly-twig-theme .dashboard-content {
    width: calc(100% - 24px) !important;
    padding-top: 18px !important;
  }

  body.swaqly-twig-theme .top-user > div {
    display: none !important;
  }

  body.swaqly-twig-theme .top-user {
    padding-inline-start: 0 !important;
    border: 0 !important;
  }
}

/*
   Disabled screenshot parity pass: compact right rail, compact order form, and compact
   public landing viewport matching the supplied Swaqly screens.
@media (min-width: 768px) {
  .swaqly-sidebar {
    width: 166px;
    padding: 8px 6px;
  }
  .swaqly-sidebar-brand {
    min-height: 28px;
    margin-bottom: 8px;
    font-size: 12px;
  }
  .swaqly-sidebar-brand img {
    max-width: 102px;
    max-height: 28px;
  }
  .swaqly-brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 17px;
  }
  .swaqly-sidebar-user {
    gap: 5px;
    margin-bottom: 9px;
    padding: 6px 5px;
    border-radius: 6px;
  }
  .swaqly-user-avatar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px;
  }
  .swaqly-user-copy {
    gap: 1px;
  }
  .swaqly-user-copy strong {
    font-size: 9px;
  }
  .swaqly-user-copy small {
    font-size: 7px;
  }
  .swaqly-user-dot,
  .swaqly-online-dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }
  .swaqly-sidebar-nav {
    gap: 1px;
  }
  .swaqly-sidebar-label {
    margin: 7px 4px 3px;
    font-size: 8px;
  }
  .swaqly-sidebar-link {
    min-height: 25px;
    gap: 5px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 9px;
  }
  .swaqly-sidebar-link i {
    width: 12px;
    font-size: 9px;
  }
  .swaqly-sidebar-balance {
    padding: 7px 6px;
    border-radius: 7px;
  }
  .swaqly-sidebar-balance span {
    font-size: 8px;
  }
  .swaqly-sidebar-balance strong {
    margin: 3px 0 4px;
    font-size: 13px;
  }
  .swaqly-sidebar-balance a {
    font-size: 8px;
  }
  .swaqly-panel-main {
    width: calc(100% - 166px);
    margin-right: 166px;
  }
  .swaqly-panel-topbar {
    min-height: 34px;
    gap: 8px;
    padding: 0 8px;
  }
  .swaqly-panel-heading,
  .swaqly-panel-actions {
    gap: 6px;
  }
  .swaqly-panel-heading span {
    font-size: 7px;
  }
  .swaqly-panel-heading h1 {
    font-size: 12px;
  }
  .swaqly-currency > a {
    min-height: 23px;
    gap: 4px;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 70px);
    padding: 23px 0 28px;
  }
  .swaqly-panel-main > .swaqly-footer {
    min-height: 36px;
    padding: 8px;
    font-size: 8px;
  }
  .swaqly-neworder-page {
    width: 100%;
  }
  .swaqly-neworder-shell {
    display: block;
  }
  .swaqly-order-guide,
  .swaqly-order-heading {
    display: none;
  }
  .swaqly-order-main {
    width: min(550px, calc(100% - 24px));
    margin: 0 auto;
  }
  .swaqly-order-card {
    min-height: 505px;
    padding: 14px 14px 16px;
    border-radius: 7px;
    background: linear-gradient(145deg, #171126, #0d0a14);
    box-shadow: 0 0 24px rgba(139, 92, 246, .2), 0 16px 32px rgba(0, 0, 0, .42);
  }
  .swaqly-order-form {
    gap: 10px;
  }
  .swaqly-order-form .form-group {
    margin: 0;
  }
  .swaqly-order-form .control-label {
    margin-bottom: 4px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control,
  .swaqly-order-form .select2-container .select2-selection {
    min-height: 27px;
    height: 27px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control {
    padding: 5px 9px;
  }
  .swaqly-order-form select.form-control {
    padding-top: 0;
    padding-bottom: 0;
  }
  .swaqly-order-form .select2-container {
    width: 100% !important;
  }
  .swaqly-order-form .select2-selection__rendered {
    padding-right: 9px !important;
    padding-left: 22px !important;
    color: #eeeaff !important;
    font-size: 9px;
    line-height: 25px !important;
  }
  .swaqly-order-form .select2-selection__arrow {
    top: 1px !important;
    height: 25px !important;
  }
  .swaqly-order-form .select2-container .select2-selection,
  .swaqly-order-form .select2-container--default .select2-selection--single {
    border-color: rgba(139, 92, 246, .48) !important;
    background: #0b0813 !important;
  }
  .swaqly-order-form .select2-dropdown {
    z-index: 100;
    border-color: rgba(139, 92, 246, .48) !important;
    color: #eeeaff;
    background: #11101a !important;
  }
  .swaqly-order-form .select2-results__option {
    color: #cfc7e4;
    background: #11101a;
    font-size: 9px;
  }
  .swaqly-order-form .select2-results__option--highlighted {
    color: #fff !important;
    background: var(--swaqly-violet) !important;
  }
  .swaqly-order-form #service_description .panel-body,
  .swaqly-order-form .panel-body {
    min-height: 150px !important;
    max-height: 170px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid rgba(139, 92, 246, .42) !important;
    border-radius: 5px;
    color: #cfc7e4 !important;
    background: #0c0913 !important;
    font-size: 9px;
    line-height: 1.8;
  }
  .swaqly-order-form #service_description .panel-body *,
  .swaqly-order-form .panel-body * {
    color: inherit !important;
    background: transparent !important;
  }
  .swaqly-order-form #charge {
    height: 27px;
    color: var(--swaqly-violet-light);
    background: #100b1c !important;
  }
  .swaqly-order-form .terms {
    gap: 4px;
    font-size: 9px;
  }
  .swaqly-order-form > .btn {
    min-height: 29px;
    margin-top: 1px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-neworder-text {
    display: none;
  }
}

@media (min-width: 768px) {
  .swaqly-public-navbar {
    min-height: 36px;
  }
  .swaqly-public-navbar .container {
    min-height: 36px;
  }
  .swaqly-public-brand {
    gap: 5px;
    font-size: 11px;
  }
  .swaqly-public-brand img {
    max-width: 100px;
    max-height: 27px;
  }
  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 9px;
  }
  .swaqly-public-hero {
    width: min(900px, calc(100% - 30px));
    min-height: 330px;
    grid-template-columns: minmax(245px, .82fr) minmax(0, 1.18fr);
    gap: 38px;
    padding: 36px 0 30px;
  }
  .swaqly-public-hero-copy h1 {
    max-width: 390px;
    margin: 10px 0 8px;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
  }
  .swaqly-public-hero-copy > p {
    max-width: 430px;
    font-size: 9px;
    line-height: 2;
  }
  .swaqly-eyebrow {
    margin-bottom: 4px;
    font-size: 7px;
  }
  .swaqly-public-hero-actions {
    gap: 6px;
    margin-top: 13px;
  }
  .swaqly-public-hero-actions .btn {
    min-width: 96px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-public-hero-meta {
    gap: 9px;
    margin-top: 13px;
    font-size: 7px;
  }
  .swaqly-public-login-card {
    width: 260px;
    justify-self: start;
    padding: 15px;
    border-radius: 8px;
  }
  .swaqly-public-login-heading {
    margin-bottom: 11px;
  }
  .swaqly-public-login-heading h2 {
    font-size: 13px;
  }
  .swaqly-public-login-heading p {
    font-size: 8px;
  }
  .swaqly-public-form-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 9px;
  }
  .swaqly-public-login-form {
    gap: 7px;
  }
  .swaqly-public-login-form label {
    margin-bottom: 3px;
    font-size: 7px;
  }
  .swaqly-public-login-form .form-control {
    min-height: 24px;
    height: 24px;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 8px;
  }
  .swaqly-public-forgot,
  .swaqly-public-login-footer,
  .swaqly-public-divider,
  .swaqly-public-google {
    font-size: 7px;
  }
  .swaqly-public-login-form .btn,
  .swaqly-public-google {
    min-height: 24px;
    border-radius: 4px;
  }
  .swaqly-public-login-footer {
    margin-top: 9px;
  }
  .swaqly-public-platform-track {
    gap: 6px;
    padding: 7px 0;
  }
  .swaqly-public-platform-track span {
    gap: 4px;
    padding: 5px 8px;
    font-size: 7px;
  }
  .swaqly-public-section {
    width: min(900px, calc(100% - 30px));
    padding: 54px 0;
  }
  .swaqly-public-section-heading {
    margin-bottom: 22px;
  }
  .swaqly-public-section-heading h2 {
    margin: 5px 0 4px;
    font-size: 20px;
  }
  .swaqly-public-section-heading > span,
  .swaqly-public-section-heading p {
    font-size: 8px;
  }
  .swaqly-public-feature-grid {
    gap: 8px;
  }
  .swaqly-public-feature {
    min-height: 112px;
    padding: 13px 10px;
  }
  .swaqly-public-feature > i {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    font-size: 10px;
  }
  .swaqly-public-feature strong {
    font-size: 9px;
  }
  .swaqly-public-feature span {
    font-size: 7px;
  }
}

*/

/* Final black sidebar + shared hover shadow/glow pass. */
.swaqly-sidebar {
  background: #050507;
  box-shadow: -18px 0 46px rgba(0, 0, 0, .58), inset -1px 0 0 rgba(139, 92, 246, .18);
}
.swaqly-panel-topbar {
  background: rgba(5, 5, 7, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .44);
}
.swaqly-sidebar-user,
.swaqly-sidebar-balance {
  background: #0a0a0d;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .38), 0 0 15px rgba(139, 92, 246, .08);
}
.swaqly-sidebar-link {
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.swaqly-sidebar-link:hover {
  border-color: rgba(139, 92, 246, .48);
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25), inset 0 0 12px rgba(236, 72, 153, .06);
  transform: translateX(-2px);
}

/* Perfect Panel installation correction.
   Keep the authenticated content fluid when an older panel stylesheet or
   cached compact-preview rule is loaded before this theme stylesheet. */
body.swaqly-twig-theme .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 26px 42px !important;
}

body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr) !important;
  gap: 24px !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
  display: flex !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-content {
    width: 100% !important;
    padding: 18px 12px 28px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
    width: 100% !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
    display: flex !important;
    order: 2 !important;
  }
}
.swaqly-sidebar-link.active {
  box-shadow: 0 0 25px rgba(139, 92, 246, .44), 0 8px 22px rgba(0, 0, 0, .38);
}
.swaqly-order-guide,
.swaqly-order-card,
.swaqly-public-hero,
.swaqly-public-hero-card,
.swaqly-public-feature,
.swaqly-page-content .well,
.swaqly-page-content .well-float,
.swaqly-page-content .modal-content {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 16px rgba(139, 92, 246, .09);
}
.swaqly-order-guide:hover,
.swaqly-order-card:hover,
.swaqly-public-hero:hover,
.swaqly-public-hero-card:hover,
.swaqly-public-feature:hover,
.swaqly-page-content .well:hover,
.swaqly-page-content .well-float:hover,
.swaqly-page-content .modal-content:hover {
  border-color: rgba(196, 181, 253, .62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46), 0 0 30px rgba(139, 92, 246, .28), 0 0 9px rgba(236, 72, 153, .2);
  transform: translateY(-3px);
}
.swaqly-page-content .btn:hover,
.swaqly-sidebar-balance a:hover,
.swaqly-currency > a:hover,
.swaqly-public-hero-actions .btn:hover {
  box-shadow: 0 0 24px rgba(139, 92, 246, .44), 0 8px 20px rgba(0, 0, 0, .34);
}

/* Public home parity with the Swaqly preview app. */
.swaqly-public-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg);
}
.swaqly-public-shell > .swaqly-page-content {
  padding-top: 0;
}
.swaqly-public-shell .form-control,
.swaqly-public-shell input,
.swaqly-public-shell select,
.swaqly-public-shell textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 8, 13, .78);
  box-shadow: none;
}
.swaqly-public-hero {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  min-height: 620px;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr);
  gap: 72px;
  margin: 0 auto;
  padding: 72px 0 66px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(139, 92, 246, .16), transparent 30rem),
    radial-gradient(circle at 82% 70%, rgba(236, 72, 153, .08), transparent 24rem);
  box-shadow: none;
}
.swaqly-public-hero::before {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 45px 45px;
  content: "";
  pointer-events: none;
}
.swaqly-public-hero-copy {
  align-self: center;
}
.swaqly-public-hero-copy h1 {
  max-width: 690px;
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.swaqly-public-hero-copy h1 strong {
  display: inline;
  color: transparent;
  background: linear-gradient(100deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 48%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 25px rgba(236, 72, 153, .22);
}
@media (max-width: 640px) {
  .swaqly-public-hero-copy h1 {
    white-space: normal;
  }
}
.swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: 15px;
  line-height: 2.1;
}
.swaqly-public-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swaqly-public-login-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
  backdrop-filter: blur(12px);
}
.swaqly-public-login-heading {
  margin-bottom: 22px;
  text-align: center;
}
.swaqly-public-login-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}
.swaqly-public-login-heading p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-form-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-login-form {
  display: grid;
  gap: 13px;
}
.swaqly-public-login-form .form-group {
  margin: 0;
}
.swaqly-public-login-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 11px;
}
.swaqly-public-login-form .form-control {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
}
.swaqly-public-login-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}
.swaqly-public-forgot {
  justify-self: start;
  margin-top: -5px;
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-login-form .btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
}
.swaqly-public-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}
.swaqly-public-divider::before,
.swaqly-public-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  content: "";
}
.swaqly-public-google {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font-size: 11px;
}
.swaqly-public-google b {
  color: #4285f4;
  font-size: 16px;
}
.swaqly-public-login-footer {
  margin: 18px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}
.swaqly-public-login-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}
.swaqly-public-platforms {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.swaqly-public-platform-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 14px 0;
  animation: swaqly-public-marquee 28s linear infinite;
}
.swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--swaqly-muted);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-platform-track i {
  color: var(--swaqly-violet-light);
  filter: drop-shadow(0 0 5px currentColor);
}
@keyframes swaqly-public-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.swaqly-public-section {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(139, 92, 246, .18);
}
.swaqly-public-section + .swaqly-public-section::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(150px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--swaqly-violet), transparent);
  content: "";
  transform: translateX(-50%);
}
.swaqly-public-section-heading {
  margin-bottom: 42px;
  text-align: center;
}
.swaqly-public-section-heading > span,
.swaqly-public-final-cta > div:first-child > span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}
.swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}
.swaqly-public-section-heading p {
  margin: 0 auto;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-feature {
  min-height: 190px;
  display: block;
  padding: 25px 20px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 15px;
  background: #050507;
  text-align: center;
}
.swaqly-public-feature > i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-feature div {
  display: grid;
  gap: 7px;
}
.swaqly-public-feature strong {
  color: #fff;
  font-size: 14px;
}
.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-payments,
.swaqly-public-faq {
  max-width: none;
  background: rgba(255,255,255,.018);
}
.swaqly-public-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.swaqly-public-payment-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: #050507;
  font-size: 12px;
  font-weight: 800;
}
.swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-steps article {
  min-height: 190px;
  padding: 28px 20px;
  border: 1px solid var(--swaqly-border);
  border-radius: 15px;
  background: #050507;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.swaqly-public-steps b {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 0 22px rgba(139,92,246,.3);
  font-size: 16px;
}
.swaqly-public-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.swaqly-public-steps p {
  margin: 7px 0 0;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-review-grid {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}
.swaqly-public-review-grid article {
  padding: 25px;
  border-right: 4px solid var(--swaqly-violet);
  border-radius: 15px;
  background: #050507;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.swaqly-public-review-grid article > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swaqly-public-review-grid article > div > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  font-size: 11px;
}
.swaqly-public-review-grid strong {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 12px;
}
.swaqly-public-review-grid small {
  color: var(--swaqly-muted);
  font-size: 10px;
  font-weight: 400;
}
.swaqly-public-review-grid p {
  min-height: 50px;
  margin: 17px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.swaqly-public-faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  background: rgba(17, 16, 26, .92);
}
.swaqly-public-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}
.swaqly-public-faq-list summary::-webkit-details-marker {
  display: none;
}
.swaqly-public-faq-list summary i {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary i {
  transform: rotate(45deg);
}
.swaqly-public-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 50px;
  padding: 34px 40px;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(139,92,246,.17), rgba(236,72,153,.1));
  box-shadow: 0 0 30px rgba(139,92,246,.12);
}
.swaqly-public-final-cta h2 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: 23px;
}
.swaqly-public-final-cta p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swaqly-public-final-cta .btn {
  min-width: 125px;
}
.swaqly-public-shell .swaqly-footer {
  background: #07070b;
}
@media (max-width: 980px) {
  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
    gap: 35px;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 42px 0 34px;
  }
  .swaqly-public-hero-copy h1 {
    font-size: 30px;
    white-space: normal;
  }
  .swaqly-public-section-heading h2 {
    white-space: normal;
  }
  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }
  .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }
  .swaqly-public-section {
    width: min(100% - 22px, 560px);
    padding: 58px 0;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps,
  .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 25px;
    padding: 25px 20px;
  }
  .swaqly-public-final-cta h2 {
    font-size: 20px;
  }
  .swaqly-public-final-cta > div:last-child .btn {
    flex: 1;
  }
}

/* Keep the news bar in normal document flow before the panel header. */
body.swaqly-app {
  padding-top: 0;
}

.swaqly-panel-topbar {
  top: 0;
}

@media (max-width: 767px) {
  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }
}

/* Twig auth pages: a full-width translation of the preview app auth shell. */
.swaqly-twig-theme .auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  direction: ltr;
  background: #0b0e13;
}

.swaqly-twig-theme .auth-brand,
.swaqly-twig-theme .auth-form-panel {
  min-width: 0;
  direction: rtl;
}

.swaqly-twig-theme .auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  padding: 46px clamp(25px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .18), transparent 38%),
    linear-gradient(145deg, #10131b, #090b10);
}

.swaqly-twig-theme .auth-brand::before {
  position: absolute;
  top: 23%;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(139, 92, 246, .035), 0 0 0 58px rgba(139, 92, 246, .025);
  content: "";
}

.swaqly-twig-theme .auth-brand::after {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(236, 72, 153, .18);
  border-radius: 50%;
  content: "";
}

.swaqly-twig-theme .auth-brand > div {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: auto 0;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-twig-theme .auth-brand .brand-logo img {
  display: block;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.swaqly-twig-theme .auth-brand .brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  box-shadow: 0 0 22px rgba(139, 92, 246, .4);
  font-family: "Tajawal", sans-serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.swaqly-twig-theme .auth-brand .brand-name {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-twig-theme .auth-brand h1 {
  max-width: 540px;
  margin: 20px 0 14px;
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.swaqly-twig-theme .auth-brand p {
  max-width: 500px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 14px;
  line-height: 2.1;
}

.swaqly-twig-theme .auth-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swaqly-twig-theme .auth-points i {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-form-panel {
  display: grid;
  align-content: center;
  padding: 46px clamp(25px, 8vw, 120px);
  background: #10141b;
}

.swaqly-twig-theme .auth-form-panel > .back-home,
.swaqly-twig-theme .auth-form-panel > .auth-card,
.swaqly-twig-theme .auth-form-panel > .auth-extra {
  width: min(100%, 430px);
  margin-inline: auto;
}

.swaqly-twig-theme .back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-twig-theme .back-home:hover {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-card {
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
}

.swaqly-twig-theme .form-header {
  margin-bottom: 23px;
  text-align: center;
}

.swaqly-twig-theme .form-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 0 auto 11px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
}

.swaqly-twig-theme .form-header h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.swaqly-twig-theme .form-header p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form {
  display: grid;
  gap: 13px;
}

.swaqly-twig-theme .standalone-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.swaqly-twig-theme .standalone-form .input-group > i {
  position: absolute;
  right: 14px;
  z-index: 1;
  color: #756d8e;
  pointer-events: none;
}

.swaqly-twig-theme .standalone-form .input-group input {
  width: 100%;
  min-height: 47px;
  padding: 0 42px 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(8, 10, 14, .72);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form .input-group input:focus {
  border-color: var(--swaqly-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.swaqly-twig-theme .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .form-options label,
.swaqly-twig-theme .terms-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-twig-theme .form-options input,
.swaqly-twig-theme .terms-row input {
  accent-color: var(--swaqly-violet);
}

.swaqly-twig-theme .form-options a,
.swaqly-twig-theme .terms-row a,
.swaqly-twig-theme .form-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-twig-theme .terms-row {
  color: var(--swaqly-muted);
  font-size: 10px;
  line-height: 1.8;
}

.swaqly-twig-theme .auth-card .btn {
  min-height: 45px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
  font-weight: 800;
}

.swaqly-twig-theme .auth-card .btn:hover {
  background: linear-gradient(135deg, #a78bfa, var(--swaqly-violet));
}

.swaqly-twig-theme .auth-alert {
  margin: 0;
  border-radius: 9px;
  font-size: 11px;
}

.swaqly-twig-theme .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}

.swaqly-twig-theme .divider::before,
.swaqly-twig-theme .divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.swaqly-twig-theme .google-button-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.swaqly-twig-theme .form-footer {
  margin: 19px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}

.swaqly-twig-theme .auth-extra {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .72);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 820px) {
  .swaqly-twig-theme .auth-shell {
    display: block;
  }

  .swaqly-twig-theme .auth-brand {
    min-height: 330px;
    padding: 28px 22px 36px;
  }

  .swaqly-twig-theme .auth-brand > div {
    margin-top: 55px;
  }

  .swaqly-twig-theme .auth-brand h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .swaqly-twig-theme .auth-brand p {
    font-size: 12px;
  }

  .swaqly-twig-theme .auth-form-panel {
    min-height: calc(100vh - 330px);
    padding: 35px 18px 50px;
  }
}

@media (max-width: 480px) {
  .swaqly-twig-theme .auth-card {
    padding: 23px 17px;
  }

  .swaqly-twig-theme .auth-points {
    gap: 10px;
    font-size: 10px;
  }
}

/* Final Twig parity layer.
   It intentionally comes last so Perfect Panel's legacy theme cannot shrink
   the landing page, hide its text, or restore the old cyan announcement bar. */
body.swaqly-twig-theme {
  min-width: 320px;
  overflow-x: hidden;
  color: #fff;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif;
}

body.swaqly-twig-theme .preview-news-bar {
  position: relative !important;
  z-index: 100 !important;
  display: block !important;
  width: 100% !important;
  min-height: 34px !important;
  height: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .38) !important;
  background: #100d18 !important;
  box-shadow: none !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track {
  display: flex !important;
  width: max-content !important;
  min-height: 34px !important;
  align-items: center !important;
  gap: 58px !important;
  padding-inline: 28px !important;
  color: #d8d1f6 !important;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  animation: swaqly-preview-news-marquee 30s linear infinite !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track span {
  display: inline-flex !important;
  min-width: max-content !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  margin: 0 !important;
  color: var(--swaqly-pink) !important;
  text-shadow: none !important;
}

@keyframes swaqly-preview-news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

body.swaqly-twig-theme .swaqly-public-shell {
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg) !important;
}

body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  display: grid !important;
  width: min(1200px, calc(100% - 40px)) !important;
  min-height: 610px !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr) !important;
  align-items: center !important;
  gap: 70px !important;
  padding: 62px 0 !important;
  margin-inline: auto !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy,
body.swaqly-twig-theme .swaqly-public-login-card {
  position: relative !important;
  z-index: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1,
body.swaqly-twig-theme .swaqly-public-hero-copy > p,
body.swaqly-twig-theme .swaqly-public-hero-actions,
body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
  max-width: 690px !important;
  margin: 20px 0 15px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 strong {
  display: inline !important;
  color: transparent !important;
  background: linear-gradient(100deg, var(--swaqly-violet-light), var(--swaqly-pink) 48%, var(--swaqly-extra-cyan)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px !important;
  margin: 0 !important;
  color: var(--swaqly-muted) !important;
  font-size: 15px !important;
  line-height: 2.1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn {
  display: inline-flex !important;
  width: auto !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 23px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn-default {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04) !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 18px !important;
  color: #687488 !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta i {
  color: #22c55e !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading,
body.swaqly-twig-theme .swaqly-public-section-heading h2,
body.swaqly-twig-theme .swaqly-public-section-heading p,
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-payment-grid span,
body.swaqly-twig-theme .swaqly-public-steps article,
body.swaqly-twig-theme .swaqly-public-review-grid article,
body.swaqly-twig-theme .swaqly-public-faq-list details,
body.swaqly-twig-theme .swaqly-public-final-cta {
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.45 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading p {
  color: var(--swaqly-muted) !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

body.swaqly-twig-theme .swaqly-public-final-cta {
  display: flex !important;
  min-height: 130px !important;
  align-items: center !important;
}

/* Do not let old customization blocks hide server-rendered text. */
body.swaqly-twig-theme #block_330 h2,
body.swaqly-twig-theme #block_330 p,
body.swaqly-twig-theme #block_330 img,
body.swaqly-twig-theme #block_330 .text-block__title,
body.swaqly-twig-theme #block_330 .text-block__description,
body.swaqly-twig-theme #block_332 img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Keep the existing popup behavior, but remove the legacy cyan look. */
body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(139, 92, 246, .58) !important;
  background: radial-gradient(circle at 50% -15%, rgba(139, 92, 246, .24), transparent 42%), linear-gradient(145deg, #1b1628, #0d0b12 72%) !important;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65), 0 0 45px rgba(139, 92, 246, .15) !important;
}

body.swaqly-twig-theme .swaqly-popup h2 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(139, 92, 246, .35) !important;
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a {
  border-color: rgba(236, 72, 153, .34) !important;
  border-radius: 8px !important;
  color: #fbcfe8 !important;
  background: rgba(236, 72, 153, .1) !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  background: rgba(139, 92, 246, .14) !important;
}

/* Native Perfect Panel pages that mirror the Swaqly dashboard experience. */
.swaqly-feature-page {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page {
  width: min(960px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page .page-title {
  margin-bottom: 18px;
}

.swaqly-content-page .page-title h1 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
}

.swaqly-content-page .page-title span,
.swaqly-content-page .page-title p {
  color: var(--muted);
  font-size: .68rem;
}

.swaqly-content-page .page-title p {
  margin: 0;
  line-height: 1.9;
}

.swaqly-rich-content {
  color: #e5e7eb;
  font-size: .72rem;
  line-height: 2.1;
}

.swaqly-rich-content h1,
.swaqly-rich-content h2,
.swaqly-rich-content h3,
.swaqly-rich-content h4 {
  margin: 18px 0 8px;
  color: #fff;
}

.swaqly-rich-content a {
  color: var(--main-bright);
}

.swaqly-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.swaqly-public-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
}

.swaqly-public-google-wrap .g_id_signin {
  max-width: 100%;
}

.swaqly-feature-page .dash-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.swaqly-feature-page .dash-page-heading h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.swaqly-feature-page .dash-page-heading p,
.swaqly-feature-page .panel-heading span,
.swaqly-feature-page .mass-order-help {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.9;
}

.affiliate-notice,
.subpanel-notice {
  margin-bottom: 16px;
}

.affiliate-link-card,
.affiliate-rate-cards,
.affiliate-stat-grid,
.mass-order-layout {
  display: grid;
  gap: 14px;
}

.affiliate-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 18px;
}

.affiliate-link-card > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.affiliate-link-card strong {
  overflow-wrap: anywhere;
  color: var(--main-bright);
  font-family: "Tajawal", sans-serif;
  font-size: .8rem;
}

.affiliate-rates {
  margin-bottom: 14px;
}

.affiliate-rate-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.affiliate-rate-cards > div,
.affiliate-stat-grid > .panel {
  display: grid;
  gap: 6px;
}

.affiliate-rate-cards > div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--theme-surface-2);
}

.affiliate-rate-cards span,
.affiliate-stat-grid span {
  color: var(--muted);
  font-size: .58rem;
}

.affiliate-rate-cards strong,
.affiliate-stat-grid strong {
  color: #fff;
  font-size: 1.1rem;
}

.affiliate-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.affiliate-earnings .btn {
  margin-top: 6px;
}

.affiliate-history .panel-heading {
  align-items: flex-start;
}

.affiliate-history .panel-heading > div {
  display: grid;
  gap: 5px;
}

.affiliate-history .panel-heading > strong {
  color: var(--main-bright);
  font-size: .85rem;
}

.mass-order-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
  align-items: start;
}

.mass-order-card,
.mass-order-guide,
.subpanel-card {
  display: grid;
  gap: 14px;
}

.mass-order-card .panel-heading,
.subpanel-card .panel-heading {
  margin-bottom: 0;
}

.mass-order-card form,
.subpanel-form {
  display: grid;
  gap: 11px;
}

.mass-order-card label,
.subpanel-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
}

.mass-order-card textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  direction: ltr;
  text-align: left;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .68rem;
  line-height: 1.9;
}

.mass-order-card textarea:focus,
.subpanel-form input:focus,
.subpanel-form select:focus {
  border-color: var(--main);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.mass-order-example,
.subpanel-nameservers {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--theme-surface-2);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-example strong,
.subpanel-nameservers strong {
  color: #fff;
}

.mass-order-example span {
  direction: ltr;
  color: var(--main-bright);
}

.mass-order-example small {
  color: var(--muted-2);
}

.mass-order-guide {
  position: sticky;
  top: 20px;
}

.mass-order-guide h3,
.subpanel-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.mass-order-guide ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.8;
}

.mass-order-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-count strong {
  color: var(--main-bright);
  font-size: 1.3rem;
}

.updates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.updates-type-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .6rem;
}

.updates-search {
  display: flex;
  flex: 0 1 390px;
  align-items: center;
  gap: 8px;
}

.updates-search > i {
  color: var(--muted);
}

.updates-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.updates-board {
  padding: 0;
  overflow: hidden;
}

.updates-head,
.update-row {
  display: grid;
  grid-template-columns: .65fr 1.5fr 2fr .85fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.updates-head {
  color: var(--muted);
  background: var(--theme-surface-2);
  font-size: .57rem;
  font-weight: 700;
}

.update-row {
  border-top: 1px solid var(--border);
  color: #fff;
  font-size: .62rem;
  line-height: 1.7;
}

.update-row strong {
  color: var(--main-bright);
}

.update-row time {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.subpanel-card {
  max-width: 850px;
}

.subpanel-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--main-bright);
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 14px;
  font-size: 1.25rem;
}

.subpanel-card p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
}

.subpanel-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subpanel-form input,
.subpanel-form select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.subpanel-nameservers ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-inline-start: 18px;
  direction: ltr;
  text-align: left;
}

.swaqly-pagination {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .affiliate-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mass-order-layout {
    grid-template-columns: 1fr;
  }

  .mass-order-guide {
    position: static;
  }
}

@media (max-width: 640px) {
  .swaqly-feature-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-feature-page .dash-page-heading {
    align-items: flex-start;
  }

  .affiliate-link-card,
  .updates-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-rate-cards,
  .subpanel-form-grid {
    grid-template-columns: 1fr;
  }

  .updates-search {
    flex-basis: auto;
  }

  .updates-head {
    display: none;
  }

  .update-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }

  .update-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .update-row time {
    text-align: left;
  }
}

@media (max-width: 980px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 640px) {
  body.swaqly-twig-theme .preview-news-track {
    gap: 36px !important;
    padding-inline: 18px !important;
    font-size: 9px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero {
    display: flex !important;
    width: min(100% - 22px, 560px) !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 42px 0 34px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
    font-size: 30px !important;
    white-space: normal !important;
  }

  body.swaqly-twig-theme .swaqly-public-section-heading h2 {
    white-space: normal !important;
  }
}

/* Swaqly visual finish: colored icon tiles, stronger shell chrome,
   visible marquee, and the native Twig MP3 player. */
body.swaqly-twig-theme .swaqly-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .17), transparent 190px),
    linear-gradient(180deg, #0f0b1c 0%, #06060a 80%) !important;
  border-left-color: rgba(167, 139, 250, .38) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  display: inline-grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #db2777) !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(2) i {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(3) i {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(4) i {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(5) i {
  background: linear-gradient(135deg, #eab308, #f97316) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover i,
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(236, 72, 153, .38) !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .16), transparent 230px),
    linear-gradient(90deg, #09080e, #151022 55%, #0b0911) !important;
  border-bottom-color: rgba(236, 72, 153, .3) !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  background: linear-gradient(90deg, #fff, #d8b4fe 55%, #f9a8d4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.swaqly-twig-theme .notification-button,
body.swaqly-twig-theme .swaqly-currency > a {
  border-color: rgba(196, 181, 253, .42) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .27), rgba(236, 72, 153, .13)) !important;
  box-shadow: 0 5px 18px rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .notification-button i,
body.swaqly-twig-theme .swaqly-currency > a i {
  color: #f0abfc !important;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, .65));
}

body.swaqly-twig-theme .top-user .avatar {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15), 0 0 18px rgba(236, 72, 153, .4) !important;
}

body.swaqly-twig-theme .preview-news-bar {
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .17), transparent 32%, rgba(236, 72, 153, .13)),
    #0a0811 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .45) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, .28) !important;
}

body.swaqly-twig-theme .swaqly-public-shell {
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, .2), transparent 28rem),
    radial-gradient(circle at 92% 35%, rgba(236, 72, 153, .12), transparent 26rem),
    linear-gradient(180deg, #08070d, #050507 72%) !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgba(196, 181, 253, .38) !important;
  background:
    linear-gradient(135deg, rgba(14, 10, 27, .94), rgba(21, 10, 27, .88)),
    radial-gradient(circle at 78% 20%, rgba(236, 72, 153, .24), transparent 18rem) !important;
  box-shadow: 0 0 55px rgba(124, 58, 237, .2), 0 24px 70px rgba(0, 0, 0, .48) !important;
}

body.swaqly-twig-theme .swaqly-public-hero::after {
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(196, 181, 253, .08);
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(196, 181, 253, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(139, 92, 246, .3) !important;
  background: rgba(9, 7, 15, .9) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span {
  min-height: 42px !important;
  padding: 6px 13px 6px 9px !important;
  border-color: rgba(196, 181, 253, .22) !important;
  color: #f4efff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(236, 72, 153, .08)) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 15px !important;
  filter: none !important;
  box-shadow: 0 0 14px currentColor !important;
}

body.swaqly-twig-theme .platform-instagram > i {
  background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5) !important;
}
body.swaqly-twig-theme .platform-tiktok > i {
  background: linear-gradient(135deg, #111827, #111827 48%, #25f4ee) !important;
}
body.swaqly-twig-theme .platform-youtube > i {
  background: #ff0033 !important;
}
body.swaqly-twig-theme .platform-facebook > i {
  background: #1877f2 !important;
}
body.swaqly-twig-theme .platform-telegram > i {
  background: #229ed9 !important;
}
body.swaqly-twig-theme .platform-twitter > i {
  background: #111827 !important;
}
body.swaqly-twig-theme .platform-discord > i {
  background: #5865f2 !important;
}
body.swaqly-twig-theme .platform-spotify > i {
  background: #1db954 !important;
}

body.swaqly-twig-theme .swaqly-public-feature {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(196, 181, 253, .24) !important;
  background: linear-gradient(145deg, rgba(25, 18, 42, .96), rgba(8, 7, 12, .98)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important;
}

body.swaqly-twig-theme .swaqly-public-feature::before {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  content: "";
  filter: blur(2px);
}

body.swaqly-twig-theme .swaqly-public-feature .swaqly-feature-icon {
  position: relative !important;
  z-index: 1;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 16px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 17px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 22px rgba(139, 92, 246, .25) !important;
}

body.swaqly-twig-theme .feature-shield {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
}
body.swaqly-twig-theme .feature-wallet {
  background: linear-gradient(135deg, #059669, #14b8a6) !important;
}
body.swaqly-twig-theme .feature-bolt {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}
body.swaqly-twig-theme .feature-support {
  background: linear-gradient(135deg, #0891b2, #2563eb) !important;
}

body.swaqly-twig-theme .swaqly-quran-player {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: minmax(260px, 1fr) auto minmax(190px, .8fr);
  align-items: center;
  gap: 18px;
  margin: 18px auto 4px;
  padding: 12px 15px;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 18rem),
    linear-gradient(135deg, rgba(26, 18, 45, .96), rgba(9, 8, 14, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 25px rgba(139, 92, 246, .12);
  direction: rtl;
}

body.swaqly-twig-theme .swaqly-quran-player-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.swaqly-twig-theme .swaqly-quran-kicker {
  color: #f0abfc;
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme .swaqly-quran-kicker i {
  margin-left: 5px;
  color: #a78bfa;
}

body.swaqly-twig-theme .swaqly-quran-player-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme .swaqly-quran-player-info small {
  color: #a9a4bd;
  font-size: 10px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 9px;
  color: #d8d1f6;
  background: rgba(139, 92, 246, .1);
  cursor: pointer;
  transition: .2s ease;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button:hover {
  color: #fff;
  border-color: rgba(236, 72, 153, .58);
  background: linear-gradient(135deg, #7c3aed, #db2777);
  transform: translateY(-2px);
}

body.swaqly-twig-theme .swaqly-quran-player-controls .swaqly-quran-play {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 20px rgba(236, 72, 153, .32);
}

body.swaqly-twig-theme .swaqly-quran-player-progress {
  display: grid;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-progress input {
  width: 100%;
  height: 4px;
  accent-color: #c026d3;
  cursor: pointer;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-quran-player {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  body.swaqly-twig-theme .swaqly-quran-player-controls {
    justify-content: center;
  }
}

/* Final authenticated-page surfaces.
   These selectors intentionally match the native Twig page templates so
   services, orders, add funds, and API keep the same Swaqly shell. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  direction: rtl;
  text-align: right;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  padding: 0 2px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading p {
  margin: 0;
  color: #a9a4bd;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .btn-primary {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, .23);
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .code-card {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  color: #eeeaff;
  background: linear-gradient(145deg, rgba(25, 22, 36, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel {
  margin-bottom: 18px;
  padding: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head h3,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading h3,
body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .panel-heading span {
  color: #a9a4bd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
body.swaqly-twig-theme.swaqly-authenticated .search-field {
  position: relative;
  width: min(100%, 310px);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools i,
body.swaqly-twig-theme.swaqly-authenticated .search-field i {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #a78bfa;
  transform: translateY(-50%);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input,
body.swaqly-twig-theme.swaqly-authenticated .search-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #09090e;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input:focus,
body.swaqly-twig-theme.swaqly-authenticated .search-field input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .1);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 7px;
  color: #bcb5cf;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button:hover,
body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button.selected,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a:hover,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a.selected {
  border-color: rgba(236, 72, 153, .55);
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(219, 39, 119, .82));
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid small {
  color: #a78bfa;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .service-cards.dashboard-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 10px;
  background: rgba(8, 8, 13, .58);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards h3 {
  min-height: 36px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards p {
  min-height: 38px;
  margin: 0 0 10px;
  color: #a9a4bd;
  font-size: 11px;
  line-height: 1.7;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #928aa4;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row strong,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta strong {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .btn {
  width: 100%;
  margin-top: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty,
body.swaqly-twig-theme.swaqly-authenticated .empty-state {
  display: grid;
  min-height: 145px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  color: #a9a4bd;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty i,
body.swaqly-twig-theme.swaqly-authenticated .empty-state i {
  color: #a78bfa;
  font-size: 28px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty strong,
body.swaqly-twig-theme.swaqly-authenticated .empty-state strong {
  color: #fff;
  font-size: 14px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  background: rgba(17, 16, 26, .82);
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
  flex: 1 1 280px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  margin: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-notice {
  margin: 0 0 10px;
  color: #928aa4;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 10px;
  background: rgba(8, 8, 13, .62);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-date,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head strong {
  color: #fff;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .13);
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.complete {
  color: #86efac;
  background: rgba(34, 197, 94, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.canceled {
  color: #fca5a5;
  background: rgba(239, 68, 68, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-detail {
  min-height: 34px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #9d96ad;
  font-size: 10px;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date span {
  color: #c4b5fd;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats span {
  display: grid;
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats strong {
  color: #fff;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions a {
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout > section {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form {
  display: grid;
  gap: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form label {
  display: grid;
  gap: 7px;
  color: #aaa4b8;
  font-size: 11px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card .form-control {
  min-height: 42px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 8px;
  color: #fff;
  background: #09090e;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 10px;
  color: #eeeaff !important;
  background: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content * {
  color: inherit !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content > *,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content table,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content td,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content th {
  background-color: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content img {
  max-width: 100%;
  background: transparent !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr 1fr .7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #aaa4b8;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid:last-child {
  border-bottom: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
  color: #a78bfa;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid strong,
body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid a {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .code-card {
  min-width: 0;
  padding: 20px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy p {
  margin: 10px 0 16px;
  color: #aaa4b8;
  font-size: 12px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features span {
  padding: 6px 9px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 7px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .08);
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c4b5fd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .live-dot {
  color: #86efac;
}

body.swaqly-twig-theme.swaqly-authenticated .code-card pre,
body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel pre {
  margin: 14px 0 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, .18);
  border-radius: 8px;
  color: #e9d5ff;
  background: #08080c !important;
  font-family: "Fira Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  direction: ltr;
  text-align: left;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table {
  min-width: 0;
  color: #d8d1e6;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table th {
  width: 34%;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table td {
  color: #c5bed2;
  background: rgba(8, 8, 13, .3);
}

@media (max-width: 900px) {
  body.swaqly-twig-theme.swaqly-authenticated .fund-layout,
  body.swaqly-twig-theme.swaqly-authenticated .api-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
    display: none;
  }
}

/* Public homepage alignment with the supplied Swaqly preview.
   Keep the top announcement/platform rails full width, while the main
   player, hero, and content sections stay centered and compact. */
body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
  width: min(560px, calc(100% - 30px));
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, .7fr);
  gap: 10px;
  margin: 20px auto 12px;
  padding: 11px 14px;
  border-radius: 12px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info small,
body.swaqly-twig-theme.swaqly-public .swaqly-quran-kicker {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls {
  gap: 5px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls button {
  width: 27px;
  height: 27px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls .swaqly-quran-play {
  width: 34px;
  height: 34px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(620px, calc(100% - 30px));
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) minmax(135px, .48fr);
  gap: 22px;
  margin: 16px auto 20px;
  padding: 30px 25px;
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero h1 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3vw, 31px);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 330px;
  font-size: 11px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  gap: 7px;
  margin-top: 17px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-width: 105px;
  min-height: 35px;
  padding: 8px 11px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  gap: 8px;
  margin-top: 15px;
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: 150px;
  padding: 17px 13px;
  border-radius: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading {
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading h2 {
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form label,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-footer {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form {
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 31px;
  padding: 6px 8px;
  font-size: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .btn {
  min-height: 33px;
  padding: 7px 8px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  width: min(620px, calc(100% - 30px));
  padding: 55px 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading {
  margin-bottom: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  font-size: 20px;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading p {
  max-width: 520px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  min-height: 104px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 12px 8px;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  font-size: 8px;
  line-height: 1.6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list {
  max-width: 620px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  width: min(620px, calc(100% - 30px));
  padding: 24px 22px;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    width: min(100% - 22px, 560px);
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 28px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calm visual parity pass: quiet the imported neon layer while preserving
   the original Perfect Panel markup, popup behavior, and public-page content. */
body.swaqly-twig-theme {
  --swaqly-panel-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

body.swaqly-twig-theme .swaqly-sidebar {
  box-shadow: -14px 0 34px rgba(0, 0, 0, .5), inset -1px 0 0 rgba(139, 92, 246, .12);
}
body.swaqly-twig-theme .swaqly-sidebar-link:hover {
  border-color: rgba(196, 181, 253, .25);
  background: rgba(139, 92, 246, .08);
  box-shadow: none;
  transform: none;
}
body.swaqly-twig-theme .swaqly-sidebar-link.active {
  box-shadow: none;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196, 181, 253, .28);
  border-radius: 9px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .48);
}
body.swaqly-twig-theme .notification-menu strong {
  color: #cbbbe9;
}
body.swaqly-twig-theme .notification-menu a {
  color: #b9a7e8;
}
body.swaqly-twig-theme .notification-dot {
  box-shadow: none;
}

body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(196, 181, 253, .28) !important;
  border-radius: 18px;
  background: #111119 !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .62) !important;
}
body.swaqly-twig-theme .swaqly-popup::before {
  border-color: rgba(255, 255, 255, .055) !important;
}
body.swaqly-twig-theme .liquid-frame,
body.swaqly-twig-theme #liquidCanvas,
body.swaqly-twig-theme #liquidCanvasOffer {
  opacity: 0 !important;
}
body.swaqly-twig-theme .swaqly-popup h2 {
  color: #f4f1fb !important;
  background: none !important;
  -webkit-text-fill-color: #f4f1fb !important;
}
body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #cbbbe9 !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  border-color: rgba(196, 181, 253, .18) !important;
  color: #d7ccef !important;
  background: #191821 !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a:hover {
  border-color: rgba(196, 181, 253, .38) !important;
  background: #211d2b !important;
}

body.swaqly-twig-theme .swaqly-public-platforms {
  background: #0b0c11;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  padding: 7px 12px 7px 9px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #101118;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top-color: rgba(255, 255, 255, .07);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before {
  display: none;
}
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-hero-card {
  border-color: rgba(255, 255, 255, .1);
  background: #101117;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-feature:hover,
body.swaqly-twig-theme .swaqly-public-hero-card:hover {
  border-color: rgba(196, 181, 253, .36);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  border-color: rgba(196, 181, 253, .24);
  background: #15151e;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-shell .swaqly-footer,
body.swaqly-twig-theme .swaqly-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #08090d;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-footer .container {
  min-height: 46px;
  gap: 18px;
  color: #697386;
}
body.swaqly-twig-theme .swaqly-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(130px, .7fr));
  gap: 42px;
  padding-bottom: 38px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand p {
  margin: 12px 0 0;
  color: #697386;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand .brand-logo {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.swaqly-twig-theme .swaqly-footer .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: #8e9aab;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-status i { color: #78c99a; }
body.swaqly-twig-theme .swaqly-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column h4 {
  margin: 0 0 7px;
  color: #e5e7eb;
  font-size: 12px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a {
  color: #8e96a8;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a:hover { color: #cbbbe9; }
body.swaqly-twig-theme .swaqly-footer .copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #697386;
  text-align: center;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-popup .minimize-popup { display: none; }
body.swaqly-twig-theme .swaqly-popup .close-popup {
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #a5a8b6 !important;
  background: #191922;
  font-size: 18px;
}
body.swaqly-twig-theme .swaqly-popup .close-popup:hover {
  border-color: rgba(196,181,253,.38);
  background: #211d2b;
}
body.swaqly-twig-theme .popup-home-images,
body.swaqly-twig-theme .swaqly-icons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
}
body.swaqly-twig-theme .popup-home-images a,
body.swaqly-twig-theme .swaqly-icons img {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(196,181,253,.2);
  border-radius: 12px;
  background: #1a1923;
}
body.swaqly-twig-theme .popup-home-images img,
body.swaqly-twig-theme .swaqly-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
body.swaqly-twig-theme .popup-home-images img:hover,
body.swaqly-twig-theme .swaqly-icons img:hover { transform: none; }
body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(196,181,253,.18) !important;
  color: #d7ccef !important;
}
body.swaqly-twig-theme .swaqly-popup p { color: #a0aec0; }
body.swaqly-twig-theme .swaqly-feature-page .panel,
body.swaqly-twig-theme .swaqly-content-page .panel,
body.swaqly-twig-theme .swaqly-content-page .card {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-feature-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .card:hover {
  border-color: rgba(196, 181, 253, .34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  body.swaqly-twig-theme .swaqly-footer .footer-brand {
    grid-column: 1 / -1;
  }
  body.swaqly-twig-theme .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Source-preview lock.
   This is intentionally the last layer: it maps the native Twig markup to
   the same measurements used by the open Swaqly preview, instead of styling
   the old imported theme as a separate product. */
body.swaqly-twig-theme {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --accent: #ec4899;
  --main-soft: rgba(139,92,246,.13);
  --bg: #0b0e13;
  --card: #11151c;
  --border: rgba(255,255,255,.09);
}
body.swaqly-twig-theme::before { opacity: .1; }
body.swaqly-twig-theme::after {
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.07), transparent 28rem),
    linear-gradient(180deg, rgba(11,14,19,.9), rgba(11,14,19,.98));
}

body.swaqly-twig-theme .swaqly-public-shell {
  background: transparent;
}
body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-public-hero {
  display: grid;
  width: 100%;
  min-height: 610px;
  grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr);
  gap: 70px;
  margin: 0;
  padding: 62px max(20px, calc((100% - 1200px) / 2));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(139,92,246,.13), transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(229,9,20,.07), transparent 30%);
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-public-hero-copy {
  max-width: 690px;
  direction: rtl;
}
body.swaqly-twig-theme .swaqly-public-hero h1 {
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.8rem,3.4vw,3.05rem);
  line-height: 1.35;
}
body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: .9rem;
  line-height: 2.1;
}
body.swaqly-twig-theme .swaqly-public-hero-actions { margin-top: 0; }
body.swaqly-twig-theme .swaqly-public-hero-meta { margin-top: 17px; }
body.swaqly-twig-theme .swaqly-public-login-card {
  padding: 30px;
  border-color: rgba(255,255,255,.09);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
}
body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
}
body.swaqly-twig-theme .swaqly-public-platform-track {
  gap: 10px;
  padding: 14px 0;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-color: rgba(255,255,255,.1);
  border-radius: 10px;
  background: #101118;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section {
  width: 100%;
  padding: 76px max(20px, calc((100% - 1200px) / 2));
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(255,255,255,.06);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before { display: none; }
body.swaqly-twig-theme .swaqly-public-section-heading { margin-bottom: 45px; }
body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  font-size: clamp(1.35rem,2.4vw,2rem);
  white-space: nowrap;
}
body.swaqly-twig-theme .swaqly-public-section-heading p { font-size: .78rem; }
body.swaqly-twig-theme .swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
body.swaqly-twig-theme .swaqly-public-feature {
  display: block;
  min-height: 195px;
  padding: 25px 20px;
  border-color: rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .swaqly-public-feature > i {
  width: 49px;
  height: 49px;
  margin: 0 auto 14px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 12px;
  background: rgba(139,92,246,.13);
}
body.swaqly-twig-theme .swaqly-public-feature div {
  display: block;
}
body.swaqly-twig-theme .swaqly-public-feature strong {
  display: block;
  font-size: .88rem;
}
body.swaqly-twig-theme .swaqly-public-feature span {
  display: block;
  margin-top: 7px;
  font-size: .68rem;
  line-height: 1.9;
}
body.swaqly-twig-theme .swaqly-public-payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
body.swaqly-twig-theme .swaqly-public-payment-grid span {
  display: grid;
  min-width: 135px;
  min-height: 72px;
  flex: 1 1 135px;
  max-width: 205px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #11151c;
  color: #e8e4f5;
  font-size: .76rem;
}
body.swaqly-twig-theme .swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}
body.swaqly-twig-theme .swaqly-public-steps article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-steps article > b {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #8b5cf6;
  font-size: .92rem;
}
body.swaqly-twig-theme .swaqly-public-steps h3 { margin: 4px 0 0; font-size: .82rem; }
body.swaqly-twig-theme .swaqly-public-steps p { margin-top: 8px; font-size: .66rem; line-height: 1.9; }
body.swaqly-twig-theme .swaqly-public-review-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
body.swaqly-twig-theme .swaqly-public-review-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 34px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 17px;
  background: #15151e;
}

/* Match the compact authenticated preview dimensions exactly. */
body.swaqly-twig-theme .dashboard-sidebar {
  width: 190px !important;
  flex-basis: 190px !important;
  padding: 9px 8px 10px !important;
  background: #050507 !important;
}
body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand { margin-bottom: 8px; }
body.swaqly-twig-theme .dashboard-sidebar .brand-mark { width: 31px; height: 31px; font-size: 1.1rem; }
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  min-height: 30px;
  padding-inline: 7px;
  border-radius: 5px;
  font-size: .54rem;
}
body.swaqly-twig-theme .dashboard-topbar {
  min-height: 44px !important;
  padding-inline: 11px !important;
  background: #07070a !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.42) !important;
}
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading h1 { font-size: .72rem; }
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading p { font-size: .44rem; }
body.swaqly-twig-theme .dashboard-content {
  width: calc(100% - 28px) !important;
  max-width: 1320px !important;
  padding-top: 15px !important;
}
body.swaqly-twig-theme .dashboard-content .panel,
body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .dash-stat {
  border-color: rgba(255,255,255,.1) !important;
  background: #050507 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196,181,253,.28) !important;
  background: #15151d !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.48) !important;
}
body.swaqly-twig-theme .notification-dot { box-shadow: none !important; }
body.swaqly-twig-theme .dashboard-content .btn-primary,
body.swaqly-twig-theme .dashboard-content .dashboard-link.active {
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section {
    padding: 55px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section-heading h2 { white-space: normal; }
  body.swaqly-twig-theme .swaqly-public-feature-grid,
  body.swaqly-twig-theme .swaqly-public-steps {
    grid-template-columns: repeat(2,1fr);
  }
  body.swaqly-twig-theme .swaqly-public-review-grid { grid-template-columns: 1fr; }
  body.swaqly-twig-theme .swaqly-public-final-cta {
    width: calc(100% - 40px);
    margin-bottom: 55px;
    padding: 23px 18px;
  }
}t/* Swaqly custom theme
   This file is self-contained and works with the existing Bootstrap panel. */
:root {
  --swaqly-bg: #07070b;
  --swaqly-surface: #11101a;
  --swaqly-surface-2: #171426;
  --swaqly-border: rgba(167, 139, 250, .22);
  --swaqly-border-strong: rgba(139, 92, 246, .72);
  --swaqly-text: #f8f7ff;
  --swaqly-muted: #a9a4bd;
  --swaqly-violet: #8b5cf6;
  --swaqly-violet-light: #c4b5fd;
  --swaqly-pink: #ec4899;
  --swaqly-glow: rgba(139, 92, 246, .28);
  --swaqly-radius: 14px;
}

html,
body.swaqly-app {
  min-height: 100%;
  background: var(--swaqly-bg);
}

body.swaqly-app {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--swaqly-text);
  font-family: "Tajawal", "Arial", sans-serif;
  background: transparent;
}

body.swaqly-app::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(236, 72, 153, .05) 49%, transparent 50%);
  background-size: 46px 46px, 46px 46px, 180px 180px;
  content: "";
}

body.swaqly-app::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, .13), transparent 28rem),
    radial-gradient(circle at 88% 58%, rgba(236, 72, 153, .08), transparent 25rem),
    linear-gradient(180deg, rgba(7, 7, 11, .82), rgba(7, 7, 11, .96));
  content: "";
}

body.swaqly-app *,
body.swaqly-app *::before,
body.swaqly-app *::after {
  box-sizing: border-box;
}

.swaqly-page-content {
  min-height: calc(100vh - 126px);
  padding: 22px 0 42px;
}

.swaqly-navbar {
  z-index: 50;
  min-height: 62px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
}

.swaqly-navbar .navbar-brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.swaqly-navbar .navbar-brand img {
  max-height: 38px;
  width: auto;
}

.swaqly-navbar .navbar-nav > li > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.swaqly-navbar .navbar-nav > li > a:hover,
.swaqly-navbar .navbar-nav > li.active > a,
.swaqly-navbar .navbar-nav > li.active > a:hover {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-navbar .navbar-icon {
  color: var(--swaqly-violet-light);
}

.swaqly-navbar .badge {
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
  font-weight: 800;
}

.swaqly-navbar .navbar-toggle {
  margin-top: 14px;
  border-color: var(--swaqly-border-strong);
  background: rgba(139, 92, 246, .1);
}

.swaqly-navbar .navbar-toggle .icon-bar {
  background: var(--swaqly-violet-light);
}

.swaqly-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 12px;
}

.swaqly-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-neworder-page {
  width: min(1180px, calc(100% - 30px));
}

.swaqly-neworder-shell {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.5fr);
  align-items: stretch;
  gap: 24px;
}

.swaqly-order-guide,
.swaqly-order-card {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 0 28px var(--swaqly-glow), 0 18px 42px rgba(0, 0, 0, .32);
}

.swaqly-order-guide {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px 22px;
  text-align: right;
}

.swaqly-guide-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  place-items: center;
  border: 5px solid var(--swaqly-pink);
  border-radius: 50%;
  color: var(--swaqly-pink);
  background: #09080d;
  box-shadow: 0 0 0 8px rgba(236, 72, 153, .1), 0 0 28px rgba(236, 72, 153, .3);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.swaqly-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-violet-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swaqly-order-guide h1,
.swaqly-order-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.swaqly-order-guide h1 {
  font-size: 24px;
  text-align: center;
}

.swaqly-order-guide > p {
  margin: 8px 0 20px;
  color: var(--swaqly-muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.swaqly-order-guide ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
  counter-reset: swaqly-guide;
}

.swaqly-order-guide li {
  display: flex;
  gap: 9px;
  color: #e8e4f6;
  font-size: 12px;
  line-height: 1.8;
}

.swaqly-order-guide li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  content: counter(swaqly-guide);
  counter-increment: swaqly-guide;
  font-size: 11px;
  font-weight: 800;
}

.swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 10px;
  background: rgba(139, 92, 246, .1);
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-guide-note strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-order-guide .btn,
.swaqly-order-form > .btn {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 22px rgba(139, 92, 246, .25);
  font-weight: 800;
}

.swaqly-order-main {
  min-width: 0;
}

.swaqly-order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.swaqly-order-heading h2 {
  font-size: 22px;
}

.swaqly-order-heading p {
  margin: 5px 0 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-order-badge {
  padding: 7px 11px;
  border: 1px solid rgba(236, 72, 153, .35);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .1);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.swaqly-order-card {
  min-height: 560px;
  margin: 0;
  padding: 24px;
}

.swaqly-order-form {
  display: grid;
  gap: 14px;
}

.swaqly-order-form .form-group {
  margin: 0;
}

.swaqly-order-form .control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-order-form .form-control,
.swaqly-order-form .select2-container .select2-selection {
  min-height: 44px;
  border: 1px solid rgba(139, 92, 246, .42);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-order-form .form-control {
  padding: 10px 13px;
}

.swaqly-order-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-order-form select.form-control {
  padding-top: 0;
  padding-bottom: 0;
}

.swaqly-order-form #charge {
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .1);
  font-weight: 800;
}

.swaqly-order-form #service_description .panel-body,
.swaqly-order-form .panel-body {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 9px;
  color: var(--swaqly-muted);
  background: rgba(139, 92, 246, .07);
  font-size: 12px;
  line-height: 1.9;
}

.swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-order-form .terms input {
  accent-color: var(--swaqly-violet);
}

.swaqly-order-form .terms a {
  color: var(--swaqly-violet-light);
}

.swaqly-order-form > .btn {
  width: 100%;
  margin-top: 3px;
  padding: 0 20px;
  font-size: 14px;
}

.swaqly-order-form .alert {
  margin: 0;
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 10px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-order-form .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-neworder-text {
  margin-top: 24px;
}

.swaqly-neworder-text .well {
  margin: 0;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .9);
}

@media (max-width: 991px) {
  .swaqly-neworder-shell {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
  }

  .swaqly-order-guide,
  .swaqly-order-card {
    min-height: 0;
  }

  .swaqly-order-guide {
    padding: 24px 17px 18px;
  }

  .swaqly-order-guide li {
    font-size: 11px;
  }

  .swaqly-order-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-page-content {
    padding-top: 16px;
  }

  .swaqly-navbar .navbar-brand,
  .swaqly-navbar .navbar-nav > li > a {
    min-height: 52px;
  }

  .swaqly-navbar .navbar-brand {
    font-size: 17px;
  }

  .swaqly-navbar .navbar-toggle {
    margin-top: 9px;
  }

  .swaqly-neworder-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-neworder-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .swaqly-order-main {
    order: 1;
  }

  .swaqly-order-guide {
    order: 2;
  }

  .swaqly-order-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 11px;
  }

  .swaqly-order-heading h2 {
    font-size: 19px;
  }

  .swaqly-order-heading p {
    font-size: 12px;
  }

  .swaqly-order-card {
    padding: 16px 13px;
  }

  .swaqly-order-form {
    gap: 12px;
  }

  .swaqly-order-guide {
    min-height: 0;
    padding: 24px 16px 18px;
  }

  .swaqly-order-guide h1 {
    font-size: 21px;
  }

  .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared Swaqly surfaces for every remaining panel page. */
.swaqly-page-content > .container {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-page-content > .container > .row {
  margin-inline: 0;
}

.swaqly-services-page {
  padding-top: 8px;
}

.swaqly-services-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 34%), linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
}

.swaqly-services-hero h1 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.swaqly-services-hero p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.swaqly-services-search {
  position: relative;
  width: min(100%, 440px);
}

.swaqly-services-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--swaqly-violet-light);
  transform: translateY(-50%);
}

.swaqly-services-search input {
  width: 100%;
  min-height: 43px;
  padding: 0 41px 0 14px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(7, 7, 12, .72);
}

.swaqly-services-search input:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-services-count {
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-services-count strong {
  color: var(--swaqly-violet-light);
  font-size: 16px;
}

.swaqly-services-card {
  padding: 12px !important;
}

.swaqly-services-table {
  min-width: 840px !important;
}

.swaqly-services-table td,
.swaqly-services-table th {
  vertical-align: middle !important;
}

.swaqly-services-table td small,
.swaqly-service-name {
  display: block;
}

.swaqly-services-table td small {
  max-width: 330px;
  margin-top: 4px;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.7;
}

.swaqly-service-id,
.swaqly-service-rate {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-service-category {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(236, 72, 153, .26);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .08);
  font-size: 11px;
}

.swaqly-services-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 54px 20px;
  color: var(--swaqly-muted);
  text-align: center;
}

.swaqly-services-empty i {
  margin-bottom: 4px;
  color: var(--swaqly-violet-light);
  font-size: 30px;
}

.swaqly-services-empty strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-services-empty span {
  font-size: 12px;
}

@media (max-width: 767px) {
  .swaqly-services-hero,
  .swaqly-services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .swaqly-services-hero {
    padding: 18px 15px;
  }

  .swaqly-services-hero .btn {
    width: 100%;
  }

  .swaqly-services-search {
    width: 100%;
  }
}

.swaqly-page-content .col-md-8,
.swaqly-page-content .col-md-10,
.swaqly-page-content .col-lg-8,
.swaqly-page-content .col-lg-12 {
  float: none;
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 0;
}

.swaqly-page-content .col-md-6 {
  padding-inline: 10px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  margin: 0 0 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .96), rgba(12, 11, 18, .96));
  box-shadow: 0 0 24px rgba(139, 92, 246, .12), 0 16px 36px rgba(0, 0, 0, .25);
}

.swaqly-page-content .well > .well,
.swaqly-page-content .well-float > .well {
  margin-bottom: 14px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  overflow-x: auto;
}

.swaqly-page-content .well h1,
.swaqly-page-content .well h2,
.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  color: #fff;
}

.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  margin-top: 0;
}

.swaqly-page-content .form-group {
  margin-bottom: 17px;
}

.swaqly-page-content .control-label,
.swaqly-page-content label {
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .form-control {
  min-height: 43px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-page-content textarea.form-control {
  min-height: 120px;
  padding-top: 11px;
  resize: vertical;
}

.swaqly-page-content .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-page-content .help-block {
  color: var(--swaqly-muted);
}

.swaqly-page-content .btn {
  min-height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.swaqly-page-content .btn:hover {
  transform: translateY(-1px);
}

.swaqly-page-content .btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 20px rgba(139, 92, 246, .22);
}

.swaqly-page-content .btn-default {
  border-color: var(--swaqly-border);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-page-content .btn-default:hover {
  border-color: var(--swaqly-border-strong);
  color: #fff;
  background: rgba(139, 92, 246, .14);
}

.swaqly-page-content .btn-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fff;
  background: #b4233d;
}

.swaqly-page-content .btn-xs {
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.swaqly-page-content .alert {
  margin-bottom: 17px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: #e9e4ff;
  background: rgba(139, 92, 246, .1);
}

.swaqly-page-content .alert-success {
  border-color: rgba(34, 197, 94, .35);
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-page-content .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-page-content .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.swaqly-page-content .nav-pills > li {
  float: none;
}

.swaqly-page-content .nav-pills > li > a {
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .nav-pills > li.active > a,
.swaqly-page-content .nav-pills > li.active > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
}

.swaqly-orders-page {
  width: min(1240px, calc(100% - 30px)) !important;
}

.swaqly-order-filters {
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  padding: 8px;
  border: 1px solid var(--swaqly-border);
  border-radius: 12px;
  background: rgba(17, 16, 26, .82);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.swaqly-order-filters > li > a {
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 14px !important;
  white-space: nowrap;
}

.swaqly-order-filters .swaqly-order-search {
  flex: 1 1 240px;
  min-width: 210px;
  margin-inline-start: auto;
}

.swaqly-order-search form,
.swaqly-order-search .input-group {
  width: 100%;
  margin: 0;
}

.swaqly-order-search .form-control {
  min-height: 38px;
}

.swaqly-orders-table {
  padding: 12px !important;
}

.swaqly-orders-table .table {
  min-width: 980px;
}

.swaqly-page-content .table-responsive {
  border: 0;
}

.swaqly-page-content .table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  color: #e8e4f6;
  font-size: 12px;
}

.swaqly-page-content .table > thead > tr > th {
  padding: 13px 12px;
  border: 0;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .13);
  font-size: 11px;
  white-space: nowrap;
}

.swaqly-page-content .table > tbody > tr > td {
  padding: 13px 12px;
  border-color: rgba(255, 255, 255, .07);
  vertical-align: middle;
}

.swaqly-page-content .table > tbody > tr:hover {
  background: rgba(139, 92, 246, .06);
}

.swaqly-page-content .table a {
  color: var(--swaqly-violet-light);
}

.swaqly-page-content .table a:hover {
  color: #fff;
}

.swaqly-page-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
}

.swaqly-page-content .pagination > li > a,
.swaqly-page-content .pagination > li > span {
  min-width: 34px;
  border: 1px solid var(--swaqly-border);
  border-radius: 7px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.swaqly-page-content .pagination > .active > a,
.swaqly-page-content .pagination > .active > span {
  border-color: var(--swaqly-violet);
  color: #fff;
  background: var(--swaqly-violet);
}

.swaqly-page-content .input-group .form-control {
  z-index: 1;
}

.swaqly-page-content .input-group-btn .btn {
  min-height: 43px;
}

.swaqly-page-content .modal-content {
  overflow: hidden;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-text);
  background: #11101a;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .6);
}

.swaqly-page-content .modal-header,
.swaqly-page-content .modal-footer {
  border-color: var(--swaqly-border);
}

.swaqly-page-content .modal-header .close {
  color: #fff;
}

.swaqly-page-content .dropdown-menu {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: 9px;
  background: #15121e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

.swaqly-page-content .dropdown-menu > li > a {
  color: var(--swaqly-muted);
}

.swaqly-page-content .dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--swaqly-violet);
}

/* Give the data-heavy pages a readable card grid on desktop and a scrollable
   table on narrow screens without changing their server-side markup. */
.swaqly-authenticated .swaqly-page-content > .container-fluid {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid > .row {
  margin-inline: 0;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .well {
  margin-bottom: 18px;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .table {
  min-width: 900px;
}

@media (max-width: 767px) {
  .swaqly-page-content {
    min-height: calc(100vh - 106px);
    padding: 15px 0 28px;
  }

  .swaqly-page-content > .container,
  .swaqly-authenticated .swaqly-page-content > .container-fluid {
    width: min(100% - 22px, 560px);
  }

  .swaqly-page-content .well,
  .swaqly-page-content .well-float {
    padding: 16px 13px;
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .swaqly-page-content .col-md-6 {
    width: 100%;
    padding-inline: 0;
  }

  .swaqly-page-content .form-control {
    min-height: 42px;
  }

  .swaqly-page-content .table {
    min-width: 650px;
  }

  .swaqly-orders-page {
    width: min(100% - 22px, 560px) !important;
  }

  .swaqly-order-filters {
    align-items: stretch;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 7px;
  }

  .swaqly-order-filters > li > a {
    min-width: 92px;
  }

  .swaqly-order-filters .swaqly-order-search {
    order: -1;
    flex: 0 0 220px;
    min-width: 220px;
  }

  .swaqly-footer {
    padding: 18px 0;
  }
}

/* Imported Swaqly announcement, popup, order-copy and account-level features.
   The cyan variables are intentionally scoped so they do not replace the
   black/violet panel theme above. */
.swaqly-panel-topbar {
  top: 0;
}

.liquid-frame,
#liquidCanvas,
#liquidCanvasOffer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  pointer-events: none;
}

.liquid-frame {
  z-index: 0;
}

.swaqly-popup > :not(.liquid-frame) {
  position: relative;
  z-index: 1;
}

.close-popup,
.minimize-popup {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
}

.close-popup,
.minimize-popup {
  top: 4px;
  padding: 0;
  background: transparent;
  line-height: 1;
}

.close-popup {
  right: 12px;
  color: #ff4d6d;
  font-size: 28px;
}

.minimize-popup {
  right: 50px;
  color: #dffcff;
  font-size: 26px;
}

.swaqly-popup h2 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #8dfbff, #31d7ff, #6ca8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-line {
  margin: 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 238, 255, .35);
  color: #91fbff;
  font-size: 16px;
  font-weight: 700;
}

#popup-home p,
#popup-home h2 {
  margin: 8px 0;
  line-height: 2;
}

#popup-offer p,
#popup-offer h2 {
  margin: 4px 0;
  line-height: 1.6;
}

.swaqly-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.swaqly-buttons a {
  display: flex;
  flex: 1 1 45%;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #000;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .3s ease, filter .3s ease;
}

.swaqly-buttons a:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
  text-decoration: none;
}

.swaqly-buttons a * {
  text-decoration: none !important;
}

.swaqly-buttons a.whatsapp,
.swaqly-buttons a.bot {
  background: linear-gradient(180deg, #36df7b, #1fb95f);
}

.swaqly-buttons a.download-app {
  background: linear-gradient(180deg, #3bc8ff, #1d8dff);
}

.swaqly-buttons a.telegram {
  background: linear-gradient(180deg, #44d8ff, #1d9cf0);
}

.swaqly-buttons a img.icon-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2px;
}

.digit {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #04111f;
  background: linear-gradient(180deg, #90fbff, #31d7ff 55%, #5d8fff);
  box-shadow: 0 0 12px rgba(0, 238, 255, .22);
  font-size: 28px;
  font-weight: 900;
}

.label {
  margin-top: 3px;
  color: #dffcff;
  font-size: 12px;
}

#small-popup-home,
#small-popup-offer {
  display: none;
  position: fixed;
  bottom: 160px;
  left: 20px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#small-popup-offer {
  width: 39px;
  height: 39px;
}

#small-popup-home img,
#small-popup-offer img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0, 238, 255, .2), 0 0 20px rgba(0, 140, 255, .15);
}

.small-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #33dfff, #118dff);
  box-shadow: 0 0 10px rgba(0, 200, 255, .35);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.popup-home-images,
.swaqly-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.popup-home-images img,
.swaqly-icons img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0, 238, 255, .18), 0 0 18px rgba(0, 140, 255, .12);
  transition: transform .3s ease, filter .3s ease;
}

.popup-home-images img:hover,
.swaqly-icons img:hover {
  transform: translateY(-8px) scale(1.12);
  filter: drop-shadow(0 0 12px rgba(0, 238, 255, .35));
}

/* Optional server-rendered blocks from the attached customization. */
#block_330 {
  min-height: 220px !important;
}

#block_330 .container {
  min-height: 220px !important;
  padding: 0 !important;
  background-image: url("https://a.top4top.io/p_38020us8n1.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#block_330 h2,
#block_330 p,
#block_330 img,
#block_330 .text-block__title,
#block_330 .text-block__description {
  display: none !important;
}

#block_332 {
  min-height: 420px !important;
}

#block_332 .container {
  min-height: 420px !important;
  padding-top: 320px !important;
  background-image: url("https://h.top4top.io/p_3803x3qh32.png") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

#block_332 img {
  display: none !important;
}

/* The attached account-card customization works with the platform's
   server-rendered dashboard cards when those blocks are present. */
#block_264 .totals-block__icon-preview {
  position: relative !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 115% 115% !important;
}

#block_264 .totals-block__icon-preview .totals-block__icon {
  visibility: hidden !important;
  opacity: 0 !important;
}

.swaqly-level-card,
.swaqly-discount-card {
  cursor: pointer !important;
}

.swaqly-level-card .totals-block__count-value,
.swaqly-discount-card .totals-block__count-value {
  color: var(--color-id-164, #39eaff) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 28px !important;
}

.swaqly-level-card .swaqly-level-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  direction: rtl !important;
  white-space: nowrap !important;
}

.swaqly-level-fa {
  color: var(--color-id-164, #39eaff) !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

@media (min-width: 769px) {
  #popup-offer {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .swaqly-popup {
    top: 50%;
    width: 92%;
    max-height: none;
    overflow: hidden;
    padding: 15px;
    transform: translate(-50%, -50%);
  }

  .swaqly-popup h2 {
    font-size: 18px;
  }

  .primary-line {
    padding-bottom: 2px;
    font-size: 13px;
  }

  .swaqly-popup p {
    font-size: 14px;
  }

  .swaqly-buttons a {
    gap: 6px;
    padding: 10px 6px;
    font-size: 13px;
  }

  .swaqly-buttons a img.icon-btn {
    width: 22px;
    height: 22px;
  }

  .digit {
    width: 40px;
    height: 45px;
    font-size: 20px;
  }

  .label {
    font-size: 10px;
  }

  .popup-home-images img,
  .swaqly-icons img {
    width: 40px;
    height: 40px;
  }

  #small-popup-home,
  #small-popup-offer {
    width: 40px;
    height: 40px;
  }

  .swaqly-news-bar {
    height: 30px;
    line-height: 30px;
  }

  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }

  .swaqly-news-track {
    font-size: 14px;
    animation-duration: 45s;
  }

  .swaqly-news-track span {
    margin-right: 80px;
  }

  #swaqly-copy-action-bar {
    right: 10px;
    bottom: -180px;
    left: 10px;
    width: calc(100vw - 20px);
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    transform: none;
  }

  #swaqly-copy-action-bar .swaqly-text {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  #swaqly-copy-action-bar .swaqly-copy-btn {
    width: 120px;
    height: 44px;
  }

  #block_330 .container {
    min-height: 180px !important;
    background-image: url("https://k.top4top.io/p_3803tmgkv1.png") !important;
    background-size: 100% auto !important;
  }

  #block_330 {
    min-height: auto !important;
  }

  #block_332 .container {
    min-height: 170px !important;
    padding-top: 0 !important;
    background-image: url("https://g.top4top.io/p_3803li6w91.png") !important;
    background-size: 100% auto !important;
  }

  #block_332 {
    min-height: auto !important;
  }
}

/* Full panel shell: the same dark dashboard language as the live Swaqly app. */
body.swaqly-authenticated {
  overflow-x: hidden;
}

.swaqly-panel-shell {
  min-height: 100vh;
  display: flex;
  direction: rtl;
}

.swaqly-sidebar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  border-left: 1px solid rgba(139, 92, 246, .28);
  background: linear-gradient(180deg, #11101a 0%, #0b0a10 100%);
  box-shadow: -15px 0 42px rgba(0, 0, 0, .24);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .5) transparent;
}

.swaqly-sidebar-brand {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-sidebar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-sidebar-brand img {
  display: block;
  max-width: 148px;
  max-height: 38px;
  object-fit: contain;
}

.swaqly-brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  box-shadow: 0 0 20px rgba(139, 92, 246, .4), inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: "Tajawal", sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.swaqly-brand-mark::before {
  position: absolute;
  width: 50px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  content: "";
  transform: rotate(-38deg);
}

.swaqly-brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  content: "";
}

.swaqly-sidebar-brand strong,
.swaqly-public-brand strong {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-sidebar-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 10px 9px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
}

.swaqly-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--swaqly-pink);
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 72, 153, .18);
  font-size: 16px;
  font-weight: 900;
}

.swaqly-user-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.swaqly-user-copy strong,
.swaqly-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swaqly-user-copy strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-user-copy small {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-user-dot,
.swaqly-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .11), 0 0 12px rgba(34, 197, 94, .45);
}

.swaqly-sidebar-nav {
  display: grid;
  gap: 4px;
}

.swaqly-sidebar-label {
  display: block;
  margin: 8px 9px 5px;
  color: #756d8e;
  font-size: 10px;
  font-weight: 800;
}

.swaqly-sidebar-link {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.swaqly-sidebar-link i {
  width: 18px;
  color: #83789f;
  font-size: 13px;
  text-align: center;
}

.swaqly-sidebar-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, .1);
  text-decoration: none;
}

.swaqly-sidebar-link:hover i,
.swaqly-sidebar-link.active i {
  color: #fff;
}

.swaqly-sidebar-link.active {
  border-color: rgba(139, 92, 246, .4);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, .98), rgba(109, 40, 217, .92));
  box-shadow: 0 8px 22px rgba(109, 40, 217, .25);
}

.swaqly-sidebar-balance {
  margin-top: auto;
  padding: 13px 12px;
  border: 1px solid rgba(236, 72, 153, .28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .06));
}

.swaqly-sidebar-balance span,
.swaqly-sidebar-balance strong {
  display: block;
}

.swaqly-sidebar-balance span {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-sidebar-balance strong {
  margin: 4px 0 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-sidebar-balance a {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-sidebar-balance a:hover {
  color: #fff;
}

.swaqly-panel-main {
  width: calc(100% - 252px);
  min-width: 0;
  min-height: 100vh;
  margin-right: 252px;
  direction: rtl;
}

.swaqly-panel-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
  background: rgba(8, 8, 13, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}

.swaqly-panel-heading,
.swaqly-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swaqly-panel-heading > div {
  display: grid;
  gap: 3px;
}

.swaqly-panel-heading span {
  color: var(--swaqly-violet-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.swaqly-panel-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.swaqly-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.swaqly-currency {
  direction: rtl;
}

.swaqly-currency > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(139, 92, 246, .1);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-currency > a:hover,
.swaqly-currency > a:focus {
  color: #fff;
  text-decoration: none;
}

.swaqly-online-dot {
  display: block;
}

.swaqly-panel-main > .swaqly-page-content {
  min-height: calc(100vh - 125px);
  padding: 24px 26px 34px;
}

.swaqly-panel-main > .swaqly-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 57px;
  padding: 16px 26px;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 11px;
}

.swaqly-panel-main > .swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 900;
}

.swaqly-public-navbar {
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
}

.swaqly-public-navbar .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.swaqly-public-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-public-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-public-brand img {
  max-width: 145px;
  max-height: 37px;
}

.swaqly-public-navbar .navbar-collapse {
  flex: 1;
}

.swaqly-public-navbar .navbar-nav > li > a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-public-navbar .navbar-nav > li > a:hover,
.swaqly-public-navbar .navbar-nav > li.active > a {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-public-toggle {
  display: none;
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 16px;
}

.swaqly-public-hero {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  min-height: 420px;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  align-items: center;
  gap: 58px;
  margin: 18px auto 28px;
  padding: 54px 46px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .18), transparent 15rem),
    linear-gradient(135deg, rgba(27, 22, 40, .98), rgba(9, 8, 14, .98));
  box-shadow: 0 0 44px rgba(139, 92, 246, .16), 0 22px 60px rgba(0, 0, 0, .35);
}

.swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: right;
}

.swaqly-public-hero h1 {
  max-width: 610px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.swaqly-public-hero-copy > p {
  max-width: 550px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 15px;
  line-height: 2;
}

.swaqly-public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.swaqly-public-hero-actions .btn {
  min-width: 132px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.swaqly-public-hero-actions .btn-default {
  border-color: rgba(196, 181, 253, .35);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
  color: #b8b0cf;
  font-size: 11px;
  font-weight: 700;
}

.swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-public-hero-meta i {
  color: var(--swaqly-pink);
}

.swaqly-public-hero-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(196, 181, 253, .32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(139, 92, 246, .27), rgba(17, 16, 26, .9) 58%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  direction: rtl;
}

.swaqly-public-hero-card::before {
  position: absolute;
  top: -45px;
  left: -35px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(236, 72, 153, .22);
  border-radius: 50%;
  content: "";
}

.swaqly-public-card-top,
.swaqly-public-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-public-card-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.swaqly-public-card-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, .6);
}

.swaqly-public-card-balance {
  display: grid;
  gap: 7px;
  padding: 28px 0 22px;
}

.swaqly-public-card-balance span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
}

.swaqly-public-card-balance strong {
  color: #fff;
  font-size: 21px;
}

.swaqly-public-card-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.swaqly-public-card-bars span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
}

.swaqly-public-card-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-card-footer {
  color: #cfc7e4;
}

.swaqly-public-card-footer i {
  margin-left: 4px;
  color: #4ade80;
}

.swaqly-public-card-footer b {
  color: #f9a8d4;
}

.swaqly-public-features {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 28px;
  direction: rtl;
}

.swaqly-public-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--swaqly-border);
  border-radius: 13px;
  background: rgba(17, 16, 26, .84);
}

.swaqly-public-feature > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-feature div {
  display: grid;
  gap: 4px;
}

.swaqly-public-feature strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
}

@media (max-width: 991px) {
  .swaqly-sidebar {
    width: 238px;
  }

  .swaqly-panel-main {
    width: calc(100% - 238px);
    margin-right: 238px;
  }

  .swaqly-panel-topbar,
  .swaqly-panel-main > .swaqly-page-content,
  .swaqly-panel-main > .swaqly-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-sidebar {
    right: -270px;
    width: 258px;
    transition: right .25s ease;
  }

  .swaqly-sidebar-open .swaqly-sidebar {
    right: 0;
  }

  .swaqly-sidebar-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, .66);
  }

  .swaqly-sidebar-open .swaqly-sidebar-overlay {
    display: block;
  }

  .swaqly-panel-main {
    width: 100%;
    margin-right: 0;
  }

  .swaqly-panel-topbar {
    min-height: 62px;
    padding: 0 13px;
  }

  .swaqly-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .swaqly-panel-heading h1 {
    font-size: 15px;
  }

  .swaqly-panel-heading span {
    font-size: 8px;
  }

  .swaqly-panel-actions .swaqly-currency {
    display: none;
  }

  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 114px);
    padding: 16px 11px 28px;
  }

  .swaqly-panel-main > .swaqly-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 13px;
  }

  .swaqly-public-navbar .container {
    min-height: 57px;
    width: calc(100% - 22px);
  }

  .swaqly-public-toggle {
    display: inline-grid;
    width: 35px;
    height: 35px;
    place-items: center;
  }

  .swaqly-public-navbar .navbar-collapse {
    position: absolute;
    z-index: 50;
    top: 57px;
    right: 11px;
    left: 11px;
    padding: 7px;
    border: 1px solid var(--swaqly-border);
    border-radius: 10px;
    background: #11101a;
  }

  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 42px;
    padding: 0 10px;
  }

  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(245px, .9fr);
    gap: 28px;
    padding: 38px 26px;
  }

  .swaqly-public-hero h1 {
    font-size: 33px;
  }
}

@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin-top: 10px;
    padding: 30px 20px;
    border-radius: 16px;
  }

  .swaqly-public-hero h1 {
    font-size: 29px;
  }

  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  .swaqly-public-hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .swaqly-public-hero-card {
    min-height: 230px;
  }

  .swaqly-public-features {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }
}

/* Dashboard bridge for the native Twig shell.
   These selectors mirror the supplied dashboard names so the sidebar,
   topbar, and every server-rendered panel use the same geometry. */
body.swaqly-twig-theme .dashboard-shell {
  display: flex !important;
  min-height: 100vh !important;
  direction: rtl !important;
  background: #050506 !important;
}

body.swaqly-twig-theme .dashboard-sidebar {
  position: relative !important;
  z-index: 60 !important;
  display: flex !important;
  width: 214px !important;
  min-height: 100vh !important;
  flex: 0 0 214px !important;
  flex-direction: column !important;
  padding: 14px 11px !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-left: 1px solid rgba(139, 92, 246, .38) !important;
  background: #0d0d12 !important;
  box-shadow: -18px 0 42px rgba(0, 0, 0, .4), inset -1px 0 0 rgba(139, 92, 246, .16) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 14px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-mark {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border-radius: 9px 9px 9px 3px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, .36) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card {
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(139, 92, 246, .32) !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: #15141c !important;
  text-align: right !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .avatar,
body.swaqly-twig-theme .top-user .avatar {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .6) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .swaqly-user-copy {
  min-width: 0 !important;
  flex: 1 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong,
body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong {
  color: #fff !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  margin-top: 3px !important;
  color: #9892aa !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .swaqly-user-dot {
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 9px rgba(34, 197, 94, .7) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-links {
  display: grid !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-label,
body.swaqly-twig-theme .dashboard-sidebar .swaqly-sidebar-label {
  display: block !important;
  margin: 20px 7px 7px !important;
  color: #777184 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #aaa4b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: .2s ease !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  width: 17px !important;
  color: #9f94bd !important;
  text-align: center !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .3) !important;
  background: rgba(139, 92, 246, .12) !important;
  transform: translateX(-2px) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .38) !important;
  background: linear-gradient(100deg, #7c3aed, #a855f7 60%, #db2777) !important;
  box-shadow: 0 0 22px rgba(139, 92, 246, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card {
  position: relative !important;
  margin-top: auto !important;
  padding: 12px 11px !important;
  border: 1px solid rgba(139, 92, 246, .38) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(236, 72, 153, .06)) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span,
body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  display: block !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span {
  color: #aaa4b8 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  margin: 5px 0 8px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card a {
  color: #c4b5fd !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-main {
  min-width: 0 !important;
  flex: 1 !important;
  background: #08080c !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  position: relative !important;
  z-index: 40 !important;
  display: flex !important;
  min-height: 68px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .22) !important;
  background: #0e0e13 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
}

body.swaqly-twig-theme .dashboard-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child {
  min-width: 0 !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child > span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #a78bfa !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-heading p {
  margin: 3px 0 0 !important;
  color: #898398 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-collapse-toggle,
body.swaqly-twig-theme .dashboard-menu {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 7px !important;
  background: rgba(139, 92, 246, .1) !important;
}

body.swaqly-twig-theme .dashboard-menu {
  display: none !important;
}

body.swaqly-twig-theme .topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.swaqly-twig-theme .notification-button {
  position: relative !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .notification-button:hover {
  color: #fff !important;
  background: rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .notification-dot {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

body.swaqly-twig-theme .top-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-inline-start: 10px !important;
  border-inline-start: 1px solid rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .top-user strong,
body.swaqly-twig-theme .top-user span {
  display: block !important;
}

body.swaqly-twig-theme .top-user strong {
  color: #fff !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .top-user span {
  margin-top: 3px !important;
  color: #22c55e !important;
  font-size: 9px !important;
}

body.swaqly-twig-theme .swaqly-online-dot {
  display: none !important;
}

body.swaqly-twig-theme .dashboard-content {
  width: min(1240px, calc(100% - 48px)) !important;
  min-height: calc(100vh - 68px) !important;
  margin-inline: auto !important;
  padding: 24px 0 42px !important;
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .panel {
  border-color: rgba(139, 92, 246, .28) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #191622, #0f0e14) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 18px rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th,
body.swaqly-twig-theme .dashboard-content .table > tbody > tr > td {
  color: #d9d4e8 !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th {
  background: rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .dashboard-content .form-control,
body.swaqly-twig-theme .dashboard-content select,
body.swaqly-twig-theme .dashboard-content textarea {
  color: #fff !important;
  background: #0b0a10 !important;
}

body.swaqly-twig-theme .notification-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  display: grid !important;
  min-width: 220px !important;
  gap: 7px !important;
  padding: 12px !important;
  border: 1px solid rgba(139, 92, 246, .48) !important;
  border-radius: 10px !important;
  background: #171321 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55) !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .notification-menu[hidden] {
  display: none !important;
}

body.swaqly-twig-theme .notification-menu strong {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .notification-menu span {
  padding: 6px 0 !important;
  color: #aaa4b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body.swaqly-twig-theme .notification-menu a {
  color: #f0abfc !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;
    bottom: 0 !important;
    width: 258px !important;
    min-height: 100vh !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-sidebar-open .dashboard-sidebar {
    right: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-menu {
    display: grid !important;
  }

  body.swaqly-twig-theme .dashboard-collapse-toggle {
    display: none !important;
  }

  body.swaqly-twig-theme .dashboard-topbar {
    min-height: 64px !important;
    padding-inline: 14px !important;
  }

  body.swaqly-twig-theme .dashboard-content {
    width: calc(100% - 24px) !important;
    padding-top: 18px !important;
  }

  body.swaqly-twig-theme .top-user > div {
    display: none !important;
  }

  body.swaqly-twig-theme .top-user {
    padding-inline-start: 0 !important;
    border: 0 !important;
  }
}

/*
   Disabled screenshot parity pass: compact right rail, compact order form, and compact
   public landing viewport matching the supplied Swaqly screens.
@media (min-width: 768px) {
  .swaqly-sidebar {
    width: 166px;
    padding: 8px 6px;
  }
  .swaqly-sidebar-brand {
    min-height: 28px;
    margin-bottom: 8px;
    font-size: 12px;
  }
  .swaqly-sidebar-brand img {
    max-width: 102px;
    max-height: 28px;
  }
  .swaqly-brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 17px;
  }
  .swaqly-sidebar-user {
    gap: 5px;
    margin-bottom: 9px;
    padding: 6px 5px;
    border-radius: 6px;
  }
  .swaqly-user-avatar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px;
  }
  .swaqly-user-copy {
    gap: 1px;
  }
  .swaqly-user-copy strong {
    font-size: 9px;
  }
  .swaqly-user-copy small {
    font-size: 7px;
  }
  .swaqly-user-dot,
  .swaqly-online-dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }
  .swaqly-sidebar-nav {
    gap: 1px;
  }
  .swaqly-sidebar-label {
    margin: 7px 4px 3px;
    font-size: 8px;
  }
  .swaqly-sidebar-link {
    min-height: 25px;
    gap: 5px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 9px;
  }
  .swaqly-sidebar-link i {
    width: 12px;
    font-size: 9px;
  }
  .swaqly-sidebar-balance {
    padding: 7px 6px;
    border-radius: 7px;
  }
  .swaqly-sidebar-balance span {
    font-size: 8px;
  }
  .swaqly-sidebar-balance strong {
    margin: 3px 0 4px;
    font-size: 13px;
  }
  .swaqly-sidebar-balance a {
    font-size: 8px;
  }
  .swaqly-panel-main {
    width: calc(100% - 166px);
    margin-right: 166px;
  }
  .swaqly-panel-topbar {
    min-height: 34px;
    gap: 8px;
    padding: 0 8px;
  }
  .swaqly-panel-heading,
  .swaqly-panel-actions {
    gap: 6px;
  }
  .swaqly-panel-heading span {
    font-size: 7px;
  }
  .swaqly-panel-heading h1 {
    font-size: 12px;
  }
  .swaqly-currency > a {
    min-height: 23px;
    gap: 4px;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 70px);
    padding: 23px 0 28px;
  }
  .swaqly-panel-main > .swaqly-footer {
    min-height: 36px;
    padding: 8px;
    font-size: 8px;
  }
  .swaqly-neworder-page {
    width: 100%;
  }
  .swaqly-neworder-shell {
    display: block;
  }
  .swaqly-order-guide,
  .swaqly-order-heading {
    display: none;
  }
  .swaqly-order-main {
    width: min(550px, calc(100% - 24px));
    margin: 0 auto;
  }
  .swaqly-order-card {
    min-height: 505px;
    padding: 14px 14px 16px;
    border-radius: 7px;
    background: linear-gradient(145deg, #171126, #0d0a14);
    box-shadow: 0 0 24px rgba(139, 92, 246, .2), 0 16px 32px rgba(0, 0, 0, .42);
  }
  .swaqly-order-form {
    gap: 10px;
  }
  .swaqly-order-form .form-group {
    margin: 0;
  }
  .swaqly-order-form .control-label {
    margin-bottom: 4px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control,
  .swaqly-order-form .select2-container .select2-selection {
    min-height: 27px;
    height: 27px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control {
    padding: 5px 9px;
  }
  .swaqly-order-form select.form-control {
    padding-top: 0;
    padding-bottom: 0;
  }
  .swaqly-order-form .select2-container {
    width: 100% !important;
  }
  .swaqly-order-form .select2-selection__rendered {
    padding-right: 9px !important;
    padding-left: 22px !important;
    color: #eeeaff !important;
    font-size: 9px;
    line-height: 25px !important;
  }
  .swaqly-order-form .select2-selection__arrow {
    top: 1px !important;
    height: 25px !important;
  }
  .swaqly-order-form .select2-container .select2-selection,
  .swaqly-order-form .select2-container--default .select2-selection--single {
    border-color: rgba(139, 92, 246, .48) !important;
    background: #0b0813 !important;
  }
  .swaqly-order-form .select2-dropdown {
    z-index: 100;
    border-color: rgba(139, 92, 246, .48) !important;
    color: #eeeaff;
    background: #11101a !important;
  }
  .swaqly-order-form .select2-results__option {
    color: #cfc7e4;
    background: #11101a;
    font-size: 9px;
  }
  .swaqly-order-form .select2-results__option--highlighted {
    color: #fff !important;
    background: var(--swaqly-violet) !important;
  }
  .swaqly-order-form #service_description .panel-body,
  .swaqly-order-form .panel-body {
    min-height: 150px !important;
    max-height: 170px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid rgba(139, 92, 246, .42) !important;
    border-radius: 5px;
    color: #cfc7e4 !important;
    background: #0c0913 !important;
    font-size: 9px;
    line-height: 1.8;
  }
  .swaqly-order-form #service_description .panel-body *,
  .swaqly-order-form .panel-body * {
    color: inherit !important;
    background: transparent !important;
  }
  .swaqly-order-form #charge {
    height: 27px;
    color: var(--swaqly-violet-light);
    background: #100b1c !important;
  }
  .swaqly-order-form .terms {
    gap: 4px;
    font-size: 9px;
  }
  .swaqly-order-form > .btn {
    min-height: 29px;
    margin-top: 1px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-neworder-text {
    display: none;
  }
}

@media (min-width: 768px) {
  .swaqly-public-navbar {
    min-height: 36px;
  }
  .swaqly-public-navbar .container {
    min-height: 36px;
  }
  .swaqly-public-brand {
    gap: 5px;
    font-size: 11px;
  }
  .swaqly-public-brand img {
    max-width: 100px;
    max-height: 27px;
  }
  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 9px;
  }
  .swaqly-public-hero {
    width: min(900px, calc(100% - 30px));
    min-height: 330px;
    grid-template-columns: minmax(245px, .82fr) minmax(0, 1.18fr);
    gap: 38px;
    padding: 36px 0 30px;
  }
  .swaqly-public-hero-copy h1 {
    max-width: 390px;
    margin: 10px 0 8px;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
  }
  .swaqly-public-hero-copy > p {
    max-width: 430px;
    font-size: 9px;
    line-height: 2;
  }
  .swaqly-eyebrow {
    margin-bottom: 4px;
    font-size: 7px;
  }
  .swaqly-public-hero-actions {
    gap: 6px;
    margin-top: 13px;
  }
  .swaqly-public-hero-actions .btn {
    min-width: 96px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-public-hero-meta {
    gap: 9px;
    margin-top: 13px;
    font-size: 7px;
  }
  .swaqly-public-login-card {
    width: 260px;
    justify-self: start;
    padding: 15px;
    border-radius: 8px;
  }
  .swaqly-public-login-heading {
    margin-bottom: 11px;
  }
  .swaqly-public-login-heading h2 {
    font-size: 13px;
  }
  .swaqly-public-login-heading p {
    font-size: 8px;
  }
  .swaqly-public-form-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 9px;
  }
  .swaqly-public-login-form {
    gap: 7px;
  }
  .swaqly-public-login-form label {
    margin-bottom: 3px;
    font-size: 7px;
  }
  .swaqly-public-login-form .form-control {
    min-height: 24px;
    height: 24px;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 8px;
  }
  .swaqly-public-forgot,
  .swaqly-public-login-footer,
  .swaqly-public-divider,
  .swaqly-public-google {
    font-size: 7px;
  }
  .swaqly-public-login-form .btn,
  .swaqly-public-google {
    min-height: 24px;
    border-radius: 4px;
  }
  .swaqly-public-login-footer {
    margin-top: 9px;
  }
  .swaqly-public-platform-track {
    gap: 6px;
    padding: 7px 0;
  }
  .swaqly-public-platform-track span {
    gap: 4px;
    padding: 5px 8px;
    font-size: 7px;
  }
  .swaqly-public-section {
    width: min(900px, calc(100% - 30px));
    padding: 54px 0;
  }
  .swaqly-public-section-heading {
    margin-bottom: 22px;
  }
  .swaqly-public-section-heading h2 {
    margin: 5px 0 4px;
    font-size: 20px;
  }
  .swaqly-public-section-heading > span,
  .swaqly-public-section-heading p {
    font-size: 8px;
  }
  .swaqly-public-feature-grid {
    gap: 8px;
  }
  .swaqly-public-feature {
    min-height: 112px;
    padding: 13px 10px;
  }
  .swaqly-public-feature > i {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    font-size: 10px;
  }
  .swaqly-public-feature strong {
    font-size: 9px;
  }
  .swaqly-public-feature span {
    font-size: 7px;
  }
}

*/

/* Final black sidebar + shared hover shadow/glow pass. */
.swaqly-sidebar {
  background: #050507;
  box-shadow: -18px 0 46px rgba(0, 0, 0, .58), inset -1px 0 0 rgba(139, 92, 246, .18);
}
.swaqly-panel-topbar {
  background: rgba(5, 5, 7, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .44);
}
.swaqly-sidebar-user,
.swaqly-sidebar-balance {
  background: #0a0a0d;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .38), 0 0 15px rgba(139, 92, 246, .08);
}
.swaqly-sidebar-link {
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.swaqly-sidebar-link:hover {
  border-color: rgba(139, 92, 246, .48);
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25), inset 0 0 12px rgba(236, 72, 153, .06);
  transform: translateX(-2px);
}

/* Perfect Panel installation correction.
   Keep the authenticated content fluid when an older panel stylesheet or
   cached compact-preview rule is loaded before this theme stylesheet. */
body.swaqly-twig-theme .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 26px 42px !important;
}

body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr) !important;
  gap: 24px !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
  display: flex !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-content {
    width: 100% !important;
    padding: 18px 12px 28px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
    width: 100% !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
    display: flex !important;
    order: 2 !important;
  }
}
.swaqly-sidebar-link.active {
  box-shadow: 0 0 25px rgba(139, 92, 246, .44), 0 8px 22px rgba(0, 0, 0, .38);
}
.swaqly-order-guide,
.swaqly-order-card,
.swaqly-public-hero,
.swaqly-public-hero-card,
.swaqly-public-feature,
.swaqly-page-content .well,
.swaqly-page-content .well-float,
.swaqly-page-content .modal-content {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 16px rgba(139, 92, 246, .09);
}
.swaqly-order-guide:hover,
.swaqly-order-card:hover,
.swaqly-public-hero:hover,
.swaqly-public-hero-card:hover,
.swaqly-public-feature:hover,
.swaqly-page-content .well:hover,
.swaqly-page-content .well-float:hover,
.swaqly-page-content .modal-content:hover {
  border-color: rgba(196, 181, 253, .62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46), 0 0 30px rgba(139, 92, 246, .28), 0 0 9px rgba(236, 72, 153, .2);
  transform: translateY(-3px);
}
.swaqly-page-content .btn:hover,
.swaqly-sidebar-balance a:hover,
.swaqly-currency > a:hover,
.swaqly-public-hero-actions .btn:hover {
  box-shadow: 0 0 24px rgba(139, 92, 246, .44), 0 8px 20px rgba(0, 0, 0, .34);
}

/* Public home parity with the Swaqly preview app. */
.swaqly-public-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg);
}
.swaqly-public-shell > .swaqly-page-content {
  padding-top: 0;
}
.swaqly-public-shell .form-control,
.swaqly-public-shell input,
.swaqly-public-shell select,
.swaqly-public-shell textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 8, 13, .78);
  box-shadow: none;
}
.swaqly-public-hero {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  min-height: 620px;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr);
  gap: 72px;
  margin: 0 auto;
  padding: 72px 0 66px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(139, 92, 246, .16), transparent 30rem),
    radial-gradient(circle at 82% 70%, rgba(236, 72, 153, .08), transparent 24rem);
  box-shadow: none;
}
.swaqly-public-hero::before {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 45px 45px;
  content: "";
  pointer-events: none;
}
.swaqly-public-hero-copy {
  align-self: center;
}
.swaqly-public-hero-copy h1 {
  max-width: 690px;
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.swaqly-public-hero-copy h1 strong {
  display: inline;
  color: transparent;
  background: linear-gradient(100deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 48%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 25px rgba(236, 72, 153, .22);
}
@media (max-width: 640px) {
  .swaqly-public-hero-copy h1 {
    white-space: normal;
  }
}
.swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: 15px;
  line-height: 2.1;
}
.swaqly-public-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swaqly-public-login-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
  backdrop-filter: blur(12px);
}
.swaqly-public-login-heading {
  margin-bottom: 22px;
  text-align: center;
}
.swaqly-public-login-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}
.swaqly-public-login-heading p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-form-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-login-form {
  display: grid;
  gap: 13px;
}
.swaqly-public-login-form .form-group {
  margin: 0;
}
.swaqly-public-login-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 11px;
}
.swaqly-public-login-form .form-control {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
}
.swaqly-public-login-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}
.swaqly-public-forgot {
  justify-self: start;
  margin-top: -5px;
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-login-form .btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
}
.swaqly-public-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}
.swaqly-public-divider::before,
.swaqly-public-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  content: "";
}
.swaqly-public-google {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font-size: 11px;
}
.swaqly-public-google b {
  color: #4285f4;
  font-size: 16px;
}
.swaqly-public-login-footer {
  margin: 18px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}
.swaqly-public-login-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}
.swaqly-public-platforms {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.swaqly-public-platform-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 14px 0;
  animation: swaqly-public-marquee 28s linear infinite;
}
.swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--swaqly-muted);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-platform-track i {
  color: var(--swaqly-violet-light);
  filter: drop-shadow(0 0 5px currentColor);
}
@keyframes swaqly-public-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.swaqly-public-section {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(139, 92, 246, .18);
}
.swaqly-public-section + .swaqly-public-section::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(150px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--swaqly-violet), transparent);
  content: "";
  transform: translateX(-50%);
}
.swaqly-public-section-heading {
  margin-bottom: 42px;
  text-align: center;
}
.swaqly-public-section-heading > span,
.swaqly-public-final-cta > div:first-child > span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}
.swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}
.swaqly-public-section-heading p {
  margin: 0 auto;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-feature {
  min-height: 190px;
  display: block;
  padding: 25px 20px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 15px;
  background: #050507;
  text-align: center;
}
.swaqly-public-feature > i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-feature div {
  display: grid;
  gap: 7px;
}
.swaqly-public-feature strong {
  color: #fff;
  font-size: 14px;
}
.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-payments,
.swaqly-public-faq {
  max-width: none;
  background: rgba(255,255,255,.018);
}
.swaqly-public-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.swaqly-public-payment-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: #050507;
  font-size: 12px;
  font-weight: 800;
}
.swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-steps article {
  min-height: 190px;
  padding: 28px 20px;
  border: 1px solid var(--swaqly-border);
  border-radius: 15px;
  background: #050507;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.swaqly-public-steps b {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 0 22px rgba(139,92,246,.3);
  font-size: 16px;
}
.swaqly-public-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.swaqly-public-steps p {
  margin: 7px 0 0;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-review-grid {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}
.swaqly-public-review-grid article {
  padding: 25px;
  border-right: 4px solid var(--swaqly-violet);
  border-radius: 15px;
  background: #050507;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.swaqly-public-review-grid article > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swaqly-public-review-grid article > div > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  font-size: 11px;
}
.swaqly-public-review-grid strong {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 12px;
}
.swaqly-public-review-grid small {
  color: var(--swaqly-muted);
  font-size: 10px;
  font-weight: 400;
}
.swaqly-public-review-grid p {
  min-height: 50px;
  margin: 17px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.swaqly-public-faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  background: rgba(17, 16, 26, .92);
}
.swaqly-public-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}
.swaqly-public-faq-list summary::-webkit-details-marker {
  display: none;
}
.swaqly-public-faq-list summary i {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary i {
  transform: rotate(45deg);
}
.swaqly-public-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 50px;
  padding: 34px 40px;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(139,92,246,.17), rgba(236,72,153,.1));
  box-shadow: 0 0 30px rgba(139,92,246,.12);
}
.swaqly-public-final-cta h2 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: 23px;
}
.swaqly-public-final-cta p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swaqly-public-final-cta .btn {
  min-width: 125px;
}
.swaqly-public-shell .swaqly-footer {
  background: #07070b;
}
@media (max-width: 980px) {
  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
    gap: 35px;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 42px 0 34px;
  }
  .swaqly-public-hero-copy h1 {
    font-size: 30px;
    white-space: normal;
  }
  .swaqly-public-section-heading h2 {
    white-space: normal;
  }
  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }
  .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }
  .swaqly-public-section {
    width: min(100% - 22px, 560px);
    padding: 58px 0;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps,
  .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 25px;
    padding: 25px 20px;
  }
  .swaqly-public-final-cta h2 {
    font-size: 20px;
  }
  .swaqly-public-final-cta > div:last-child .btn {
    flex: 1;
  }
}

/* Keep the news bar in normal document flow before the panel header. */
body.swaqly-app {
  padding-top: 0;
}

.swaqly-panel-topbar {
  top: 0;
}

@media (max-width: 767px) {
  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }
}

/* Twig auth pages: a full-width translation of the preview app auth shell. */
.swaqly-twig-theme .auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  direction: ltr;
  background: #0b0e13;
}

.swaqly-twig-theme .auth-brand,
.swaqly-twig-theme .auth-form-panel {
  min-width: 0;
  direction: rtl;
}

.swaqly-twig-theme .auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  padding: 46px clamp(25px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .18), transparent 38%),
    linear-gradient(145deg, #10131b, #090b10);
}

.swaqly-twig-theme .auth-brand::before {
  position: absolute;
  top: 23%;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(139, 92, 246, .035), 0 0 0 58px rgba(139, 92, 246, .025);
  content: "";
}

.swaqly-twig-theme .auth-brand::after {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(236, 72, 153, .18);
  border-radius: 50%;
  content: "";
}

.swaqly-twig-theme .auth-brand > div {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: auto 0;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-twig-theme .auth-brand .brand-logo img {
  display: block;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.swaqly-twig-theme .auth-brand .brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  box-shadow: 0 0 22px rgba(139, 92, 246, .4);
  font-family: "Tajawal", sans-serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.swaqly-twig-theme .auth-brand .brand-name {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-twig-theme .auth-brand h1 {
  max-width: 540px;
  margin: 20px 0 14px;
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.swaqly-twig-theme .auth-brand p {
  max-width: 500px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 14px;
  line-height: 2.1;
}

.swaqly-twig-theme .auth-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swaqly-twig-theme .auth-points i {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-form-panel {
  display: grid;
  align-content: center;
  padding: 46px clamp(25px, 8vw, 120px);
  background: #10141b;
}

.swaqly-twig-theme .auth-form-panel > .back-home,
.swaqly-twig-theme .auth-form-panel > .auth-card,
.swaqly-twig-theme .auth-form-panel > .auth-extra {
  width: min(100%, 430px);
  margin-inline: auto;
}

.swaqly-twig-theme .back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-twig-theme .back-home:hover {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-card {
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
}

.swaqly-twig-theme .form-header {
  margin-bottom: 23px;
  text-align: center;
}

.swaqly-twig-theme .form-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 0 auto 11px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
}

.swaqly-twig-theme .form-header h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.swaqly-twig-theme .form-header p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form {
  display: grid;
  gap: 13px;
}

.swaqly-twig-theme .standalone-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.swaqly-twig-theme .standalone-form .input-group > i {
  position: absolute;
  right: 14px;
  z-index: 1;
  color: #756d8e;
  pointer-events: none;
}

.swaqly-twig-theme .standalone-form .input-group input {
  width: 100%;
  min-height: 47px;
  padding: 0 42px 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(8, 10, 14, .72);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form .input-group input:focus {
  border-color: var(--swaqly-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.swaqly-twig-theme .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .form-options label,
.swaqly-twig-theme .terms-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-twig-theme .form-options input,
.swaqly-twig-theme .terms-row input {
  accent-color: var(--swaqly-violet);
}

.swaqly-twig-theme .form-options a,
.swaqly-twig-theme .terms-row a,
.swaqly-twig-theme .form-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-twig-theme .terms-row {
  color: var(--swaqly-muted);
  font-size: 10px;
  line-height: 1.8;
}

.swaqly-twig-theme .auth-card .btn {
  min-height: 45px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
  font-weight: 800;
}

.swaqly-twig-theme .auth-card .btn:hover {
  background: linear-gradient(135deg, #a78bfa, var(--swaqly-violet));
}

.swaqly-twig-theme .auth-alert {
  margin: 0;
  border-radius: 9px;
  font-size: 11px;
}

.swaqly-twig-theme .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}

.swaqly-twig-theme .divider::before,
.swaqly-twig-theme .divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.swaqly-twig-theme .google-button-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.swaqly-twig-theme .form-footer {
  margin: 19px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}

.swaqly-twig-theme .auth-extra {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .72);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 820px) {
  .swaqly-twig-theme .auth-shell {
    display: block;
  }

  .swaqly-twig-theme .auth-brand {
    min-height: 330px;
    padding: 28px 22px 36px;
  }

  .swaqly-twig-theme .auth-brand > div {
    margin-top: 55px;
  }

  .swaqly-twig-theme .auth-brand h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .swaqly-twig-theme .auth-brand p {
    font-size: 12px;
  }

  .swaqly-twig-theme .auth-form-panel {
    min-height: calc(100vh - 330px);
    padding: 35px 18px 50px;
  }
}

@media (max-width: 480px) {
  .swaqly-twig-theme .auth-card {
    padding: 23px 17px;
  }

  .swaqly-twig-theme .auth-points {
    gap: 10px;
    font-size: 10px;
  }
}

/* Final Twig parity layer.
   It intentionally comes last so Perfect Panel's legacy theme cannot shrink
   the landing page, hide its text, or restore the old cyan announcement bar. */
body.swaqly-twig-theme {
  min-width: 320px;
  overflow-x: hidden;
  color: #fff;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif;
}

body.swaqly-twig-theme .preview-news-bar {
  position: relative !important;
  z-index: 100 !important;
  display: block !important;
  width: 100% !important;
  min-height: 34px !important;
  height: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .38) !important;
  background: #100d18 !important;
  box-shadow: none !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track {
  display: flex !important;
  width: max-content !important;
  min-height: 34px !important;
  align-items: center !important;
  gap: 58px !important;
  padding-inline: 28px !important;
  color: #d8d1f6 !important;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  animation: swaqly-preview-news-marquee 30s linear infinite !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track span {
  display: inline-flex !important;
  min-width: max-content !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  margin: 0 !important;
  color: var(--swaqly-pink) !important;
  text-shadow: none !important;
}

@keyframes swaqly-preview-news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

body.swaqly-twig-theme .swaqly-public-shell {
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg) !important;
}

body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  display: grid !important;
  width: min(1200px, calc(100% - 40px)) !important;
  min-height: 610px !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr) !important;
  align-items: center !important;
  gap: 70px !important;
  padding: 62px 0 !important;
  margin-inline: auto !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy,
body.swaqly-twig-theme .swaqly-public-login-card {
  position: relative !important;
  z-index: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1,
body.swaqly-twig-theme .swaqly-public-hero-copy > p,
body.swaqly-twig-theme .swaqly-public-hero-actions,
body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
  max-width: 690px !important;
  margin: 20px 0 15px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 strong {
  display: inline !important;
  color: transparent !important;
  background: linear-gradient(100deg, var(--swaqly-violet-light), var(--swaqly-pink) 48%, var(--swaqly-extra-cyan)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px !important;
  margin: 0 !important;
  color: var(--swaqly-muted) !important;
  font-size: 15px !important;
  line-height: 2.1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn {
  display: inline-flex !important;
  width: auto !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 23px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn-default {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04) !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 18px !important;
  color: #687488 !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta i {
  color: #22c55e !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading,
body.swaqly-twig-theme .swaqly-public-section-heading h2,
body.swaqly-twig-theme .swaqly-public-section-heading p,
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-payment-grid span,
body.swaqly-twig-theme .swaqly-public-steps article,
body.swaqly-twig-theme .swaqly-public-review-grid article,
body.swaqly-twig-theme .swaqly-public-faq-list details,
body.swaqly-twig-theme .swaqly-public-final-cta {
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.45 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading p {
  color: var(--swaqly-muted) !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

body.swaqly-twig-theme .swaqly-public-final-cta {
  display: flex !important;
  min-height: 130px !important;
  align-items: center !important;
}

/* Do not let old customization blocks hide server-rendered text. */
body.swaqly-twig-theme #block_330 h2,
body.swaqly-twig-theme #block_330 p,
body.swaqly-twig-theme #block_330 img,
body.swaqly-twig-theme #block_330 .text-block__title,
body.swaqly-twig-theme #block_330 .text-block__description,
body.swaqly-twig-theme #block_332 img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Keep the existing popup behavior, but remove the legacy cyan look. */
body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(139, 92, 246, .58) !important;
  background: radial-gradient(circle at 50% -15%, rgba(139, 92, 246, .24), transparent 42%), linear-gradient(145deg, #1b1628, #0d0b12 72%) !important;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65), 0 0 45px rgba(139, 92, 246, .15) !important;
}

body.swaqly-twig-theme .swaqly-popup h2 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(139, 92, 246, .35) !important;
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a {
  border-color: rgba(236, 72, 153, .34) !important;
  border-radius: 8px !important;
  color: #fbcfe8 !important;
  background: rgba(236, 72, 153, .1) !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  background: rgba(139, 92, 246, .14) !important;
}

/* Native Perfect Panel pages that mirror the Swaqly dashboard experience. */
.swaqly-feature-page {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page {
  width: min(960px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page .page-title {
  margin-bottom: 18px;
}

.swaqly-content-page .page-title h1 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
}

.swaqly-content-page .page-title span,
.swaqly-content-page .page-title p {
  color: var(--muted);
  font-size: .68rem;
}

.swaqly-content-page .page-title p {
  margin: 0;
  line-height: 1.9;
}

.swaqly-rich-content {
  color: #e5e7eb;
  font-size: .72rem;
  line-height: 2.1;
}

.swaqly-rich-content h1,
.swaqly-rich-content h2,
.swaqly-rich-content h3,
.swaqly-rich-content h4 {
  margin: 18px 0 8px;
  color: #fff;
}

.swaqly-rich-content a {
  color: var(--main-bright);
}

.swaqly-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.swaqly-public-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
}

.swaqly-public-google-wrap .g_id_signin {
  max-width: 100%;
}

.swaqly-feature-page .dash-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.swaqly-feature-page .dash-page-heading h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.swaqly-feature-page .dash-page-heading p,
.swaqly-feature-page .panel-heading span,
.swaqly-feature-page .mass-order-help {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.9;
}

.affiliate-notice,
.subpanel-notice {
  margin-bottom: 16px;
}

.affiliate-link-card,
.affiliate-rate-cards,
.affiliate-stat-grid,
.mass-order-layout {
  display: grid;
  gap: 14px;
}

.affiliate-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 18px;
}

.affiliate-link-card > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.affiliate-link-card strong {
  overflow-wrap: anywhere;
  color: var(--main-bright);
  font-family: "Tajawal", sans-serif;
  font-size: .8rem;
}

.affiliate-rates {
  margin-bottom: 14px;
}

.affiliate-rate-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.affiliate-rate-cards > div,
.affiliate-stat-grid > .panel {
  display: grid;
  gap: 6px;
}

.affiliate-rate-cards > div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--theme-surface-2);
}

.affiliate-rate-cards span,
.affiliate-stat-grid span {
  color: var(--muted);
  font-size: .58rem;
}

.affiliate-rate-cards strong,
.affiliate-stat-grid strong {
  color: #fff;
  font-size: 1.1rem;
}

.affiliate-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.affiliate-earnings .btn {
  margin-top: 6px;
}

.affiliate-history .panel-heading {
  align-items: flex-start;
}

.affiliate-history .panel-heading > div {
  display: grid;
  gap: 5px;
}

.affiliate-history .panel-heading > strong {
  color: var(--main-bright);
  font-size: .85rem;
}

.mass-order-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
  align-items: start;
}

.mass-order-card,
.mass-order-guide,
.subpanel-card {
  display: grid;
  gap: 14px;
}

.mass-order-card .panel-heading,
.subpanel-card .panel-heading {
  margin-bottom: 0;
}

.mass-order-card form,
.subpanel-form {
  display: grid;
  gap: 11px;
}

.mass-order-card label,
.subpanel-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
}

.mass-order-card textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  direction: ltr;
  text-align: left;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .68rem;
  line-height: 1.9;
}

.mass-order-card textarea:focus,
.subpanel-form input:focus,
.subpanel-form select:focus {
  border-color: var(--main);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.mass-order-example,
.subpanel-nameservers {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--theme-surface-2);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-example strong,
.subpanel-nameservers strong {
  color: #fff;
}

.mass-order-example span {
  direction: ltr;
  color: var(--main-bright);
}

.mass-order-example small {
  color: var(--muted-2);
}

.mass-order-guide {
  position: sticky;
  top: 20px;
}

.mass-order-guide h3,
.subpanel-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.mass-order-guide ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.8;
}

.mass-order-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-count strong {
  color: var(--main-bright);
  font-size: 1.3rem;
}

.updates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.updates-type-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .6rem;
}

.updates-search {
  display: flex;
  flex: 0 1 390px;
  align-items: center;
  gap: 8px;
}

.updates-search > i {
  color: var(--muted);
}

.updates-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.updates-board {
  padding: 0;
  overflow: hidden;
}

.updates-head,
.update-row {
  display: grid;
  grid-template-columns: .65fr 1.5fr 2fr .85fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.updates-head {
  color: var(--muted);
  background: var(--theme-surface-2);
  font-size: .57rem;
  font-weight: 700;
}

.update-row {
  border-top: 1px solid var(--border);
  color: #fff;
  font-size: .62rem;
  line-height: 1.7;
}

.update-row strong {
  color: var(--main-bright);
}

.update-row time {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.subpanel-card {
  max-width: 850px;
}

.subpanel-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--main-bright);
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 14px;
  font-size: 1.25rem;
}

.subpanel-card p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
}

.subpanel-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subpanel-form input,
.subpanel-form select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.subpanel-nameservers ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-inline-start: 18px;
  direction: ltr;
  text-align: left;
}

.swaqly-pagination {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .affiliate-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mass-order-layout {
    grid-template-columns: 1fr;
  }

  .mass-order-guide {
    position: static;
  }
}

@media (max-width: 640px) {
  .swaqly-feature-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-feature-page .dash-page-heading {
    align-items: flex-start;
  }

  .affiliate-link-card,
  .updates-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-rate-cards,
  .subpanel-form-grid {
    grid-template-columns: 1fr;
  }

  .updates-search {
    flex-basis: auto;
  }

  .updates-head {
    display: none;
  }

  .update-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }

  .update-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .update-row time {
    text-align: left;
  }
}

@media (max-width: 980px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 640px) {
  body.swaqly-twig-theme .preview-news-track {
    gap: 36px !important;
    padding-inline: 18px !important;
    font-size: 9px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero {
    display: flex !important;
    width: min(100% - 22px, 560px) !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 42px 0 34px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
    font-size: 30px !important;
    white-space: normal !important;
  }

  body.swaqly-twig-theme .swaqly-public-section-heading h2 {
    white-space: normal !important;
  }
}

/* Swaqly visual finish: colored icon tiles, stronger shell chrome,
   visible marquee, and the native Twig MP3 player. */
body.swaqly-twig-theme .swaqly-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .17), transparent 190px),
    linear-gradient(180deg, #0f0b1c 0%, #06060a 80%) !important;
  border-left-color: rgba(167, 139, 250, .38) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  display: inline-grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #db2777) !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(2) i {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(3) i {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(4) i {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(5) i {
  background: linear-gradient(135deg, #eab308, #f97316) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover i,
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(236, 72, 153, .38) !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .16), transparent 230px),
    linear-gradient(90deg, #09080e, #151022 55%, #0b0911) !important;
  border-bottom-color: rgba(236, 72, 153, .3) !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  background: linear-gradient(90deg, #fff, #d8b4fe 55%, #f9a8d4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.swaqly-twig-theme .notification-button,
body.swaqly-twig-theme .swaqly-currency > a {
  border-color: rgba(196, 181, 253, .42) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .27), rgba(236, 72, 153, .13)) !important;
  box-shadow: 0 5px 18px rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .notification-button i,
body.swaqly-twig-theme .swaqly-currency > a i {
  color: #f0abfc !important;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, .65));
}

body.swaqly-twig-theme .top-user .avatar {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15), 0 0 18px rgba(236, 72, 153, .4) !important;
}

body.swaqly-twig-theme .preview-news-bar {
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .17), transparent 32%, rgba(236, 72, 153, .13)),
    #0a0811 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .45) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, .28) !important;
}

body.swaqly-twig-theme .swaqly-public-shell {
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, .2), transparent 28rem),
    radial-gradient(circle at 92% 35%, rgba(236, 72, 153, .12), transparent 26rem),
    linear-gradient(180deg, #08070d, #050507 72%) !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgba(196, 181, 253, .38) !important;
  background:
    linear-gradient(135deg, rgba(14, 10, 27, .94), rgba(21, 10, 27, .88)),
    radial-gradient(circle at 78% 20%, rgba(236, 72, 153, .24), transparent 18rem) !important;
  box-shadow: 0 0 55px rgba(124, 58, 237, .2), 0 24px 70px rgba(0, 0, 0, .48) !important;
}

body.swaqly-twig-theme .swaqly-public-hero::after {
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(196, 181, 253, .08);
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(196, 181, 253, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(139, 92, 246, .3) !important;
  background: rgba(9, 7, 15, .9) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span {
  min-height: 42px !important;
  padding: 6px 13px 6px 9px !important;
  border-color: rgba(196, 181, 253, .22) !important;
  color: #f4efff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(236, 72, 153, .08)) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 15px !important;
  filter: none !important;
  box-shadow: 0 0 14px currentColor !important;
}

body.swaqly-twig-theme .platform-instagram > i {
  background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5) !important;
}
body.swaqly-twig-theme .platform-tiktok > i {
  background: linear-gradient(135deg, #111827, #111827 48%, #25f4ee) !important;
}
body.swaqly-twig-theme .platform-youtube > i {
  background: #ff0033 !important;
}
body.swaqly-twig-theme .platform-facebook > i {
  background: #1877f2 !important;
}
body.swaqly-twig-theme .platform-telegram > i {
  background: #229ed9 !important;
}
body.swaqly-twig-theme .platform-twitter > i {
  background: #111827 !important;
}
body.swaqly-twig-theme .platform-discord > i {
  background: #5865f2 !important;
}
body.swaqly-twig-theme .platform-spotify > i {
  background: #1db954 !important;
}

body.swaqly-twig-theme .swaqly-public-feature {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(196, 181, 253, .24) !important;
  background: linear-gradient(145deg, rgba(25, 18, 42, .96), rgba(8, 7, 12, .98)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important;
}

body.swaqly-twig-theme .swaqly-public-feature::before {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  content: "";
  filter: blur(2px);
}

body.swaqly-twig-theme .swaqly-public-feature .swaqly-feature-icon {
  position: relative !important;
  z-index: 1;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 16px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 17px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 22px rgba(139, 92, 246, .25) !important;
}

body.swaqly-twig-theme .feature-shield {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
}
body.swaqly-twig-theme .feature-wallet {
  background: linear-gradient(135deg, #059669, #14b8a6) !important;
}
body.swaqly-twig-theme .feature-bolt {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}
body.swaqly-twig-theme .feature-support {
  background: linear-gradient(135deg, #0891b2, #2563eb) !important;
}

body.swaqly-twig-theme .swaqly-quran-player {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: minmax(260px, 1fr) auto minmax(190px, .8fr);
  align-items: center;
  gap: 18px;
  margin: 18px auto 4px;
  padding: 12px 15px;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 18rem),
    linear-gradient(135deg, rgba(26, 18, 45, .96), rgba(9, 8, 14, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 25px rgba(139, 92, 246, .12);
  direction: rtl;
}

body.swaqly-twig-theme .swaqly-quran-player-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.swaqly-twig-theme .swaqly-quran-kicker {
  color: #f0abfc;
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme .swaqly-quran-kicker i {
  margin-left: 5px;
  color: #a78bfa;
}

body.swaqly-twig-theme .swaqly-quran-player-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme .swaqly-quran-player-info small {
  color: #a9a4bd;
  font-size: 10px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 9px;
  color: #d8d1f6;
  background: rgba(139, 92, 246, .1);
  cursor: pointer;
  transition: .2s ease;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button:hover {
  color: #fff;
  border-color: rgba(236, 72, 153, .58);
  background: linear-gradient(135deg, #7c3aed, #db2777);
  transform: translateY(-2px);
}

body.swaqly-twig-theme .swaqly-quran-player-controls .swaqly-quran-play {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 20px rgba(236, 72, 153, .32);
}

body.swaqly-twig-theme .swaqly-quran-player-progress {
  display: grid;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-progress input {
  width: 100%;
  height: 4px;
  accent-color: #c026d3;
  cursor: pointer;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-quran-player {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  body.swaqly-twig-theme .swaqly-quran-player-controls {
    justify-content: center;
  }
}

/* Final authenticated-page surfaces.
   These selectors intentionally match the native Twig page templates so
   services, orders, add funds, and API keep the same Swaqly shell. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  direction: rtl;
  text-align: right;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  padding: 0 2px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading p {
  margin: 0;
  color: #a9a4bd;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .btn-primary {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, .23);
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .code-card {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  color: #eeeaff;
  background: linear-gradient(145deg, rgba(25, 22, 36, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel {
  margin-bottom: 18px;
  padding: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head h3,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading h3,
body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .panel-heading span {
  color: #a9a4bd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
body.swaqly-twig-theme.swaqly-authenticated .search-field {
  position: relative;
  width: min(100%, 310px);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools i,
body.swaqly-twig-theme.swaqly-authenticated .search-field i {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #a78bfa;
  transform: translateY(-50%);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input,
body.swaqly-twig-theme.swaqly-authenticated .search-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #09090e;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input:focus,
body.swaqly-twig-theme.swaqly-authenticated .search-field input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .1);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 7px;
  color: #bcb5cf;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button:hover,
body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button.selected,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a:hover,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a.selected {
  border-color: rgba(236, 72, 153, .55);
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(219, 39, 119, .82));
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid small {
  color: #a78bfa;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .service-cards.dashboard-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 10px;
  background: rgba(8, 8, 13, .58);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards h3 {
  min-height: 36px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards p {
  min-height: 38px;
  margin: 0 0 10px;
  color: #a9a4bd;
  font-size: 11px;
  line-height: 1.7;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #928aa4;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row strong,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta strong {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .btn {
  width: 100%;
  margin-top: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty,
body.swaqly-twig-theme.swaqly-authenticated .empty-state {
  display: grid;
  min-height: 145px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  color: #a9a4bd;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty i,
body.swaqly-twig-theme.swaqly-authenticated .empty-state i {
  color: #a78bfa;
  font-size: 28px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty strong,
body.swaqly-twig-theme.swaqly-authenticated .empty-state strong {
  color: #fff;
  font-size: 14px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  background: rgba(17, 16, 26, .82);
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
  flex: 1 1 280px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  margin: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-notice {
  margin: 0 0 10px;
  color: #928aa4;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 10px;
  background: rgba(8, 8, 13, .62);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-date,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head strong {
  color: #fff;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .13);
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.complete {
  color: #86efac;
  background: rgba(34, 197, 94, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.canceled {
  color: #fca5a5;
  background: rgba(239, 68, 68, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-detail {
  min-height: 34px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #9d96ad;
  font-size: 10px;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date span {
  color: #c4b5fd;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats span {
  display: grid;
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats strong {
  color: #fff;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions a {
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout > section {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form {
  display: grid;
  gap: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form label {
  display: grid;
  gap: 7px;
  color: #aaa4b8;
  font-size: 11px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card .form-control {
  min-height: 42px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 8px;
  color: #fff;
  background: #09090e;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 10px;
  color: #eeeaff !important;
  background: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content * {
  color: inherit !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content > *,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content table,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content td,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content th {
  background-color: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content img {
  max-width: 100%;
  background: transparent !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr 1fr .7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #aaa4b8;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid:last-child {
  border-bottom: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
  color: #a78bfa;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid strong,
body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid a {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .code-card {
  min-width: 0;
  padding: 20px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy p {
  margin: 10px 0 16px;
  color: #aaa4b8;
  font-size: 12px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features span {
  padding: 6px 9px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 7px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .08);
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c4b5fd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .live-dot {
  color: #86efac;
}

body.swaqly-twig-theme.swaqly-authenticated .code-card pre,
body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel pre {
  margin: 14px 0 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, .18);
  border-radius: 8px;
  color: #e9d5ff;
  background: #08080c !important;
  font-family: "Fira Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  direction: ltr;
  text-align: left;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table {
  min-width: 0;
  color: #d8d1e6;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table th {
  width: 34%;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table td {
  color: #c5bed2;
  background: rgba(8, 8, 13, .3);
}

@media (max-width: 900px) {
  body.swaqly-twig-theme.swaqly-authenticated .fund-layout,
  body.swaqly-twig-theme.swaqly-authenticated .api-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
    display: none;
  }
}

/* Public homepage alignment with the supplied Swaqly preview.
   Keep the top announcement/platform rails full width, while the main
   player, hero, and content sections stay centered and compact. */
body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
  width: min(560px, calc(100% - 30px));
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, .7fr);
  gap: 10px;
  margin: 20px auto 12px;
  padding: 11px 14px;
  border-radius: 12px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info small,
body.swaqly-twig-theme.swaqly-public .swaqly-quran-kicker {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls {
  gap: 5px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls button {
  width: 27px;
  height: 27px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls .swaqly-quran-play {
  width: 34px;
  height: 34px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(620px, calc(100% - 30px));
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) minmax(135px, .48fr);
  gap: 22px;
  margin: 16px auto 20px;
  padding: 30px 25px;
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero h1 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3vw, 31px);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 330px;
  font-size: 11px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  gap: 7px;
  margin-top: 17px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-width: 105px;
  min-height: 35px;
  padding: 8px 11px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  gap: 8px;
  margin-top: 15px;
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: 150px;
  padding: 17px 13px;
  border-radius: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading {
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading h2 {
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form label,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-footer {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form {
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 31px;
  padding: 6px 8px;
  font-size: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .btn {
  min-height: 33px;
  padding: 7px 8px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  width: min(620px, calc(100% - 30px));
  padding: 55px 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading {
  margin-bottom: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  font-size: 20px;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading p {
  max-width: 520px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  min-height: 104px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 12px 8px;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  font-size: 8px;
  line-height: 1.6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list {
  max-width: 620px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  width: min(620px, calc(100% - 30px));
  padding: 24px 22px;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    width: min(100% - 22px, 560px);
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 28px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calm visual parity pass: quiet the imported neon layer while preserving
   the original Perfect Panel markup, popup behavior, and public-page content. */
body.swaqly-twig-theme {
  --swaqly-panel-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

body.swaqly-twig-theme .swaqly-sidebar {
  box-shadow: -14px 0 34px rgba(0, 0, 0, .5), inset -1px 0 0 rgba(139, 92, 246, .12);
}
body.swaqly-twig-theme .swaqly-sidebar-link:hover {
  border-color: rgba(196, 181, 253, .25);
  background: rgba(139, 92, 246, .08);
  box-shadow: none;
  transform: none;
}
body.swaqly-twig-theme .swaqly-sidebar-link.active {
  box-shadow: none;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196, 181, 253, .28);
  border-radius: 9px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .48);
}
body.swaqly-twig-theme .notification-menu strong {
  color: #cbbbe9;
}
body.swaqly-twig-theme .notification-menu a {
  color: #b9a7e8;
}
body.swaqly-twig-theme .notification-dot {
  box-shadow: none;
}

body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(196, 181, 253, .28) !important;
  border-radius: 18px;
  background: #111119 !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .62) !important;
}
body.swaqly-twig-theme .swaqly-popup::before {
  border-color: rgba(255, 255, 255, .055) !important;
}
body.swaqly-twig-theme .liquid-frame,
body.swaqly-twig-theme #liquidCanvas,
body.swaqly-twig-theme #liquidCanvasOffer {
  opacity: 0 !important;
}
body.swaqly-twig-theme .swaqly-popup h2 {
  color: #f4f1fb !important;
  background: none !important;
  -webkit-text-fill-color: #f4f1fb !important;
}
body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #cbbbe9 !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  border-color: rgba(196, 181, 253, .18) !important;
  color: #d7ccef !important;
  background: #191821 !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a:hover {
  border-color: rgba(196, 181, 253, .38) !important;
  background: #211d2b !important;
}

body.swaqly-twig-theme .swaqly-public-platforms {
  background: #0b0c11;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  padding: 7px 12px 7px 9px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #101118;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top-color: rgba(255, 255, 255, .07);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before {
  display: none;
}
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-hero-card {
  border-color: rgba(255, 255, 255, .1);
  background: #101117;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-feature:hover,
body.swaqly-twig-theme .swaqly-public-hero-card:hover {
  border-color: rgba(196, 181, 253, .36);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  border-color: rgba(196, 181, 253, .24);
  background: #15151e;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-shell .swaqly-footer,
body.swaqly-twig-theme .swaqly-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #08090d;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-footer .container {
  min-height: 46px;
  gap: 18px;
  color: #697386;
}
body.swaqly-twig-theme .swaqly-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(130px, .7fr));
  gap: 42px;
  padding-bottom: 38px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand p {
  margin: 12px 0 0;
  color: #697386;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand .brand-logo {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.swaqly-twig-theme .swaqly-footer .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: #8e9aab;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-status i { color: #78c99a; }
body.swaqly-twig-theme .swaqly-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column h4 {
  margin: 0 0 7px;
  color: #e5e7eb;
  font-size: 12px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a {
  color: #8e96a8;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a:hover { color: #cbbbe9; }
body.swaqly-twig-theme .swaqly-footer .copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #697386;
  text-align: center;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-popup .minimize-popup { display: none; }
body.swaqly-twig-theme .swaqly-popup .close-popup {
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #a5a8b6 !important;
  background: #191922;
  font-size: 18px;
}
body.swaqly-twig-theme .swaqly-popup .close-popup:hover {
  border-color: rgba(196,181,253,.38);
  background: #211d2b;
}
body.swaqly-twig-theme .popup-home-images,
body.swaqly-twig-theme .swaqly-icons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
}
body.swaqly-twig-theme .popup-home-images a,
body.swaqly-twig-theme .swaqly-icons img {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(196,181,253,.2);
  border-radius: 12px;
  background: #1a1923;
}
body.swaqly-twig-theme .popup-home-images img,
body.swaqly-twig-theme .swaqly-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
body.swaqly-twig-theme .popup-home-images img:hover,
body.swaqly-twig-theme .swaqly-icons img:hover { transform: none; }
body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(196,181,253,.18) !important;
  color: #d7ccef !important;
}
body.swaqly-twig-theme .swaqly-popup p { color: #a0aec0; }
body.swaqly-twig-theme .swaqly-feature-page .panel,
body.swaqly-twig-theme .swaqly-content-page .panel,
body.swaqly-twig-theme .swaqly-content-page .card {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-feature-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .card:hover {
  border-color: rgba(196, 181, 253, .34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  body.swaqly-twig-theme .swaqly-footer .footer-brand {
    grid-column: 1 / -1;
  }
  body.swaqly-twig-theme .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Source-preview lock.
   This is intentionally the last layer: it maps the native Twig markup to
   the same measurements used by the open Swaqly preview, instead of styling
   the old imported theme as a separate product. */
body.swaqly-twig-theme {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --accent: #ec4899;
  --main-soft: rgba(139,92,246,.13);
  --bg: #0b0e13;
  --card: #11151c;
  --border: rgba(255,255,255,.09);
}
body.swaqly-twig-theme::before { opacity: .1; }
body.swaqly-twig-theme::after {
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.07), transparent 28rem),
    linear-gradient(180deg, rgba(11,14,19,.9), rgba(11,14,19,.98));
}

body.swaqly-twig-theme .swaqly-public-shell {
  background: transparent;
}
body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-public-hero {
  display: grid;
  width: 100%;
  min-height: 610px;
  grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr);
  gap: 70px;
  margin: 0;
  padding: 62px max(20px, calc((100% - 1200px) / 2));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(139,92,246,.13), transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(229,9,20,.07), transparent 30%);
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-public-hero-copy {
  max-width: 690px;
  direction: rtl;
}
body.swaqly-twig-theme .swaqly-public-hero h1 {
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.8rem,3.4vw,3.05rem);
  line-height: 1.35;
}
body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: .9rem;
  line-height: 2.1;
}
body.swaqly-twig-theme .swaqly-public-hero-actions { margin-top: 0; }
body.swaqly-twig-theme .swaqly-public-hero-meta { margin-top: 17px; }
body.swaqly-twig-theme .swaqly-public-login-card {
  padding: 30px;
  border-color: rgba(255,255,255,.09);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
}
body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
}
body.swaqly-twig-theme .swaqly-public-platform-track {
  gap: 10px;
  padding: 14px 0;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-color: rgba(255,255,255,.1);
  border-radius: 10px;
  background: #101118;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section {
  width: 100%;
  padding: 76px max(20px, calc((100% - 1200px) / 2));
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(255,255,255,.06);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before { display: none; }
body.swaqly-twig-theme .swaqly-public-section-heading { margin-bottom: 45px; }
body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  font-size: clamp(1.35rem,2.4vw,2rem);
  white-space: nowrap;
}
body.swaqly-twig-theme .swaqly-public-section-heading p { font-size: .78rem; }
body.swaqly-twig-theme .swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
body.swaqly-twig-theme .swaqly-public-feature {
  display: block;
  min-height: 195px;
  padding: 25px 20px;
  border-color: rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .swaqly-public-feature > i {
  width: 49px;
  height: 49px;
  margin: 0 auto 14px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 12px;
  background: rgba(139,92,246,.13);
}
body.swaqly-twig-theme .swaqly-public-feature div {
  display: block;
}
body.swaqly-twig-theme .swaqly-public-feature strong {
  display: block;
  font-size: .88rem;
}
body.swaqly-twig-theme .swaqly-public-feature span {
  display: block;
  margin-top: 7px;
  font-size: .68rem;
  line-height: 1.9;
}
body.swaqly-twig-theme .swaqly-public-payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
body.swaqly-twig-theme .swaqly-public-payment-grid span {
  display: grid;
  min-width: 135px;
  min-height: 72px;
  flex: 1 1 135px;
  max-width: 205px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #11151c;
  color: #e8e4f5;
  font-size: .76rem;
}
body.swaqly-twig-theme .swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}
body.swaqly-twig-theme .swaqly-public-steps article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-steps article > b {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #8b5cf6;
  font-size: .92rem;
}
body.swaqly-twig-theme .swaqly-public-steps h3 { margin: 4px 0 0; font-size: .82rem; }
body.swaqly-twig-theme .swaqly-public-steps p { margin-top: 8px; font-size: .66rem; line-height: 1.9; }
body.swaqly-twig-theme .swaqly-public-review-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
body.swaqly-twig-theme .swaqly-public-review-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 34px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 17px;
  background: #15151e;
}

/* Match the compact authenticated preview dimensions exactly. */
body.swaqly-twig-theme .dashboard-sidebar {
  width: 190px !important;
  flex-basis: 190px !important;
  padding: 9px 8px 10px !important;
  background: #050507 !important;
}
body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand { margin-bottom: 8px; }
body.swaqly-twig-theme .dashboard-sidebar .brand-mark { width: 31px; height: 31px; font-size: 1.1rem; }
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  min-height: 30px;
  padding-inline: 7px;
  border-radius: 5px;
  font-size: .54rem;
}
body.swaqly-twig-theme .dashboard-topbar {
  min-height: 44px !important;
  padding-inline: 11px !important;
  background: #07070a !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.42) !important;
}
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading h1 { font-size: .72rem; }
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading p { font-size: .44rem; }
body.swaqly-twig-theme .dashboard-content {
  width: calc(100% - 28px) !important;
  max-width: 1320px !important;
  padding-top: 15px !important;
}
body.swaqly-twig-theme .dashboard-content .panel,
body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .dash-stat {
  border-color: rgba(255,255,255,.1) !important;
  background: #050507 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196,181,253,.28) !important;
  background: #15151d !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.48) !important;
}
body.swaqly-twig-theme .notification-dot { box-shadow: none !important; }
body.swaqly-twig-theme .dashboard-content .btn-primary,
body.swaqly-twig-theme .dashboard-content .dashboard-link.active {
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section {
    padding: 55px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section-heading h2 { white-space: normal; }
  body.swaqly-twig-theme .swaqly-public-feature-grid,
  body.swaqly-twig-theme .swaqly-public-steps {
    grid-template-columns: repeat(2,1fr);
  }
  body.swaqly-twig-theme .swaqly-public-review-grid { grid-template-columns: 1fr; }
  body.swaqly-twig-theme .swaqly-public-final-cta {
    width: calc(100% - 40px);
    margin-bottom: 55px;
    padding: 23px 18px;
  }
}

/* Native New Order parity.
   The form below is still Perfect Panel's native form; these rules only map
   its server-rendered fields to the open preview's complete page composition. */
body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  direction: rtl;
}
body.swaqly-twig-theme .new-order-source-top {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a {
  min-height: 32px;
  border-color: rgba(139,92,246,.34);
  border-radius: 6px;
  background: #11121a;
  box-shadow: none;
  font-size: .54rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a:hover {
  border-color: var(--main-bright);
  background: rgba(139,92,246,.14);
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a > i {
  color: var(--main-bright);
  font-size: .78rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row span {
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: #11121a !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div {
  min-width: 0;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > span,
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > small {
  display: block;
  color: var(--muted);
  font-size: .46rem;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > strong {
  display: block;
  overflow: hidden;
  margin: 4px 0 2px;
  color: #f4f0ff;
  font-family: "Tajawal", sans-serif;
  font-size: .85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--main-bright);
  border: 1px solid rgba(139,92,246,.28);
  border-radius: 7px;
  background: rgba(139,92,246,.1);
  font-size: .72rem;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat.balance-stat {
  border-color: rgba(236,72,153,.32);
}
body.swaqly-twig-theme .new-order-source-top .balance-stat > i {
  color: #f9a8d4;
  border-color: rgba(236,72,153,.34);
  background: rgba(236,72,153,.1);
}
body.swaqly-twig-theme .new-order-source-top .stat-add-funds {
  display: inline-flex;
  margin-top: 2px;
  color: var(--main-bright);
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce {
  min-height: 42px;
  margin-bottom: 0;
  padding: 8px 12px;
  border-color: rgba(139,92,246,.3);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(139,92,246,.14), rgba(17,18,26,.94));
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce strong {
  font-size: .58rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce span {
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce .btn {
  min-height: 27px;
  padding-inline: 12px;
  font-size: .5rem;
}
body.swaqly-twig-theme .source-order-layout {
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr);
  gap: 10px;
  padding-top: 0;
  align-items: stretch;
}
body.swaqly-twig-theme .source-order-guide,
body.swaqly-twig-theme .source-order-form {
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(139,92,246,.32);
  border-radius: 8px;
  background: #11121a;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .source-order-guide {
  display: flex;
  align-items: stretch;
  padding: 19px 16px 14px;
  text-align: right;
}
body.swaqly-twig-theme .source-order-guide .source-guide-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 11px;
  border: 3px solid var(--main);
  box-shadow: 0 0 0 5px rgba(139,92,246,.09);
}
body.swaqly-twig-theme .source-order-guide .source-guide-logo .brand-mark {
  width: 43px;
  height: 43px;
  font-size: 1.65rem;
}
body.swaqly-twig-theme .source-order-guide .swaqly-eyebrow {
  align-self: center;
  font-size: .45rem;
}
body.swaqly-twig-theme .source-order-guide h1 {
  align-self: center;
  margin: 5px 0 3px;
  color: #f4f0ff;
  font-size: .9rem;
}
body.swaqly-twig-theme .source-order-guide > p {
  align-self: center;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: .54rem;
  line-height: 1.7;
}
body.swaqly-twig-theme .source-order-guide ol {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.swaqly-twig-theme .source-order-guide li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #d9d4e6;
  font-size: .52rem;
  line-height: 1.75;
}
body.swaqly-twig-theme .source-order-guide li > span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--main);
  font-size: .46rem;
  font-weight: 800;
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 9px;
  border: 1px solid rgba(139,92,246,.23);
  border-radius: 5px;
  background: rgba(139,92,246,.08);
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note span {
  color: var(--muted);
  font-size: .5rem;
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note strong {
  color: var(--main-bright);
  font-size: .66rem;
}
body.swaqly-twig-theme .source-order-guide > .btn {
  min-height: 31px;
  margin-top: 10px;
  font-size: .54rem;
}
body.swaqly-twig-theme .source-order-form {
  display: block;
  padding: 16px;
}
body.swaqly-twig-theme .swaqly-order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.swaqly-twig-theme .swaqly-order-heading .swaqly-eyebrow {
  color: var(--main-bright);
  font-size: .47rem;
}
body.swaqly-twig-theme .swaqly-order-heading h2 {
  margin: 4px 0 3px;
  color: #f4f0ff;
  font-size: .9rem;
}
body.swaqly-twig-theme .swaqly-order-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .52rem;
}
body.swaqly-twig-theme .swaqly-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px 7px;
  color: #d9ccff;
  border: 1px solid rgba(139,92,246,.26);
  border-radius: 5px;
  background: rgba(139,92,246,.1);
  font-size: .47rem;
}
body.swaqly-twig-theme .swaqly-order-badge i {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-order-form .form-group {
  margin: 0;
}
body.swaqly-twig-theme .swaqly-order-form .control-label,
body.swaqly-twig-theme .swaqly-order-form label {
  display: block;
  margin-bottom: 5px;
  color: #d9d4e6;
  font-size: .53rem;
  font-weight: 600;
}
body.swaqly-twig-theme .swaqly-order-form .form-control,
body.swaqly-twig-theme .swaqly-order-form select,
body.swaqly-twig-theme .swaqly-order-form input[type="text"],
body.swaqly-twig-theme .swaqly-order-form input[type="number"],
body.swaqly-twig-theme .swaqly-order-form textarea {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  color: #f4f0ff;
  border: 1px solid rgba(139,92,246,.32);
  border-radius: 5px;
  outline: 0;
  background: #090a0f;
  box-shadow: none;
  font-size: .54rem;
}
body.swaqly-twig-theme .swaqly-order-form .form-control:focus,
body.swaqly-twig-theme .swaqly-order-form select:focus,
body.swaqly-twig-theme .swaqly-order-form input:focus,
body.swaqly-twig-theme .swaqly-order-form textarea:focus {
  border-color: var(--main-bright);
  box-shadow: 0 0 0 2px rgba(139,92,246,.1);
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown .input-wrapper {
  margin-bottom: 0;
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown .input-wrapper > button {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown input {
  padding-inline-start: 31px;
}
body.swaqly-twig-theme .swaqly-order-form #service_description .panel-body {
  min-height: 45px;
  padding: 9px;
  color: var(--muted);
  border-color: rgba(139,92,246,.22);
  background: #090a0f;
  font-size: .52rem;
  line-height: 1.8;
}
body.swaqly-twig-theme .swaqly-order-form #fields {
  display: grid;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-order-form #fields .form-group {
  margin: 0;
}
body.swaqly-twig-theme .swaqly-order-form #charge {
  color: var(--main-bright);
  background: rgba(139,92,246,.08);
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
}
body.swaqly-twig-theme .swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .5rem;
  font-weight: 400;
}
body.swaqly-twig-theme .swaqly-order-form .terms input {
  accent-color: var(--main);
}
body.swaqly-twig-theme .swaqly-order-form .terms a {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form > .btn {
  min-height: 35px;
  margin-top: 2px;
  border-radius: 5px;
  font-size: .57rem;
}
body.swaqly-twig-theme .swaqly-order-form .alert {
  margin: 0;
  padding: 9px 11px;
  border-radius: 5px;
  font-size: .52rem;
  line-height: 1.75;
}
body.swaqly-twig-theme .swaqly-order-form .alert h4 {
  margin: 0 0 4px;
  font-size: .6rem;
}
body.swaqly-twig-theme .swaqly-neworder-text {
  width: 100%;
  margin-top: 10px;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-neworder-text .well {
  margin: 0;
  border-color: rgba(255,255,255,.09);
  background: #11121a;
  font-size: .58rem;
  line-height: 1.9;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .new-order-source-top .dashboard-support-row,
  body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.swaqly-twig-theme .new-order-source-top .dashboard-announce {
    align-items: flex-start;
    flex-direction: column;
  }
  body.swaqly-twig-theme .new-order-source-top .dashboard-announce .btn {
    width: 100%;
  }
  body.swaqly-twig-theme .source-order-layout {
    grid-template-columns: 1fr;
  }
  body.swaqly-twig-theme .source-order-form {
    order: -1;
  }
}
@media (max-width: 430px) {
  body.swaqly-twig-theme .new-order-source-top .dashboard-support-row,
  body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }
  body.swaqly-twig-theme .source-order-form {
    padding: 12px;
  }
  body.swaqly-twig-theme .swaqly-order-heading {
    display: block;
  }
  body.swaqly-twig-theme .swaqly-order-badge {
    margin-top: 9px;
  }
}

/* Shared dashboard controls copied from the open Swaqly shell. */
body.swaqly-twig-theme .dashboard-shell {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --main-glow: rgba(139,92,246,.34);
  --main-soft: rgba(139,92,246,.13);
  --accent: #ec4899;
  --accent-soft: rgba(236,72,153,.13);
}
body.swaqly-twig-theme .dashboard-shell[data-theme="indigo"] {
  --main: #6366f1;
  --main-bright: #a5b4fc;
  --main-glow: rgba(99,102,241,.34);
  --main-soft: rgba(99,102,241,.13);
  --accent: #c084fc;
  --accent-soft: rgba(192,132,252,.13);
}
body.swaqly-twig-theme .dashboard-shell[data-theme="plum"] {
  --main: #a855f7;
  --main-bright: #d8b4fe;
  --main-glow: rgba(168,85,247,.36);
  --main-soft: rgba(168,85,247,.14);
  --accent: #f472b6;
  --accent-soft: rgba(244,114,182,.14);
}
body.swaqly-twig-theme .sidebar-close-btn {
  display: none;
  position: absolute;
  top: 9px;
  left: 8px;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
body.swaqly-twig-theme .theme-sidebar-link {
  width: 100%;
  margin-top: 5px;
  border: 0;
  background: transparent;
  text-align: right;
}
body.swaqly-twig-theme .theme-sidebar-link[aria-expanded="true"] {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-picker {
  position: relative;
}
body.swaqly-twig-theme .theme-toggle {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--main-bright);
  border: 1px solid color-mix(in srgb, var(--main) 55%, transparent);
  border-radius: 7px;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  display: grid;
  min-width: 125px;
  gap: 4px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--main) 45%, transparent);
  border-radius: 8px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0,0,0,.48);
}
body.swaqly-twig-theme .theme-menu[hidden] {
  display: none;
}
body.swaqly-twig-theme .theme-menu strong {
  padding: 2px 5px 5px;
  color: #e8e1f8;
  font-size: .53rem;
}
body.swaqly-twig-theme .theme-menu button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 6px;
  color: var(--muted);
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: right;
  font-size: .5rem;
}
body.swaqly-twig-theme .theme-menu button:hover,
body.swaqly-twig-theme .theme-menu button.selected {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-swatch {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
}
body.swaqly-twig-theme .theme-swatch.violet { background: linear-gradient(135deg,#8b5cf6,#ec4899); }
body.swaqly-twig-theme .theme-swatch.indigo { background: linear-gradient(135deg,#6366f1,#c084fc); }
body.swaqly-twig-theme .theme-swatch.plum { background: linear-gradient(135deg,#a855f7,#f472b6); }
body.swaqly-twig-theme .balance-card {
  position: relative;
}
body.swaqly-twig-theme .balance-card .balance-visibility {
  position: absolute;
  top: 7px;
  left: 6px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  padding: 0;
  color: var(--main-bright);
  border: 1px solid color-mix(in srgb, var(--main) 42%, transparent);
  border-radius: 4px;
  background: transparent;
  font-size: .55rem;
}
body.swaqly-twig-theme .balance-card .balance-visibility:hover {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .signout-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-top: 6px;
  padding: 0 7px;
  color: var(--muted);
  border-radius: 5px;
  font-size: .52rem;
}
body.swaqly-twig-theme .signout-link:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
  text-decoration: none;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user > div {
  display: grid;
  gap: 2px;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user strong {
  color: #f4f0ff;
  font-size: .55rem;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user span:not(.avatar) {
  color: var(--muted);
  font-size: .45rem;
}
body.swaqly-twig-theme .dashboard-floating-support {
  position: fixed;
  right: auto;
  left: 17px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  gap: 8px;
}
body.swaqly-twig-theme .dashboard-floating-support a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 5px 18px var(--main-glow);
}
body.swaqly-twig-theme .dashboard-floating-support a:first-child {
  background: #20bd5a;
  box-shadow: 0 5px 18px rgba(32,189,90,.3);
}
body.swaqly-twig-theme .dashboard-floating-support i {
  font-size: .9rem;
}
@media (max-width: 760px) {
  body.swaqly-twig-theme .sidebar-close-btn {
    display: grid;
  }
  body.swaqly-twig-theme .dashboard-floating-support {
    left: 11px;
    bottom: 12px;
  }
}

/* Final public-home layout pass.
   Keep the native Perfect Panel markup, but make the public shell feel like
   one intentional Swaqly landing page at every viewport size. */
body.swaqly-twig-theme.swaqly-public {
  min-width: 320px;
  overflow-x: hidden;
  background: #050507;
}

body.swaqly-twig-theme.swaqly-public::before {
  z-index: -2;
  opacity: .72;
  background:
    radial-gradient(circle at 14% 18%, rgba(124, 58, 237, .22), transparent 25rem),
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .13), transparent 23rem),
    radial-gradient(circle at 62% 86%, rgba(34, 211, 238, .08), transparent 22rem);
  background-size: 135% 135%, 145% 145%, 155% 155%;
  animation: swaqly-public-ambient 18s ease-in-out infinite alternate;
}

body.swaqly-twig-theme.swaqly-public::after {
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(5, 5, 7, .82), rgba(8, 7, 13, .9) 52%, rgba(5, 5, 7, .96)),
    repeating-linear-gradient(125deg, transparent 0 72px, rgba(167, 139, 250, .025) 73px, transparent 74px);
}

@keyframes swaqly-public-ambient {
  0% { background-position: 0% 0%, 100% 30%, 50% 100%; }
  50% { background-position: 18% 12%, 82% 45%, 42% 78%; }
  100% { background-position: 5% 24%, 92% 18%, 58% 90%; }
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 12%, rgba(139, 92, 246, .11), transparent 28rem),
    radial-gradient(circle at 92% 54%, rgba(236, 72, 153, .07), transparent 26rem),
    transparent;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-navbar,
body.swaqly-twig-theme.swaqly-public .swaqly-public-platforms,
body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta,
body.swaqly-twig-theme.swaqly-public .swaqly-footer {
  position: relative;
  z-index: 1;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 650px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(38px, 6vw, 84px);
  margin: 0 auto;
  padding: 84px 0 78px;
  border: 0;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .15), transparent 28rem),
    radial-gradient(circle at 86% 72%, rgba(236, 72, 153, .08), transparent 23rem),
    transparent;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero::before {
  opacity: .22;
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy h1 {
  max-width: 100%;
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.25;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 620px;
  color: #b8b2c8;
  font-size: 14px;
  line-height: 2;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  margin-top: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-height: 46px;
  padding-inline: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
  margin-top: 20px;
  color: #9d96ae;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature,
body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list details,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  border: 1px solid rgba(196, 181, 253, .2);
  background: #050507;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .44), 0 0 22px rgba(139, 92, 246, .07);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: min(100%, 410px);
  justify-self: end;
  padding: 32px;
  border-color: rgba(196, 181, 253, .32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(11, 10, 16, .98), rgba(3, 3, 5, .99)),
    #050507;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card::before,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature::after,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(196, 181, 253, .055), transparent 76%);
  content: "";
  pointer-events: none;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 22px rgba(139, 92, 246, .3);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 44px;
  border-color: rgba(196, 181, 253, .18);
  border-radius: 8px;
  background: #08080b;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-platforms {
  border-block-color: rgba(196, 181, 253, .14);
  background: rgba(5, 5, 7, .76);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-platform-track span {
  border-color: rgba(196, 181, 253, .18);
  background: #09090c;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  padding-top: 86px;
  padding-bottom: 86px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  max-width: 800px;
  margin-inline: auto;
  color: #fff;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  gap: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  position: relative;
  min-height: 205px;
  padding: 27px 21px;
  overflow: hidden;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .34), 0 0 20px rgba(139, 92, 246, .24);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(2) > i {
  background: linear-gradient(135deg, #047857, #14b8a6);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(3) > i {
  background: linear-gradient(135deg, #ea580c, #ec4899);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(4) > i {
  background: linear-gradient(135deg, #0369a1, #2563eb);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  position: relative;
  z-index: 1;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article {
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span {
  min-height: 78px;
  color: #e8e4f5;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article > b {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article {
  border-right: 3px solid #8b5cf6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list details {
  overflow: hidden;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 78px;
  padding: 38px;
  border-color: rgba(196, 181, 253, .28);
}

@media (max-width: 980px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: 34px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-public-navbar .container {
    width: calc(100% - 28px);
    max-width: none;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    display: flex;
    width: calc(100% - 28px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 54px 0 48px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.35;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
    justify-content: center;
    font-size: 10px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
    width: 100%;
    padding: 58px 14px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
    min-height: 0;
    padding: 23px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span {
    min-width: 0;
    min-height: 64px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: calc(100% - 28px);
    margin-bottom: 54px;
    padding: 25px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.swaqly-twig-theme.swaqly-public::before,
  body.swaqly-twig-theme.swaqly-public .preview-news-track,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-platform-track {
    animation: none !important;
  }
}/* Swaqly custom theme
   This file is self-contained and works with the existing Bootstrap panel. */
:root {
  --swaqly-bg: #07070b;
  --swaqly-surface: #11101a;
  --swaqly-surface-2: #171426;
  --swaqly-border: rgba(167, 139, 250, .22);
  --swaqly-border-strong: rgba(139, 92, 246, .72);
  --swaqly-text: #f8f7ff;
  --swaqly-muted: #a9a4bd;
  --swaqly-violet: #8b5cf6;
  --swaqly-violet-light: #c4b5fd;
  --swaqly-pink: #ec4899;
  --swaqly-glow: rgba(139, 92, 246, .28);
  --swaqly-radius: 14px;
}

html,
body.swaqly-app {
  min-height: 100%;
  background: var(--swaqly-bg);
}

body.swaqly-app {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--swaqly-text);
  font-family: "Tajawal", "Arial", sans-serif;
  background: transparent;
}

body.swaqly-app::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(236, 72, 153, .05) 49%, transparent 50%);
  background-size: 46px 46px, 46px 46px, 180px 180px;
  content: "";
}

body.swaqly-app::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, .13), transparent 28rem),
    radial-gradient(circle at 88% 58%, rgba(236, 72, 153, .08), transparent 25rem),
    linear-gradient(180deg, rgba(7, 7, 11, .82), rgba(7, 7, 11, .96));
  content: "";
}

body.swaqly-app *,
body.swaqly-app *::before,
body.swaqly-app *::after {
  box-sizing: border-box;
}

.swaqly-page-content {
  min-height: calc(100vh - 126px);
  padding: 22px 0 42px;
}

.swaqly-navbar {
  z-index: 50;
  min-height: 62px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
}

.swaqly-navbar .navbar-brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.swaqly-navbar .navbar-brand img {
  max-height: 38px;
  width: auto;
}

.swaqly-navbar .navbar-nav > li > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.swaqly-navbar .navbar-nav > li > a:hover,
.swaqly-navbar .navbar-nav > li.active > a,
.swaqly-navbar .navbar-nav > li.active > a:hover {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-navbar .navbar-icon {
  color: var(--swaqly-violet-light);
}

.swaqly-navbar .badge {
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
  font-weight: 800;
}

.swaqly-navbar .navbar-toggle {
  margin-top: 14px;
  border-color: var(--swaqly-border-strong);
  background: rgba(139, 92, 246, .1);
}

.swaqly-navbar .navbar-toggle .icon-bar {
  background: var(--swaqly-violet-light);
}

.swaqly-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 12px;
}

.swaqly-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-neworder-page {
  width: min(1180px, calc(100% - 30px));
}

.swaqly-neworder-shell {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.5fr);
  align-items: stretch;
  gap: 24px;
}

.swaqly-order-guide,
.swaqly-order-card {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 0 28px var(--swaqly-glow), 0 18px 42px rgba(0, 0, 0, .32);
}

.swaqly-order-guide {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px 22px;
  text-align: right;
}

.swaqly-guide-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  place-items: center;
  border: 5px solid var(--swaqly-pink);
  border-radius: 50%;
  color: var(--swaqly-pink);
  background: #09080d;
  box-shadow: 0 0 0 8px rgba(236, 72, 153, .1), 0 0 28px rgba(236, 72, 153, .3);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.swaqly-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-violet-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swaqly-order-guide h1,
.swaqly-order-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.swaqly-order-guide h1 {
  font-size: 24px;
  text-align: center;
}

.swaqly-order-guide > p {
  margin: 8px 0 20px;
  color: var(--swaqly-muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.swaqly-order-guide ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
  counter-reset: swaqly-guide;
}

.swaqly-order-guide li {
  display: flex;
  gap: 9px;
  color: #e8e4f6;
  font-size: 12px;
  line-height: 1.8;
}

.swaqly-order-guide li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  content: counter(swaqly-guide);
  counter-increment: swaqly-guide;
  font-size: 11px;
  font-weight: 800;
}

.swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 10px;
  background: rgba(139, 92, 246, .1);
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-guide-note strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-order-guide .btn,
.swaqly-order-form > .btn {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 22px rgba(139, 92, 246, .25);
  font-weight: 800;
}

.swaqly-order-main {
  min-width: 0;
}

.swaqly-order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.swaqly-order-heading h2 {
  font-size: 22px;
}

.swaqly-order-heading p {
  margin: 5px 0 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-order-badge {
  padding: 7px 11px;
  border: 1px solid rgba(236, 72, 153, .35);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .1);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.swaqly-order-card {
  min-height: 560px;
  margin: 0;
  padding: 24px;
}

.swaqly-order-form {
  display: grid;
  gap: 14px;
}

.swaqly-order-form .form-group {
  margin: 0;
}

.swaqly-order-form .control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-order-form .form-control,
.swaqly-order-form .select2-container .select2-selection {
  min-height: 44px;
  border: 1px solid rgba(139, 92, 246, .42);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-order-form .form-control {
  padding: 10px 13px;
}

.swaqly-order-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-order-form select.form-control {
  padding-top: 0;
  padding-bottom: 0;
}

.swaqly-order-form #charge {
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .1);
  font-weight: 800;
}

.swaqly-order-form #service_description .panel-body,
.swaqly-order-form .panel-body {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 9px;
  color: var(--swaqly-muted);
  background: rgba(139, 92, 246, .07);
  font-size: 12px;
  line-height: 1.9;
}

.swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-order-form .terms input {
  accent-color: var(--swaqly-violet);
}

.swaqly-order-form .terms a {
  color: var(--swaqly-violet-light);
}

.swaqly-order-form > .btn {
  width: 100%;
  margin-top: 3px;
  padding: 0 20px;
  font-size: 14px;
}

.swaqly-order-form .alert {
  margin: 0;
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 10px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-order-form .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-neworder-text {
  margin-top: 24px;
}

.swaqly-neworder-text .well {
  margin: 0;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .9);
}

@media (max-width: 991px) {
  .swaqly-neworder-shell {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
  }

  .swaqly-order-guide,
  .swaqly-order-card {
    min-height: 0;
  }

  .swaqly-order-guide {
    padding: 24px 17px 18px;
  }

  .swaqly-order-guide li {
    font-size: 11px;
  }

  .swaqly-order-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-page-content {
    padding-top: 16px;
  }

  .swaqly-navbar .navbar-brand,
  .swaqly-navbar .navbar-nav > li > a {
    min-height: 52px;
  }

  .swaqly-navbar .navbar-brand {
    font-size: 17px;
  }

  .swaqly-navbar .navbar-toggle {
    margin-top: 9px;
  }

  .swaqly-neworder-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-neworder-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .swaqly-order-main {
    order: 1;
  }

  .swaqly-order-guide {
    order: 2;
  }

  .swaqly-order-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 11px;
  }

  .swaqly-order-heading h2 {
    font-size: 19px;
  }

  .swaqly-order-heading p {
    font-size: 12px;
  }

  .swaqly-order-card {
    padding: 16px 13px;
  }

  .swaqly-order-form {
    gap: 12px;
  }

  .swaqly-order-guide {
    min-height: 0;
    padding: 24px 16px 18px;
  }

  .swaqly-order-guide h1 {
    font-size: 21px;
  }

  .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared Swaqly surfaces for every remaining panel page. */
.swaqly-page-content > .container {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-page-content > .container > .row {
  margin-inline: 0;
}

.swaqly-services-page {
  padding-top: 8px;
}

.swaqly-services-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 34%), linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
}

.swaqly-services-hero h1 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.swaqly-services-hero p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.swaqly-services-search {
  position: relative;
  width: min(100%, 440px);
}

.swaqly-services-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--swaqly-violet-light);
  transform: translateY(-50%);
}

.swaqly-services-search input {
  width: 100%;
  min-height: 43px;
  padding: 0 41px 0 14px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(7, 7, 12, .72);
}

.swaqly-services-search input:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-services-count {
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-services-count strong {
  color: var(--swaqly-violet-light);
  font-size: 16px;
}

.swaqly-services-card {
  padding: 12px !important;
}

.swaqly-services-table {
  min-width: 840px !important;
}

.swaqly-services-table td,
.swaqly-services-table th {
  vertical-align: middle !important;
}

.swaqly-services-table td small,
.swaqly-service-name {
  display: block;
}

.swaqly-services-table td small {
  max-width: 330px;
  margin-top: 4px;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.7;
}

.swaqly-service-id,
.swaqly-service-rate {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-service-category {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(236, 72, 153, .26);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .08);
  font-size: 11px;
}

.swaqly-services-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 54px 20px;
  color: var(--swaqly-muted);
  text-align: center;
}

.swaqly-services-empty i {
  margin-bottom: 4px;
  color: var(--swaqly-violet-light);
  font-size: 30px;
}

.swaqly-services-empty strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-services-empty span {
  font-size: 12px;
}

@media (max-width: 767px) {
  .swaqly-services-hero,
  .swaqly-services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .swaqly-services-hero {
    padding: 18px 15px;
  }

  .swaqly-services-hero .btn {
    width: 100%;
  }

  .swaqly-services-search {
    width: 100%;
  }
}

.swaqly-page-content .col-md-8,
.swaqly-page-content .col-md-10,
.swaqly-page-content .col-lg-8,
.swaqly-page-content .col-lg-12 {
  float: none;
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 0;
}

.swaqly-page-content .col-md-6 {
  padding-inline: 10px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  margin: 0 0 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .96), rgba(12, 11, 18, .96));
  box-shadow: 0 0 24px rgba(139, 92, 246, .12), 0 16px 36px rgba(0, 0, 0, .25);
}

.swaqly-page-content .well > .well,
.swaqly-page-content .well-float > .well {
  margin-bottom: 14px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  overflow-x: auto;
}

.swaqly-page-content .well h1,
.swaqly-page-content .well h2,
.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  color: #fff;
}

.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  margin-top: 0;
}

.swaqly-page-content .form-group {
  margin-bottom: 17px;
}

.swaqly-page-content .control-label,
.swaqly-page-content label {
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .form-control {
  min-height: 43px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-page-content textarea.form-control {
  min-height: 120px;
  padding-top: 11px;
  resize: vertical;
}

.swaqly-page-content .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-page-content .help-block {
  color: var(--swaqly-muted);
}

.swaqly-page-content .btn {
  min-height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.swaqly-page-content .btn:hover {
  transform: translateY(-1px);
}

.swaqly-page-content .btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 20px rgba(139, 92, 246, .22);
}

.swaqly-page-content .btn-default {
  border-color: var(--swaqly-border);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-page-content .btn-default:hover {
  border-color: var(--swaqly-border-strong);
  color: #fff;
  background: rgba(139, 92, 246, .14);
}

.swaqly-page-content .btn-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fff;
  background: #b4233d;
}

.swaqly-page-content .btn-xs {
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.swaqly-page-content .alert {
  margin-bottom: 17px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: #e9e4ff;
  background: rgba(139, 92, 246, .1);
}

.swaqly-page-content .alert-success {
  border-color: rgba(34, 197, 94, .35);
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-page-content .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-page-content .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.swaqly-page-content .nav-pills > li {
  float: none;
}

.swaqly-page-content .nav-pills > li > a {
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .nav-pills > li.active > a,
.swaqly-page-content .nav-pills > li.active > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
}

.swaqly-orders-page {
  width: min(1240px, calc(100% - 30px)) !important;
}

.swaqly-order-filters {
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  padding: 8px;
  border: 1px solid var(--swaqly-border);
  border-radius: 12px;
  background: rgba(17, 16, 26, .82);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.swaqly-order-filters > li > a {
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 14px !important;
  white-space: nowrap;
}

.swaqly-order-filters .swaqly-order-search {
  flex: 1 1 240px;
  min-width: 210px;
  margin-inline-start: auto;
}

.swaqly-order-search form,
.swaqly-order-search .input-group {
  width: 100%;
  margin: 0;
}

.swaqly-order-search .form-control {
  min-height: 38px;
}

.swaqly-orders-table {
  padding: 12px !important;
}

.swaqly-orders-table .table {
  min-width: 980px;
}

.swaqly-page-content .table-responsive {
  border: 0;
}

.swaqly-page-content .table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  color: #e8e4f6;
  font-size: 12px;
}

.swaqly-page-content .table > thead > tr > th {
  padding: 13px 12px;
  border: 0;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .13);
  font-size: 11px;
  white-space: nowrap;
}

.swaqly-page-content .table > tbody > tr > td {
  padding: 13px 12px;
  border-color: rgba(255, 255, 255, .07);
  vertical-align: middle;
}

.swaqly-page-content .table > tbody > tr:hover {
  background: rgba(139, 92, 246, .06);
}

.swaqly-page-content .table a {
  color: var(--swaqly-violet-light);
}

.swaqly-page-content .table a:hover {
  color: #fff;
}

.swaqly-page-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
}

.swaqly-page-content .pagination > li > a,
.swaqly-page-content .pagination > li > span {
  min-width: 34px;
  border: 1px solid var(--swaqly-border);
  border-radius: 7px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.swaqly-page-content .pagination > .active > a,
.swaqly-page-content .pagination > .active > span {
  border-color: var(--swaqly-violet);
  color: #fff;
  background: var(--swaqly-violet);
}

.swaqly-page-content .input-group .form-control {
  z-index: 1;
}

.swaqly-page-content .input-group-btn .btn {
  min-height: 43px;
}

.swaqly-page-content .modal-content {
  overflow: hidden;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-text);
  background: #11101a;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .6);
}

.swaqly-page-content .modal-header,
.swaqly-page-content .modal-footer {
  border-color: var(--swaqly-border);
}

.swaqly-page-content .modal-header .close {
  color: #fff;
}

.swaqly-page-content .dropdown-menu {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: 9px;
  background: #15121e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

.swaqly-page-content .dropdown-menu > li > a {
  color: var(--swaqly-muted);
}

.swaqly-page-content .dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--swaqly-violet);
}

/* Give the data-heavy pages a readable card grid on desktop and a scrollable
   table on narrow screens without changing their server-side markup. */
.swaqly-authenticated .swaqly-page-content > .container-fluid {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid > .row {
  margin-inline: 0;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .well {
  margin-bottom: 18px;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .table {
  min-width: 900px;
}

@media (max-width: 767px) {
  .swaqly-page-content {
    min-height: calc(100vh - 106px);
    padding: 15px 0 28px;
  }

  .swaqly-page-content > .container,
  .swaqly-authenticated .swaqly-page-content > .container-fluid {
    width: min(100% - 22px, 560px);
  }

  .swaqly-page-content .well,
  .swaqly-page-content .well-float {
    padding: 16px 13px;
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .swaqly-page-content .col-md-6 {
    width: 100%;
    padding-inline: 0;
  }

  .swaqly-page-content .form-control {
    min-height: 42px;
  }

  .swaqly-page-content .table {
    min-width: 650px;
  }

  .swaqly-orders-page {
    width: min(100% - 22px, 560px) !important;
  }

  .swaqly-order-filters {
    align-items: stretch;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 7px;
  }

  .swaqly-order-filters > li > a {
    min-width: 92px;
  }

  .swaqly-order-filters .swaqly-order-search {
    order: -1;
    flex: 0 0 220px;
    min-width: 220px;
  }

  .swaqly-footer {
    padding: 18px 0;
  }
}

/* Imported Swaqly announcement, popup, order-copy and account-level features.
   The cyan variables are intentionally scoped so they do not replace the
   black/violet panel theme above. */
.swaqly-panel-topbar {
  top: 0;
}

.liquid-frame,
#liquidCanvas,
#liquidCanvasOffer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  pointer-events: none;
}

.liquid-frame {
  z-index: 0;
}

.swaqly-popup > :not(.liquid-frame) {
  position: relative;
  z-index: 1;
}

.close-popup,
.minimize-popup {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
}

.close-popup,
.minimize-popup {
  top: 4px;
  padding: 0;
  background: transparent;
  line-height: 1;
}

.close-popup {
  right: 12px;
  color: #ff4d6d;
  font-size: 28px;
}

.minimize-popup {
  right: 50px;
  color: #dffcff;
  font-size: 26px;
}

.swaqly-popup h2 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #8dfbff, #31d7ff, #6ca8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-line {
  margin: 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 238, 255, .35);
  color: #91fbff;
  font-size: 16px;
  font-weight: 700;
}

#popup-home p,
#popup-home h2 {
  margin: 8px 0;
  line-height: 2;
}

#popup-offer p,
#popup-offer h2 {
  margin: 4px 0;
  line-height: 1.6;
}

.swaqly-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.swaqly-buttons a {
  display: flex;
  flex: 1 1 45%;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #000;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .3s ease, filter .3s ease;
}

.swaqly-buttons a:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
  text-decoration: none;
}

.swaqly-buttons a * {
  text-decoration: none !important;
}

.swaqly-buttons a.whatsapp,
.swaqly-buttons a.bot {
  background: linear-gradient(180deg, #36df7b, #1fb95f);
}

.swaqly-buttons a.download-app {
  background: linear-gradient(180deg, #3bc8ff, #1d8dff);
}

.swaqly-buttons a.telegram {
  background: linear-gradient(180deg, #44d8ff, #1d9cf0);
}

.swaqly-buttons a img.icon-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2px;
}

.digit {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #04111f;
  background: linear-gradient(180deg, #90fbff, #31d7ff 55%, #5d8fff);
  box-shadow: 0 0 12px rgba(0, 238, 255, .22);
  font-size: 28px;
  font-weight: 900;
}

.label {
  margin-top: 3px;
  color: #dffcff;
  font-size: 12px;
}

#small-popup-home,
#small-popup-offer {
  display: none;
  position: fixed;
  bottom: 160px;
  left: 20px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#small-popup-offer {
  width: 39px;
  height: 39px;
}

#small-popup-home img,
#small-popup-offer img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0, 238, 255, .2), 0 0 20px rgba(0, 140, 255, .15);
}

.small-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #33dfff, #118dff);
  box-shadow: 0 0 10px rgba(0, 200, 255, .35);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.popup-home-images,
.swaqly-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.popup-home-images img,
.swaqly-icons img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0, 238, 255, .18), 0 0 18px rgba(0, 140, 255, .12);
  transition: transform .3s ease, filter .3s ease;
}

.popup-home-images img:hover,
.swaqly-icons img:hover {
  transform: translateY(-8px) scale(1.12);
  filter: drop-shadow(0 0 12px rgba(0, 238, 255, .35));
}

/* Optional server-rendered blocks from the attached customization. */
#block_330 {
  min-height: 220px !important;
}

#block_330 .container {
  min-height: 220px !important;
  padding: 0 !important;
  background-image: url("https://a.top4top.io/p_38020us8n1.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#block_330 h2,
#block_330 p,
#block_330 img,
#block_330 .text-block__title,
#block_330 .text-block__description {
  display: none !important;
}

#block_332 {
  min-height: 420px !important;
}

#block_332 .container {
  min-height: 420px !important;
  padding-top: 320px !important;
  background-image: url("https://h.top4top.io/p_3803x3qh32.png") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

#block_332 img {
  display: none !important;
}

/* The attached account-card customization works with the platform's
   server-rendered dashboard cards when those blocks are present. */
#block_264 .totals-block__icon-preview {
  position: relative !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 115% 115% !important;
}

#block_264 .totals-block__icon-preview .totals-block__icon {
  visibility: hidden !important;
  opacity: 0 !important;
}

.swaqly-level-card,
.swaqly-discount-card {
  cursor: pointer !important;
}

.swaqly-level-card .totals-block__count-value,
.swaqly-discount-card .totals-block__count-value {
  color: var(--color-id-164, #39eaff) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 28px !important;
}

.swaqly-level-card .swaqly-level-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  direction: rtl !important;
  white-space: nowrap !important;
}

.swaqly-level-fa {
  color: var(--color-id-164, #39eaff) !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

@media (min-width: 769px) {
  #popup-offer {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .swaqly-popup {
    top: 50%;
    width: 92%;
    max-height: none;
    overflow: hidden;
    padding: 15px;
    transform: translate(-50%, -50%);
  }

  .swaqly-popup h2 {
    font-size: 18px;
  }

  .primary-line {
    padding-bottom: 2px;
    font-size: 13px;
  }

  .swaqly-popup p {
    font-size: 14px;
  }

  .swaqly-buttons a {
    gap: 6px;
    padding: 10px 6px;
    font-size: 13px;
  }

  .swaqly-buttons a img.icon-btn {
    width: 22px;
    height: 22px;
  }

  .digit {
    width: 40px;
    height: 45px;
    font-size: 20px;
  }

  .label {
    font-size: 10px;
  }

  .popup-home-images img,
  .swaqly-icons img {
    width: 40px;
    height: 40px;
  }

  #small-popup-home,
  #small-popup-offer {
    width: 40px;
    height: 40px;
  }

  .swaqly-news-bar {
    height: 30px;
    line-height: 30px;
  }

  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }

  .swaqly-news-track {
    font-size: 14px;
    animation-duration: 45s;
  }

  .swaqly-news-track span {
    margin-right: 80px;
  }

  #swaqly-copy-action-bar {
    right: 10px;
    bottom: -180px;
    left: 10px;
    width: calc(100vw - 20px);
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    transform: none;
  }

  #swaqly-copy-action-bar .swaqly-text {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  #swaqly-copy-action-bar .swaqly-copy-btn {
    width: 120px;
    height: 44px;
  }

  #block_330 .container {
    min-height: 180px !important;
    background-image: url("https://k.top4top.io/p_3803tmgkv1.png") !important;
    background-size: 100% auto !important;
  }

  #block_330 {
    min-height: auto !important;
  }

  #block_332 .container {
    min-height: 170px !important;
    padding-top: 0 !important;
    background-image: url("https://g.top4top.io/p_3803li6w91.png") !important;
    background-size: 100% auto !important;
  }

  #block_332 {
    min-height: auto !important;
  }
}

/* Full panel shell: the same dark dashboard language as the live Swaqly app. */
body.swaqly-authenticated {
  overflow-x: hidden;
}

.swaqly-panel-shell {
  min-height: 100vh;
  display: flex;
  direction: rtl;
}

.swaqly-sidebar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  border-left: 1px solid rgba(139, 92, 246, .28);
  background: linear-gradient(180deg, #11101a 0%, #0b0a10 100%);
  box-shadow: -15px 0 42px rgba(0, 0, 0, .24);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .5) transparent;
}

.swaqly-sidebar-brand {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-sidebar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-sidebar-brand img {
  display: block;
  max-width: 148px;
  max-height: 38px;
  object-fit: contain;
}

.swaqly-brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  box-shadow: 0 0 20px rgba(139, 92, 246, .4), inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: "Tajawal", sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.swaqly-brand-mark::before {
  position: absolute;
  width: 50px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  content: "";
  transform: rotate(-38deg);
}

.swaqly-brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  content: "";
}

.swaqly-sidebar-brand strong,
.swaqly-public-brand strong {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-sidebar-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 10px 9px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
}

.swaqly-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--swaqly-pink);
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 72, 153, .18);
  font-size: 16px;
  font-weight: 900;
}

.swaqly-user-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.swaqly-user-copy strong,
.swaqly-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swaqly-user-copy strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-user-copy small {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-user-dot,
.swaqly-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .11), 0 0 12px rgba(34, 197, 94, .45);
}

.swaqly-sidebar-nav {
  display: grid;
  gap: 4px;
}

.swaqly-sidebar-label {
  display: block;
  margin: 8px 9px 5px;
  color: #756d8e;
  font-size: 10px;
  font-weight: 800;
}

.swaqly-sidebar-link {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.swaqly-sidebar-link i {
  width: 18px;
  color: #83789f;
  font-size: 13px;
  text-align: center;
}

.swaqly-sidebar-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, .1);
  text-decoration: none;
}

.swaqly-sidebar-link:hover i,
.swaqly-sidebar-link.active i {
  color: #fff;
}

.swaqly-sidebar-link.active {
  border-color: rgba(139, 92, 246, .4);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, .98), rgba(109, 40, 217, .92));
  box-shadow: 0 8px 22px rgba(109, 40, 217, .25);
}

.swaqly-sidebar-balance {
  margin-top: auto;
  padding: 13px 12px;
  border: 1px solid rgba(236, 72, 153, .28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .06));
}

.swaqly-sidebar-balance span,
.swaqly-sidebar-balance strong {
  display: block;
}

.swaqly-sidebar-balance span {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-sidebar-balance strong {
  margin: 4px 0 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-sidebar-balance a {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-sidebar-balance a:hover {
  color: #fff;
}

.swaqly-panel-main {
  width: calc(100% - 252px);
  min-width: 0;
  min-height: 100vh;
  margin-right: 252px;
  direction: rtl;
}

.swaqly-panel-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
  background: rgba(8, 8, 13, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}

.swaqly-panel-heading,
.swaqly-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swaqly-panel-heading > div {
  display: grid;
  gap: 3px;
}

.swaqly-panel-heading span {
  color: var(--swaqly-violet-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.swaqly-panel-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.swaqly-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.swaqly-currency {
  direction: rtl;
}

.swaqly-currency > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(139, 92, 246, .1);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-currency > a:hover,
.swaqly-currency > a:focus {
  color: #fff;
  text-decoration: none;
}

.swaqly-online-dot {
  display: block;
}

.swaqly-panel-main > .swaqly-page-content {
  min-height: calc(100vh - 125px);
  padding: 24px 26px 34px;
}

.swaqly-panel-main > .swaqly-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 57px;
  padding: 16px 26px;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 11px;
}

.swaqly-panel-main > .swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 900;
}

.swaqly-public-navbar {
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
}

.swaqly-public-navbar .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.swaqly-public-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-public-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-public-brand img {
  max-width: 145px;
  max-height: 37px;
}

.swaqly-public-navbar .navbar-collapse {
  flex: 1;
}

.swaqly-public-navbar .navbar-nav > li > a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-public-navbar .navbar-nav > li > a:hover,
.swaqly-public-navbar .navbar-nav > li.active > a {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-public-toggle {
  display: none;
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 16px;
}

.swaqly-public-hero {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  min-height: 420px;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  align-items: center;
  gap: 58px;
  margin: 18px auto 28px;
  padding: 54px 46px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .18), transparent 15rem),
    linear-gradient(135deg, rgba(27, 22, 40, .98), rgba(9, 8, 14, .98));
  box-shadow: 0 0 44px rgba(139, 92, 246, .16), 0 22px 60px rgba(0, 0, 0, .35);
}

.swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: right;
}

.swaqly-public-hero h1 {
  max-width: 610px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.swaqly-public-hero-copy > p {
  max-width: 550px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 15px;
  line-height: 2;
}

.swaqly-public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.swaqly-public-hero-actions .btn {
  min-width: 132px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.swaqly-public-hero-actions .btn-default {
  border-color: rgba(196, 181, 253, .35);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
  color: #b8b0cf;
  font-size: 11px;
  font-weight: 700;
}

.swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-public-hero-meta i {
  color: var(--swaqly-pink);
}

.swaqly-public-hero-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(196, 181, 253, .32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(139, 92, 246, .27), rgba(17, 16, 26, .9) 58%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  direction: rtl;
}

.swaqly-public-hero-card::before {
  position: absolute;
  top: -45px;
  left: -35px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(236, 72, 153, .22);
  border-radius: 50%;
  content: "";
}

.swaqly-public-card-top,
.swaqly-public-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-public-card-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.swaqly-public-card-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, .6);
}

.swaqly-public-card-balance {
  display: grid;
  gap: 7px;
  padding: 28px 0 22px;
}

.swaqly-public-card-balance span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
}

.swaqly-public-card-balance strong {
  color: #fff;
  font-size: 21px;
}

.swaqly-public-card-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.swaqly-public-card-bars span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
}

.swaqly-public-card-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-card-footer {
  color: #cfc7e4;
}

.swaqly-public-card-footer i {
  margin-left: 4px;
  color: #4ade80;
}

.swaqly-public-card-footer b {
  color: #f9a8d4;
}

.swaqly-public-features {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 28px;
  direction: rtl;
}

.swaqly-public-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--swaqly-border);
  border-radius: 13px;
  background: rgba(17, 16, 26, .84);
}

.swaqly-public-feature > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-feature div {
  display: grid;
  gap: 4px;
}

.swaqly-public-feature strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
}

@media (max-width: 991px) {
  .swaqly-sidebar {
    width: 238px;
  }

  .swaqly-panel-main {
    width: calc(100% - 238px);
    margin-right: 238px;
  }

  .swaqly-panel-topbar,
  .swaqly-panel-main > .swaqly-page-content,
  .swaqly-panel-main > .swaqly-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-sidebar {
    right: -270px;
    width: 258px;
    transition: right .25s ease;
  }

  .swaqly-sidebar-open .swaqly-sidebar {
    right: 0;
  }

  .swaqly-sidebar-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, .66);
  }

  .swaqly-sidebar-open .swaqly-sidebar-overlay {
    display: block;
  }

  .swaqly-panel-main {
    width: 100%;
    margin-right: 0;
  }

  .swaqly-panel-topbar {
    min-height: 62px;
    padding: 0 13px;
  }

  .swaqly-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .swaqly-panel-heading h1 {
    font-size: 15px;
  }

  .swaqly-panel-heading span {
    font-size: 8px;
  }

  .swaqly-panel-actions .swaqly-currency {
    display: none;
  }

  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 114px);
    padding: 16px 11px 28px;
  }

  .swaqly-panel-main > .swaqly-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 13px;
  }

  .swaqly-public-navbar .container {
    min-height: 57px;
    width: calc(100% - 22px);
  }

  .swaqly-public-toggle {
    display: inline-grid;
    width: 35px;
    height: 35px;
    place-items: center;
  }

  .swaqly-public-navbar .navbar-collapse {
    position: absolute;
    z-index: 50;
    top: 57px;
    right: 11px;
    left: 11px;
    padding: 7px;
    border: 1px solid var(--swaqly-border);
    border-radius: 10px;
    background: #11101a;
  }

  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 42px;
    padding: 0 10px;
  }

  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(245px, .9fr);
    gap: 28px;
    padding: 38px 26px;
  }

  .swaqly-public-hero h1 {
    font-size: 33px;
  }
}

@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin-top: 10px;
    padding: 30px 20px;
    border-radius: 16px;
  }

  .swaqly-public-hero h1 {
    font-size: 29px;
  }

  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  .swaqly-public-hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .swaqly-public-hero-card {
    min-height: 230px;
  }

  .swaqly-public-features {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }
}

/* Dashboard bridge for the native Twig shell.
   These selectors mirror the supplied dashboard names so the sidebar,
   topbar, and every server-rendered panel use the same geometry. */
body.swaqly-twig-theme .dashboard-shell {
  display: flex !important;
  min-height: 100vh !important;
  direction: rtl !important;
  background: #050506 !important;
}

body.swaqly-twig-theme .dashboard-sidebar {
  position: relative !important;
  z-index: 60 !important;
  display: flex !important;
  width: 214px !important;
  min-height: 100vh !important;
  flex: 0 0 214px !important;
  flex-direction: column !important;
  padding: 14px 11px !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-left: 1px solid rgba(139, 92, 246, .38) !important;
  background: #0d0d12 !important;
  box-shadow: -18px 0 42px rgba(0, 0, 0, .4), inset -1px 0 0 rgba(139, 92, 246, .16) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 14px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-mark {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border-radius: 9px 9px 9px 3px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, .36) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card {
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(139, 92, 246, .32) !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: #15141c !important;
  text-align: right !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .avatar,
body.swaqly-twig-theme .top-user .avatar {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .6) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .swaqly-user-copy {
  min-width: 0 !important;
  flex: 1 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong,
body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong {
  color: #fff !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  margin-top: 3px !important;
  color: #9892aa !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .swaqly-user-dot {
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 9px rgba(34, 197, 94, .7) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-links {
  display: grid !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-label,
body.swaqly-twig-theme .dashboard-sidebar .swaqly-sidebar-label {
  display: block !important;
  margin: 20px 7px 7px !important;
  color: #777184 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #aaa4b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: .2s ease !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  width: 17px !important;
  color: #9f94bd !important;
  text-align: center !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .3) !important;
  background: rgba(139, 92, 246, .12) !important;
  transform: translateX(-2px) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .38) !important;
  background: linear-gradient(100deg, #7c3aed, #a855f7 60%, #db2777) !important;
  box-shadow: 0 0 22px rgba(139, 92, 246, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card {
  position: relative !important;
  margin-top: auto !important;
  padding: 12px 11px !important;
  border: 1px solid rgba(139, 92, 246, .38) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(236, 72, 153, .06)) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span,
body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  display: block !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span {
  color: #aaa4b8 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  margin: 5px 0 8px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card a {
  color: #c4b5fd !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-main {
  min-width: 0 !important;
  flex: 1 !important;
  background: #08080c !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  position: relative !important;
  z-index: 40 !important;
  display: flex !important;
  min-height: 68px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .22) !important;
  background: #0e0e13 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
}

body.swaqly-twig-theme .dashboard-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child {
  min-width: 0 !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child > span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #a78bfa !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-heading p {
  margin: 3px 0 0 !important;
  color: #898398 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-collapse-toggle,
body.swaqly-twig-theme .dashboard-menu {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 7px !important;
  background: rgba(139, 92, 246, .1) !important;
}

body.swaqly-twig-theme .dashboard-menu {
  display: none !important;
}

body.swaqly-twig-theme .topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.swaqly-twig-theme .notification-button {
  position: relative !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .notification-button:hover {
  color: #fff !important;
  background: rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .notification-dot {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

body.swaqly-twig-theme .top-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-inline-start: 10px !important;
  border-inline-start: 1px solid rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .top-user strong,
body.swaqly-twig-theme .top-user span {
  display: block !important;
}

body.swaqly-twig-theme .top-user strong {
  color: #fff !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .top-user span {
  margin-top: 3px !important;
  color: #22c55e !important;
  font-size: 9px !important;
}

body.swaqly-twig-theme .swaqly-online-dot {
  display: none !important;
}

body.swaqly-twig-theme .dashboard-content {
  width: min(1240px, calc(100% - 48px)) !important;
  min-height: calc(100vh - 68px) !important;
  margin-inline: auto !important;
  padding: 24px 0 42px !important;
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .panel {
  border-color: rgba(139, 92, 246, .28) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #191622, #0f0e14) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 18px rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th,
body.swaqly-twig-theme .dashboard-content .table > tbody > tr > td {
  color: #d9d4e8 !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th {
  background: rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .dashboard-content .form-control,
body.swaqly-twig-theme .dashboard-content select,
body.swaqly-twig-theme .dashboard-content textarea {
  color: #fff !important;
  background: #0b0a10 !important;
}

body.swaqly-twig-theme .notification-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  display: grid !important;
  min-width: 220px !important;
  gap: 7px !important;
  padding: 12px !important;
  border: 1px solid rgba(139, 92, 246, .48) !important;
  border-radius: 10px !important;
  background: #171321 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55) !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .notification-menu[hidden] {
  display: none !important;
}

body.swaqly-twig-theme .notification-menu strong {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .notification-menu span {
  padding: 6px 0 !important;
  color: #aaa4b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body.swaqly-twig-theme .notification-menu a {
  color: #f0abfc !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;
    bottom: 0 !important;
    width: 258px !important;
    min-height: 100vh !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-sidebar-open .dashboard-sidebar {
    right: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-menu {
    display: grid !important;
  }

  body.swaqly-twig-theme .dashboard-collapse-toggle {
    display: none !important;
  }

  body.swaqly-twig-theme .dashboard-topbar {
    min-height: 64px !important;
    padding-inline: 14px !important;
  }

  body.swaqly-twig-theme .dashboard-content {
    width: calc(100% - 24px) !important;
    padding-top: 18px !important;
  }

  body.swaqly-twig-theme .top-user > div {
    display: none !important;
  }

  body.swaqly-twig-theme .top-user {
    padding-inline-start: 0 !important;
    border: 0 !important;
  }
}

/*
   Disabled screenshot parity pass: compact right rail, compact order form, and compact
   public landing viewport matching the supplied Swaqly screens.
@media (min-width: 768px) {
  .swaqly-sidebar {
    width: 166px;
    padding: 8px 6px;
  }
  .swaqly-sidebar-brand {
    min-height: 28px;
    margin-bottom: 8px;
    font-size: 12px;
  }
  .swaqly-sidebar-brand img {
    max-width: 102px;
    max-height: 28px;
  }
  .swaqly-brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 17px;
  }
  .swaqly-sidebar-user {
    gap: 5px;
    margin-bottom: 9px;
    padding: 6px 5px;
    border-radius: 6px;
  }
  .swaqly-user-avatar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px;
  }
  .swaqly-user-copy {
    gap: 1px;
  }
  .swaqly-user-copy strong {
    font-size: 9px;
  }
  .swaqly-user-copy small {
    font-size: 7px;
  }
  .swaqly-user-dot,
  .swaqly-online-dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }
  .swaqly-sidebar-nav {
    gap: 1px;
  }
  .swaqly-sidebar-label {
    margin: 7px 4px 3px;
    font-size: 8px;
  }
  .swaqly-sidebar-link {
    min-height: 25px;
    gap: 5px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 9px;
  }
  .swaqly-sidebar-link i {
    width: 12px;
    font-size: 9px;
  }
  .swaqly-sidebar-balance {
    padding: 7px 6px;
    border-radius: 7px;
  }
  .swaqly-sidebar-balance span {
    font-size: 8px;
  }
  .swaqly-sidebar-balance strong {
    margin: 3px 0 4px;
    font-size: 13px;
  }
  .swaqly-sidebar-balance a {
    font-size: 8px;
  }
  .swaqly-panel-main {
    width: calc(100% - 166px);
    margin-right: 166px;
  }
  .swaqly-panel-topbar {
    min-height: 34px;
    gap: 8px;
    padding: 0 8px;
  }
  .swaqly-panel-heading,
  .swaqly-panel-actions {
    gap: 6px;
  }
  .swaqly-panel-heading span {
    font-size: 7px;
  }
  .swaqly-panel-heading h1 {
    font-size: 12px;
  }
  .swaqly-currency > a {
    min-height: 23px;
    gap: 4px;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 70px);
    padding: 23px 0 28px;
  }
  .swaqly-panel-main > .swaqly-footer {
    min-height: 36px;
    padding: 8px;
    font-size: 8px;
  }
  .swaqly-neworder-page {
    width: 100%;
  }
  .swaqly-neworder-shell {
    display: block;
  }
  .swaqly-order-guide,
  .swaqly-order-heading {
    display: none;
  }
  .swaqly-order-main {
    width: min(550px, calc(100% - 24px));
    margin: 0 auto;
  }
  .swaqly-order-card {
    min-height: 505px;
    padding: 14px 14px 16px;
    border-radius: 7px;
    background: linear-gradient(145deg, #171126, #0d0a14);
    box-shadow: 0 0 24px rgba(139, 92, 246, .2), 0 16px 32px rgba(0, 0, 0, .42);
  }
  .swaqly-order-form {
    gap: 10px;
  }
  .swaqly-order-form .form-group {
    margin: 0;
  }
  .swaqly-order-form .control-label {
    margin-bottom: 4px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control,
  .swaqly-order-form .select2-container .select2-selection {
    min-height: 27px;
    height: 27px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control {
    padding: 5px 9px;
  }
  .swaqly-order-form select.form-control {
    padding-top: 0;
    padding-bottom: 0;
  }
  .swaqly-order-form .select2-container {
    width: 100% !important;
  }
  .swaqly-order-form .select2-selection__rendered {
    padding-right: 9px !important;
    padding-left: 22px !important;
    color: #eeeaff !important;
    font-size: 9px;
    line-height: 25px !important;
  }
  .swaqly-order-form .select2-selection__arrow {
    top: 1px !important;
    height: 25px !important;
  }
  .swaqly-order-form .select2-container .select2-selection,
  .swaqly-order-form .select2-container--default .select2-selection--single {
    border-color: rgba(139, 92, 246, .48) !important;
    background: #0b0813 !important;
  }
  .swaqly-order-form .select2-dropdown {
    z-index: 100;
    border-color: rgba(139, 92, 246, .48) !important;
    color: #eeeaff;
    background: #11101a !important;
  }
  .swaqly-order-form .select2-results__option {
    color: #cfc7e4;
    background: #11101a;
    font-size: 9px;
  }
  .swaqly-order-form .select2-results__option--highlighted {
    color: #fff !important;
    background: var(--swaqly-violet) !important;
  }
  .swaqly-order-form #service_description .panel-body,
  .swaqly-order-form .panel-body {
    min-height: 150px !important;
    max-height: 170px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid rgba(139, 92, 246, .42) !important;
    border-radius: 5px;
    color: #cfc7e4 !important;
    background: #0c0913 !important;
    font-size: 9px;
    line-height: 1.8;
  }
  .swaqly-order-form #service_description .panel-body *,
  .swaqly-order-form .panel-body * {
    color: inherit !important;
    background: transparent !important;
  }
  .swaqly-order-form #charge {
    height: 27px;
    color: var(--swaqly-violet-light);
    background: #100b1c !important;
  }
  .swaqly-order-form .terms {
    gap: 4px;
    font-size: 9px;
  }
  .swaqly-order-form > .btn {
    min-height: 29px;
    margin-top: 1px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-neworder-text {
    display: none;
  }
}

@media (min-width: 768px) {
  .swaqly-public-navbar {
    min-height: 36px;
  }
  .swaqly-public-navbar .container {
    min-height: 36px;
  }
  .swaqly-public-brand {
    gap: 5px;
    font-size: 11px;
  }
  .swaqly-public-brand img {
    max-width: 100px;
    max-height: 27px;
  }
  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 9px;
  }
  .swaqly-public-hero {
    width: min(900px, calc(100% - 30px));
    min-height: 330px;
    grid-template-columns: minmax(245px, .82fr) minmax(0, 1.18fr);
    gap: 38px;
    padding: 36px 0 30px;
  }
  .swaqly-public-hero-copy h1 {
    max-width: 390px;
    margin: 10px 0 8px;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
  }
  .swaqly-public-hero-copy > p {
    max-width: 430px;
    font-size: 9px;
    line-height: 2;
  }
  .swaqly-eyebrow {
    margin-bottom: 4px;
    font-size: 7px;
  }
  .swaqly-public-hero-actions {
    gap: 6px;
    margin-top: 13px;
  }
  .swaqly-public-hero-actions .btn {
    min-width: 96px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-public-hero-meta {
    gap: 9px;
    margin-top: 13px;
    font-size: 7px;
  }
  .swaqly-public-login-card {
    width: 260px;
    justify-self: start;
    padding: 15px;
    border-radius: 8px;
  }
  .swaqly-public-login-heading {
    margin-bottom: 11px;
  }
  .swaqly-public-login-heading h2 {
    font-size: 13px;
  }
  .swaqly-public-login-heading p {
    font-size: 8px;
  }
  .swaqly-public-form-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 9px;
  }
  .swaqly-public-login-form {
    gap: 7px;
  }
  .swaqly-public-login-form label {
    margin-bottom: 3px;
    font-size: 7px;
  }
  .swaqly-public-login-form .form-control {
    min-height: 24px;
    height: 24px;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 8px;
  }
  .swaqly-public-forgot,
  .swaqly-public-login-footer,
  .swaqly-public-divider,
  .swaqly-public-google {
    font-size: 7px;
  }
  .swaqly-public-login-form .btn,
  .swaqly-public-google {
    min-height: 24px;
    border-radius: 4px;
  }
  .swaqly-public-login-footer {
    margin-top: 9px;
  }
  .swaqly-public-platform-track {
    gap: 6px;
    padding: 7px 0;
  }
  .swaqly-public-platform-track span {
    gap: 4px;
    padding: 5px 8px;
    font-size: 7px;
  }
  .swaqly-public-section {
    width: min(900px, calc(100% - 30px));
    padding: 54px 0;
  }
  .swaqly-public-section-heading {
    margin-bottom: 22px;
  }
  .swaqly-public-section-heading h2 {
    margin: 5px 0 4px;
    font-size: 20px;
  }
  .swaqly-public-section-heading > span,
  .swaqly-public-section-heading p {
    font-size: 8px;
  }
  .swaqly-public-feature-grid {
    gap: 8px;
  }
  .swaqly-public-feature {
    min-height: 112px;
    padding: 13px 10px;
  }
  .swaqly-public-feature > i {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    font-size: 10px;
  }
  .swaqly-public-feature strong {
    font-size: 9px;
  }
  .swaqly-public-feature span {
    font-size: 7px;
  }
}

*/

/* Final black sidebar + shared hover shadow/glow pass. */
.swaqly-sidebar {
  background: #050507;
  box-shadow: -18px 0 46px rgba(0, 0, 0, .58), inset -1px 0 0 rgba(139, 92, 246, .18);
}
.swaqly-panel-topbar {
  background: rgba(5, 5, 7, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .44);
}
.swaqly-sidebar-user,
.swaqly-sidebar-balance {
  background: #0a0a0d;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .38), 0 0 15px rgba(139, 92, 246, .08);
}
.swaqly-sidebar-link {
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.swaqly-sidebar-link:hover {
  border-color: rgba(139, 92, 246, .48);
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25), inset 0 0 12px rgba(236, 72, 153, .06);
  transform: translateX(-2px);
}

/* Perfect Panel installation correction.
   Keep the authenticated content fluid when an older panel stylesheet or
   cached compact-preview rule is loaded before this theme stylesheet. */
body.swaqly-twig-theme .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 26px 42px !important;
}

body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr) !important;
  gap: 24px !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
  display: flex !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-content {
    width: 100% !important;
    padding: 18px 12px 28px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
    width: 100% !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
    display: flex !important;
    order: 2 !important;
  }
}
.swaqly-sidebar-link.active {
  box-shadow: 0 0 25px rgba(139, 92, 246, .44), 0 8px 22px rgba(0, 0, 0, .38);
}
.swaqly-order-guide,
.swaqly-order-card,
.swaqly-public-hero,
.swaqly-public-hero-card,
.swaqly-public-feature,
.swaqly-page-content .well,
.swaqly-page-content .well-float,
.swaqly-page-content .modal-content {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 16px rgba(139, 92, 246, .09);
}
.swaqly-order-guide:hover,
.swaqly-order-card:hover,
.swaqly-public-hero:hover,
.swaqly-public-hero-card:hover,
.swaqly-public-feature:hover,
.swaqly-page-content .well:hover,
.swaqly-page-content .well-float:hover,
.swaqly-page-content .modal-content:hover {
  border-color: rgba(196, 181, 253, .62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46), 0 0 30px rgba(139, 92, 246, .28), 0 0 9px rgba(236, 72, 153, .2);
  transform: translateY(-3px);
}
.swaqly-page-content .btn:hover,
.swaqly-sidebar-balance a:hover,
.swaqly-currency > a:hover,
.swaqly-public-hero-actions .btn:hover {
  box-shadow: 0 0 24px rgba(139, 92, 246, .44), 0 8px 20px rgba(0, 0, 0, .34);
}

/* Public home parity with the Swaqly preview app. */
.swaqly-public-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg);
}
.swaqly-public-shell > .swaqly-page-content {
  padding-top: 0;
}
.swaqly-public-shell .form-control,
.swaqly-public-shell input,
.swaqly-public-shell select,
.swaqly-public-shell textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 8, 13, .78);
  box-shadow: none;
}
.swaqly-public-hero {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  min-height: 620px;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr);
  gap: 72px;
  margin: 0 auto;
  padding: 72px 0 66px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(139, 92, 246, .16), transparent 30rem),
    radial-gradient(circle at 82% 70%, rgba(236, 72, 153, .08), transparent 24rem);
  box-shadow: none;
}
.swaqly-public-hero::before {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 45px 45px;
  content: "";
  pointer-events: none;
}
.swaqly-public-hero-copy {
  align-self: center;
}
.swaqly-public-hero-copy h1 {
  max-width: 690px;
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.swaqly-public-hero-copy h1 strong {
  display: inline;
  color: transparent;
  background: linear-gradient(100deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 48%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 25px rgba(236, 72, 153, .22);
}
@media (max-width: 640px) {
  .swaqly-public-hero-copy h1 {
    white-space: normal;
  }
}
.swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: 15px;
  line-height: 2.1;
}
.swaqly-public-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swaqly-public-login-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
  backdrop-filter: blur(12px);
}
.swaqly-public-login-heading {
  margin-bottom: 22px;
  text-align: center;
}
.swaqly-public-login-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}
.swaqly-public-login-heading p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-form-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-login-form {
  display: grid;
  gap: 13px;
}
.swaqly-public-login-form .form-group {
  margin: 0;
}
.swaqly-public-login-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 11px;
}
.swaqly-public-login-form .form-control {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
}
.swaqly-public-login-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}
.swaqly-public-forgot {
  justify-self: start;
  margin-top: -5px;
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-login-form .btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
}
.swaqly-public-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}
.swaqly-public-divider::before,
.swaqly-public-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  content: "";
}
.swaqly-public-google {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font-size: 11px;
}
.swaqly-public-google b {
  color: #4285f4;
  font-size: 16px;
}
.swaqly-public-login-footer {
  margin: 18px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}
.swaqly-public-login-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}
.swaqly-public-platforms {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.swaqly-public-platform-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 14px 0;
  animation: swaqly-public-marquee 28s linear infinite;
}
.swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--swaqly-muted);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-platform-track i {
  color: var(--swaqly-violet-light);
  filter: drop-shadow(0 0 5px currentColor);
}
@keyframes swaqly-public-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.swaqly-public-section {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(139, 92, 246, .18);
}
.swaqly-public-section + .swaqly-public-section::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(150px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--swaqly-violet), transparent);
  content: "";
  transform: translateX(-50%);
}
.swaqly-public-section-heading {
  margin-bottom: 42px;
  text-align: center;
}
.swaqly-public-section-heading > span,
.swaqly-public-final-cta > div:first-child > span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}
.swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}
.swaqly-public-section-heading p {
  margin: 0 auto;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-feature {
  min-height: 190px;
  display: block;
  padding: 25px 20px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 15px;
  background: #050507;
  text-align: center;
}
.swaqly-public-feature > i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-feature div {
  display: grid;
  gap: 7px;
}
.swaqly-public-feature strong {
  color: #fff;
  font-size: 14px;
}
.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-payments,
.swaqly-public-faq {
  max-width: none;
  background: rgba(255,255,255,.018);
}
.swaqly-public-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.swaqly-public-payment-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: #050507;
  font-size: 12px;
  font-weight: 800;
}
.swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-steps article {
  min-height: 190px;
  padding: 28px 20px;
  border: 1px solid var(--swaqly-border);
  border-radius: 15px;
  background: #050507;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.swaqly-public-steps b {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 0 22px rgba(139,92,246,.3);
  font-size: 16px;
}
.swaqly-public-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.swaqly-public-steps p {
  margin: 7px 0 0;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-review-grid {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}
.swaqly-public-review-grid article {
  padding: 25px;
  border-right: 4px solid var(--swaqly-violet);
  border-radius: 15px;
  background: #050507;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.swaqly-public-review-grid article > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swaqly-public-review-grid article > div > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  font-size: 11px;
}
.swaqly-public-review-grid strong {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 12px;
}
.swaqly-public-review-grid small {
  color: var(--swaqly-muted);
  font-size: 10px;
  font-weight: 400;
}
.swaqly-public-review-grid p {
  min-height: 50px;
  margin: 17px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.swaqly-public-faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  background: rgba(17, 16, 26, .92);
}
.swaqly-public-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}
.swaqly-public-faq-list summary::-webkit-details-marker {
  display: none;
}
.swaqly-public-faq-list summary i {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary i {
  transform: rotate(45deg);
}
.swaqly-public-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 50px;
  padding: 34px 40px;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(139,92,246,.17), rgba(236,72,153,.1));
  box-shadow: 0 0 30px rgba(139,92,246,.12);
}
.swaqly-public-final-cta h2 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: 23px;
}
.swaqly-public-final-cta p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swaqly-public-final-cta .btn {
  min-width: 125px;
}
.swaqly-public-shell .swaqly-footer {
  background: #07070b;
}
@media (max-width: 980px) {
  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
    gap: 35px;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 42px 0 34px;
  }
  .swaqly-public-hero-copy h1 {
    font-size: 30px;
    white-space: normal;
  }
  .swaqly-public-section-heading h2 {
    white-space: normal;
  }
  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }
  .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }
  .swaqly-public-section {
    width: min(100% - 22px, 560px);
    padding: 58px 0;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps,
  .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 25px;
    padding: 25px 20px;
  }
  .swaqly-public-final-cta h2 {
    font-size: 20px;
  }
  .swaqly-public-final-cta > div:last-child .btn {
    flex: 1;
  }
}

/* Keep the news bar in normal document flow before the panel header. */
body.swaqly-app {
  padding-top: 0;
}

.swaqly-panel-topbar {
  top: 0;
}

@media (max-width: 767px) {
  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }
}

/* Twig auth pages: a full-width translation of the preview app auth shell. */
.swaqly-twig-theme .auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  direction: ltr;
  background: #0b0e13;
}

.swaqly-twig-theme .auth-brand,
.swaqly-twig-theme .auth-form-panel {
  min-width: 0;
  direction: rtl;
}

.swaqly-twig-theme .auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  padding: 46px clamp(25px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .18), transparent 38%),
    linear-gradient(145deg, #10131b, #090b10);
}

.swaqly-twig-theme .auth-brand::before {
  position: absolute;
  top: 23%;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(139, 92, 246, .035), 0 0 0 58px rgba(139, 92, 246, .025);
  content: "";
}

.swaqly-twig-theme .auth-brand::after {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(236, 72, 153, .18);
  border-radius: 50%;
  content: "";
}

.swaqly-twig-theme .auth-brand > div {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: auto 0;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-twig-theme .auth-brand .brand-logo img {
  display: block;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.swaqly-twig-theme .auth-brand .brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  box-shadow: 0 0 22px rgba(139, 92, 246, .4);
  font-family: "Tajawal", sans-serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.swaqly-twig-theme .auth-brand .brand-name {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-twig-theme .auth-brand h1 {
  max-width: 540px;
  margin: 20px 0 14px;
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.swaqly-twig-theme .auth-brand p {
  max-width: 500px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 14px;
  line-height: 2.1;
}

.swaqly-twig-theme .auth-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swaqly-twig-theme .auth-points i {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-form-panel {
  display: grid;
  align-content: center;
  padding: 46px clamp(25px, 8vw, 120px);
  background: #10141b;
}

.swaqly-twig-theme .auth-form-panel > .back-home,
.swaqly-twig-theme .auth-form-panel > .auth-card,
.swaqly-twig-theme .auth-form-panel > .auth-extra {
  width: min(100%, 430px);
  margin-inline: auto;
}

.swaqly-twig-theme .back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-twig-theme .back-home:hover {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-card {
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
}

.swaqly-twig-theme .form-header {
  margin-bottom: 23px;
  text-align: center;
}

.swaqly-twig-theme .form-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 0 auto 11px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
}

.swaqly-twig-theme .form-header h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.swaqly-twig-theme .form-header p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form {
  display: grid;
  gap: 13px;
}

.swaqly-twig-theme .standalone-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.swaqly-twig-theme .standalone-form .input-group > i {
  position: absolute;
  right: 14px;
  z-index: 1;
  color: #756d8e;
  pointer-events: none;
}

.swaqly-twig-theme .standalone-form .input-group input {
  width: 100%;
  min-height: 47px;
  padding: 0 42px 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(8, 10, 14, .72);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form .input-group input:focus {
  border-color: var(--swaqly-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.swaqly-twig-theme .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .form-options label,
.swaqly-twig-theme .terms-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-twig-theme .form-options input,
.swaqly-twig-theme .terms-row input {
  accent-color: var(--swaqly-violet);
}

.swaqly-twig-theme .form-options a,
.swaqly-twig-theme .terms-row a,
.swaqly-twig-theme .form-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-twig-theme .terms-row {
  color: var(--swaqly-muted);
  font-size: 10px;
  line-height: 1.8;
}

.swaqly-twig-theme .auth-card .btn {
  min-height: 45px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
  font-weight: 800;
}

.swaqly-twig-theme .auth-card .btn:hover {
  background: linear-gradient(135deg, #a78bfa, var(--swaqly-violet));
}

.swaqly-twig-theme .auth-alert {
  margin: 0;
  border-radius: 9px;
  font-size: 11px;
}

.swaqly-twig-theme .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}

.swaqly-twig-theme .divider::before,
.swaqly-twig-theme .divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.swaqly-twig-theme .google-button-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.swaqly-twig-theme .form-footer {
  margin: 19px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}

.swaqly-twig-theme .auth-extra {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .72);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 820px) {
  .swaqly-twig-theme .auth-shell {
    display: block;
  }

  .swaqly-twig-theme .auth-brand {
    min-height: 330px;
    padding: 28px 22px 36px;
  }

  .swaqly-twig-theme .auth-brand > div {
    margin-top: 55px;
  }

  .swaqly-twig-theme .auth-brand h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .swaqly-twig-theme .auth-brand p {
    font-size: 12px;
  }

  .swaqly-twig-theme .auth-form-panel {
    min-height: calc(100vh - 330px);
    padding: 35px 18px 50px;
  }
}

@media (max-width: 480px) {
  .swaqly-twig-theme .auth-card {
    padding: 23px 17px;
  }

  .swaqly-twig-theme .auth-points {
    gap: 10px;
    font-size: 10px;
  }
}

/* Final Twig parity layer.
   It intentionally comes last so Perfect Panel's legacy theme cannot shrink
   the landing page, hide its text, or restore the old cyan announcement bar. */
body.swaqly-twig-theme {
  min-width: 320px;
  overflow-x: hidden;
  color: #fff;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif;
}

body.swaqly-twig-theme .preview-news-bar {
  position: relative !important;
  z-index: 100 !important;
  display: block !important;
  width: 100% !important;
  min-height: 34px !important;
  height: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .38) !important;
  background: #100d18 !important;
  box-shadow: none !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track {
  display: flex !important;
  width: max-content !important;
  min-height: 34px !important;
  align-items: center !important;
  gap: 58px !important;
  padding-inline: 28px !important;
  color: #d8d1f6 !important;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  animation: swaqly-preview-news-marquee 30s linear infinite !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track span {
  display: inline-flex !important;
  min-width: max-content !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  margin: 0 !important;
  color: var(--swaqly-pink) !important;
  text-shadow: none !important;
}

@keyframes swaqly-preview-news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

body.swaqly-twig-theme .swaqly-public-shell {
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg) !important;
}

body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  display: grid !important;
  width: min(1200px, calc(100% - 40px)) !important;
  min-height: 610px !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr) !important;
  align-items: center !important;
  gap: 70px !important;
  padding: 62px 0 !important;
  margin-inline: auto !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy,
body.swaqly-twig-theme .swaqly-public-login-card {
  position: relative !important;
  z-index: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1,
body.swaqly-twig-theme .swaqly-public-hero-copy > p,
body.swaqly-twig-theme .swaqly-public-hero-actions,
body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
  max-width: 690px !important;
  margin: 20px 0 15px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 strong {
  display: inline !important;
  color: transparent !important;
  background: linear-gradient(100deg, var(--swaqly-violet-light), var(--swaqly-pink) 48%, var(--swaqly-extra-cyan)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px !important;
  margin: 0 !important;
  color: var(--swaqly-muted) !important;
  font-size: 15px !important;
  line-height: 2.1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn {
  display: inline-flex !important;
  width: auto !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 23px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn-default {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04) !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 18px !important;
  color: #687488 !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta i {
  color: #22c55e !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading,
body.swaqly-twig-theme .swaqly-public-section-heading h2,
body.swaqly-twig-theme .swaqly-public-section-heading p,
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-payment-grid span,
body.swaqly-twig-theme .swaqly-public-steps article,
body.swaqly-twig-theme .swaqly-public-review-grid article,
body.swaqly-twig-theme .swaqly-public-faq-list details,
body.swaqly-twig-theme .swaqly-public-final-cta {
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.45 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading p {
  color: var(--swaqly-muted) !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

body.swaqly-twig-theme .swaqly-public-final-cta {
  display: flex !important;
  min-height: 130px !important;
  align-items: center !important;
}

/* Do not let old customization blocks hide server-rendered text. */
body.swaqly-twig-theme #block_330 h2,
body.swaqly-twig-theme #block_330 p,
body.swaqly-twig-theme #block_330 img,
body.swaqly-twig-theme #block_330 .text-block__title,
body.swaqly-twig-theme #block_330 .text-block__description,
body.swaqly-twig-theme #block_332 img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Keep the existing popup behavior, but remove the legacy cyan look. */
body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(139, 92, 246, .58) !important;
  background: radial-gradient(circle at 50% -15%, rgba(139, 92, 246, .24), transparent 42%), linear-gradient(145deg, #1b1628, #0d0b12 72%) !important;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65), 0 0 45px rgba(139, 92, 246, .15) !important;
}

body.swaqly-twig-theme .swaqly-popup h2 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(139, 92, 246, .35) !important;
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a {
  border-color: rgba(236, 72, 153, .34) !important;
  border-radius: 8px !important;
  color: #fbcfe8 !important;
  background: rgba(236, 72, 153, .1) !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  background: rgba(139, 92, 246, .14) !important;
}

/* Native Perfect Panel pages that mirror the Swaqly dashboard experience. */
.swaqly-feature-page {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page {
  width: min(960px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page .page-title {
  margin-bottom: 18px;
}

.swaqly-content-page .page-title h1 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
}

.swaqly-content-page .page-title span,
.swaqly-content-page .page-title p {
  color: var(--muted);
  font-size: .68rem;
}

.swaqly-content-page .page-title p {
  margin: 0;
  line-height: 1.9;
}

.swaqly-rich-content {
  color: #e5e7eb;
  font-size: .72rem;
  line-height: 2.1;
}

.swaqly-rich-content h1,
.swaqly-rich-content h2,
.swaqly-rich-content h3,
.swaqly-rich-content h4 {
  margin: 18px 0 8px;
  color: #fff;
}

.swaqly-rich-content a {
  color: var(--main-bright);
}

.swaqly-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.swaqly-public-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
}

.swaqly-public-google-wrap .g_id_signin {
  max-width: 100%;
}

.swaqly-feature-page .dash-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.swaqly-feature-page .dash-page-heading h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.swaqly-feature-page .dash-page-heading p,
.swaqly-feature-page .panel-heading span,
.swaqly-feature-page .mass-order-help {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.9;
}

.affiliate-notice,
.subpanel-notice {
  margin-bottom: 16px;
}

.affiliate-link-card,
.affiliate-rate-cards,
.affiliate-stat-grid,
.mass-order-layout {
  display: grid;
  gap: 14px;
}

.affiliate-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 18px;
}

.affiliate-link-card > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.affiliate-link-card strong {
  overflow-wrap: anywhere;
  color: var(--main-bright);
  font-family: "Tajawal", sans-serif;
  font-size: .8rem;
}

.affiliate-rates {
  margin-bottom: 14px;
}

.affiliate-rate-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.affiliate-rate-cards > div,
.affiliate-stat-grid > .panel {
  display: grid;
  gap: 6px;
}

.affiliate-rate-cards > div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--theme-surface-2);
}

.affiliate-rate-cards span,
.affiliate-stat-grid span {
  color: var(--muted);
  font-size: .58rem;
}

.affiliate-rate-cards strong,
.affiliate-stat-grid strong {
  color: #fff;
  font-size: 1.1rem;
}

.affiliate-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.affiliate-earnings .btn {
  margin-top: 6px;
}

.affiliate-history .panel-heading {
  align-items: flex-start;
}

.affiliate-history .panel-heading > div {
  display: grid;
  gap: 5px;
}

.affiliate-history .panel-heading > strong {
  color: var(--main-bright);
  font-size: .85rem;
}

.mass-order-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
  align-items: start;
}

.mass-order-card,
.mass-order-guide,
.subpanel-card {
  display: grid;
  gap: 14px;
}

.mass-order-card .panel-heading,
.subpanel-card .panel-heading {
  margin-bottom: 0;
}

.mass-order-card form,
.subpanel-form {
  display: grid;
  gap: 11px;
}

.mass-order-card label,
.subpanel-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
}

.mass-order-card textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  direction: ltr;
  text-align: left;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .68rem;
  line-height: 1.9;
}

.mass-order-card textarea:focus,
.subpanel-form input:focus,
.subpanel-form select:focus {
  border-color: var(--main);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.mass-order-example,
.subpanel-nameservers {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--theme-surface-2);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-example strong,
.subpanel-nameservers strong {
  color: #fff;
}

.mass-order-example span {
  direction: ltr;
  color: var(--main-bright);
}

.mass-order-example small {
  color: var(--muted-2);
}

.mass-order-guide {
  position: sticky;
  top: 20px;
}

.mass-order-guide h3,
.subpanel-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.mass-order-guide ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.8;
}

.mass-order-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-count strong {
  color: var(--main-bright);
  font-size: 1.3rem;
}

.updates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.updates-type-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .6rem;
}

.updates-search {
  display: flex;
  flex: 0 1 390px;
  align-items: center;
  gap: 8px;
}

.updates-search > i {
  color: var(--muted);
}

.updates-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.updates-board {
  padding: 0;
  overflow: hidden;
}

.updates-head,
.update-row {
  display: grid;
  grid-template-columns: .65fr 1.5fr 2fr .85fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.updates-head {
  color: var(--muted);
  background: var(--theme-surface-2);
  font-size: .57rem;
  font-weight: 700;
}

.update-row {
  border-top: 1px solid var(--border);
  color: #fff;
  font-size: .62rem;
  line-height: 1.7;
}

.update-row strong {
  color: var(--main-bright);
}

.update-row time {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.subpanel-card {
  max-width: 850px;
}

.subpanel-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--main-bright);
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 14px;
  font-size: 1.25rem;
}

.subpanel-card p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
}

.subpanel-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subpanel-form input,
.subpanel-form select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.subpanel-nameservers ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-inline-start: 18px;
  direction: ltr;
  text-align: left;
}

.swaqly-pagination {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .affiliate-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mass-order-layout {
    grid-template-columns: 1fr;
  }

  .mass-order-guide {
    position: static;
  }
}

@media (max-width: 640px) {
  .swaqly-feature-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-feature-page .dash-page-heading {
    align-items: flex-start;
  }

  .affiliate-link-card,
  .updates-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-rate-cards,
  .subpanel-form-grid {
    grid-template-columns: 1fr;
  }

  .updates-search {
    flex-basis: auto;
  }

  .updates-head {
    display: none;
  }

  .update-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }

  .update-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .update-row time {
    text-align: left;
  }
}

@media (max-width: 980px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 640px) {
  body.swaqly-twig-theme .preview-news-track {
    gap: 36px !important;
    padding-inline: 18px !important;
    font-size: 9px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero {
    display: flex !important;
    width: min(100% - 22px, 560px) !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 42px 0 34px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
    font-size: 30px !important;
    white-space: normal !important;
  }

  body.swaqly-twig-theme .swaqly-public-section-heading h2 {
    white-space: normal !important;
  }
}

/* Swaqly visual finish: colored icon tiles, stronger shell chrome,
   visible marquee, and the native Twig MP3 player. */
body.swaqly-twig-theme .swaqly-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .17), transparent 190px),
    linear-gradient(180deg, #0f0b1c 0%, #06060a 80%) !important;
  border-left-color: rgba(167, 139, 250, .38) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  display: inline-grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #db2777) !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(2) i {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(3) i {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(4) i {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(5) i {
  background: linear-gradient(135deg, #eab308, #f97316) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover i,
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(236, 72, 153, .38) !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .16), transparent 230px),
    linear-gradient(90deg, #09080e, #151022 55%, #0b0911) !important;
  border-bottom-color: rgba(236, 72, 153, .3) !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  background: linear-gradient(90deg, #fff, #d8b4fe 55%, #f9a8d4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.swaqly-twig-theme .notification-button,
body.swaqly-twig-theme .swaqly-currency > a {
  border-color: rgba(196, 181, 253, .42) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .27), rgba(236, 72, 153, .13)) !important;
  box-shadow: 0 5px 18px rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .notification-button i,
body.swaqly-twig-theme .swaqly-currency > a i {
  color: #f0abfc !important;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, .65));
}

body.swaqly-twig-theme .top-user .avatar {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15), 0 0 18px rgba(236, 72, 153, .4) !important;
}

body.swaqly-twig-theme .preview-news-bar {
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .17), transparent 32%, rgba(236, 72, 153, .13)),
    #0a0811 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .45) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, .28) !important;
}

body.swaqly-twig-theme .swaqly-public-shell {
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, .2), transparent 28rem),
    radial-gradient(circle at 92% 35%, rgba(236, 72, 153, .12), transparent 26rem),
    linear-gradient(180deg, #08070d, #050507 72%) !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgba(196, 181, 253, .38) !important;
  background:
    linear-gradient(135deg, rgba(14, 10, 27, .94), rgba(21, 10, 27, .88)),
    radial-gradient(circle at 78% 20%, rgba(236, 72, 153, .24), transparent 18rem) !important;
  box-shadow: 0 0 55px rgba(124, 58, 237, .2), 0 24px 70px rgba(0, 0, 0, .48) !important;
}

body.swaqly-twig-theme .swaqly-public-hero::after {
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(196, 181, 253, .08);
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(196, 181, 253, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(139, 92, 246, .3) !important;
  background: rgba(9, 7, 15, .9) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span {
  min-height: 42px !important;
  padding: 6px 13px 6px 9px !important;
  border-color: rgba(196, 181, 253, .22) !important;
  color: #f4efff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(236, 72, 153, .08)) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 15px !important;
  filter: none !important;
  box-shadow: 0 0 14px currentColor !important;
}

body.swaqly-twig-theme .platform-instagram > i {
  background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5) !important;
}
body.swaqly-twig-theme .platform-tiktok > i {
  background: linear-gradient(135deg, #111827, #111827 48%, #25f4ee) !important;
}
body.swaqly-twig-theme .platform-youtube > i {
  background: #ff0033 !important;
}
body.swaqly-twig-theme .platform-facebook > i {
  background: #1877f2 !important;
}
body.swaqly-twig-theme .platform-telegram > i {
  background: #229ed9 !important;
}
body.swaqly-twig-theme .platform-twitter > i {
  background: #111827 !important;
}
body.swaqly-twig-theme .platform-discord > i {
  background: #5865f2 !important;
}
body.swaqly-twig-theme .platform-spotify > i {
  background: #1db954 !important;
}

body.swaqly-twig-theme .swaqly-public-feature {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(196, 181, 253, .24) !important;
  background: linear-gradient(145deg, rgba(25, 18, 42, .96), rgba(8, 7, 12, .98)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important;
}

body.swaqly-twig-theme .swaqly-public-feature::before {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  content: "";
  filter: blur(2px);
}

body.swaqly-twig-theme .swaqly-public-feature .swaqly-feature-icon {
  position: relative !important;
  z-index: 1;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 16px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 17px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 22px rgba(139, 92, 246, .25) !important;
}

body.swaqly-twig-theme .feature-shield {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
}
body.swaqly-twig-theme .feature-wallet {
  background: linear-gradient(135deg, #059669, #14b8a6) !important;
}
body.swaqly-twig-theme .feature-bolt {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}
body.swaqly-twig-theme .feature-support {
  background: linear-gradient(135deg, #0891b2, #2563eb) !important;
}

body.swaqly-twig-theme .swaqly-quran-player {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: minmax(260px, 1fr) auto minmax(190px, .8fr);
  align-items: center;
  gap: 18px;
  margin: 18px auto 4px;
  padding: 12px 15px;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 18rem),
    linear-gradient(135deg, rgba(26, 18, 45, .96), rgba(9, 8, 14, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 25px rgba(139, 92, 246, .12);
  direction: rtl;
}

body.swaqly-twig-theme .swaqly-quran-player-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.swaqly-twig-theme .swaqly-quran-kicker {
  color: #f0abfc;
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme .swaqly-quran-kicker i {
  margin-left: 5px;
  color: #a78bfa;
}

body.swaqly-twig-theme .swaqly-quran-player-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme .swaqly-quran-player-info small {
  color: #a9a4bd;
  font-size: 10px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 9px;
  color: #d8d1f6;
  background: rgba(139, 92, 246, .1);
  cursor: pointer;
  transition: .2s ease;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button:hover {
  color: #fff;
  border-color: rgba(236, 72, 153, .58);
  background: linear-gradient(135deg, #7c3aed, #db2777);
  transform: translateY(-2px);
}

body.swaqly-twig-theme .swaqly-quran-player-controls .swaqly-quran-play {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 20px rgba(236, 72, 153, .32);
}

body.swaqly-twig-theme .swaqly-quran-player-progress {
  display: grid;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-progress input {
  width: 100%;
  height: 4px;
  accent-color: #c026d3;
  cursor: pointer;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-quran-player {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  body.swaqly-twig-theme .swaqly-quran-player-controls {
    justify-content: center;
  }
}

/* Final authenticated-page surfaces.
   These selectors intentionally match the native Twig page templates so
   services, orders, add funds, and API keep the same Swaqly shell. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  direction: rtl;
  text-align: right;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  padding: 0 2px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading p {
  margin: 0;
  color: #a9a4bd;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .btn-primary {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, .23);
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .code-card {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  color: #eeeaff;
  background: linear-gradient(145deg, rgba(25, 22, 36, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel {
  margin-bottom: 18px;
  padding: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head h3,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading h3,
body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .panel-heading span {
  color: #a9a4bd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
body.swaqly-twig-theme.swaqly-authenticated .search-field {
  position: relative;
  width: min(100%, 310px);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools i,
body.swaqly-twig-theme.swaqly-authenticated .search-field i {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #a78bfa;
  transform: translateY(-50%);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input,
body.swaqly-twig-theme.swaqly-authenticated .search-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #09090e;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input:focus,
body.swaqly-twig-theme.swaqly-authenticated .search-field input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .1);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 7px;
  color: #bcb5cf;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button:hover,
body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button.selected,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a:hover,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a.selected {
  border-color: rgba(236, 72, 153, .55);
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(219, 39, 119, .82));
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid small {
  color: #a78bfa;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .service-cards.dashboard-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 10px;
  background: rgba(8, 8, 13, .58);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards h3 {
  min-height: 36px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards p {
  min-height: 38px;
  margin: 0 0 10px;
  color: #a9a4bd;
  font-size: 11px;
  line-height: 1.7;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #928aa4;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row strong,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta strong {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .btn {
  width: 100%;
  margin-top: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty,
body.swaqly-twig-theme.swaqly-authenticated .empty-state {
  display: grid;
  min-height: 145px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  color: #a9a4bd;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty i,
body.swaqly-twig-theme.swaqly-authenticated .empty-state i {
  color: #a78bfa;
  font-size: 28px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty strong,
body.swaqly-twig-theme.swaqly-authenticated .empty-state strong {
  color: #fff;
  font-size: 14px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  background: rgba(17, 16, 26, .82);
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
  flex: 1 1 280px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  margin: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-notice {
  margin: 0 0 10px;
  color: #928aa4;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 10px;
  background: rgba(8, 8, 13, .62);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-date,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head strong {
  color: #fff;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .13);
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.complete {
  color: #86efac;
  background: rgba(34, 197, 94, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.canceled {
  color: #fca5a5;
  background: rgba(239, 68, 68, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-detail {
  min-height: 34px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #9d96ad;
  font-size: 10px;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date span {
  color: #c4b5fd;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats span {
  display: grid;
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats strong {
  color: #fff;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions a {
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout > section {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form {
  display: grid;
  gap: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form label {
  display: grid;
  gap: 7px;
  color: #aaa4b8;
  font-size: 11px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card .form-control {
  min-height: 42px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 8px;
  color: #fff;
  background: #09090e;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 10px;
  color: #eeeaff !important;
  background: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content * {
  color: inherit !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content > *,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content table,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content td,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content th {
  background-color: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content img {
  max-width: 100%;
  background: transparent !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr 1fr .7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #aaa4b8;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid:last-child {
  border-bottom: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
  color: #a78bfa;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid strong,
body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid a {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .code-card {
  min-width: 0;
  padding: 20px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy p {
  margin: 10px 0 16px;
  color: #aaa4b8;
  font-size: 12px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features span {
  padding: 6px 9px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 7px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .08);
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c4b5fd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .live-dot {
  color: #86efac;
}

body.swaqly-twig-theme.swaqly-authenticated .code-card pre,
body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel pre {
  margin: 14px 0 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, .18);
  border-radius: 8px;
  color: #e9d5ff;
  background: #08080c !important;
  font-family: "Fira Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  direction: ltr;
  text-align: left;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table {
  min-width: 0;
  color: #d8d1e6;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table th {
  width: 34%;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table td {
  color: #c5bed2;
  background: rgba(8, 8, 13, .3);
}

@media (max-width: 900px) {
  body.swaqly-twig-theme.swaqly-authenticated .fund-layout,
  body.swaqly-twig-theme.swaqly-authenticated .api-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
    display: none;
  }
}

/* Public homepage alignment with the supplied Swaqly preview.
   Keep the top announcement/platform rails full width, while the main
   player, hero, and content sections stay centered and compact. */
body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
  width: min(560px, calc(100% - 30px));
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, .7fr);
  gap: 10px;
  margin: 20px auto 12px;
  padding: 11px 14px;
  border-radius: 12px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info small,
body.swaqly-twig-theme.swaqly-public .swaqly-quran-kicker {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls {
  gap: 5px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls button {
  width: 27px;
  height: 27px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls .swaqly-quran-play {
  width: 34px;
  height: 34px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(620px, calc(100% - 30px));
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) minmax(135px, .48fr);
  gap: 22px;
  margin: 16px auto 20px;
  padding: 30px 25px;
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero h1 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3vw, 31px);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 330px;
  font-size: 11px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  gap: 7px;
  margin-top: 17px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-width: 105px;
  min-height: 35px;
  padding: 8px 11px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  gap: 8px;
  margin-top: 15px;
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: 150px;
  padding: 17px 13px;
  border-radius: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading {
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading h2 {
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form label,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-footer {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form {
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 31px;
  padding: 6px 8px;
  font-size: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .btn {
  min-height: 33px;
  padding: 7px 8px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  width: min(620px, calc(100% - 30px));
  padding: 55px 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading {
  margin-bottom: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  font-size: 20px;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading p {
  max-width: 520px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  min-height: 104px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 12px 8px;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  font-size: 8px;
  line-height: 1.6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list {
  max-width: 620px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  width: min(620px, calc(100% - 30px));
  padding: 24px 22px;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    width: min(100% - 22px, 560px);
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 28px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calm visual parity pass: quiet the imported neon layer while preserving
   the original Perfect Panel markup, popup behavior, and public-page content. */
body.swaqly-twig-theme {
  --swaqly-panel-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

body.swaqly-twig-theme .swaqly-sidebar {
  box-shadow: -14px 0 34px rgba(0, 0, 0, .5), inset -1px 0 0 rgba(139, 92, 246, .12);
}
body.swaqly-twig-theme .swaqly-sidebar-link:hover {
  border-color: rgba(196, 181, 253, .25);
  background: rgba(139, 92, 246, .08);
  box-shadow: none;
  transform: none;
}
body.swaqly-twig-theme .swaqly-sidebar-link.active {
  box-shadow: none;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196, 181, 253, .28);
  border-radius: 9px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .48);
}
body.swaqly-twig-theme .notification-menu strong {
  color: #cbbbe9;
}
body.swaqly-twig-theme .notification-menu a {
  color: #b9a7e8;
}
body.swaqly-twig-theme .notification-dot {
  box-shadow: none;
}

body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(196, 181, 253, .28) !important;
  border-radius: 18px;
  background: #111119 !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .62) !important;
}
body.swaqly-twig-theme .swaqly-popup::before {
  border-color: rgba(255, 255, 255, .055) !important;
}
body.swaqly-twig-theme .liquid-frame,
body.swaqly-twig-theme #liquidCanvas,
body.swaqly-twig-theme #liquidCanvasOffer {
  opacity: 0 !important;
}
body.swaqly-twig-theme .swaqly-popup h2 {
  color: #f4f1fb !important;
  background: none !important;
  -webkit-text-fill-color: #f4f1fb !important;
}
body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #cbbbe9 !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  border-color: rgba(196, 181, 253, .18) !important;
  color: #d7ccef !important;
  background: #191821 !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a:hover {
  border-color: rgba(196, 181, 253, .38) !important;
  background: #211d2b !important;
}

body.swaqly-twig-theme .swaqly-public-platforms {
  background: #0b0c11;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  padding: 7px 12px 7px 9px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #101118;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top-color: rgba(255, 255, 255, .07);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before {
  display: none;
}
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-hero-card {
  border-color: rgba(255, 255, 255, .1);
  background: #101117;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-feature:hover,
body.swaqly-twig-theme .swaqly-public-hero-card:hover {
  border-color: rgba(196, 181, 253, .36);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  border-color: rgba(196, 181, 253, .24);
  background: #15151e;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-shell .swaqly-footer,
body.swaqly-twig-theme .swaqly-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #08090d;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-footer .container {
  min-height: 46px;
  gap: 18px;
  color: #697386;
}
body.swaqly-twig-theme .swaqly-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(130px, .7fr));
  gap: 42px;
  padding-bottom: 38px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand p {
  margin: 12px 0 0;
  color: #697386;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand .brand-logo {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.swaqly-twig-theme .swaqly-footer .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: #8e9aab;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-status i { color: #78c99a; }
body.swaqly-twig-theme .swaqly-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column h4 {
  margin: 0 0 7px;
  color: #e5e7eb;
  font-size: 12px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a {
  color: #8e96a8;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a:hover { color: #cbbbe9; }
body.swaqly-twig-theme .swaqly-footer .copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #697386;
  text-align: center;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-popup .minimize-popup { display: none; }
body.swaqly-twig-theme .swaqly-popup .close-popup {
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #a5a8b6 !important;
  background: #191922;
  font-size: 18px;
}
body.swaqly-twig-theme .swaqly-popup .close-popup:hover {
  border-color: rgba(196,181,253,.38);
  background: #211d2b;
}
body.swaqly-twig-theme .popup-home-images,
body.swaqly-twig-theme .swaqly-icons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
}
body.swaqly-twig-theme .popup-home-images a,
body.swaqly-twig-theme .swaqly-icons img {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(196,181,253,.2);
  border-radius: 12px;
  background: #1a1923;
}
body.swaqly-twig-theme .popup-home-images img,
body.swaqly-twig-theme .swaqly-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
body.swaqly-twig-theme .popup-home-images img:hover,
body.swaqly-twig-theme .swaqly-icons img:hover { transform: none; }
body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(196,181,253,.18) !important;
  color: #d7ccef !important;
}
body.swaqly-twig-theme .swaqly-popup p { color: #a0aec0; }
body.swaqly-twig-theme .swaqly-feature-page .panel,
body.swaqly-twig-theme .swaqly-content-page .panel,
body.swaqly-twig-theme .swaqly-content-page .card {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-feature-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .card:hover {
  border-color: rgba(196, 181, 253, .34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  body.swaqly-twig-theme .swaqly-footer .footer-brand {
    grid-column: 1 / -1;
  }
  body.swaqly-twig-theme .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Source-preview lock.
   This is intentionally the last layer: it maps the native Twig markup to
   the same measurements used by the open Swaqly preview, instead of styling
   the old imported theme as a separate product. */
body.swaqly-twig-theme {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --accent: #ec4899;
  --main-soft: rgba(139,92,246,.13);
  --bg: #0b0e13;
  --card: #11151c;
  --border: rgba(255,255,255,.09);
}
body.swaqly-twig-theme::before { opacity: .1; }
body.swaqly-twig-theme::after {
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.07), transparent 28rem),
    linear-gradient(180deg, rgba(11,14,19,.9), rgba(11,14,19,.98));
}

body.swaqly-twig-theme .swaqly-public-shell {
  background: transparent;
}
body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-public-hero {
  display: grid;
  width: 100%;
  min-height: 610px;
  grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr);
  gap: 70px;
  margin: 0;
  padding: 62px max(20px, calc((100% - 1200px) / 2));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(139,92,246,.13), transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(229,9,20,.07), transparent 30%);
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-public-hero-copy {
  max-width: 690px;
  direction: rtl;
}
body.swaqly-twig-theme .swaqly-public-hero h1 {
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.8rem,3.4vw,3.05rem);
  line-height: 1.35;
}
body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: .9rem;
  line-height: 2.1;
}
body.swaqly-twig-theme .swaqly-public-hero-actions { margin-top: 0; }
body.swaqly-twig-theme .swaqly-public-hero-meta { margin-top: 17px; }
body.swaqly-twig-theme .swaqly-public-login-card {
  padding: 30px;
  border-color: rgba(255,255,255,.09);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
}
body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
}
body.swaqly-twig-theme .swaqly-public-platform-track {
  gap: 10px;
  padding: 14px 0;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-color: rgba(255,255,255,.1);
  border-radius: 10px;
  background: #101118;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section {
  width: 100%;
  padding: 76px max(20px, calc((100% - 1200px) / 2));
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(255,255,255,.06);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before { display: none; }
body.swaqly-twig-theme .swaqly-public-section-heading { margin-bottom: 45px; }
body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  font-size: clamp(1.35rem,2.4vw,2rem);
  white-space: nowrap;
}
body.swaqly-twig-theme .swaqly-public-section-heading p { font-size: .78rem; }
body.swaqly-twig-theme .swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
body.swaqly-twig-theme .swaqly-public-feature {
  display: block;
  min-height: 195px;
  padding: 25px 20px;
  border-color: rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .swaqly-public-feature > i {
  width: 49px;
  height: 49px;
  margin: 0 auto 14px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 12px;
  background: rgba(139,92,246,.13);
}
body.swaqly-twig-theme .swaqly-public-feature div {
  display: block;
}
body.swaqly-twig-theme .swaqly-public-feature strong {
  display: block;
  font-size: .88rem;
}
body.swaqly-twig-theme .swaqly-public-feature span {
  display: block;
  margin-top: 7px;
  font-size: .68rem;
  line-height: 1.9;
}
body.swaqly-twig-theme .swaqly-public-payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
body.swaqly-twig-theme .swaqly-public-payment-grid span {
  display: grid;
  min-width: 135px;
  min-height: 72px;
  flex: 1 1 135px;
  max-width: 205px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #11151c;
  color: #e8e4f5;
  font-size: .76rem;
}
body.swaqly-twig-theme .swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}
body.swaqly-twig-theme .swaqly-public-steps article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-steps article > b {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #8b5cf6;
  font-size: .92rem;
}
body.swaqly-twig-theme .swaqly-public-steps h3 { margin: 4px 0 0; font-size: .82rem; }
body.swaqly-twig-theme .swaqly-public-steps p { margin-top: 8px; font-size: .66rem; line-height: 1.9; }
body.swaqly-twig-theme .swaqly-public-review-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
body.swaqly-twig-theme .swaqly-public-review-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 34px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 17px;
  background: #15151e;
}

/* Match the compact authenticated preview dimensions exactly. */
body.swaqly-twig-theme .dashboard-sidebar {
  width: 190px !important;
  flex-basis: 190px !important;
  padding: 9px 8px 10px !important;
  background: #050507 !important;
}
body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand { margin-bottom: 8px; }
body.swaqly-twig-theme .dashboard-sidebar .brand-mark { width: 31px; height: 31px; font-size: 1.1rem; }
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  min-height: 30px;
  padding-inline: 7px;
  border-radius: 5px;
  font-size: .54rem;
}
body.swaqly-twig-theme .dashboard-topbar {
  min-height: 44px !important;
  padding-inline: 11px !important;
  background: #07070a !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.42) !important;
}
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading h1 { font-size: .72rem; }
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading p { font-size: .44rem; }
body.swaqly-twig-theme .dashboard-content {
  width: calc(100% - 28px) !important;
  max-width: 1320px !important;
  padding-top: 15px !important;
}
body.swaqly-twig-theme .dashboard-content .panel,
body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .dash-stat {
  border-color: rgba(255,255,255,.1) !important;
  background: #050507 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196,181,253,.28) !important;
  background: #15151d !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.48) !important;
}
body.swaqly-twig-theme .notification-dot { box-shadow: none !important; }
body.swaqly-twig-theme .dashboard-content .btn-primary,
body.swaqly-twig-theme .dashboard-content .dashboard-link.active {
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section {
    padding: 55px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section-heading h2 { white-space: normal; }
  body.swaqly-twig-theme .swaqly-public-feature-grid,
  body.swaqly-twig-theme .swaqly-public-steps {
    grid-template-columns: repeat(2,1fr);
  }
  body.swaqly-twig-theme .swaqly-public-review-grid { grid-template-columns: 1fr; }
  body.swaqly-twig-theme .swaqly-public-final-cta {
    width: calc(100% - 40px);
    margin-bottom: 55px;
    padding: 23px 18px;
  }
}t/* Swaqly custom theme
   This file is self-contained and works with the existing Bootstrap panel. */
:root {
  --swaqly-bg: #07070b;
  --swaqly-surface: #11101a;
  --swaqly-surface-2: #171426;
  --swaqly-border: rgba(167, 139, 250, .22);
  --swaqly-border-strong: rgba(139, 92, 246, .72);
  --swaqly-text: #f8f7ff;
  --swaqly-muted: #a9a4bd;
  --swaqly-violet: #8b5cf6;
  --swaqly-violet-light: #c4b5fd;
  --swaqly-pink: #ec4899;
  --swaqly-glow: rgba(139, 92, 246, .28);
  --swaqly-radius: 14px;
}

html,
body.swaqly-app {
  min-height: 100%;
  background: var(--swaqly-bg);
}

body.swaqly-app {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--swaqly-text);
  font-family: "Tajawal", "Arial", sans-serif;
  background: transparent;
}

body.swaqly-app::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .075) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 48%, rgba(236, 72, 153, .05) 49%, transparent 50%);
  background-size: 46px 46px, 46px 46px, 180px 180px;
  content: "";
}

body.swaqly-app::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, .13), transparent 28rem),
    radial-gradient(circle at 88% 58%, rgba(236, 72, 153, .08), transparent 25rem),
    linear-gradient(180deg, rgba(7, 7, 11, .82), rgba(7, 7, 11, .96));
  content: "";
}

body.swaqly-app *,
body.swaqly-app *::before,
body.swaqly-app *::after {
  box-sizing: border-box;
}

.swaqly-page-content {
  min-height: calc(100vh - 126px);
  padding: 22px 0 42px;
}

.swaqly-navbar {
  z-index: 50;
  min-height: 62px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
}

.swaqly-navbar .navbar-brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.swaqly-navbar .navbar-brand img {
  max-height: 38px;
  width: auto;
}

.swaqly-navbar .navbar-nav > li > a {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.swaqly-navbar .navbar-nav > li > a:hover,
.swaqly-navbar .navbar-nav > li.active > a,
.swaqly-navbar .navbar-nav > li.active > a:hover {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-navbar .navbar-icon {
  color: var(--swaqly-violet-light);
}

.swaqly-navbar .badge {
  padding: 6px 10px;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
  font-weight: 800;
}

.swaqly-navbar .navbar-toggle {
  margin-top: 14px;
  border-color: var(--swaqly-border-strong);
  background: rgba(139, 92, 246, .1);
}

.swaqly-navbar .navbar-toggle .icon-bar {
  background: var(--swaqly-violet-light);
}

.swaqly-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 12px;
}

.swaqly-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-neworder-page {
  width: min(1180px, calc(100% - 30px));
}

.swaqly-neworder-shell {
  display: grid;
  grid-template-columns: minmax(245px, .72fr) minmax(0, 1.5fr);
  align-items: stretch;
  gap: 24px;
}

.swaqly-order-guide,
.swaqly-order-card {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 0 28px var(--swaqly-glow), 0 18px 42px rgba(0, 0, 0, .32);
}

.swaqly-order-guide {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px 22px;
  text-align: right;
}

.swaqly-guide-mark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  place-items: center;
  border: 5px solid var(--swaqly-pink);
  border-radius: 50%;
  color: var(--swaqly-pink);
  background: #09080d;
  box-shadow: 0 0 0 8px rgba(236, 72, 153, .1), 0 0 28px rgba(236, 72, 153, .3);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.swaqly-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-violet-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swaqly-order-guide h1,
.swaqly-order-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.swaqly-order-guide h1 {
  font-size: 24px;
  text-align: center;
}

.swaqly-order-guide > p {
  margin: 8px 0 20px;
  color: var(--swaqly-muted);
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.swaqly-order-guide ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 4px;
  list-style: none;
  counter-reset: swaqly-guide;
}

.swaqly-order-guide li {
  display: flex;
  gap: 9px;
  color: #e8e4f6;
  font-size: 12px;
  line-height: 1.8;
}

.swaqly-order-guide li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  content: counter(swaqly-guide);
  counter-increment: swaqly-guide;
  font-size: 11px;
  font-weight: 800;
}

.swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 10px;
  background: rgba(139, 92, 246, .1);
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-guide-note strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-order-guide .btn,
.swaqly-order-form > .btn {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 22px rgba(139, 92, 246, .25);
  font-weight: 800;
}

.swaqly-order-main {
  min-width: 0;
}

.swaqly-order-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
}

.swaqly-order-heading h2 {
  font-size: 22px;
}

.swaqly-order-heading p {
  margin: 5px 0 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-order-badge {
  padding: 7px 11px;
  border: 1px solid rgba(236, 72, 153, .35);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .1);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.swaqly-order-card {
  min-height: 560px;
  margin: 0;
  padding: 24px;
}

.swaqly-order-form {
  display: grid;
  gap: 14px;
}

.swaqly-order-form .form-group {
  margin: 0;
}

.swaqly-order-form .control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-order-form .form-control,
.swaqly-order-form .select2-container .select2-selection {
  min-height: 44px;
  border: 1px solid rgba(139, 92, 246, .42);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-order-form .form-control {
  padding: 10px 13px;
}

.swaqly-order-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-order-form select.form-control {
  padding-top: 0;
  padding-bottom: 0;
}

.swaqly-order-form #charge {
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .1);
  font-weight: 800;
}

.swaqly-order-form #service_description .panel-body,
.swaqly-order-form .panel-body {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 9px;
  color: var(--swaqly-muted);
  background: rgba(139, 92, 246, .07);
  font-size: 12px;
  line-height: 1.9;
}

.swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-order-form .terms input {
  accent-color: var(--swaqly-violet);
}

.swaqly-order-form .terms a {
  color: var(--swaqly-violet-light);
}

.swaqly-order-form > .btn {
  width: 100%;
  margin-top: 3px;
  padding: 0 20px;
  font-size: 14px;
}

.swaqly-order-form .alert {
  margin: 0;
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 10px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-order-form .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-neworder-text {
  margin-top: 24px;
}

.swaqly-neworder-text .well {
  margin: 0;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .9);
}

@media (max-width: 991px) {
  .swaqly-neworder-shell {
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    gap: 18px;
  }

  .swaqly-order-guide,
  .swaqly-order-card {
    min-height: 0;
  }

  .swaqly-order-guide {
    padding: 24px 17px 18px;
  }

  .swaqly-order-guide li {
    font-size: 11px;
  }

  .swaqly-order-card {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-page-content {
    padding-top: 16px;
  }

  .swaqly-navbar .navbar-brand,
  .swaqly-navbar .navbar-nav > li > a {
    min-height: 52px;
  }

  .swaqly-navbar .navbar-brand {
    font-size: 17px;
  }

  .swaqly-navbar .navbar-toggle {
    margin-top: 9px;
  }

  .swaqly-neworder-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-neworder-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .swaqly-order-main {
    order: 1;
  }

  .swaqly-order-guide {
    order: 2;
  }

  .swaqly-order-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 11px;
  }

  .swaqly-order-heading h2 {
    font-size: 19px;
  }

  .swaqly-order-heading p {
    font-size: 12px;
  }

  .swaqly-order-card {
    padding: 16px 13px;
  }

  .swaqly-order-form {
    gap: 12px;
  }

  .swaqly-order-guide {
    min-height: 0;
    padding: 24px 16px 18px;
  }

  .swaqly-order-guide h1 {
    font-size: 21px;
  }

  .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared Swaqly surfaces for every remaining panel page. */
.swaqly-page-content > .container {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-page-content > .container > .row {
  margin-inline: 0;
}

.swaqly-services-page {
  padding-top: 8px;
}

.swaqly-services-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  background: radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 34%), linear-gradient(145deg, rgba(27, 22, 40, .98), rgba(12, 11, 18, .98));
}

.swaqly-services-hero h1 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.swaqly-services-hero p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 13px;
}

.swaqly-services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.swaqly-services-search {
  position: relative;
  width: min(100%, 440px);
}

.swaqly-services-search i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--swaqly-violet-light);
  transform: translateY(-50%);
}

.swaqly-services-search input {
  width: 100%;
  min-height: 43px;
  padding: 0 41px 0 14px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(7, 7, 12, .72);
}

.swaqly-services-search input:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-services-count {
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-services-count strong {
  color: var(--swaqly-violet-light);
  font-size: 16px;
}

.swaqly-services-card {
  padding: 12px !important;
}

.swaqly-services-table {
  min-width: 840px !important;
}

.swaqly-services-table td,
.swaqly-services-table th {
  vertical-align: middle !important;
}

.swaqly-services-table td small,
.swaqly-service-name {
  display: block;
}

.swaqly-services-table td small {
  max-width: 330px;
  margin-top: 4px;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.7;
}

.swaqly-service-id,
.swaqly-service-rate {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-service-category {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(236, 72, 153, .26);
  border-radius: 999px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, .08);
  font-size: 11px;
}

.swaqly-services-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 54px 20px;
  color: var(--swaqly-muted);
  text-align: center;
}

.swaqly-services-empty i {
  margin-bottom: 4px;
  color: var(--swaqly-violet-light);
  font-size: 30px;
}

.swaqly-services-empty strong {
  color: #fff;
  font-size: 16px;
}

.swaqly-services-empty span {
  font-size: 12px;
}

@media (max-width: 767px) {
  .swaqly-services-hero,
  .swaqly-services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .swaqly-services-hero {
    padding: 18px 15px;
  }

  .swaqly-services-hero .btn {
    width: 100%;
  }

  .swaqly-services-search {
    width: 100%;
  }
}

.swaqly-page-content .col-md-8,
.swaqly-page-content .col-md-10,
.swaqly-page-content .col-lg-8,
.swaqly-page-content .col-lg-12 {
  float: none;
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 0;
}

.swaqly-page-content .col-md-6 {
  padding-inline: 10px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  margin: 0 0 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: var(--swaqly-radius);
  background: linear-gradient(145deg, rgba(27, 22, 40, .96), rgba(12, 11, 18, .96));
  box-shadow: 0 0 24px rgba(139, 92, 246, .12), 0 16px 36px rgba(0, 0, 0, .25);
}

.swaqly-page-content .well > .well,
.swaqly-page-content .well-float > .well {
  margin-bottom: 14px;
}

.swaqly-page-content .well,
.swaqly-page-content .well-float {
  overflow-x: auto;
}

.swaqly-page-content .well h1,
.swaqly-page-content .well h2,
.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  color: #fff;
}

.swaqly-page-content .well h3,
.swaqly-page-content .well h4 {
  margin-top: 0;
}

.swaqly-page-content .form-group {
  margin-bottom: 17px;
}

.swaqly-page-content .control-label,
.swaqly-page-content label {
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .form-control {
  min-height: 43px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 9px;
  color: #fff;
  background: rgba(7, 7, 12, .72);
  box-shadow: none;
  font-size: 13px;
}

.swaqly-page-content textarea.form-control {
  min-height: 120px;
  padding-top: 11px;
  resize: vertical;
}

.swaqly-page-content .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}

.swaqly-page-content .help-block {
  color: var(--swaqly-muted);
}

.swaqly-page-content .btn {
  min-height: 40px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.swaqly-page-content .btn:hover {
  transform: translateY(-1px);
}

.swaqly-page-content .btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 8px 20px rgba(139, 92, 246, .22);
}

.swaqly-page-content .btn-default {
  border-color: var(--swaqly-border);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-page-content .btn-default:hover {
  border-color: var(--swaqly-border-strong);
  color: #fff;
  background: rgba(139, 92, 246, .14);
}

.swaqly-page-content .btn-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fff;
  background: #b4233d;
}

.swaqly-page-content .btn-xs {
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.swaqly-page-content .alert {
  margin-bottom: 17px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: #e9e4ff;
  background: rgba(139, 92, 246, .1);
}

.swaqly-page-content .alert-success {
  border-color: rgba(34, 197, 94, .35);
  color: #bbf7d0;
  background: rgba(34, 197, 94, .1);
}

.swaqly-page-content .alert-danger {
  border-color: rgba(248, 113, 113, .4);
  color: #fecaca;
  background: rgba(127, 29, 29, .2);
}

.swaqly-page-content .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.swaqly-page-content .nav-pills > li {
  float: none;
}

.swaqly-page-content .nav-pills > li > a {
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-page-content .nav-pills > li.active > a,
.swaqly-page-content .nav-pills > li.active > a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
}

.swaqly-orders-page {
  width: min(1240px, calc(100% - 30px)) !important;
}

.swaqly-order-filters {
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  padding: 8px;
  border: 1px solid var(--swaqly-border);
  border-radius: 12px;
  background: rgba(17, 16, 26, .82);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.swaqly-order-filters > li > a {
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 14px !important;
  white-space: nowrap;
}

.swaqly-order-filters .swaqly-order-search {
  flex: 1 1 240px;
  min-width: 210px;
  margin-inline-start: auto;
}

.swaqly-order-search form,
.swaqly-order-search .input-group {
  width: 100%;
  margin: 0;
}

.swaqly-order-search .form-control {
  min-height: 38px;
}

.swaqly-orders-table {
  padding: 12px !important;
}

.swaqly-orders-table .table {
  min-width: 980px;
}

.swaqly-page-content .table-responsive {
  border: 0;
}

.swaqly-page-content .table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  color: #e8e4f6;
  font-size: 12px;
}

.swaqly-page-content .table > thead > tr > th {
  padding: 13px 12px;
  border: 0;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .13);
  font-size: 11px;
  white-space: nowrap;
}

.swaqly-page-content .table > tbody > tr > td {
  padding: 13px 12px;
  border-color: rgba(255, 255, 255, .07);
  vertical-align: middle;
}

.swaqly-page-content .table > tbody > tr:hover {
  background: rgba(139, 92, 246, .06);
}

.swaqly-page-content .table a {
  color: var(--swaqly-violet-light);
}

.swaqly-page-content .table a:hover {
  color: #fff;
}

.swaqly-page-content .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
}

.swaqly-page-content .pagination > li > a,
.swaqly-page-content .pagination > li > span {
  min-width: 34px;
  border: 1px solid var(--swaqly-border);
  border-radius: 7px;
  color: var(--swaqly-muted);
  background: rgba(255, 255, 255, .03);
  text-align: center;
}

.swaqly-page-content .pagination > .active > a,
.swaqly-page-content .pagination > .active > span {
  border-color: var(--swaqly-violet);
  color: #fff;
  background: var(--swaqly-violet);
}

.swaqly-page-content .input-group .form-control {
  z-index: 1;
}

.swaqly-page-content .input-group-btn .btn {
  min-height: 43px;
}

.swaqly-page-content .modal-content {
  overflow: hidden;
  border: 1px solid var(--swaqly-border-strong);
  border-radius: var(--swaqly-radius);
  color: var(--swaqly-text);
  background: #11101a;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .6);
}

.swaqly-page-content .modal-header,
.swaqly-page-content .modal-footer {
  border-color: var(--swaqly-border);
}

.swaqly-page-content .modal-header .close {
  color: #fff;
}

.swaqly-page-content .dropdown-menu {
  border: 1px solid var(--swaqly-border-strong);
  border-radius: 9px;
  background: #15121e;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

.swaqly-page-content .dropdown-menu > li > a {
  color: var(--swaqly-muted);
}

.swaqly-page-content .dropdown-menu > li > a:hover {
  color: #fff;
  background: var(--swaqly-violet);
}

/* Give the data-heavy pages a readable card grid on desktop and a scrollable
   table on narrow screens without changing their server-side markup. */
.swaqly-authenticated .swaqly-page-content > .container-fluid {
  width: min(1240px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid > .row {
  margin-inline: 0;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .well {
  margin-bottom: 18px;
}

.swaqly-authenticated .swaqly-page-content > .container-fluid .table {
  min-width: 900px;
}

@media (max-width: 767px) {
  .swaqly-page-content {
    min-height: calc(100vh - 106px);
    padding: 15px 0 28px;
  }

  .swaqly-page-content > .container,
  .swaqly-authenticated .swaqly-page-content > .container-fluid {
    width: min(100% - 22px, 560px);
  }

  .swaqly-page-content .well,
  .swaqly-page-content .well-float {
    padding: 16px 13px;
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .swaqly-page-content .col-md-6 {
    width: 100%;
    padding-inline: 0;
  }

  .swaqly-page-content .form-control {
    min-height: 42px;
  }

  .swaqly-page-content .table {
    min-width: 650px;
  }

  .swaqly-orders-page {
    width: min(100% - 22px, 560px) !important;
  }

  .swaqly-order-filters {
    align-items: stretch;
    flex-wrap: nowrap;
    margin-inline: 0;
    overflow-x: auto;
    padding: 7px;
  }

  .swaqly-order-filters > li > a {
    min-width: 92px;
  }

  .swaqly-order-filters .swaqly-order-search {
    order: -1;
    flex: 0 0 220px;
    min-width: 220px;
  }

  .swaqly-footer {
    padding: 18px 0;
  }
}

/* Imported Swaqly announcement, popup, order-copy and account-level features.
   The cyan variables are intentionally scoped so they do not replace the
   black/violet panel theme above. */
:root {
  --swaqly-extra-cyan: #00d8ff;
  --swaqly-extra-cyan-dark: #0099cc;
  --swaqly-extra-bg: #071426;
  --swaqly-extra-text: #efefef;
}

body.swaqly-app {
  padding-top: 0;
}

.swaqly-panel-topbar {
  top: 0;
}

.swaqly-popup {
  position: fixed;
  top: 25%;
  left: 50%;
  z-index: 99999;
  display: none;
  width: 500px;
  max-width: 95%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 25px;
  transform: translate(-50%, 0);
  border: 1px solid rgba(0, 238, 255, .35);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 14, 35, .97), rgba(2, 10, 28, .98));
  box-shadow: 0 0 12px rgba(0, 238, 255, .22), 0 0 28px rgba(0, 140, 255, .18), inset 0 0 18px rgba(0, 238, 255, .05);
  font-family: "Cairo", "Tajawal", Arial, sans-serif;
  text-align: center;
  transition: opacity .25s ease, transform .25s ease;
}

#popup-offer {
  top: 50%;
  transform: translate(-50%, -50%);
}

.liquid-frame,
#liquidCanvas,
#liquidCanvasOffer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  pointer-events: none;
}

.liquid-frame {
  z-index: 0;
}

.swaqly-popup > :not(.liquid-frame) {
  position: relative;
  z-index: 1;
}

.close-popup,
.minimize-popup {
  position: absolute;
  z-index: 3;
  border: 0;
  cursor: pointer;
}

.close-popup,
.minimize-popup {
  top: 4px;
  padding: 0;
  background: transparent;
  line-height: 1;
}

.close-popup {
  right: 12px;
  color: #ff4d6d;
  font-size: 28px;
}

.minimize-popup {
  right: 50px;
  color: #dffcff;
  font-size: 26px;
}

.swaqly-popup h2 {
  margin: 12px 0;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #8dfbff, #31d7ff, #6ca8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-line {
  margin: 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 238, 255, .35);
  color: #91fbff;
  font-size: 16px;
  font-weight: 700;
}

#popup-home p,
#popup-home h2 {
  margin: 8px 0;
  line-height: 2;
}

#popup-offer p,
#popup-offer h2 {
  margin: 4px 0;
  line-height: 1.6;
}

.swaqly-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.swaqly-buttons a {
  display: flex;
  flex: 1 1 45%;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  color: #000;
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .3s ease, filter .3s ease;
}

.swaqly-buttons a:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
  text-decoration: none;
}

.swaqly-buttons a * {
  text-decoration: none !important;
}

.swaqly-buttons a.whatsapp,
.swaqly-buttons a.bot {
  background: linear-gradient(180deg, #36df7b, #1fb95f);
}

.swaqly-buttons a.download-app {
  background: linear-gradient(180deg, #3bc8ff, #1d8dff);
}

.swaqly-buttons a.telegram {
  background: linear-gradient(180deg, #44d8ff, #1d9cf0);
}

.swaqly-buttons a img.icon-btn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2px;
}

.digit {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #04111f;
  background: linear-gradient(180deg, #90fbff, #31d7ff 55%, #5d8fff);
  box-shadow: 0 0 12px rgba(0, 238, 255, .22);
  font-size: 28px;
  font-weight: 900;
}

.label {
  margin-top: 3px;
  color: #dffcff;
  font-size: 12px;
}

#small-popup-home,
#small-popup-offer {
  display: none;
  position: fixed;
  bottom: 160px;
  left: 20px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#small-popup-offer {
  width: 39px;
  height: 39px;
}

#small-popup-home img,
#small-popup-offer img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0, 238, 255, .2), 0 0 20px rgba(0, 140, 255, .15);
}

.small-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #33dfff, #118dff);
  box-shadow: 0 0 10px rgba(0, 200, 255, .35);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.popup-home-images,
.swaqly-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.popup-home-images img,
.swaqly-icons img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0, 238, 255, .18), 0 0 18px rgba(0, 140, 255, .12);
  transition: transform .3s ease, filter .3s ease;
}

.popup-home-images img:hover,
.swaqly-icons img:hover {
  transform: translateY(-8px) scale(1.12);
  filter: drop-shadow(0 0 12px rgba(0, 238, 255, .35));
}

.swaqly-top-ticker {
  display: flex;
  position: relative;
  z-index: 99999;
  width: 100%;
  height: 28px;
  align-items: center;
  overflow: hidden;
  border-top: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
  background: #111;
  direction: rtl;
}

.swaqly-top-ticker-track {
  display: inline-flex;
  align-items: center;
  padding-inline-start: 100%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: swaqlyTickerMove 24s linear infinite;
}

.swaqly-top-ticker-track span {
  margin-inline-end: 60px;
}

.swaqly-top-ticker-warning {
  margin-inline: 8px;
  color: #ffcc00;
}

@keyframes swaqlyTickerMove {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* Optional server-rendered blocks from the attached customization. */
#block_330 {
  min-height: 220px !important;
}

#block_330 .container {
  min-height: 220px !important;
  padding: 0 !important;
  background-image: url("https://a.top4top.io/p_38020us8n1.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#block_330 h2,
#block_330 p,
#block_330 img,
#block_330 .text-block__title,
#block_330 .text-block__description {
  display: none !important;
}

#block_332 {
  min-height: 420px !important;
}

#block_332 .container {
  min-height: 420px !important;
  padding-top: 320px !important;
  background-image: url("https://h.top4top.io/p_3803x3qh32.png") !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

#block_332 img {
  display: none !important;
}

/* The attached account-card customization works with the platform's
   server-rendered dashboard cards when those blocks are present. */
#block_264 .totals-block__icon-preview {
  position: relative !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 115% 115% !important;
}

#block_264 .totals-block__icon-preview .totals-block__icon {
  visibility: hidden !important;
  opacity: 0 !important;
}

.swaqly-level-card,
.swaqly-discount-card {
  cursor: pointer !important;
}

.swaqly-level-card .totals-block__count-value,
.swaqly-discount-card .totals-block__count-value {
  color: var(--color-id-164, #39eaff) !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  line-height: 28px !important;
}

.swaqly-level-card .swaqly-level-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  direction: rtl !important;
  white-space: nowrap !important;
}

.swaqly-level-fa {
  color: var(--color-id-164, #39eaff) !important;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

#swaqly-level-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .55);
}

#swaqly-level-popup {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 22px;
  border: 1px solid rgba(0, 234, 255, .35);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #101624, #1c2235);
  box-shadow: 0 0 35px rgba(0, 234, 255, .25);
  direction: rtl;
  font-family: inherit;
}

#swaqly-level-popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  font-size: 18px;
}

.swaqly-popup-title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.swaqly-popup-title .swaqly-level-fa {
  margin-inline-start: 6px !important;
  color: #39eaff !important;
  font-size: 22px !important;
}

.swaqly-popup-sub,
.swaqly-progress-text {
  color: #cbd6ef;
  font-size: 14px;
  text-align: center;
}

.swaqly-popup-sub {
  margin-bottom: 18px;
}

.swaqly-popup-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  color: #e8f3ff;
}

.swaqly-popup-row strong {
  color: #39eaff;
}

.swaqly-progress-bar {
  width: 100%;
  height: 13px;
  margin: 15px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.swaqly-progress-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d9ff, #7b61ff);
  transition: width .35s ease;
}

.swaqly-news-bar {
  display: flex;
  position: relative !important;
  top: auto;
  left: auto;
  z-index: 99998;
  width: 100%;
  height: 36px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid #35f2ff;
  border-bottom: 1px solid #35f2ff;
  background: #000;
  box-shadow: 0 0 7px #35f2ff;
  direction: rtl;
}

.swaqly-news-track {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  will-change: transform;
  animation: swaqlyScrollNews 55s linear infinite;
}

.swaqly-news-track span {
  margin-right: 120px;
}

.swaqly-news-icon {
  margin: 0 7px;
  color: #35f2ff;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 6px #35f2ff;
}

@keyframes swaqlyScrollNews {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

#swaqly-copy-action-bar {
  display: none;
  position: fixed;
  bottom: -140px;
  left: 50%;
  z-index: 99999;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 20px);
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid var(--swaqly-extra-cyan);
  border-radius: 20px;
  background: var(--swaqly-extra-bg);
  box-shadow: 0 0 20px rgba(0, 216, 255, .35);
  font-family: sans-serif;
  opacity: 0;
  transition: bottom .35s ease, opacity .35s ease;
}

#swaqly-copy-action-bar * {
  box-sizing: border-box;
}

#swaqly-copy-action-bar .swaqly-count {
  min-width: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  color: var(--swaqly-extra-bg);
  background: var(--swaqly-extra-cyan);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

#swaqly-copy-action-bar .swaqly-text {
  color: var(--swaqly-extra-text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

#swaqly-copy-action-bar .swaqly-copy-btn,
#swaqly-copy-action-bar .swaqly-close-btn {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#swaqly-copy-action-bar .swaqly-copy-btn {
  width: 140px;
  height: 46px;
  color: var(--swaqly-extra-bg);
  background: var(--swaqly-extra-cyan);
  font-size: 14px;
}

#swaqly-copy-action-bar .swaqly-close-btn {
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--swaqly-extra-cyan-dark);
  font-size: 22px;
  line-height: 1;
}

@media (min-width: 769px) {
  #popup-offer {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .swaqly-popup {
    top: 50%;
    width: 92%;
    max-height: none;
    overflow: hidden;
    padding: 15px;
    transform: translate(-50%, -50%);
  }

  .swaqly-popup h2 {
    font-size: 18px;
  }

  .primary-line {
    padding-bottom: 2px;
    font-size: 13px;
  }

  .swaqly-popup p {
    font-size: 14px;
  }

  .swaqly-buttons a {
    gap: 6px;
    padding: 10px 6px;
    font-size: 13px;
  }

  .swaqly-buttons a img.icon-btn {
    width: 22px;
    height: 22px;
  }

  .digit {
    width: 40px;
    height: 45px;
    font-size: 20px;
  }

  .label {
    font-size: 10px;
  }

  .popup-home-images img,
  .swaqly-icons img {
    width: 40px;
    height: 40px;
  }

  #small-popup-home,
  #small-popup-offer {
    width: 40px;
    height: 40px;
  }

  .swaqly-news-bar {
    height: 30px;
    line-height: 30px;
  }

  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }

  .swaqly-news-track {
    font-size: 14px;
    animation-duration: 45s;
  }

  .swaqly-news-track span {
    margin-right: 80px;
  }

  #swaqly-copy-action-bar {
    right: 10px;
    bottom: -180px;
    left: 10px;
    width: calc(100vw - 20px);
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
    transform: none;
  }

  #swaqly-copy-action-bar .swaqly-text {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  #swaqly-copy-action-bar .swaqly-copy-btn {
    width: 120px;
    height: 44px;
  }

  #block_330 .container {
    min-height: 180px !important;
    background-image: url("https://k.top4top.io/p_3803tmgkv1.png") !important;
    background-size: 100% auto !important;
  }

  #block_330 {
    min-height: auto !important;
  }

  #block_332 .container {
    min-height: 170px !important;
    padding-top: 0 !important;
    background-image: url("https://g.top4top.io/p_3803li6w91.png") !important;
    background-size: 100% auto !important;
  }

  #block_332 {
    min-height: auto !important;
  }
}

/* Full panel shell: the same dark dashboard language as the live Swaqly app. */
body.swaqly-authenticated {
  overflow-x: hidden;
}

.swaqly-panel-shell {
  min-height: 100vh;
  display: flex;
  direction: rtl;
}

.swaqly-sidebar {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 14px 12px;
  overflow-y: auto;
  border-left: 1px solid rgba(139, 92, 246, .28);
  background: linear-gradient(180deg, #11101a 0%, #0b0a10 100%);
  box-shadow: -15px 0 42px rgba(0, 0, 0, .24);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, .5) transparent;
}

.swaqly-sidebar-brand {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-sidebar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-sidebar-brand img {
  display: block;
  max-width: 148px;
  max-height: 38px;
  object-fit: contain;
}

.swaqly-brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  box-shadow: 0 0 20px rgba(139, 92, 246, .4), inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-family: "Tajawal", sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.swaqly-brand-mark::before {
  position: absolute;
  width: 50px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  content: "";
  transform: rotate(-38deg);
}

.swaqly-brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  content: "";
}

.swaqly-sidebar-brand strong,
.swaqly-public-brand strong {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 52%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-sidebar-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 10px 9px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
}

.swaqly-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--swaqly-pink);
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 72, 153, .18);
  font-size: 16px;
  font-weight: 900;
}

.swaqly-user-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.swaqly-user-copy strong,
.swaqly-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swaqly-user-copy strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-user-copy small {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-user-dot,
.swaqly-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .11), 0 0 12px rgba(34, 197, 94, .45);
}

.swaqly-sidebar-nav {
  display: grid;
  gap: 4px;
}

.swaqly-sidebar-label {
  display: block;
  margin: 8px 9px 5px;
  color: #756d8e;
  font-size: 10px;
  font-weight: 800;
}

.swaqly-sidebar-link {
  display: flex;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.swaqly-sidebar-link i {
  width: 18px;
  color: #83789f;
  font-size: 13px;
  text-align: center;
}

.swaqly-sidebar-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, .1);
  text-decoration: none;
}

.swaqly-sidebar-link:hover i,
.swaqly-sidebar-link.active i {
  color: #fff;
}

.swaqly-sidebar-link.active {
  border-color: rgba(139, 92, 246, .4);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, .98), rgba(109, 40, 217, .92));
  box-shadow: 0 8px 22px rgba(109, 40, 217, .25);
}

.swaqly-sidebar-balance {
  margin-top: auto;
  padding: 13px 12px;
  border: 1px solid rgba(236, 72, 153, .28);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(236, 72, 153, .06));
}

.swaqly-sidebar-balance span,
.swaqly-sidebar-balance strong {
  display: block;
}

.swaqly-sidebar-balance span {
  color: var(--swaqly-muted);
  font-size: 10px;
}

.swaqly-sidebar-balance strong {
  margin: 4px 0 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-sidebar-balance a {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-sidebar-balance a:hover {
  color: #fff;
}

.swaqly-panel-main {
  width: calc(100% - 252px);
  min-width: 0;
  min-height: 100vh;
  margin-right: 252px;
  direction: rtl;
}

.swaqly-panel-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
  background: rgba(8, 8, 13, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}

.swaqly-panel-heading,
.swaqly-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swaqly-panel-heading > div {
  display: grid;
  gap: 3px;
}

.swaqly-panel-heading span {
  color: var(--swaqly-violet-light);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.swaqly-panel-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.swaqly-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.swaqly-currency {
  direction: rtl;
}

.swaqly-currency > a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--swaqly-border);
  border-radius: 9px;
  color: #fff;
  background: rgba(139, 92, 246, .1);
  font-size: 11px;
  font-weight: 800;
}

.swaqly-currency > a:hover,
.swaqly-currency > a:focus {
  color: #fff;
  text-decoration: none;
}

.swaqly-online-dot {
  display: block;
}

.swaqly-panel-main > .swaqly-page-content {
  min-height: calc(100vh - 125px);
  padding: 24px 26px 34px;
}

.swaqly-panel-main > .swaqly-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 57px;
  padding: 16px 26px;
  border-top: 1px solid rgba(139, 92, 246, .18);
  color: var(--swaqly-muted);
  background: #08080c;
  font-size: 11px;
}

.swaqly-panel-main > .swaqly-footer span:first-child {
  color: var(--swaqly-violet-light);
  font-weight: 900;
}

.swaqly-public-navbar {
  min-height: 64px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(139, 92, 246, .24);
  background: rgba(8, 8, 13, .94);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .3);
}

.swaqly-public-navbar .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
}

.swaqly-public-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.swaqly-public-brand:hover {
  color: #fff;
  text-decoration: none;
}

.swaqly-public-brand img {
  max-width: 145px;
  max-height: 37px;
}

.swaqly-public-navbar .navbar-collapse {
  flex: 1;
}

.swaqly-public-navbar .navbar-nav > li > a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-public-navbar .navbar-nav > li > a:hover,
.swaqly-public-navbar .navbar-nav > li.active > a {
  color: #fff;
  background: rgba(139, 92, 246, .12);
}

.swaqly-public-toggle {
  display: none;
  border: 1px solid var(--swaqly-border);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  font-size: 16px;
}

.swaqly-public-hero {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  min-height: 420px;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  align-items: center;
  gap: 58px;
  margin: 18px auto 28px;
  padding: 54px 46px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .18), transparent 15rem),
    linear-gradient(135deg, rgba(27, 22, 40, .98), rgba(9, 8, 14, .98));
  box-shadow: 0 0 44px rgba(139, 92, 246, .16), 0 22px 60px rgba(0, 0, 0, .35);
}

.swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: right;
}

.swaqly-public-hero h1 {
  max-width: 610px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.swaqly-public-hero-copy > p {
  max-width: 550px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 15px;
  line-height: 2;
}

.swaqly-public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.swaqly-public-hero-actions .btn {
  min-width: 132px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.swaqly-public-hero-actions .btn-default {
  border-color: rgba(196, 181, 253, .35);
  color: #eeeaff;
  background: rgba(255, 255, 255, .05);
}

.swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 27px;
  color: #b8b0cf;
  font-size: 11px;
  font-weight: 700;
}

.swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-public-hero-meta i {
  color: var(--swaqly-pink);
}

.swaqly-public-hero-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(196, 181, 253, .32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(139, 92, 246, .27), rgba(17, 16, 26, .9) 58%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  direction: rtl;
}

.swaqly-public-hero-card::before {
  position: absolute;
  top: -45px;
  left: -35px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(236, 72, 153, .22);
  border-radius: 50%;
  content: "";
}

.swaqly-public-card-top,
.swaqly-public-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-public-card-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.swaqly-public-card-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, .6);
}

.swaqly-public-card-balance {
  display: grid;
  gap: 7px;
  padding: 28px 0 22px;
}

.swaqly-public-card-balance span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
}

.swaqly-public-card-balance strong {
  color: #fff;
  font-size: 21px;
}

.swaqly-public-card-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.swaqly-public-card-bars span {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .09);
}

.swaqly-public-card-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-card-footer {
  color: #cfc7e4;
}

.swaqly-public-card-footer i {
  margin-left: 4px;
  color: #4ade80;
}

.swaqly-public-card-footer b {
  color: #f9a8d4;
}

.swaqly-public-features {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto 28px;
  direction: rtl;
}

.swaqly-public-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--swaqly-border);
  border-radius: 13px;
  background: rgba(17, 16, 26, .84);
}

.swaqly-public-feature > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
}

.swaqly-public-feature div {
  display: grid;
  gap: 4px;
}

.swaqly-public-feature strong {
  color: #fff;
  font-size: 12px;
}

.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
}

@media (max-width: 991px) {
  .swaqly-sidebar {
    width: 238px;
  }

  .swaqly-panel-main {
    width: calc(100% - 238px);
    margin-right: 238px;
  }

  .swaqly-panel-topbar,
  .swaqly-panel-main > .swaqly-page-content,
  .swaqly-panel-main > .swaqly-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .swaqly-sidebar {
    right: -270px;
    width: 258px;
    transition: right .25s ease;
  }

  .swaqly-sidebar-open .swaqly-sidebar {
    right: 0;
  }

  .swaqly-sidebar-overlay {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, .66);
  }

  .swaqly-sidebar-open .swaqly-sidebar-overlay {
    display: block;
  }

  .swaqly-panel-main {
    width: 100%;
    margin-right: 0;
  }

  .swaqly-panel-topbar {
    min-height: 62px;
    padding: 0 13px;
  }

  .swaqly-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .swaqly-panel-heading h1 {
    font-size: 15px;
  }

  .swaqly-panel-heading span {
    font-size: 8px;
  }

  .swaqly-panel-actions .swaqly-currency {
    display: none;
  }

  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 114px);
    padding: 16px 11px 28px;
  }

  .swaqly-panel-main > .swaqly-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 16px 13px;
  }

  .swaqly-public-navbar .container {
    min-height: 57px;
    width: calc(100% - 22px);
  }

  .swaqly-public-toggle {
    display: inline-grid;
    width: 35px;
    height: 35px;
    place-items: center;
  }

  .swaqly-public-navbar .navbar-collapse {
    position: absolute;
    z-index: 50;
    top: 57px;
    right: 11px;
    left: 11px;
    padding: 7px;
    border: 1px solid var(--swaqly-border);
    border-radius: 10px;
    background: #11101a;
  }

  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 42px;
    padding: 0 10px;
  }

  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(245px, .9fr);
    gap: 28px;
    padding: 38px 26px;
  }

  .swaqly-public-hero h1 {
    font-size: 33px;
  }
}

@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin-top: 10px;
    padding: 30px 20px;
    border-radius: 16px;
  }

  .swaqly-public-hero h1 {
    font-size: 29px;
  }

  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  .swaqly-public-hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .swaqly-public-hero-card {
    min-height: 230px;
  }

  .swaqly-public-features {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }
}

/* Dashboard bridge for the native Twig shell.
   These selectors mirror the supplied dashboard names so the sidebar,
   topbar, and every server-rendered panel use the same geometry. */
body.swaqly-twig-theme .dashboard-shell {
  display: flex !important;
  min-height: 100vh !important;
  direction: rtl !important;
  background: #050506 !important;
}

body.swaqly-twig-theme .dashboard-sidebar {
  position: relative !important;
  z-index: 60 !important;
  display: flex !important;
  width: 214px !important;
  min-height: 100vh !important;
  flex: 0 0 214px !important;
  flex-direction: column !important;
  padding: 14px 11px !important;
  overflow-y: auto !important;
  border: 0 !important;
  border-left: 1px solid rgba(139, 92, 246, .38) !important;
  background: #0d0d12 !important;
  box-shadow: -18px 0 42px rgba(0, 0, 0, .4), inset -1px 0 0 rgba(139, 92, 246, .16) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand {
  display: flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 14px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

body.swaqly-twig-theme .dashboard-sidebar .brand-mark {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border-radius: 9px 9px 9px 3px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, .36) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card {
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid rgba(139, 92, 246, .32) !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: #15141c !important;
  text-align: right !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .avatar,
body.swaqly-twig-theme .top-user .avatar {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .6) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card .swaqly-user-copy {
  min-width: 0 !important;
  flex: 1 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong,
body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card strong {
  color: #fff !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .user-card small {
  margin-top: 3px !important;
  color: #9892aa !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .swaqly-user-dot {
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 9px rgba(34, 197, 94, .7) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-links {
  display: grid !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .sidebar-label,
body.swaqly-twig-theme .dashboard-sidebar .swaqly-sidebar-label {
  display: block !important;
  margin: 20px 7px 7px !important;
  color: #777184 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  display: flex !important;
  min-height: 38px !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #aaa4b8 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: .2s ease !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  width: 17px !important;
  color: #9f94bd !important;
  text-align: center !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .3) !important;
  background: rgba(139, 92, 246, .12) !important;
  transform: translateX(-2px) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active {
  color: #fff !important;
  border-color: rgba(139, 92, 246, .38) !important;
  background: linear-gradient(100deg, #7c3aed, #a855f7 60%, #db2777) !important;
  box-shadow: 0 0 22px rgba(139, 92, 246, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card {
  position: relative !important;
  margin-top: auto !important;
  padding: 12px 11px !important;
  border: 1px solid rgba(139, 92, 246, .38) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, rgba(139, 92, 246, .16), rgba(236, 72, 153, .06)) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span,
body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  display: block !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card span {
  color: #aaa4b8 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card strong {
  margin: 5px 0 8px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
}

body.swaqly-twig-theme .dashboard-sidebar .balance-card a {
  color: #c4b5fd !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.swaqly-twig-theme .dashboard-main {
  min-width: 0 !important;
  flex: 1 !important;
  background: #08080c !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  position: relative !important;
  z-index: 40 !important;
  display: flex !important;
  min-height: 68px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .22) !important;
  background: #0e0e13 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35) !important;
}

body.swaqly-twig-theme .dashboard-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child {
  min-width: 0 !important;
}

body.swaqly-twig-theme .dashboard-heading > div:last-child > span {
  display: block !important;
  margin-bottom: 4px !important;
  color: #a78bfa !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

body.swaqly-twig-theme .dashboard-heading p {
  margin: 3px 0 0 !important;
  color: #898398 !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-collapse-toggle,
body.swaqly-twig-theme .dashboard-menu {
  display: grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 7px !important;
  background: rgba(139, 92, 246, .1) !important;
}

body.swaqly-twig-theme .dashboard-menu {
  display: none !important;
}

body.swaqly-twig-theme .topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.swaqly-twig-theme .notification-button {
  position: relative !important;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .notification-button:hover {
  color: #fff !important;
  background: rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .notification-dot {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #ec4899 !important;
  box-shadow: 0 0 8px #ec4899 !important;
}

body.swaqly-twig-theme .top-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding-inline-start: 10px !important;
  border-inline-start: 1px solid rgba(139, 92, 246, .2) !important;
}

body.swaqly-twig-theme .top-user strong,
body.swaqly-twig-theme .top-user span {
  display: block !important;
}

body.swaqly-twig-theme .top-user strong {
  color: #fff !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .top-user span {
  margin-top: 3px !important;
  color: #22c55e !important;
  font-size: 9px !important;
}

body.swaqly-twig-theme .swaqly-online-dot {
  display: none !important;
}

body.swaqly-twig-theme .dashboard-content {
  width: min(1240px, calc(100% - 48px)) !important;
  min-height: calc(100vh - 68px) !important;
  margin-inline: auto !important;
  padding: 24px 0 42px !important;
  color: #fff !important;
}

body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .panel {
  border-color: rgba(139, 92, 246, .28) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #191622, #0f0e14) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 18px rgba(139, 92, 246, .08) !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th,
body.swaqly-twig-theme .dashboard-content .table > tbody > tr > td {
  color: #d9d4e8 !important;
}

body.swaqly-twig-theme .dashboard-content .table > thead > tr > th {
  background: rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .dashboard-content .form-control,
body.swaqly-twig-theme .dashboard-content select,
body.swaqly-twig-theme .dashboard-content textarea {
  color: #fff !important;
  background: #0b0a10 !important;
}

body.swaqly-twig-theme .notification-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  display: grid !important;
  min-width: 220px !important;
  gap: 7px !important;
  padding: 12px !important;
  border: 1px solid rgba(139, 92, 246, .48) !important;
  border-radius: 10px !important;
  background: #171321 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .55) !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .notification-menu[hidden] {
  display: none !important;
}

body.swaqly-twig-theme .notification-menu strong {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .notification-menu span {
  padding: 6px 0 !important;
  color: #aaa4b8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

body.swaqly-twig-theme .notification-menu a {
  color: #f0abfc !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -280px !important;
    bottom: 0 !important;
    width: 258px !important;
    min-height: 100vh !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-sidebar-open .dashboard-sidebar {
    right: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-menu {
    display: grid !important;
  }

  body.swaqly-twig-theme .dashboard-collapse-toggle {
    display: none !important;
  }

  body.swaqly-twig-theme .dashboard-topbar {
    min-height: 64px !important;
    padding-inline: 14px !important;
  }

  body.swaqly-twig-theme .dashboard-content {
    width: calc(100% - 24px) !important;
    padding-top: 18px !important;
  }

  body.swaqly-twig-theme .top-user > div {
    display: none !important;
  }

  body.swaqly-twig-theme .top-user {
    padding-inline-start: 0 !important;
    border: 0 !important;
  }
}

/*
   Disabled screenshot parity pass: compact right rail, compact order form, and compact
   public landing viewport matching the supplied Swaqly screens.
@media (min-width: 768px) {
  .swaqly-sidebar {
    width: 166px;
    padding: 8px 6px;
  }
  .swaqly-sidebar-brand {
    min-height: 28px;
    margin-bottom: 8px;
    font-size: 12px;
  }
  .swaqly-sidebar-brand img {
    max-width: 102px;
    max-height: 28px;
  }
  .swaqly-brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    font-size: 17px;
  }
  .swaqly-sidebar-user {
    gap: 5px;
    margin-bottom: 9px;
    padding: 6px 5px;
    border-radius: 6px;
  }
  .swaqly-user-avatar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 11px;
  }
  .swaqly-user-copy {
    gap: 1px;
  }
  .swaqly-user-copy strong {
    font-size: 9px;
  }
  .swaqly-user-copy small {
    font-size: 7px;
  }
  .swaqly-user-dot,
  .swaqly-online-dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }
  .swaqly-sidebar-nav {
    gap: 1px;
  }
  .swaqly-sidebar-label {
    margin: 7px 4px 3px;
    font-size: 8px;
  }
  .swaqly-sidebar-link {
    min-height: 25px;
    gap: 5px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: 9px;
  }
  .swaqly-sidebar-link i {
    width: 12px;
    font-size: 9px;
  }
  .swaqly-sidebar-balance {
    padding: 7px 6px;
    border-radius: 7px;
  }
  .swaqly-sidebar-balance span {
    font-size: 8px;
  }
  .swaqly-sidebar-balance strong {
    margin: 3px 0 4px;
    font-size: 13px;
  }
  .swaqly-sidebar-balance a {
    font-size: 8px;
  }
  .swaqly-panel-main {
    width: calc(100% - 166px);
    margin-right: 166px;
  }
  .swaqly-panel-topbar {
    min-height: 34px;
    gap: 8px;
    padding: 0 8px;
  }
  .swaqly-panel-heading,
  .swaqly-panel-actions {
    gap: 6px;
  }
  .swaqly-panel-heading span {
    font-size: 7px;
  }
  .swaqly-panel-heading h1 {
    font-size: 12px;
  }
  .swaqly-currency > a {
    min-height: 23px;
    gap: 4px;
    padding: 0 6px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-panel-main > .swaqly-page-content {
    min-height: calc(100vh - 70px);
    padding: 23px 0 28px;
  }
  .swaqly-panel-main > .swaqly-footer {
    min-height: 36px;
    padding: 8px;
    font-size: 8px;
  }
  .swaqly-neworder-page {
    width: 100%;
  }
  .swaqly-neworder-shell {
    display: block;
  }
  .swaqly-order-guide,
  .swaqly-order-heading {
    display: none;
  }
  .swaqly-order-main {
    width: min(550px, calc(100% - 24px));
    margin: 0 auto;
  }
  .swaqly-order-card {
    min-height: 505px;
    padding: 14px 14px 16px;
    border-radius: 7px;
    background: linear-gradient(145deg, #171126, #0d0a14);
    box-shadow: 0 0 24px rgba(139, 92, 246, .2), 0 16px 32px rgba(0, 0, 0, .42);
  }
  .swaqly-order-form {
    gap: 10px;
  }
  .swaqly-order-form .form-group {
    margin: 0;
  }
  .swaqly-order-form .control-label {
    margin-bottom: 4px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control,
  .swaqly-order-form .select2-container .select2-selection {
    min-height: 27px;
    height: 27px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-order-form .form-control {
    padding: 5px 9px;
  }
  .swaqly-order-form select.form-control {
    padding-top: 0;
    padding-bottom: 0;
  }
  .swaqly-order-form .select2-container {
    width: 100% !important;
  }
  .swaqly-order-form .select2-selection__rendered {
    padding-right: 9px !important;
    padding-left: 22px !important;
    color: #eeeaff !important;
    font-size: 9px;
    line-height: 25px !important;
  }
  .swaqly-order-form .select2-selection__arrow {
    top: 1px !important;
    height: 25px !important;
  }
  .swaqly-order-form .select2-container .select2-selection,
  .swaqly-order-form .select2-container--default .select2-selection--single {
    border-color: rgba(139, 92, 246, .48) !important;
    background: #0b0813 !important;
  }
  .swaqly-order-form .select2-dropdown {
    z-index: 100;
    border-color: rgba(139, 92, 246, .48) !important;
    color: #eeeaff;
    background: #11101a !important;
  }
  .swaqly-order-form .select2-results__option {
    color: #cfc7e4;
    background: #11101a;
    font-size: 9px;
  }
  .swaqly-order-form .select2-results__option--highlighted {
    color: #fff !important;
    background: var(--swaqly-violet) !important;
  }
  .swaqly-order-form #service_description .panel-body,
  .swaqly-order-form .panel-body {
    min-height: 150px !important;
    max-height: 170px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid rgba(139, 92, 246, .42) !important;
    border-radius: 5px;
    color: #cfc7e4 !important;
    background: #0c0913 !important;
    font-size: 9px;
    line-height: 1.8;
  }
  .swaqly-order-form #service_description .panel-body *,
  .swaqly-order-form .panel-body * {
    color: inherit !important;
    background: transparent !important;
  }
  .swaqly-order-form #charge {
    height: 27px;
    color: var(--swaqly-violet-light);
    background: #100b1c !important;
  }
  .swaqly-order-form .terms {
    gap: 4px;
    font-size: 9px;
  }
  .swaqly-order-form > .btn {
    min-height: 29px;
    margin-top: 1px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 9px;
  }
  .swaqly-neworder-text {
    display: none;
  }
}

@media (min-width: 768px) {
  .swaqly-public-navbar {
    min-height: 36px;
  }
  .swaqly-public-navbar .container {
    min-height: 36px;
  }
  .swaqly-public-brand {
    gap: 5px;
    font-size: 11px;
  }
  .swaqly-public-brand img {
    max-width: 100px;
    max-height: 27px;
  }
  .swaqly-public-navbar .navbar-nav > li > a {
    min-height: 36px;
    padding: 0 9px;
    font-size: 9px;
  }
  .swaqly-public-hero {
    width: min(900px, calc(100% - 30px));
    min-height: 330px;
    grid-template-columns: minmax(245px, .82fr) minmax(0, 1.18fr);
    gap: 38px;
    padding: 36px 0 30px;
  }
  .swaqly-public-hero-copy h1 {
    max-width: 390px;
    margin: 10px 0 8px;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
  }
  .swaqly-public-hero-copy > p {
    max-width: 430px;
    font-size: 9px;
    line-height: 2;
  }
  .swaqly-eyebrow {
    margin-bottom: 4px;
    font-size: 7px;
  }
  .swaqly-public-hero-actions {
    gap: 6px;
    margin-top: 13px;
  }
  .swaqly-public-hero-actions .btn {
    min-width: 96px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 8px;
  }
  .swaqly-public-hero-meta {
    gap: 9px;
    margin-top: 13px;
    font-size: 7px;
  }
  .swaqly-public-login-card {
    width: 260px;
    justify-self: start;
    padding: 15px;
    border-radius: 8px;
  }
  .swaqly-public-login-heading {
    margin-bottom: 11px;
  }
  .swaqly-public-login-heading h2 {
    font-size: 13px;
  }
  .swaqly-public-login-heading p {
    font-size: 8px;
  }
  .swaqly-public-form-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 9px;
  }
  .swaqly-public-login-form {
    gap: 7px;
  }
  .swaqly-public-login-form label {
    margin-bottom: 3px;
    font-size: 7px;
  }
  .swaqly-public-login-form .form-control {
    min-height: 24px;
    height: 24px;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 8px;
  }
  .swaqly-public-forgot,
  .swaqly-public-login-footer,
  .swaqly-public-divider,
  .swaqly-public-google {
    font-size: 7px;
  }
  .swaqly-public-login-form .btn,
  .swaqly-public-google {
    min-height: 24px;
    border-radius: 4px;
  }
  .swaqly-public-login-footer {
    margin-top: 9px;
  }
  .swaqly-public-platform-track {
    gap: 6px;
    padding: 7px 0;
  }
  .swaqly-public-platform-track span {
    gap: 4px;
    padding: 5px 8px;
    font-size: 7px;
  }
  .swaqly-public-section {
    width: min(900px, calc(100% - 30px));
    padding: 54px 0;
  }
  .swaqly-public-section-heading {
    margin-bottom: 22px;
  }
  .swaqly-public-section-heading h2 {
    margin: 5px 0 4px;
    font-size: 20px;
  }
  .swaqly-public-section-heading > span,
  .swaqly-public-section-heading p {
    font-size: 8px;
  }
  .swaqly-public-feature-grid {
    gap: 8px;
  }
  .swaqly-public-feature {
    min-height: 112px;
    padding: 13px 10px;
  }
  .swaqly-public-feature > i {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    font-size: 10px;
  }
  .swaqly-public-feature strong {
    font-size: 9px;
  }
  .swaqly-public-feature span {
    font-size: 7px;
  }
}

*/

/* Final black sidebar + shared hover shadow/glow pass. */
.swaqly-sidebar {
  background: #050507;
  box-shadow: -18px 0 46px rgba(0, 0, 0, .58), inset -1px 0 0 rgba(139, 92, 246, .18);
}
.swaqly-panel-topbar {
  background: rgba(5, 5, 7, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .44);
}
.swaqly-sidebar-user,
.swaqly-sidebar-balance {
  background: #0a0a0d;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .38), 0 0 15px rgba(139, 92, 246, .08);
}
.swaqly-sidebar-link {
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.swaqly-sidebar-link:hover {
  border-color: rgba(139, 92, 246, .48);
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25), inset 0 0 12px rgba(236, 72, 153, .06);
  transform: translateX(-2px);
}

/* Perfect Panel installation correction.
   Keep the authenticated content fluid when an older panel stylesheet or
   cached compact-preview rule is loaded before this theme stylesheet. */
body.swaqly-twig-theme .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 26px 42px !important;
}

body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr) !important;
  gap: 24px !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
  display: flex !important;
}

body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .dashboard-content {
    width: 100% !important;
    padding: 18px 12px 28px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-neworder-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-main {
    width: 100% !important;
  }

  body.swaqly-twig-theme .dashboard-content .swaqly-order-guide {
    display: flex !important;
    order: 2 !important;
  }
}
.swaqly-sidebar-link.active {
  box-shadow: 0 0 25px rgba(139, 92, 246, .44), 0 8px 22px rgba(0, 0, 0, .38);
}
.swaqly-order-guide,
.swaqly-order-card,
.swaqly-public-hero,
.swaqly-public-hero-card,
.swaqly-public-feature,
.swaqly-page-content .well,
.swaqly-page-content .well-float,
.swaqly-page-content .modal-content {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 16px rgba(139, 92, 246, .09);
}
.swaqly-order-guide:hover,
.swaqly-order-card:hover,
.swaqly-public-hero:hover,
.swaqly-public-hero-card:hover,
.swaqly-public-feature:hover,
.swaqly-page-content .well:hover,
.swaqly-page-content .well-float:hover,
.swaqly-page-content .modal-content:hover {
  border-color: rgba(196, 181, 253, .62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .46), 0 0 30px rgba(139, 92, 246, .28), 0 0 9px rgba(236, 72, 153, .2);
  transform: translateY(-3px);
}
.swaqly-page-content .btn:hover,
.swaqly-sidebar-balance a:hover,
.swaqly-currency > a:hover,
.swaqly-public-hero-actions .btn:hover {
  box-shadow: 0 0 24px rgba(139, 92, 246, .44), 0 8px 20px rgba(0, 0, 0, .34);
}

/* Public home parity with the Swaqly preview app. */
.swaqly-public-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg);
}
.swaqly-public-shell > .swaqly-page-content {
  padding-top: 0;
}
.swaqly-public-shell .form-control,
.swaqly-public-shell input,
.swaqly-public-shell select,
.swaqly-public-shell textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 8, 13, .78);
  box-shadow: none;
}
.swaqly-public-hero {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  min-height: 620px;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr);
  gap: 72px;
  margin: 0 auto;
  padding: 72px 0 66px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(139, 92, 246, .16), transparent 30rem),
    radial-gradient(circle at 82% 70%, rgba(236, 72, 153, .08), transparent 24rem);
  box-shadow: none;
}
.swaqly-public-hero::before {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 45px 45px;
  content: "";
  pointer-events: none;
}
.swaqly-public-hero-copy {
  align-self: center;
}
.swaqly-public-hero-copy h1 {
  max-width: 690px;
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.swaqly-public-hero-copy h1 strong {
  display: inline;
  color: transparent;
  background: linear-gradient(100deg, var(--swaqly-violet-light) 0%, var(--swaqly-pink) 48%, var(--swaqly-extra-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 25px rgba(236, 72, 153, .22);
}
@media (max-width: 640px) {
  .swaqly-public-hero-copy h1 {
    white-space: normal;
  }
}
.swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: 15px;
  line-height: 2.1;
}
.swaqly-public-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.swaqly-public-login-card {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
  backdrop-filter: blur(12px);
}
.swaqly-public-login-heading {
  margin-bottom: 22px;
  text-align: center;
}
.swaqly-public-login-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}
.swaqly-public-login-heading p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-form-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-login-form {
  display: grid;
  gap: 13px;
}
.swaqly-public-login-form .form-group {
  margin: 0;
}
.swaqly-public-login-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--swaqly-muted);
  font-size: 11px;
}
.swaqly-public-login-form .form-control {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
}
.swaqly-public-login-form .form-control:focus {
  border-color: var(--swaqly-pink);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .12);
}
.swaqly-public-forgot {
  justify-self: start;
  margin-top: -5px;
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-login-form .btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
}
.swaqly-public-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}
.swaqly-public-divider::before,
.swaqly-public-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
  content: "";
}
.swaqly-public-google {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font-size: 11px;
}
.swaqly-public-google b {
  color: #4285f4;
  font-size: 16px;
}
.swaqly-public-login-footer {
  margin: 18px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}
.swaqly-public-login-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}
.swaqly-public-platforms {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.swaqly-public-platform-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 14px 0;
  animation: swaqly-public-marquee 28s linear infinite;
}
.swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--swaqly-muted);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 700;
}
.swaqly-public-platform-track i {
  color: var(--swaqly-violet-light);
  filter: drop-shadow(0 0 5px currentColor);
}
@keyframes swaqly-public-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.swaqly-public-section {
  position: relative;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(139, 92, 246, .18);
}
.swaqly-public-section + .swaqly-public-section::before {
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(150px, 30%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--swaqly-violet), transparent);
  content: "";
  transform: translateX(-50%);
}
.swaqly-public-section-heading {
  margin-bottom: 42px;
  text-align: center;
}
.swaqly-public-section-heading > span,
.swaqly-public-final-cta > div:first-child > span {
  color: var(--swaqly-violet-light);
  font-size: 11px;
  font-weight: 800;
}
.swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  white-space: nowrap;
}
.swaqly-public-section-heading p {
  margin: 0 auto;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-feature {
  min-height: 190px;
  display: block;
  padding: 25px 20px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 15px;
  background: #050507;
  text-align: center;
}
.swaqly-public-feature > i {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--swaqly-violet-light);
  background: rgba(139, 92, 246, .15);
}
.swaqly-public-feature div {
  display: grid;
  gap: 7px;
}
.swaqly-public-feature strong {
  color: #fff;
  font-size: 14px;
}
.swaqly-public-feature span {
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-payments,
.swaqly-public-faq {
  max-width: none;
  background: rgba(255,255,255,.018);
}
.swaqly-public-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.swaqly-public-payment-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: #050507;
  font-size: 12px;
  font-weight: 800;
}
.swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swaqly-public-steps article {
  min-height: 190px;
  padding: 28px 20px;
  border: 1px solid var(--swaqly-border);
  border-radius: 15px;
  background: #050507;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.swaqly-public-steps b {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  box-shadow: 0 0 22px rgba(139,92,246,.3);
  font-size: 16px;
}
.swaqly-public-steps h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.swaqly-public-steps p {
  margin: 7px 0 0;
  color: var(--swaqly-muted);
  font-size: 11px;
  line-height: 1.9;
}
.swaqly-public-review-grid {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 auto;
}
.swaqly-public-review-grid article {
  padding: 25px;
  border-right: 4px solid var(--swaqly-violet);
  border-radius: 15px;
  background: #050507;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.swaqly-public-review-grid article > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swaqly-public-review-grid article > div > b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink));
  font-size: 11px;
}
.swaqly-public-review-grid strong {
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 12px;
}
.swaqly-public-review-grid small {
  color: var(--swaqly-muted);
  font-size: 10px;
  font-weight: 400;
}
.swaqly-public-review-grid p {
  min-height: 50px;
  margin: 17px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.swaqly-public-faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  background: rgba(17, 16, 26, .92);
}
.swaqly-public-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}
.swaqly-public-faq-list summary::-webkit-details-marker {
  display: none;
}
.swaqly-public-faq-list summary i {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary {
  color: var(--swaqly-violet-light);
}
.swaqly-public-faq-list details[open] summary i {
  transform: rotate(45deg);
}
.swaqly-public-faq-list details p {
  margin: 0;
  padding: 0 20px 19px;
  color: var(--swaqly-muted);
  font-size: 12px;
  line-height: 2;
}
.swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto 50px;
  padding: 34px 40px;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(139,92,246,.17), rgba(236,72,153,.1));
  box-shadow: 0 0 30px rgba(139,92,246,.12);
}
.swaqly-public-final-cta h2 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: 23px;
}
.swaqly-public-final-cta p {
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}
.swaqly-public-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swaqly-public-final-cta .btn {
  min-width: 125px;
}
.swaqly-public-shell .swaqly-footer {
  background: #07070b;
}
@media (max-width: 980px) {
  .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
    gap: 35px;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .swaqly-public-hero {
    display: flex;
    width: min(100% - 22px, 560px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 42px 0 34px;
  }
  .swaqly-public-hero-copy h1 {
    font-size: 30px;
    white-space: normal;
  }
  .swaqly-public-section-heading h2 {
    white-space: normal;
  }
  .swaqly-public-hero-copy > p {
    font-size: 13px;
  }
  .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }
  .swaqly-public-section {
    width: min(100% - 22px, 560px);
    padding: 58px 0;
  }
  .swaqly-public-feature-grid,
  .swaqly-public-steps,
  .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }
  .swaqly-public-payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 25px;
    padding: 25px 20px;
  }
  .swaqly-public-final-cta h2 {
    font-size: 20px;
  }
  .swaqly-public-final-cta > div:last-child .btn {
    flex: 1;
  }
}

/* Keep the news bar in normal document flow before the panel header. */
body.swaqly-app {
  padding-top: 0;
}

.swaqly-panel-topbar {
  top: 0;
}

@media (max-width: 767px) {
  body.swaqly-app {
    padding-top: 0;
  }

  .swaqly-panel-topbar {
    top: 0;
  }
}

/* Twig auth pages: a full-width translation of the preview app auth shell. */
.swaqly-twig-theme .auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  direction: ltr;
  background: #0b0e13;
}

.swaqly-twig-theme .auth-brand,
.swaqly-twig-theme .auth-form-panel {
  min-width: 0;
  direction: rtl;
}

.swaqly-twig-theme .auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  padding: 46px clamp(25px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .18), transparent 38%),
    linear-gradient(145deg, #10131b, #090b10);
}

.swaqly-twig-theme .auth-brand::before {
  position: absolute;
  top: 23%;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(139, 92, 246, .035), 0 0 0 58px rgba(139, 92, 246, .025);
  content: "";
}

.swaqly-twig-theme .auth-brand::after {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(236, 72, 153, .18);
  border-radius: 50%;
  content: "";
}

.swaqly-twig-theme .auth-brand > div {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: auto 0;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.swaqly-twig-theme .auth-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}

.swaqly-twig-theme .auth-brand .brand-logo img {
  display: block;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.swaqly-twig-theme .auth-brand .brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--swaqly-violet), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  box-shadow: 0 0 22px rgba(139, 92, 246, .4);
  font-family: "Tajawal", sans-serif;
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.swaqly-twig-theme .auth-brand .brand-name {
  color: transparent;
  background: linear-gradient(90deg, var(--swaqly-violet-light), var(--swaqly-pink) 52%, var(--swaqly-extra-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.swaqly-twig-theme .auth-brand h1 {
  max-width: 540px;
  margin: 20px 0 14px;
  color: #fff;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.swaqly-twig-theme .auth-brand p {
  max-width: 500px;
  margin: 0;
  color: var(--swaqly-muted);
  font-size: 14px;
  line-height: 2.1;
}

.swaqly-twig-theme .auth-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swaqly-twig-theme .auth-points i {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-form-panel {
  display: grid;
  align-content: center;
  padding: 46px clamp(25px, 8vw, 120px);
  background: #10141b;
}

.swaqly-twig-theme .auth-form-panel > .back-home,
.swaqly-twig-theme .auth-form-panel > .auth-card,
.swaqly-twig-theme .auth-form-panel > .auth-extra {
  width: min(100%, 430px);
  margin-inline: auto;
}

.swaqly-twig-theme .back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--swaqly-muted);
  font-size: 12px;
  font-weight: 700;
}

.swaqly-twig-theme .back-home:hover {
  color: var(--swaqly-violet-light);
}

.swaqly-twig-theme .auth-card {
  padding: 30px;
  border: 1px solid rgba(196, 181, 253, .25);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .6), 0 0 28px rgba(139, 92, 246, .11);
}

.swaqly-twig-theme .form-header {
  margin-bottom: 23px;
  text-align: center;
}

.swaqly-twig-theme .form-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 0 auto 11px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: rgba(139, 92, 246, .16);
}

.swaqly-twig-theme .form-header h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.swaqly-twig-theme .form-header p {
  margin: 4px 0 0;
  color: var(--swaqly-muted);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form {
  display: grid;
  gap: 13px;
}

.swaqly-twig-theme .standalone-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.swaqly-twig-theme .standalone-form .input-group > i {
  position: absolute;
  right: 14px;
  z-index: 1;
  color: #756d8e;
  pointer-events: none;
}

.swaqly-twig-theme .standalone-form .input-group input {
  width: 100%;
  min-height: 47px;
  padding: 0 42px 0 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  outline: 0;
  color: #fff;
  background: rgba(8, 10, 14, .72);
  font-size: 12px;
}

.swaqly-twig-theme .standalone-form .input-group input:focus {
  border-color: var(--swaqly-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.swaqly-twig-theme .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--swaqly-muted);
  font-size: 11px;
}

.swaqly-twig-theme .form-options label,
.swaqly-twig-theme .terms-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swaqly-twig-theme .form-options input,
.swaqly-twig-theme .terms-row input {
  accent-color: var(--swaqly-violet);
}

.swaqly-twig-theme .form-options a,
.swaqly-twig-theme .terms-row a,
.swaqly-twig-theme .form-footer a {
  color: var(--swaqly-violet-light);
  font-weight: 800;
}

.swaqly-twig-theme .terms-row {
  color: var(--swaqly-muted);
  font-size: 10px;
  line-height: 1.8;
}

.swaqly-twig-theme .auth-card .btn {
  min-height: 45px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--swaqly-violet), #6d28d9);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .28);
  font-weight: 800;
}

.swaqly-twig-theme .auth-card .btn:hover {
  background: linear-gradient(135deg, #a78bfa, var(--swaqly-violet));
}

.swaqly-twig-theme .auth-alert {
  margin: 0;
  border-radius: 9px;
  font-size: 11px;
}

.swaqly-twig-theme .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #687488;
  font-size: 11px;
}

.swaqly-twig-theme .divider::before,
.swaqly-twig-theme .divider::after {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  content: "";
}

.swaqly-twig-theme .google-button-wrap {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.swaqly-twig-theme .form-footer {
  margin: 19px 0 0;
  color: var(--swaqly-muted);
  text-align: center;
  font-size: 11px;
}

.swaqly-twig-theme .auth-extra {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--swaqly-border);
  border-radius: 10px;
  color: var(--swaqly-muted);
  background: rgba(17, 16, 26, .72);
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 820px) {
  .swaqly-twig-theme .auth-shell {
    display: block;
  }

  .swaqly-twig-theme .auth-brand {
    min-height: 330px;
    padding: 28px 22px 36px;
  }

  .swaqly-twig-theme .auth-brand > div {
    margin-top: 55px;
  }

  .swaqly-twig-theme .auth-brand h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .swaqly-twig-theme .auth-brand p {
    font-size: 12px;
  }

  .swaqly-twig-theme .auth-form-panel {
    min-height: calc(100vh - 330px);
    padding: 35px 18px 50px;
  }
}

@media (max-width: 480px) {
  .swaqly-twig-theme .auth-card {
    padding: 23px 17px;
  }

  .swaqly-twig-theme .auth-points {
    gap: 10px;
    font-size: 10px;
  }
}

/* Final Twig parity layer.
   It intentionally comes last so Perfect Panel's legacy theme cannot shrink
   the landing page, hide its text, or restore the old cyan announcement bar. */
body.swaqly-twig-theme {
  min-width: 320px;
  overflow-x: hidden;
  color: #fff;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif;
}

body.swaqly-twig-theme .preview-news-bar {
  position: relative !important;
  z-index: 100 !important;
  display: block !important;
  width: 100% !important;
  min-height: 34px !important;
  height: auto !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(139, 92, 246, .38) !important;
  background: #100d18 !important;
  box-shadow: none !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track {
  display: flex !important;
  width: max-content !important;
  min-height: 34px !important;
  align-items: center !important;
  gap: 58px !important;
  padding-inline: 28px !important;
  color: #d8d1f6 !important;
  font-family: "Alexandria", "Tajawal", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  animation: swaqly-preview-news-marquee 30s linear infinite !important;
  direction: rtl;
}

body.swaqly-twig-theme .preview-news-track span {
  display: inline-flex !important;
  min-width: max-content !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  margin: 0 !important;
  color: var(--swaqly-pink) !important;
  text-shadow: none !important;
}

@keyframes swaqly-preview-news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

body.swaqly-twig-theme .swaqly-public-shell {
  width: 100% !important;
  min-height: 0 !important;
  overflow: visible !important;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 92, 246, .1), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(236, 72, 153, .06), transparent 25rem),
    var(--swaqly-bg) !important;
}

body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  display: grid !important;
  width: min(1200px, calc(100% - 40px)) !important;
  min-height: 610px !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr) !important;
  align-items: center !important;
  gap: 70px !important;
  padding: 62px 0 !important;
  margin-inline: auto !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy,
body.swaqly-twig-theme .swaqly-public-login-card {
  position: relative !important;
  z-index: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1,
body.swaqly-twig-theme .swaqly-public-hero-copy > p,
body.swaqly-twig-theme .swaqly-public-hero-actions,
body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
  max-width: 690px !important;
  margin: 20px 0 15px !important;
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy h1 strong {
  display: inline !important;
  color: transparent !important;
  background: linear-gradient(100deg, var(--swaqly-violet-light), var(--swaqly-pink) 48%, var(--swaqly-extra-cyan)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px !important;
  margin: 0 !important;
  color: var(--swaqly-muted) !important;
  font-size: 15px !important;
  line-height: 2.1 !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn {
  display: inline-flex !important;
  width: auto !important;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 23px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-actions .btn-default {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04) !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 18px !important;
  color: #687488 !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.swaqly-twig-theme .swaqly-public-hero-meta i {
  color: #22c55e !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading,
body.swaqly-twig-theme .swaqly-public-section-heading h2,
body.swaqly-twig-theme .swaqly-public-section-heading p,
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-payment-grid span,
body.swaqly-twig-theme .swaqly-public-steps article,
body.swaqly-twig-theme .swaqly-public-review-grid article,
body.swaqly-twig-theme .swaqly-public-faq-list details,
body.swaqly-twig-theme .swaqly-public-final-cta {
  visibility: visible !important;
  opacity: 1 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  color: #fff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.45 !important;
}

body.swaqly-twig-theme .swaqly-public-section-heading p {
  color: var(--swaqly-muted) !important;
  font-size: 12px !important;
  line-height: 2 !important;
}

body.swaqly-twig-theme .swaqly-public-final-cta {
  display: flex !important;
  min-height: 130px !important;
  align-items: center !important;
}

/* Do not let old customization blocks hide server-rendered text. */
body.swaqly-twig-theme #block_330 h2,
body.swaqly-twig-theme #block_330 p,
body.swaqly-twig-theme #block_330 img,
body.swaqly-twig-theme #block_330 .text-block__title,
body.swaqly-twig-theme #block_330 .text-block__description,
body.swaqly-twig-theme #block_332 img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Keep the existing popup behavior, but remove the legacy cyan look. */
body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(139, 92, 246, .58) !important;
  background: radial-gradient(circle at 50% -15%, rgba(139, 92, 246, .24), transparent 42%), linear-gradient(145deg, #1b1628, #0d0b12 72%) !important;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65), 0 0 45px rgba(139, 92, 246, .15) !important;
}

body.swaqly-twig-theme .swaqly-popup h2 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(139, 92, 246, .35) !important;
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #c4b5fd !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a {
  border-color: rgba(236, 72, 153, .34) !important;
  border-radius: 8px !important;
  color: #fbcfe8 !important;
  background: rgba(236, 72, 153, .1) !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  background: rgba(139, 92, 246, .14) !important;
}

/* Native Perfect Panel pages that mirror the Swaqly dashboard experience. */
.swaqly-feature-page {
  width: min(1180px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page {
  width: min(960px, calc(100% - 30px));
  margin-inline: auto;
}

.swaqly-content-page .page-title {
  margin-bottom: 18px;
}

.swaqly-content-page .page-title h1 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 800;
}

.swaqly-content-page .page-title span,
.swaqly-content-page .page-title p {
  color: var(--muted);
  font-size: .68rem;
}

.swaqly-content-page .page-title p {
  margin: 0;
  line-height: 1.9;
}

.swaqly-rich-content {
  color: #e5e7eb;
  font-size: .72rem;
  line-height: 2.1;
}

.swaqly-rich-content h1,
.swaqly-rich-content h2,
.swaqly-rich-content h3,
.swaqly-rich-content h4 {
  margin: 18px 0 8px;
  color: #fff;
}

.swaqly-rich-content a {
  color: var(--main-bright);
}

.swaqly-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.swaqly-public-google-wrap {
  display: flex;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
}

.swaqly-public-google-wrap .g_id_signin {
  max-width: 100%;
}

.swaqly-feature-page .dash-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.swaqly-feature-page .dash-page-heading h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.swaqly-feature-page .dash-page-heading p,
.swaqly-feature-page .panel-heading span,
.swaqly-feature-page .mass-order-help {
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.9;
}

.affiliate-notice,
.subpanel-notice {
  margin-bottom: 16px;
}

.affiliate-link-card,
.affiliate-rate-cards,
.affiliate-stat-grid,
.mass-order-layout {
  display: grid;
  gap: 14px;
}

.affiliate-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 18px;
}

.affiliate-link-card > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.affiliate-link-card strong {
  overflow-wrap: anywhere;
  color: var(--main-bright);
  font-family: "Tajawal", sans-serif;
  font-size: .8rem;
}

.affiliate-rates {
  margin-bottom: 14px;
}

.affiliate-rate-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.affiliate-rate-cards > div,
.affiliate-stat-grid > .panel {
  display: grid;
  gap: 6px;
}

.affiliate-rate-cards > div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--theme-surface-2);
}

.affiliate-rate-cards span,
.affiliate-stat-grid span {
  color: var(--muted);
  font-size: .58rem;
}

.affiliate-rate-cards strong,
.affiliate-stat-grid strong {
  color: #fff;
  font-size: 1.1rem;
}

.affiliate-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.affiliate-earnings .btn {
  margin-top: 6px;
}

.affiliate-history .panel-heading {
  align-items: flex-start;
}

.affiliate-history .panel-heading > div {
  display: grid;
  gap: 5px;
}

.affiliate-history .panel-heading > strong {
  color: var(--main-bright);
  font-size: .85rem;
}

.mass-order-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, .75fr);
  align-items: start;
}

.mass-order-card,
.mass-order-guide,
.subpanel-card {
  display: grid;
  gap: 14px;
}

.mass-order-card .panel-heading,
.subpanel-card .panel-heading {
  margin-bottom: 0;
}

.mass-order-card form,
.subpanel-form {
  display: grid;
  gap: 11px;
}

.mass-order-card label,
.subpanel-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
}

.mass-order-card textarea {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  direction: ltr;
  text-align: left;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .68rem;
  line-height: 1.9;
}

.mass-order-card textarea:focus,
.subpanel-form input:focus,
.subpanel-form select:focus {
  border-color: var(--main);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

.mass-order-example,
.subpanel-nameservers {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--theme-surface-2);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-example strong,
.subpanel-nameservers strong {
  color: #fff;
}

.mass-order-example span {
  direction: ltr;
  color: var(--main-bright);
}

.mass-order-example small {
  color: var(--muted-2);
}

.mass-order-guide {
  position: sticky;
  top: 20px;
}

.mass-order-guide h3,
.subpanel-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.mass-order-guide ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.8;
}

.mass-order-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .58rem;
}

.mass-order-count strong {
  color: var(--main-bright);
  font-size: 1.3rem;
}

.updates-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.updates-type-picker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .6rem;
}

.updates-search {
  display: flex;
  flex: 0 1 390px;
  align-items: center;
  gap: 8px;
}

.updates-search > i {
  color: var(--muted);
}

.updates-search input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.updates-board {
  padding: 0;
  overflow: hidden;
}

.updates-head,
.update-row {
  display: grid;
  grid-template-columns: .65fr 1.5fr 2fr .85fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.updates-head {
  color: var(--muted);
  background: var(--theme-surface-2);
  font-size: .57rem;
  font-weight: 700;
}

.update-row {
  border-top: 1px solid var(--border);
  color: #fff;
  font-size: .62rem;
  line-height: 1.7;
}

.update-row strong {
  color: var(--main-bright);
}

.update-row time {
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.subpanel-card {
  max-width: 850px;
}

.subpanel-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--main-bright);
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 14px;
  font-size: 1.25rem;
}

.subpanel-card p {
  margin: 0;
  color: var(--muted);
  font-size: .64rem;
}

.subpanel-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subpanel-form input,
.subpanel-form select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: #0c0f14;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.subpanel-nameservers ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-inline-start: 18px;
  direction: ltr;
  text-align: left;
}

.swaqly-pagination {
  margin-top: 16px;
}

@media (max-width: 800px) {
  .affiliate-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mass-order-layout {
    grid-template-columns: 1fr;
  }

  .mass-order-guide {
    position: static;
  }
}

@media (max-width: 640px) {
  .swaqly-feature-page {
    width: min(100% - 22px, 560px);
  }

  .swaqly-feature-page .dash-page-heading {
    align-items: flex-start;
  }

  .affiliate-link-card,
  .updates-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-rate-cards,
  .subpanel-form-grid {
    grid-template-columns: 1fr;
  }

  .updates-search {
    flex-basis: auto;
  }

  .updates-head {
    display: none;
  }

  .update-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }

  .update-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .update-row time {
    text-align: left;
  }
}

@media (max-width: 980px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 640px) {
  body.swaqly-twig-theme .preview-news-track {
    gap: 36px !important;
    padding-inline: 18px !important;
    font-size: 9px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero {
    display: flex !important;
    width: min(100% - 22px, 560px) !important;
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 42px 0 34px !important;
  }

  body.swaqly-twig-theme .swaqly-public-hero-copy h1 {
    font-size: 30px !important;
    white-space: normal !important;
  }

  body.swaqly-twig-theme .swaqly-public-section-heading h2 {
    white-space: normal !important;
  }
}

/* Swaqly visual finish: colored icon tiles, stronger shell chrome,
   visible marquee, and the native Twig MP3 player. */
body.swaqly-twig-theme .swaqly-sidebar {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .17), transparent 190px),
    linear-gradient(180deg, #0f0b1c 0%, #06060a 80%) !important;
  border-left-color: rgba(167, 139, 250, .38) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link i {
  display: inline-grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #db2777) !important;
  box-shadow: 0 5px 14px rgba(124, 58, 237, .28) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(2) i {
  background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(3) i {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(4) i {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:nth-of-type(5) i {
  background: linear-gradient(135deg, #eab308, #f97316) !important;
}

body.swaqly-twig-theme .dashboard-sidebar .dashboard-link:hover i,
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link.active i {
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(236, 72, 153, .38) !important;
}

body.swaqly-twig-theme .dashboard-topbar {
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .16), transparent 230px),
    linear-gradient(90deg, #09080e, #151022 55%, #0b0911) !important;
  border-bottom-color: rgba(236, 72, 153, .3) !important;
}

body.swaqly-twig-theme .dashboard-heading h1 {
  background: linear-gradient(90deg, #fff, #d8b4fe 55%, #f9a8d4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.swaqly-twig-theme .notification-button,
body.swaqly-twig-theme .swaqly-currency > a {
  border-color: rgba(196, 181, 253, .42) !important;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .27), rgba(236, 72, 153, .13)) !important;
  box-shadow: 0 5px 18px rgba(139, 92, 246, .14) !important;
}

body.swaqly-twig-theme .notification-button i,
body.swaqly-twig-theme .swaqly-currency > a i {
  color: #f0abfc !important;
  filter: drop-shadow(0 0 6px rgba(236, 72, 153, .65));
}

body.swaqly-twig-theme .top-user .avatar {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15), 0 0 18px rgba(236, 72, 153, .4) !important;
}

body.swaqly-twig-theme .preview-news-bar {
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .17), transparent 32%, rgba(236, 72, 153, .13)),
    #0a0811 !important;
}

body.swaqly-twig-theme .preview-news-track .swaqly-news-icon {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  place-items: center !important;
  border: 1px solid rgba(236, 72, 153, .45) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 12px rgba(236, 72, 153, .28) !important;
}

body.swaqly-twig-theme .swaqly-public-shell {
  background:
    radial-gradient(circle at 8% 12%, rgba(124, 58, 237, .2), transparent 28rem),
    radial-gradient(circle at 92% 35%, rgba(236, 72, 153, .12), transparent 26rem),
    linear-gradient(180deg, #08070d, #050507 72%) !important;
}

body.swaqly-twig-theme .swaqly-public-hero {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgba(196, 181, 253, .38) !important;
  background:
    linear-gradient(135deg, rgba(14, 10, 27, .94), rgba(21, 10, 27, .88)),
    radial-gradient(circle at 78% 20%, rgba(236, 72, 153, .24), transparent 18rem) !important;
  box-shadow: 0 0 55px rgba(124, 58, 237, .2), 0 24px 70px rgba(0, 0, 0, .48) !important;
}

body.swaqly-twig-theme .swaqly-public-hero::after {
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(196, 181, 253, .08);
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(196, 181, 253, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(139, 92, 246, .3) !important;
  background: rgba(9, 7, 15, .9) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span {
  min-height: 42px !important;
  padding: 6px 13px 6px 9px !important;
  border-color: rgba(196, 181, 253, .22) !important;
  color: #f4efff !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(236, 72, 153, .08)) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid !important;
  width: 30px !important;
  height: 30px !important;
  place-items: center !important;
  border-radius: 9px !important;
  color: #fff !important;
  font-size: 15px !important;
  filter: none !important;
  box-shadow: 0 0 14px currentColor !important;
}

body.swaqly-twig-theme .platform-instagram > i {
  background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5) !important;
}
body.swaqly-twig-theme .platform-tiktok > i {
  background: linear-gradient(135deg, #111827, #111827 48%, #25f4ee) !important;
}
body.swaqly-twig-theme .platform-youtube > i {
  background: #ff0033 !important;
}
body.swaqly-twig-theme .platform-facebook > i {
  background: #1877f2 !important;
}
body.swaqly-twig-theme .platform-telegram > i {
  background: #229ed9 !important;
}
body.swaqly-twig-theme .platform-twitter > i {
  background: #111827 !important;
}
body.swaqly-twig-theme .platform-discord > i {
  background: #5865f2 !important;
}
body.swaqly-twig-theme .platform-spotify > i {
  background: #1db954 !important;
}

body.swaqly-twig-theme .swaqly-public-feature {
  position: relative !important;
  overflow: hidden !important;
  border-color: rgba(196, 181, 253, .24) !important;
  background: linear-gradient(145deg, rgba(25, 18, 42, .96), rgba(8, 7, 12, .98)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important;
}

body.swaqly-twig-theme .swaqly-public-feature::before {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .16);
  content: "";
  filter: blur(2px);
}

body.swaqly-twig-theme .swaqly-public-feature .swaqly-feature-icon {
  position: relative !important;
  z-index: 1;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 16px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 17px !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3), 0 0 22px rgba(139, 92, 246, .25) !important;
}

body.swaqly-twig-theme .feature-shield {
  background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
}
body.swaqly-twig-theme .feature-wallet {
  background: linear-gradient(135deg, #059669, #14b8a6) !important;
}
body.swaqly-twig-theme .feature-bolt {
  background: linear-gradient(135deg, #f97316, #ec4899) !important;
}
body.swaqly-twig-theme .feature-support {
  background: linear-gradient(135deg, #0891b2, #2563eb) !important;
}

body.swaqly-twig-theme .swaqly-quran-player {
  display: grid;
  width: min(1120px, calc(100% - 30px));
  grid-template-columns: minmax(260px, 1fr) auto minmax(190px, .8fr);
  align-items: center;
  gap: 18px;
  margin: 18px auto 4px;
  padding: 12px 15px;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(139, 92, 246, .2), transparent 18rem),
    linear-gradient(135deg, rgba(26, 18, 45, .96), rgba(9, 8, 14, .98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 25px rgba(139, 92, 246, .12);
  direction: rtl;
}

body.swaqly-twig-theme .swaqly-quran-player-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.swaqly-twig-theme .swaqly-quran-kicker {
  color: #f0abfc;
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme .swaqly-quran-kicker i {
  margin-left: 5px;
  color: #a78bfa;
}

body.swaqly-twig-theme .swaqly-quran-player-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme .swaqly-quran-player-info small {
  color: #a9a4bd;
  font-size: 10px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(196, 181, 253, .28);
  border-radius: 9px;
  color: #d8d1f6;
  background: rgba(139, 92, 246, .1);
  cursor: pointer;
  transition: .2s ease;
}

body.swaqly-twig-theme .swaqly-quran-player-controls button:hover {
  color: #fff;
  border-color: rgba(236, 72, 153, .58);
  background: linear-gradient(135deg, #7c3aed, #db2777);
  transform: translateY(-2px);
}

body.swaqly-twig-theme .swaqly-quran-player-controls .swaqly-quran-play {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 20px rgba(236, 72, 153, .32);
}

body.swaqly-twig-theme .swaqly-quran-player-progress {
  display: grid;
  gap: 7px;
}

body.swaqly-twig-theme .swaqly-quran-player-progress input {
  width: 100%;
  height: 4px;
  accent-color: #c026d3;
  cursor: pointer;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-quran-player {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  body.swaqly-twig-theme .swaqly-quran-player-controls {
    justify-content: center;
  }
}

/* Final authenticated-page surfaces.
   These selectors intentionally match the native Twig page templates so
   services, orders, add funds, and API keep the same Swaqly shell. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  direction: rtl;
  text-align: right;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 18px;
  padding: 0 2px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading h2 {
  margin: 4px 0 5px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading p {
  margin: 0;
  color: #a9a4bd;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .btn-primary {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, .23);
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .code-card {
  border: 1px solid rgba(139, 92, 246, .28);
  border-radius: 12px;
  color: #eeeaff;
  background: linear-gradient(145deg, rgba(25, 22, 36, .98), rgba(12, 11, 18, .98));
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .orders-board,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .addfunds-source-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .source-fund-history,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .api-reference-panel {
  margin-bottom: 18px;
  padding: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head h3,
body.swaqly-twig-theme.swaqly-authenticated .panel-heading h3,
body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.swaqly-twig-theme.swaqly-authenticated .panel-heading span {
  color: #a9a4bd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
body.swaqly-twig-theme.swaqly-authenticated .search-field {
  position: relative;
  width: min(100%, 310px);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools i,
body.swaqly-twig-theme.swaqly-authenticated .search-field i {
  position: absolute;
  top: 50%;
  right: 12px;
  color: #a78bfa;
  transform: translateY(-50%);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input,
body.swaqly-twig-theme.swaqly-authenticated .search-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 36px 0 12px;
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: #09090e;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input:focus,
body.swaqly-twig-theme.swaqly-authenticated .search-field input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, .1);
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 7px;
  color: #bcb5cf;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button:hover,
body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button.selected,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a:hover,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a.selected {
  border-color: rgba(236, 72, 153, .55);
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(219, 39, 119, .82));
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid small {
  color: #a78bfa;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .service-cards.dashboard-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, .22);
  border-radius: 10px;
  background: rgba(8, 8, 13, .58);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards h3 {
  min-height: 36px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards p {
  min-height: 38px;
  margin: 0 0 10px;
  color: #a9a4bd;
  font-size: 11px;
  line-height: 1.7;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #928aa4;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-copy-row strong,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-meta strong {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .btn {
  width: 100%;
  margin-top: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty,
body.swaqly-twig-theme.swaqly-authenticated .empty-state {
  display: grid;
  min-height: 145px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  color: #a9a4bd;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty i,
body.swaqly-twig-theme.swaqly-authenticated .empty-state i {
  color: #a78bfa;
  font-size: 28px;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-services-empty strong,
body.swaqly-twig-theme.swaqly-authenticated .empty-state strong {
  color: #fff;
  font-size: 14px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: 10px;
  background: rgba(17, 16, 26, .82);
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
  flex: 1 1 280px;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  margin: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .orders-source-notice {
  margin: 0 0 10px;
  color: #928aa4;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 10px;
  background: rgba(8, 8, 13, .62);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-date,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-head strong {
  color: #fff;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .13);
  font-size: 10px;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.complete {
  color: #86efac;
  background: rgba(34, 197, 94, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.canceled {
  color: #fca5a5;
  background: rgba(239, 68, 68, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service h3 {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-detail {
  min-height: 34px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #9d96ad;
  font-size: 10px;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-date span {
  color: #c4b5fd;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #91899f;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats span {
  display: grid;
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-stats strong {
  color: #fff;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-actions a {
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-layout > section {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form {
  display: grid;
  gap: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card form label {
  display: grid;
  gap: 7px;
  color: #aaa4b8;
  font-size: 11px;
  font-weight: 700;
}

body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-card .form-control {
  min-height: 42px;
  border: 1px solid rgba(139, 92, 246, .34);
  border-radius: 8px;
  color: #fff;
  background: #09090e;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .2);
  border-radius: 10px;
  color: #eeeaff !important;
  background: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content * {
  color: inherit !important;
  border-color: rgba(139, 92, 246, .22) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content > *,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content table,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content td,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content th {
  background-color: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content img {
  max-width: 100%;
  background: transparent !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr 1fr .7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #aaa4b8;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid:last-child {
  border-bottom: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
  color: #a78bfa;
  font-weight: 800;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid strong,
body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid a {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-authenticated .api-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-bottom: 16px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy,
body.swaqly-twig-theme.swaqly-authenticated .code-card {
  min-width: 0;
  padding: 20px;
}

body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-copy p {
  margin: 10px 0 16px;
  color: #aaa4b8;
  font-size: 12px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-features span {
  padding: 6px 9px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 7px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .08);
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .code-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c4b5fd;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-authenticated .live-dot {
  color: #86efac;
}

body.swaqly-twig-theme.swaqly-authenticated .code-card pre,
body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel pre {
  margin: 14px 0 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(139, 92, 246, .18);
  border-radius: 8px;
  color: #e9d5ff;
  background: #08080c !important;
  font-family: "Fira Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  direction: ltr;
  text-align: left;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table {
  min-width: 0;
  color: #d8d1e6;
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table th {
  width: 34%;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .api-reference-panel .table td {
  color: #c5bed2;
  background: rgba(8, 8, 13, .3);
}

@media (max-width: 900px) {
  body.swaqly-twig-theme.swaqly-authenticated .fund-layout,
  body.swaqly-twig-theme.swaqly-authenticated .api-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading .btn,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar .search-field {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }

  body.swaqly-twig-theme.swaqly-authenticated .fund-history-head {
    display: none;
  }
}

/* Public homepage alignment with the supplied Swaqly preview.
   Keep the top announcement/platform rails full width, while the main
   player, hero, and content sections stay centered and compact. */
body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
  width: min(560px, calc(100% - 30px));
  grid-template-columns: minmax(0, 1fr) auto minmax(120px, .7fr);
  gap: 10px;
  margin: 20px auto 12px;
  padding: 11px 14px;
  border-radius: 12px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-info small,
body.swaqly-twig-theme.swaqly-public .swaqly-quran-kicker {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls {
  gap: 5px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls button {
  width: 27px;
  height: 27px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-quran-player-controls .swaqly-quran-play {
  width: 34px;
  height: 34px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(620px, calc(100% - 30px));
  min-height: 340px;
  grid-template-columns: minmax(0, 1fr) minmax(135px, .48fr);
  gap: 22px;
  margin: 16px auto 20px;
  padding: 30px 25px;
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero h1 {
  margin: 7px 0 10px;
  font-size: clamp(24px, 3vw, 31px);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 330px;
  font-size: 11px;
  line-height: 1.9;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  gap: 7px;
  margin-top: 17px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-width: 105px;
  min-height: 35px;
  padding: 8px 11px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  gap: 8px;
  margin-top: 15px;
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: 150px;
  padding: 17px 13px;
  border-radius: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading {
  gap: 3px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading h2 {
  font-size: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-heading p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form label,
body.swaqly-twig-theme.swaqly-public .swaqly-public-login-footer {
  font-size: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form {
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 31px;
  padding: 6px 8px;
  font-size: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .btn {
  min-height: 33px;
  padding: 7px 8px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  width: min(620px, calc(100% - 30px));
  padding: 55px 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading {
  margin-bottom: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  font-size: 20px;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading p {
  max-width: 520px;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  min-height: 104px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 12px 8px;
  text-align: center;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong {
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  font-size: 8px;
  line-height: 1.6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list {
  max-width: 620px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  width: min(620px, calc(100% - 30px));
  padding: 24px 22px;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-quran-player {
    width: min(100% - 22px, 560px);
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    width: min(100% - 22px, 560px);
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 28px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: min(100% - 22px, 560px);
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calm visual parity pass: quiet the imported neon layer while preserving
   the original Perfect Panel markup, popup behavior, and public-page content. */
body.swaqly-twig-theme {
  --swaqly-panel-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

body.swaqly-twig-theme .swaqly-sidebar {
  box-shadow: -14px 0 34px rgba(0, 0, 0, .5), inset -1px 0 0 rgba(139, 92, 246, .12);
}
body.swaqly-twig-theme .swaqly-sidebar-link:hover {
  border-color: rgba(196, 181, 253, .25);
  background: rgba(139, 92, 246, .08);
  box-shadow: none;
  transform: none;
}
body.swaqly-twig-theme .swaqly-sidebar-link.active {
  box-shadow: none;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196, 181, 253, .28);
  border-radius: 9px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .48);
}
body.swaqly-twig-theme .notification-menu strong {
  color: #cbbbe9;
}
body.swaqly-twig-theme .notification-menu a {
  color: #b9a7e8;
}
body.swaqly-twig-theme .notification-dot {
  box-shadow: none;
}

body.swaqly-twig-theme .swaqly-popup {
  border-color: rgba(196, 181, 253, .28) !important;
  border-radius: 18px;
  background: #111119 !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .62) !important;
}
body.swaqly-twig-theme .swaqly-popup::before {
  border-color: rgba(255, 255, 255, .055) !important;
}
body.swaqly-twig-theme .liquid-frame,
body.swaqly-twig-theme #liquidCanvas,
body.swaqly-twig-theme #liquidCanvasOffer {
  opacity: 0 !important;
}
body.swaqly-twig-theme .swaqly-popup h2 {
  color: #f4f1fb !important;
  background: none !important;
  -webkit-text-fill-color: #f4f1fb !important;
}
body.swaqly-twig-theme .swaqly-popup .close-popup,
body.swaqly-twig-theme .swaqly-popup .minimize-popup {
  color: #cbbbe9 !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.whatsapp,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.bot,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.telegram,
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a.download-app {
  border-color: rgba(196, 181, 253, .18) !important;
  color: #d7ccef !important;
  background: #191821 !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .swaqly-popup .swaqly-buttons a:hover {
  border-color: rgba(196, 181, 253, .38) !important;
  background: #211d2b !important;
}

body.swaqly-twig-theme .swaqly-public-platforms {
  background: #0b0c11;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  padding: 7px 12px 7px 9px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #101118;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top-color: rgba(255, 255, 255, .07);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before {
  display: none;
}
body.swaqly-twig-theme .swaqly-public-feature,
body.swaqly-twig-theme .swaqly-public-hero-card {
  border-color: rgba(255, 255, 255, .1);
  background: #101117;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-feature:hover,
body.swaqly-twig-theme .swaqly-public-hero-card:hover {
  border-color: rgba(196, 181, 253, .36);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  border-color: rgba(196, 181, 253, .24);
  background: #15151e;
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-public-shell .swaqly-footer,
body.swaqly-twig-theme .swaqly-footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #08090d;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-footer .container {
  min-height: 46px;
  gap: 18px;
  color: #697386;
}
body.swaqly-twig-theme .swaqly-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(130px, .7fr));
  gap: 42px;
  padding-bottom: 38px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand p {
  margin: 12px 0 0;
  color: #697386;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-footer .footer-brand .brand-logo {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.swaqly-twig-theme .swaqly-footer .footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: #8e9aab;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-status i { color: #78c99a; }
body.swaqly-twig-theme .swaqly-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column h4 {
  margin: 0 0 7px;
  color: #e5e7eb;
  font-size: 12px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a {
  color: #8e96a8;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-footer .footer-column a:hover { color: #cbbbe9; }
body.swaqly-twig-theme .swaqly-footer .copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #697386;
  text-align: center;
  font-size: 10px;
}
body.swaqly-twig-theme .swaqly-popup .minimize-popup { display: none; }
body.swaqly-twig-theme .swaqly-popup .close-popup {
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #a5a8b6 !important;
  background: #191922;
  font-size: 18px;
}
body.swaqly-twig-theme .swaqly-popup .close-popup:hover {
  border-color: rgba(196,181,253,.38);
  background: #211d2b;
}
body.swaqly-twig-theme .popup-home-images,
body.swaqly-twig-theme .swaqly-icons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
}
body.swaqly-twig-theme .popup-home-images a,
body.swaqly-twig-theme .swaqly-icons img {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(196,181,253,.2);
  border-radius: 12px;
  background: #1a1923;
}
body.swaqly-twig-theme .popup-home-images img,
body.swaqly-twig-theme .swaqly-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
body.swaqly-twig-theme .popup-home-images img:hover,
body.swaqly-twig-theme .swaqly-icons img:hover { transform: none; }
body.swaqly-twig-theme .swaqly-popup .primary-line {
  border-bottom-color: rgba(196,181,253,.18) !important;
  color: #d7ccef !important;
}
body.swaqly-twig-theme .swaqly-popup p { color: #a0aec0; }
body.swaqly-twig-theme .swaqly-feature-page .panel,
body.swaqly-twig-theme .swaqly-content-page .panel,
body.swaqly-twig-theme .swaqly-content-page .card {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: var(--swaqly-panel-shadow);
}
body.swaqly-twig-theme .swaqly-feature-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .panel:hover,
body.swaqly-twig-theme .swaqly-content-page .card:hover {
  border-color: rgba(196, 181, 253, .34);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  body.swaqly-twig-theme .swaqly-footer .footer-brand {
    grid-column: 1 / -1;
  }
  body.swaqly-twig-theme .swaqly-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Source-preview lock.
   This is intentionally the last layer: it maps the native Twig markup to
   the same measurements used by the open Swaqly preview, instead of styling
   the old imported theme as a separate product. */
body.swaqly-twig-theme {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --accent: #ec4899;
  --main-soft: rgba(139,92,246,.13);
  --bg: #0b0e13;
  --card: #11151c;
  --border: rgba(255,255,255,.09);
}
body.swaqly-twig-theme::before { opacity: .1; }
body.swaqly-twig-theme::after {
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.07), transparent 28rem),
    linear-gradient(180deg, rgba(11,14,19,.9), rgba(11,14,19,.98));
}

body.swaqly-twig-theme .swaqly-public-shell {
  background: transparent;
}
body.swaqly-twig-theme .swaqly-public-shell > .swaqly-page-content {
  min-height: 0;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-public-hero {
  display: grid;
  width: 100%;
  min-height: 610px;
  grid-template-columns: minmax(0,1.05fr) minmax(350px,.95fr);
  gap: 70px;
  margin: 0;
  padding: 62px max(20px, calc((100% - 1200px) / 2));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(139,92,246,.13), transparent 38%),
    radial-gradient(circle at 84% 70%, rgba(229,9,20,.07), transparent 30%);
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-public-hero-copy {
  max-width: 690px;
  direction: rtl;
}
body.swaqly-twig-theme .swaqly-public-hero h1 {
  margin: 20px 0 15px;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(1.8rem,3.4vw,3.05rem);
  line-height: 1.35;
}
body.swaqly-twig-theme .swaqly-public-hero-copy > p {
  max-width: 570px;
  font-size: .9rem;
  line-height: 2.1;
}
body.swaqly-twig-theme .swaqly-public-hero-actions { margin-top: 0; }
body.swaqly-twig-theme .swaqly-public-hero-meta { margin-top: 17px; }
body.swaqly-twig-theme .swaqly-public-login-card {
  padding: 30px;
  border-color: rgba(255,255,255,.09);
  border-radius: 18px;
  background: #050507;
  box-shadow: 0 22px 60px rgba(0,0,0,.6);
}
body.swaqly-twig-theme .swaqly-public-platforms {
  border-block-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.02);
}
body.swaqly-twig-theme .swaqly-public-platform-track {
  gap: 10px;
  padding: 14px 0;
}
body.swaqly-twig-theme .swaqly-public-platform-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 9px;
  border-color: rgba(255,255,255,.1);
  border-radius: 10px;
  background: #101118;
  font-size: 11px;
}
body.swaqly-twig-theme .swaqly-public-platform-track span > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #181923;
  filter: none;
}
body.swaqly-twig-theme .swaqly-public-section {
  width: 100%;
  padding: 76px max(20px, calc((100% - 1200px) / 2));
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section {
  border-top: 1px solid rgba(255,255,255,.06);
}
body.swaqly-twig-theme .swaqly-public-section + .swaqly-public-section::before { display: none; }
body.swaqly-twig-theme .swaqly-public-section-heading { margin-bottom: 45px; }
body.swaqly-twig-theme .swaqly-public-section-heading h2 {
  margin: 9px 0 7px;
  font-size: clamp(1.35rem,2.4vw,2rem);
  white-space: nowrap;
}
body.swaqly-twig-theme .swaqly-public-section-heading p { font-size: .78rem; }
body.swaqly-twig-theme .swaqly-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
body.swaqly-twig-theme .swaqly-public-feature {
  display: block;
  min-height: 195px;
  padding: 25px 20px;
  border-color: rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .swaqly-public-feature > i {
  width: 49px;
  height: 49px;
  margin: 0 auto 14px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 12px;
  background: rgba(139,92,246,.13);
}
body.swaqly-twig-theme .swaqly-public-feature div {
  display: block;
}
body.swaqly-twig-theme .swaqly-public-feature strong {
  display: block;
  font-size: .88rem;
}
body.swaqly-twig-theme .swaqly-public-feature span {
  display: block;
  margin-top: 7px;
  font-size: .68rem;
  line-height: 1.9;
}
body.swaqly-twig-theme .swaqly-public-payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 30px auto 0;
}
body.swaqly-twig-theme .swaqly-public-payment-grid span {
  display: grid;
  min-width: 135px;
  min-height: 72px;
  flex: 1 1 135px;
  max-width: 205px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #11151c;
  color: #e8e4f5;
  font-size: .76rem;
}
body.swaqly-twig-theme .swaqly-public-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}
body.swaqly-twig-theme .swaqly-public-steps article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 22px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-steps article > b {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #8b5cf6;
  font-size: .92rem;
}
body.swaqly-twig-theme .swaqly-public-steps h3 { margin: 4px 0 0; font-size: .82rem; }
body.swaqly-twig-theme .swaqly-public-steps p { margin-top: 8px; font-size: .66rem; line-height: 1.9; }
body.swaqly-twig-theme .swaqly-public-review-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
body.swaqly-twig-theme .swaqly-public-review-grid article {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #11151c;
}
body.swaqly-twig-theme .swaqly-public-final-cta {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 76px;
  padding: 34px;
  border: 1px solid rgba(196,181,253,.24);
  border-radius: 17px;
  background: #15151e;
}

/* Match the compact authenticated preview dimensions exactly. */
body.swaqly-twig-theme .dashboard-sidebar {
  width: 190px !important;
  flex-basis: 190px !important;
  padding: 9px 8px 10px !important;
  background: #050507 !important;
}
body.swaqly-twig-theme .dashboard-sidebar .sidebar-brand { margin-bottom: 8px; }
body.swaqly-twig-theme .dashboard-sidebar .brand-mark { width: 31px; height: 31px; font-size: 1.1rem; }
body.swaqly-twig-theme .dashboard-sidebar .dashboard-link {
  min-height: 30px;
  padding-inline: 7px;
  border-radius: 5px;
  font-size: .54rem;
}
body.swaqly-twig-theme .dashboard-topbar {
  min-height: 44px !important;
  padding-inline: 11px !important;
  background: #07070a !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.42) !important;
}
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading h1 { font-size: .72rem; }
body.swaqly-twig-theme .dashboard-topbar .dashboard-heading p { font-size: .44rem; }
body.swaqly-twig-theme .dashboard-content {
  width: calc(100% - 28px) !important;
  max-width: 1320px !important;
  padding-top: 15px !important;
}
body.swaqly-twig-theme .dashboard-content .panel,
body.swaqly-twig-theme .dashboard-content .well,
body.swaqly-twig-theme .dashboard-content .well-float,
body.swaqly-twig-theme .dashboard-content .dash-stat {
  border-color: rgba(255,255,255,.1) !important;
  background: #050507 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.25) !important;
}
body.swaqly-twig-theme .notification-menu {
  border-color: rgba(196,181,253,.28) !important;
  background: #15151d !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.48) !important;
}
body.swaqly-twig-theme .notification-dot { box-shadow: none !important; }
body.swaqly-twig-theme .dashboard-content .btn-primary,
body.swaqly-twig-theme .dashboard-content .dashboard-link.active {
  box-shadow: none !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .swaqly-public-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section {
    padding: 55px 20px;
  }
  body.swaqly-twig-theme .swaqly-public-section-heading h2 { white-space: normal; }
  body.swaqly-twig-theme .swaqly-public-feature-grid,
  body.swaqly-twig-theme .swaqly-public-steps {
    grid-template-columns: repeat(2,1fr);
  }
  body.swaqly-twig-theme .swaqly-public-review-grid { grid-template-columns: 1fr; }
  body.swaqly-twig-theme .swaqly-public-final-cta {
    width: calc(100% - 40px);
    margin-bottom: 55px;
    padding: 23px 18px;
  }
}

/* Native New Order parity.
   The form below is still Perfect Panel's native form; these rules only map
   its server-rendered fields to the open preview's complete page composition. */
body.swaqly-twig-theme .dashboard-content > .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  direction: rtl;
}
body.swaqly-twig-theme .new-order-source-top {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a {
  min-height: 32px;
  border-color: rgba(139,92,246,.34);
  border-radius: 6px;
  background: #11121a;
  box-shadow: none;
  font-size: .54rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a:hover {
  border-color: var(--main-bright);
  background: rgba(139,92,246,.14);
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row a > i {
  color: var(--main-bright);
  font-size: .78rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-support-row span {
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: #11121a !important;
  box-shadow: none !important;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div {
  min-width: 0;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > span,
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > small {
  display: block;
  color: var(--muted);
  font-size: .46rem;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > div > strong {
  display: block;
  overflow: hidden;
  margin: 4px 0 2px;
  color: #f4f0ff;
  font-family: "Tajawal", sans-serif;
  font-size: .85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--main-bright);
  border: 1px solid rgba(139,92,246,.28);
  border-radius: 7px;
  background: rgba(139,92,246,.1);
  font-size: .72rem;
}
body.swaqly-twig-theme .new-order-source-top .dash-stat.balance-stat {
  border-color: rgba(236,72,153,.32);
}
body.swaqly-twig-theme .new-order-source-top .balance-stat > i {
  color: #f9a8d4;
  border-color: rgba(236,72,153,.34);
  background: rgba(236,72,153,.1);
}
body.swaqly-twig-theme .new-order-source-top .stat-add-funds {
  display: inline-flex;
  margin-top: 2px;
  color: var(--main-bright);
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce {
  min-height: 42px;
  margin-bottom: 0;
  padding: 8px 12px;
  border-color: rgba(139,92,246,.3);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(139,92,246,.14), rgba(17,18,26,.94));
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce strong {
  font-size: .58rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce span {
  font-size: .47rem;
}
body.swaqly-twig-theme .new-order-source-top .dashboard-announce .btn {
  min-height: 27px;
  padding-inline: 12px;
  font-size: .5rem;
}
body.swaqly-twig-theme .source-order-layout {
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr);
  gap: 10px;
  padding-top: 0;
  align-items: stretch;
}
body.swaqly-twig-theme .source-order-guide,
body.swaqly-twig-theme .source-order-form {
  min-height: 0;
  margin: 0;
  border: 1px solid rgba(139,92,246,.32);
  border-radius: 8px;
  background: #11121a;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
body.swaqly-twig-theme .source-order-guide {
  display: flex;
  align-items: stretch;
  padding: 19px 16px 14px;
  text-align: right;
}
body.swaqly-twig-theme .source-order-guide .source-guide-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 11px;
  border: 3px solid var(--main);
  box-shadow: 0 0 0 5px rgba(139,92,246,.09);
}
body.swaqly-twig-theme .source-order-guide .source-guide-logo .brand-mark {
  width: 43px;
  height: 43px;
  font-size: 1.65rem;
}
body.swaqly-twig-theme .source-order-guide .swaqly-eyebrow {
  align-self: center;
  font-size: .45rem;
}
body.swaqly-twig-theme .source-order-guide h1 {
  align-self: center;
  margin: 5px 0 3px;
  color: #f4f0ff;
  font-size: .9rem;
}
body.swaqly-twig-theme .source-order-guide > p {
  align-self: center;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: .54rem;
  line-height: 1.7;
}
body.swaqly-twig-theme .source-order-guide ol {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.swaqly-twig-theme .source-order-guide li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #d9d4e6;
  font-size: .52rem;
  line-height: 1.75;
}
body.swaqly-twig-theme .source-order-guide li > span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--main);
  font-size: .46rem;
  font-weight: 800;
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 9px;
  border: 1px solid rgba(139,92,246,.23);
  border-radius: 5px;
  background: rgba(139,92,246,.08);
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note span {
  color: var(--muted);
  font-size: .5rem;
}
body.swaqly-twig-theme .source-order-guide .swaqly-guide-note strong {
  color: var(--main-bright);
  font-size: .66rem;
}
body.swaqly-twig-theme .source-order-guide > .btn {
  min-height: 31px;
  margin-top: 10px;
  font-size: .54rem;
}
body.swaqly-twig-theme .source-order-form {
  display: block;
  padding: 16px;
}
body.swaqly-twig-theme .swaqly-order-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.swaqly-twig-theme .swaqly-order-heading .swaqly-eyebrow {
  color: var(--main-bright);
  font-size: .47rem;
}
body.swaqly-twig-theme .swaqly-order-heading h2 {
  margin: 4px 0 3px;
  color: #f4f0ff;
  font-size: .9rem;
}
body.swaqly-twig-theme .swaqly-order-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .52rem;
}
body.swaqly-twig-theme .swaqly-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px 7px;
  color: #d9ccff;
  border: 1px solid rgba(139,92,246,.26);
  border-radius: 5px;
  background: rgba(139,92,246,.1);
  font-size: .47rem;
}
body.swaqly-twig-theme .swaqly-order-badge i {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.swaqly-twig-theme .swaqly-order-form .form-group {
  margin: 0;
}
body.swaqly-twig-theme .swaqly-order-form .control-label,
body.swaqly-twig-theme .swaqly-order-form label {
  display: block;
  margin-bottom: 5px;
  color: #d9d4e6;
  font-size: .53rem;
  font-weight: 600;
}
body.swaqly-twig-theme .swaqly-order-form .form-control,
body.swaqly-twig-theme .swaqly-order-form select,
body.swaqly-twig-theme .swaqly-order-form input[type="text"],
body.swaqly-twig-theme .swaqly-order-form input[type="number"],
body.swaqly-twig-theme .swaqly-order-form textarea {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  color: #f4f0ff;
  border: 1px solid rgba(139,92,246,.32);
  border-radius: 5px;
  outline: 0;
  background: #090a0f;
  box-shadow: none;
  font-size: .54rem;
}
body.swaqly-twig-theme .swaqly-order-form .form-control:focus,
body.swaqly-twig-theme .swaqly-order-form select:focus,
body.swaqly-twig-theme .swaqly-order-form input:focus,
body.swaqly-twig-theme .swaqly-order-form textarea:focus {
  border-color: var(--main-bright);
  box-shadow: 0 0 0 2px rgba(139,92,246,.1);
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown .input-wrapper {
  margin-bottom: 0;
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown .input-wrapper > button {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form .search-dropdown input {
  padding-inline-start: 31px;
}
body.swaqly-twig-theme .swaqly-order-form #service_description .panel-body {
  min-height: 45px;
  padding: 9px;
  color: var(--muted);
  border-color: rgba(139,92,246,.22);
  background: #090a0f;
  font-size: .52rem;
  line-height: 1.8;
}
body.swaqly-twig-theme .swaqly-order-form #fields {
  display: grid;
  gap: 9px;
}
body.swaqly-twig-theme .swaqly-order-form #fields .form-group {
  margin: 0;
}
body.swaqly-twig-theme .swaqly-order-form #charge {
  color: var(--main-bright);
  background: rgba(139,92,246,.08);
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
}
body.swaqly-twig-theme .swaqly-order-form .terms {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .5rem;
  font-weight: 400;
}
body.swaqly-twig-theme .swaqly-order-form .terms input {
  accent-color: var(--main);
}
body.swaqly-twig-theme .swaqly-order-form .terms a {
  color: var(--main-bright);
}
body.swaqly-twig-theme .swaqly-order-form > .btn {
  min-height: 35px;
  margin-top: 2px;
  border-radius: 5px;
  font-size: .57rem;
}
body.swaqly-twig-theme .swaqly-order-form .alert {
  margin: 0;
  padding: 9px 11px;
  border-radius: 5px;
  font-size: .52rem;
  line-height: 1.75;
}
body.swaqly-twig-theme .swaqly-order-form .alert h4 {
  margin: 0 0 4px;
  font-size: .6rem;
}
body.swaqly-twig-theme .swaqly-neworder-text {
  width: 100%;
  margin-top: 10px;
  padding: 0;
}
body.swaqly-twig-theme .swaqly-neworder-text .well {
  margin: 0;
  border-color: rgba(255,255,255,.09);
  background: #11121a;
  font-size: .58rem;
  line-height: 1.9;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme .new-order-source-top .dashboard-support-row,
  body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  body.swaqly-twig-theme .new-order-source-top .dashboard-announce {
    align-items: flex-start;
    flex-direction: column;
  }
  body.swaqly-twig-theme .new-order-source-top .dashboard-announce .btn {
    width: 100%;
  }
  body.swaqly-twig-theme .source-order-layout {
    grid-template-columns: 1fr;
  }
  body.swaqly-twig-theme .source-order-form {
    order: -1;
  }
}
@media (max-width: 430px) {
  body.swaqly-twig-theme .new-order-source-top .dashboard-support-row,
  body.swaqly-twig-theme .new-order-source-top .dashboard-stat-grid {
    grid-template-columns: 1fr;
  }
  body.swaqly-twig-theme .source-order-form {
    padding: 12px;
  }
  body.swaqly-twig-theme .swaqly-order-heading {
    display: block;
  }
  body.swaqly-twig-theme .swaqly-order-badge {
    margin-top: 9px;
  }
}

/* Shared dashboard controls copied from the open Swaqly shell. */
body.swaqly-twig-theme .dashboard-shell {
  --main: #8b5cf6;
  --main-bright: #a78bfa;
  --main-glow: rgba(139,92,246,.34);
  --main-soft: rgba(139,92,246,.13);
  --accent: #ec4899;
  --accent-soft: rgba(236,72,153,.13);
}
body.swaqly-twig-theme .dashboard-shell[data-theme="indigo"] {
  --main: #6366f1;
  --main-bright: #a5b4fc;
  --main-glow: rgba(99,102,241,.34);
  --main-soft: rgba(99,102,241,.13);
  --accent: #c084fc;
  --accent-soft: rgba(192,132,252,.13);
}
body.swaqly-twig-theme .dashboard-shell[data-theme="plum"] {
  --main: #a855f7;
  --main-bright: #d8b4fe;
  --main-glow: rgba(168,85,247,.36);
  --main-soft: rgba(168,85,247,.14);
  --accent: #f472b6;
  --accent-soft: rgba(244,114,182,.14);
}
body.swaqly-twig-theme .sidebar-close-btn {
  display: none;
  position: absolute;
  top: 9px;
  left: 8px;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
}
body.swaqly-twig-theme .theme-sidebar-link {
  width: 100%;
  margin-top: 5px;
  border: 0;
  background: transparent;
  text-align: right;
}
body.swaqly-twig-theme .theme-sidebar-link[aria-expanded="true"] {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-picker {
  position: relative;
}
body.swaqly-twig-theme .theme-toggle {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--main-bright);
  border: 1px solid color-mix(in srgb, var(--main) 55%, transparent);
  border-radius: 7px;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100;
  display: grid;
  min-width: 125px;
  gap: 4px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--main) 45%, transparent);
  border-radius: 8px;
  background: #15151d;
  box-shadow: 0 18px 36px rgba(0,0,0,.48);
}
body.swaqly-twig-theme .theme-menu[hidden] {
  display: none;
}
body.swaqly-twig-theme .theme-menu strong {
  padding: 2px 5px 5px;
  color: #e8e1f8;
  font-size: .53rem;
}
body.swaqly-twig-theme .theme-menu button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 6px;
  color: var(--muted);
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: right;
  font-size: .5rem;
}
body.swaqly-twig-theme .theme-menu button:hover,
body.swaqly-twig-theme .theme-menu button.selected {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .theme-swatch {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
}
body.swaqly-twig-theme .theme-swatch.violet { background: linear-gradient(135deg,#8b5cf6,#ec4899); }
body.swaqly-twig-theme .theme-swatch.indigo { background: linear-gradient(135deg,#6366f1,#c084fc); }
body.swaqly-twig-theme .theme-swatch.plum { background: linear-gradient(135deg,#a855f7,#f472b6); }
body.swaqly-twig-theme .balance-card {
  position: relative;
}
body.swaqly-twig-theme .balance-card .balance-visibility {
  position: absolute;
  top: 7px;
  left: 6px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  padding: 0;
  color: var(--main-bright);
  border: 1px solid color-mix(in srgb, var(--main) 42%, transparent);
  border-radius: 4px;
  background: transparent;
  font-size: .55rem;
}
body.swaqly-twig-theme .balance-card .balance-visibility:hover {
  color: #fff;
  background: var(--main-soft);
}
body.swaqly-twig-theme .signout-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-top: 6px;
  padding: 0 7px;
  color: var(--muted);
  border-radius: 5px;
  font-size: .52rem;
}
body.swaqly-twig-theme .signout-link:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
  text-decoration: none;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user > div {
  display: grid;
  gap: 2px;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user strong {
  color: #f4f0ff;
  font-size: .55rem;
}
body.swaqly-twig-theme .swaqly-panel-actions .top-user span:not(.avatar) {
  color: var(--muted);
  font-size: .45rem;
}
body.swaqly-twig-theme .dashboard-floating-support {
  position: fixed;
  right: auto;
  left: 17px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  gap: 8px;
}
body.swaqly-twig-theme .dashboard-floating-support a {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 5px 18px var(--main-glow);
}
body.swaqly-twig-theme .dashboard-floating-support a:first-child {
  background: #20bd5a;
  box-shadow: 0 5px 18px rgba(32,189,90,.3);
}
body.swaqly-twig-theme .dashboard-floating-support i {
  font-size: .9rem;
}
@media (max-width: 760px) {
  body.swaqly-twig-theme .sidebar-close-btn {
    display: grid;
  }
  body.swaqly-twig-theme .dashboard-floating-support {
    left: 11px;
    bottom: 12px;
  }
}

/* Final public-home layout pass.
   Keep the native Perfect Panel markup, but make the public shell feel like
   one intentional Swaqly landing page at every viewport size. */
body.swaqly-twig-theme.swaqly-public {
  min-width: 320px;
  overflow-x: hidden;
  background: #050507;
}

body.swaqly-twig-theme.swaqly-public::before {
  z-index: -2;
  opacity: .72;
  background:
    radial-gradient(circle at 14% 18%, rgba(124, 58, 237, .22), transparent 25rem),
    radial-gradient(circle at 82% 28%, rgba(236, 72, 153, .13), transparent 23rem),
    radial-gradient(circle at 62% 86%, rgba(34, 211, 238, .08), transparent 22rem);
  background-size: 135% 135%, 145% 145%, 155% 155%;
  animation: swaqly-public-ambient 18s ease-in-out infinite alternate;
}

body.swaqly-twig-theme.swaqly-public::after {
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(5, 5, 7, .82), rgba(8, 7, 13, .9) 52%, rgba(5, 5, 7, .96)),
    repeating-linear-gradient(125deg, transparent 0 72px, rgba(167, 139, 250, .025) 73px, transparent 74px);
}

@keyframes swaqly-public-ambient {
  0% { background-position: 0% 0%, 100% 30%, 50% 100%; }
  50% { background-position: 18% 12%, 82% 45%, 42% 78%; }
  100% { background-position: 5% 24%, 92% 18%, 58% 90%; }
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 12%, rgba(139, 92, 246, .11), transparent 28rem),
    radial-gradient(circle at 92% 54%, rgba(236, 72, 153, .07), transparent 26rem),
    transparent;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-navbar,
body.swaqly-twig-theme.swaqly-public .swaqly-public-platforms,
body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta,
body.swaqly-twig-theme.swaqly-public .swaqly-footer {
  position: relative;
  z-index: 1;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 650px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(38px, 6vw, 84px);
  margin: 0 auto;
  padding: 84px 0 78px;
  border: 0;
  background:
    radial-gradient(circle at 14% 25%, rgba(139, 92, 246, .15), transparent 28rem),
    radial-gradient(circle at 86% 72%, rgba(236, 72, 153, .08), transparent 23rem),
    transparent;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero::before {
  opacity: .22;
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy h1 {
  max-width: 100%;
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.25;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
  max-width: 620px;
  color: #b8b2c8;
  font-size: 14px;
  line-height: 2;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
  margin-top: 24px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
  min-height: 46px;
  padding-inline: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
  margin-top: 20px;
  color: #9d96ae;
  font-size: 11px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta i {
  color: #c4b5fd;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature,
body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list details,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  border: 1px solid rgba(196, 181, 253, .2);
  background: #050507;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .44), 0 0 22px rgba(139, 92, 246, .07);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
  width: min(100%, 410px);
  justify-self: end;
  padding: 32px;
  border-color: rgba(196, 181, 253, .32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(11, 10, 16, .98), rgba(3, 3, 5, .99)),
    #050507;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card::before,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature::after,
body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(196, 181, 253, .055), transparent 76%);
  content: "";
  pointer-events: none;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-form-icon {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 22px rgba(139, 92, 246, .3);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control {
  min-height: 44px;
  border-color: rgba(196, 181, 253, .18);
  border-radius: 8px;
  background: #08080b;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-login-form .form-control:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .14);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-platforms {
  border-block-color: rgba(196, 181, 253, .14);
  background: rgba(5, 5, 7, .76);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-platform-track span {
  border-color: rgba(196, 181, 253, .18);
  background: #09090c;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  padding-top: 86px;
  padding-bottom: 86px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  max-width: 800px;
  margin-inline: auto;
  color: #fff;
  white-space: normal;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  gap: 18px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  position: relative;
  min-height: 205px;
  padding: 27px 21px;
  overflow: hidden;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature > i {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin-bottom: 15px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .34), 0 0 20px rgba(139, 92, 246, .24);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(2) > i {
  background: linear-gradient(135deg, #047857, #14b8a6);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(3) > i {
  background: linear-gradient(135deg, #ea580c, #ec4899);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature:nth-child(4) > i {
  background: linear-gradient(135deg, #0369a1, #2563eb);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong,
body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span {
  position: relative;
  z-index: 1;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article {
  border-radius: 14px;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span {
  min-height: 78px;
  color: #e8e4f5;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article > b {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 18px rgba(139, 92, 246, .25);
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid article {
  border-right: 3px solid #8b5cf6;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-faq-list details {
  overflow: hidden;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 78px;
  padding: 38px;
  border-color: rgba(196, 181, 253, .28);
}

@media (max-width: 980px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
    gap: 34px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-public .swaqly-public-navbar .container {
    width: calc(100% - 28px);
    max-width: none;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    display: flex;
    width: calc(100% - 28px);
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding: 54px 0 48px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.35;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-copy > p {
    font-size: 13px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-actions .btn {
    width: 100%;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero-meta {
    justify-content: center;
    font-size: 10px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-login-card {
    width: 100%;
    padding: 24px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
    width: 100%;
    padding: 58px 14px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
    min-height: 0;
    padding: 23px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span {
    min-width: 0;
    min-height: 64px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
    grid-template-columns: 1fr;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: calc(100% - 28px);
    margin-bottom: 54px;
    padding: 25px 18px;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.swaqly-twig-theme.swaqly-public::before,
  body.swaqly-twig-theme.swaqly-public .preview-news-track,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-platform-track {
    animation: none !important;
  }
}

/* Final native Twig shell geometry.
   Keep the authenticated rail readable; the earlier screenshot-parity
   experiment made it too narrow and reduced its labels to unreadable sizes. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
  width: 246px !important;
  flex: 0 0 246px !important;
  padding: 14px 12px 16px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .sidebar-brand {
  min-height: 42px !important;
  margin-bottom: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link {
  min-height: 38px !important;
  gap: 10px !important;
  padding-inline: 11px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link i,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link i {
  width: 18px !important;
  flex: 0 0 18px !important;
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .swaqly-sidebar-label {
  margin: 20px 8px 8px !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card {
  min-height: 56px !important;
  padding: 9px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card strong {
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card small {
  font-size: 10px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card {
  padding: 14px 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card span {
  font-size: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card strong {
  font-size: 19px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card a,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .signout-link {
  font-size: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar {
  min-height: 68px !important;
  padding-inline: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar .dashboard-heading h1 {
  font-size: 19px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar .dashboard-heading p {
  font-size: 10px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: min(1240px, calc(100% - 44px)) !important;
  max-width: 1240px !important;
  padding-top: 24px !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    width: 270px !important;
    flex-basis: 270px !important;
    padding: 14px 12px 16px !important;
  }
}

/* Final compact authenticated rail. This must stay last so legacy preview
   parity rules cannot expand the native Twig sidebar again. */
@media (min-width: 761px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    width: 204px !important;
    flex: 0 0 204px !important;
    padding: 12px 10px 14px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .sidebar-brand {
    min-height: 38px !important;
    margin-bottom: 10px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .brand-mark {
    width: 31px !important;
    height: 31px !important;
    font-size: 16px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .brand-name {
    font-size: 14px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link {
    min-height: 35px !important;
    gap: 8px !important;
    padding-inline: 9px !important;
    border-radius: 7px !important;
    font-size: 11px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link i,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link i {
    width: 16px !important;
    flex-basis: 16px !important;
    font-size: 12px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .swaqly-sidebar-label {
    margin: 15px 7px 6px !important;
    font-size: 9px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card {
    min-height: 49px !important;
    gap: 7px !important;
    padding: 7px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card strong {
    font-size: 11px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card small {
    font-size: 9px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card {
    padding: 11px 9px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card span {
    font-size: 10px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card strong {
    font-size: 17px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card a,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .signout-link {
    font-size: 10px !important;
  }
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    width: 232px !important;
    flex-basis: 232px !important;
    padding: 12px 10px 14px !important;
  }
}

body.swaqly-twig-theme .dashboard-balance-topbar {
  display: inline-flex !important;
  min-height: 34px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 9px !important;
  color: #ddd6fe !important;
  border: 1px solid rgba(139, 92, 246, .35) !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, .09) !important;
  font-size: 10px !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .dashboard-balance-topbar strong {
  color: #fff !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme .dashboard-balance-topbar i {
  color: var(--main-bright) !important;
  font-size: 10px !important;
}

body.swaqly-twig-theme .dashboard-balance-topbar:hover {
  border-color: var(--main) !important;
  background: var(--main-soft) !important;
}

body.swaqly-twig-theme .preview-promo-launchers {
  gap: 10px !important;
  bottom: 24px !important;
}

body.swaqly-twig-theme .preview-promo-launchers.offer-only {
  left: 76px !important;
  bottom: 24px !important;
}

body.swaqly-twig-theme .preview-promo-launcher {
  width: 44px !important;
  height: 44px !important;
}

body.swaqly-twig-theme .preview-promo-launcher.is-priority {
  outline: 2px solid rgba(236, 72, 153, .45);
  outline-offset: 2px;
}

/* Keep the two promotional shortcuts above the two support shortcuts.
   The buttons are native Perfect Panel markup, so their fixed geometry is
   centralized here instead of being recreated in a client framework. */
body.swaqly-twig-theme.swaqly-authenticated #small-popup-home,
body.swaqly-twig-theme.swaqly-authenticated #small-popup-offer,
body.swaqly-twig-theme.swaqly-public #small-popup-home,
body.swaqly-twig-theme.swaqly-public #small-popup-offer {
  top: auto !important;
  bottom: 115px !important;
  left: 17px !important;
  right: auto !important;
  z-index: 80 !important;
  display: none;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed, #4c1d95) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .34) !important;
}

body.swaqly-twig-theme #small-popup-offer {
  left: 70px !important;
}

body.swaqly-twig-theme #small-popup-home img,
body.swaqly-twig-theme #small-popup-offer img {
  width: 100% !important;
  height: 100% !important;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed, #4c1d95) !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

body.swaqly-twig-theme #small-popup-offer {
  background: linear-gradient(135deg, var(--main), #6d28d9) !important;
}

body.swaqly-twig-theme #small-popup-offer img {
  background: linear-gradient(135deg, var(--main), #6d28d9) !important;
}

body.swaqly-twig-theme .small-badge {
  top: -4px !important;
  right: -3px !important;
  width: 17px !important;
  height: 17px !important;
  border: 2px solid #050507 !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: var(--accent) !important;
  font-size: 9px !important;
  line-height: 13px !important;
}

body.swaqly-twig-theme .dashboard-floating-support {
  left: 17px !important;
  right: auto !important;
  bottom: 20px !important;
  z-index: 40 !important;
  gap: 8px !important;
}

body.swaqly-twig-theme .dashboard-floating-support a {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
}

body.swaqly-twig-theme .dashboard-floating-support a:first-child {
  background: #20bd5a !important;
  box-shadow: 0 5px 18px rgba(32, 189, 90, .3) !important;
}

body.swaqly-twig-theme .dashboard-floating-support a:last-child {
  background: #229ed9 !important;
  box-shadow: 0 5px 18px rgba(34, 158, 217, .28) !important;
}

body.swaqly-twig-theme .floating-support svg {
  width: 20px !important;
  height: 20px !important;
}

body.swaqly-twig-theme #small-popup-home,
body.swaqly-twig-theme #small-popup-offer {
  bottom: 124px !important;
}

body.swaqly-twig-theme #small-popup-offer {
  left: 70px !important;
}

body.swaqly-twig-theme .swaqly-popup {
  max-height: calc(100vh - 28px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.swaqly-twig-theme .swaqly-popup[aria-hidden="true"] {
  display: none !important;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme #small-popup-home,
  body.swaqly-twig-theme #small-popup-offer {
    bottom: 110px !important;
    left: 12px !important;
  }

  body.swaqly-twig-theme #small-popup-offer {
    left: 70px !important;
  }

  body.swaqly-twig-theme .dashboard-floating-support {
    left: 12px !important;
    bottom: 12px !important;
  }

  body.swaqly-twig-theme .swaqly-popup {
    width: min(92%, 530px) !important;
    max-height: calc(100vh - 28px) !important;
    padding: 38px 18px 24px !important;
    overflow-y: auto !important;
  }
}

/* Final native data states and platform marks. */
body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon,
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(196, 181, 253, .24);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  font-size: 15px;
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="tiktok"],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-tiktok) {
  background: linear-gradient(135deg, #111827, #374151);
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="instagram"],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-instagram) {
  background: linear-gradient(135deg, #c026d3, #f97316);
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="facebook"],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-facebook-f) {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="youtube"],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-youtube) {
  background: linear-gradient(135deg, #b91c1c, #ef4444);
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="telegram"],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-telegram-plane) {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*="twitter"],
body.swaqly-twig-theme.swaqly-authenticated .service-platform-icon[data-platform*=" x "],
body.swaqly-twig-theme.swaqly-authenticated .order-platform-icon:has(.fa-x-twitter) {
  background: linear-gradient(135deg, #111827, #4b5563);
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card[hidden],
body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid .order-grid-card[hidden] {
  display: none !important;
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.partial {
  color: #fde68a;
  background: rgba(245, 158, 11, .14);
}

body.swaqly-twig-theme.swaqly-authenticated .status-pill.filling {
  color: #67e8f9;
  background: rgba(6, 182, 212, .14);
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-service h3 {
  min-width: 0;
  flex: 1;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content {
  padding: 14px;
  color: #eeeaff !important;
  background: #11101a !important;
}

body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content input,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content select,
body.swaqly-twig-theme.swaqly-authenticated .fund-provider-content textarea {
  color: #fff !important;
  background: #09090e !important;
}

body.swaqly-twig-theme.swaqly-authenticated .tickets-source-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 16px;
  align-items: start;
}

body.swaqly-twig-theme.swaqly-authenticated .tickets-source-layout > .panel {
  min-width: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 14px;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #eeeaff;
  text-decoration: none;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row:last-child {
  border-bottom: 0;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row:hover {
  color: #fff;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 9px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .12);
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row strong,
body.swaqly-twig-theme.swaqly-authenticated .ticket-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row strong {
  color: #fff;
  font-size: 12px;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-row small {
  margin-top: 4px;
  color: #9d96ad;
  font-size: 10px;
}

body.swaqly-twig-theme.swaqly-authenticated .ticket-form {
  display: grid;
  gap: 13px;
}

body.swaqly-twig-theme.swaqly-authenticated .source-ticket-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
}

body.swaqly-twig-theme.swaqly-authenticated .source-ticket-tabs > * {
  padding: 7px 10px;
  border-radius: 7px;
  color: #aaa4b8;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

body.swaqly-twig-theme.swaqly-authenticated .source-ticket-tabs .selected {
  color: #fff;
  background: rgba(139, 92, 246, .18);
}

@media (max-width: 900px) {
  body.swaqly-twig-theme.swaqly-authenticated .tickets-source-layout {
    grid-template-columns: 1fr;
  }
}

/* Final card depth and accessible floating-control pass. */
body.swaqly-twig-theme :is(
  .panel,
  .service-card,
  .login-card,
  .code-card,
  .signup-source-card,
  .reset-source-card,
  .source-order-guide,
  .source-order-form,
  .addfunds-source-card,
  .source-fund-history,
  .tickets-list,
  .source-ticket-form,
  .dash-stat,
  .order-grid-card,
  .dashboard-announce,
  .dashboard-guide-panel,
  .quick-order,
  .order-summary,
  .quran-player,
  .ticket-row,
  .payment-item,
  .faq-item,
  .source-benefit-card,
  .source-step-card,
  .source-review-card,
  .affiliate-rate-cards > div,
  .operations-card-grid .operation-row,
  .mass-order-history-card,
  .subpanel-card,
  .activity-panel
) {
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .36), 0 0 18px rgba(139, 92, 246, .11) !important;
}

body.swaqly-twig-theme :is(
  .panel,
  .service-card,
  .login-card,
  .code-card,
  .signup-source-card,
  .reset-source-card,
  .source-order-guide,
  .source-order-form,
  .addfunds-source-card,
  .source-fund-history,
  .tickets-list,
  .source-ticket-form,
  .dash-stat,
  .order-grid-card,
  .dashboard-announce,
  .dashboard-guide-panel,
  .quick-order,
  .order-summary,
  .quran-player,
  .ticket-row,
  .payment-item,
  .faq-item,
  .source-benefit-card,
  .source-step-card,
  .source-review-card,
  .affiliate-rate-cards > div,
  .operations-card-grid .operation-row,
  .mass-order-history-card,
  .subpanel-card,
  .activity-panel
):hover {
  border-color: rgba(196, 181, 253, .58) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .44), 0 0 26px rgba(139, 92, 246, .24), 0 0 8px rgba(236, 72, 153, .18) !important;
  transform: translateY(-3px);
}

body.swaqly-twig-theme #small-popup-home,
body.swaqly-twig-theme #small-popup-offer,
body.swaqly-twig-theme .dashboard-floating-support a,
body.swaqly-twig-theme .swaqly-popup button,
body.swaqly-twig-theme .swaqly-popup a {
  -webkit-tap-highlight-color: transparent;
}

body.swaqly-twig-theme #small-popup-home:focus-visible,
body.swaqly-twig-theme #small-popup-offer:focus-visible,
body.swaqly-twig-theme .dashboard-floating-support a:focus-visible,
body.swaqly-twig-theme .swaqly-popup button:focus-visible,
body.swaqly-twig-theme .swaqly-popup a:focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(103, 232, 249, .2), 0 10px 24px rgba(0, 0, 0, .42);
}

body.swaqly-twig-theme #small-popup-home,
body.swaqly-twig-theme #small-popup-offer {
  min-width: 44px;
  min-height: 44px;
}

body.swaqly-twig-theme .dashboard-floating-support {
  gap: 8px;
}

body.swaqly-twig-theme .dashboard-floating-support a {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 760px) {
  body.swaqly-twig-theme #small-popup-home {
    bottom: 142px;
    left: 12px;
    width: 48px;
    height: 48px;
  }

  body.swaqly-twig-theme #small-popup-offer {
    bottom: 116px;
    left: 68px;
    width: 44px;
    height: 44px;
  }

  body.swaqly-twig-theme .dashboard-floating-support {
    bottom: 12px;
    left: 12px;
  }
}

/* Final Swaqly parity layer: the server-rendered Twig shell uses the same
   interaction geometry as the current Swaqly web app without replacing
   Perfect Panel's dynamic markup or Bootstrap hooks. */
body.swaqly-twig-theme .swaqly-public-platform-track .platform-pill {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 15px !important;
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 999px !important;
  color: #a0aec0 !important;
  background: rgba(255, 255, 255, .04) !important;
  font-size: .7rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track .platform-pill:hover {
  border-color: #8b5cf6 !important;
  color: #fff !important;
  background: rgba(139, 92, 246, .13) !important;
  transform: translateY(-2px) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track .platform-icon {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  color: #8b5cf6 !important;
  filter: drop-shadow(0 0 5px currentColor) !important;
}

body.swaqly-twig-theme .swaqly-public-platform-track .p-0 .platform-icon { color: #1ab7ea !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-1 .platform-icon { color: #1877f2 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-2 .platform-icon { color: #ff3333 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-3 .platform-icon { color: #229ed9 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-4 .platform-icon { color: #fff !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-5 .platform-icon { color: #e1306c !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-6 .platform-icon { color: #fff !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-7 .platform-icon { color: #1ed760 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-8 .platform-icon { color: #5865f2 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-9 .platform-icon { color: #9146ff !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-10 .platform-icon { color: #fffc00 !important; }
body.swaqly-twig-theme .swaqly-public-platform-track .p-11 .platform-icon { color: #e60023 !important; }

@media (min-width: 701px) {
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar {
    width: 84px !important;
    flex-basis: 84px !important;
    padding-inline: 9px !important;
  }

  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .brand-name,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .swaqly-user-copy,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .swaqly-user-dot,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .swaqly-sidebar-label,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .dashboard-link span,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .balance-card span,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .balance-card a,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .signout-link span,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .quran-player {
    display: none !important;
  }

  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .user-card,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .dashboard-link,
  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .signout-link {
    justify-content: center !important;
    padding-inline: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .dashboard-link i {
    width: auto !important;
    margin: 0 !important;
  }

  body.swaqly-twig-theme .dashboard-shell.sidebar-collapsed .dashboard-sidebar .balance-card {
    padding: 10px 4px !important;
    text-align: center !important;
  }
}

@media (max-width: 700px) {
  body.swaqly-twig-theme .swaqly-public-platform-track .platform-pill {
    padding: 8px 12px !important;
    font-size: .65rem !important;
  }
}

/* Authenticated shell correction: keep the Twig pages on the same readable
   geometry as the current Swaqly app. This block intentionally comes last so
   legacy preview rules cannot shrink the content or move the rail controls. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell {
  display: flex !important;
  width: 100% !important;
  min-height: 100vh !important;
  align-items: stretch !important;
  direction: rtl !important;
  background: #07070b !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  display: flex !important;
  width: 258px !important;
  min-width: 258px !important;
  height: 100vh !important;
  min-height: 100vh !important;
  flex: 0 0 258px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border-left: 1px solid color-mix(in srgb, var(--main) 42%, transparent) !important;
  background: #0d0d12 !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--main) #0d0d12 !important;
  transition: width .25s ease, min-width .25s ease, flex-basis .25s ease, padding .25s ease, border .25s ease !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-main {
  display: flex !important;
  min-width: 0 !important;
  min-height: 100vh !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  background: #08080c !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar {
  min-height: 74px !important;
  flex: 0 0 74px !important;
  padding: 0 24px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-heading {
  min-width: 0 !important;
  padding-right: 52px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-collapse-toggle {
  position: absolute !important;
  top: 22px !important;
  right: 18px !important;
  z-index: 3 !important;
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  place-items: center !important;
  color: var(--main-bright) !important;
  border: 1px solid color-mix(in srgb, var(--main) 56%, transparent) !important;
  border-radius: 8px !important;
  background: var(--main-soft) !important;
  cursor: pointer !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-collapse-toggle:hover {
  color: #fff !important;
  border-color: var(--accent) !important;
  background: var(--main) !important;
  box-shadow: 0 0 18px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px 28px 46px !important;
  flex: 1 1 auto !important;
  gap: 18px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content > .container,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .container,
body.swaqly-twig-theme.swaqly-authenticated .swaqly-neworder-page {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top,
body.swaqly-twig-theme.swaqly-authenticated .source-order-layout,
body.swaqly-twig-theme.swaqly-authenticated .dash-page-heading,
body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .source-orders-board,
body.swaqly-twig-theme.swaqly-authenticated .account-layout,
body.swaqly-twig-theme.swaqly-authenticated .tickets-source-layout,
body.swaqly-twig-theme.swaqly-authenticated .addfunds-source-page,
body.swaqly-twig-theme.swaqly-authenticated .api-dashboard-layout {
  width: 100% !important;
  max-width: none !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-layout {
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.52fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
  min-height: 100% !important;
  font-size: 1rem !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide {
  padding: 24px 20px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide h1,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form h2 {
  font-size: 1.1rem !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide li,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form label,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form input,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form select {
  font-size: .78rem !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-platforms {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-platforms button {
  min-height: 38px !important;
  padding-inline: 9px !important;
  font-size: .72rem !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog,
body.swaqly-twig-theme.swaqly-authenticated .source-orders-board,
body.swaqly-twig-theme.swaqly-authenticated .panel {
  border-color: color-mix(in srgb, var(--main) 48%, transparent) !important;
  background: linear-gradient(145deg, var(--theme-surface-1, #171321), var(--theme-surface-2, #0e0c14)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 20px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link.active,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--main) 72%, transparent) !important;
  background: linear-gradient(100deg, var(--main), var(--accent)) !important;
  box-shadow: 0 0 20px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .quran-player {
  position: relative !important;
  display: block !important;
  min-height: 122px !important;
  margin-top: auto !important;
  overflow: hidden !important;
  border-color: color-mix(in srgb, var(--main) 48%, transparent) !important;
  background: linear-gradient(145deg, var(--theme-surface-1, #171321), var(--theme-surface-2, #0d0b12)) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .quran-player-heading strong {
  display: block !important;
  overflow: hidden !important;
  color: #e9e3f8 !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell.sidebar-collapsed .dashboard-sidebar {
  width: 0 !important;
  min-width: 0 !important;
  flex-basis: 0 !important;
  padding-inline: 0 !important;
  border-left-width: 0 !important;
  overflow: hidden !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell.sidebar-collapsed .dashboard-sidebar > * {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    width: 224px !important;
    min-width: 224px !important;
    flex-basis: 224px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
    padding-inline: 18px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-layout {
    grid-template-columns: minmax(220px, .78fr) minmax(0, 1.42fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -290px !important;
    bottom: 0 !important;
    width: 274px !important;
    min-width: 274px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 12px 10px 14px !important;
    transform: none !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated.swaqly-sidebar-open .dashboard-sidebar,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar.sidebar-open {
    right: 0 !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-main {
    width: 100% !important;
    min-height: 100vh !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar {
    min-height: 66px !important;
    flex-basis: 66px !important;
    padding-inline: 14px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-heading {
    padding-right: 0 !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-collapse-toggle {
    display: none !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-menu {
    display: grid !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
    width: 100% !important;
    padding: 16px 14px 34px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
    order: -1 !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Controls and theme-token pass. */
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .btn-primary,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] button.btn-primary {
  border-color: color-mix(in srgb, var(--main) 68%, var(--accent)) !important;
  background: linear-gradient(135deg, var(--main), var(--accent)) !important;
  box-shadow: 0 8px 20px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .btn-primary:hover,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] button.btn-primary:hover {
  filter: brightness(1.12) !important;
  box-shadow: 0 0 24px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .service-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .order-grid-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .dash-stat,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .tickets-list,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell[data-theme] .source-ticket-form {
  border-color: color-mix(in srgb, var(--main) 55%, transparent) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 20px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-controls {
  display: flex !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-controls button,
body.swaqly-twig-theme.swaqly-authenticated .quran-player-seek button {
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  padding: 0 !important;
  color: var(--main-bright) !important;
  border: 1px solid color-mix(in srgb, var(--main) 52%, transparent) !important;
  border-radius: 7px !important;
  background: var(--main-soft) !important;
  cursor: pointer !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-controls button:hover,
body.swaqly-twig-theme.swaqly-authenticated .quran-player-seek button:hover,
body.swaqly-twig-theme.swaqly-authenticated .quran-player-controls .quran-play {
  color: #fff !important;
  border-color: var(--accent) !important;
  background: var(--main) !important;
  box-shadow: 0 0 14px var(--main-glow) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-controls .quran-disc {
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  place-items: center !important;
  color: var(--accent) !important;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent) !important;
  border-radius: 50% !important;
  background: var(--accent-soft) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-seek {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-top: 8px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-seek input[type="range"] {
  min-width: 0 !important;
  height: 4px !important;
  flex: 1 1 auto !important;
  accent-color: var(--main) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player-seek input[type="range"] + input[type="range"] {
  max-width: 64px !important;
  flex-basis: 64px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .quran-player .stop-square {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 2px !important;
  background: currentColor !important;
}

/* -------------------------------------------------------------------------
   Authoritative final layout repair

   The imported panel contained older screenshot-parity rules that forced a
   190/204px rail and sub-rem typography after the main responsive layer.
   Keep this block last so the live Twig shell has one predictable geometry at
   every viewport instead of relying on which historical block wins. */
body.swaqly-twig-theme {
  overflow-x: hidden;
  font-size: 16px;
}

body.swaqly-twig-theme::before {
  display: none !important;
  opacity: 0 !important;
  background-image: none !important;
}

body.swaqly-twig-theme .swaqly-panel-shell.dashboard-shell {
  display: flex !important;
  width: 100% !important;
  min-height: 100vh !important;
  align-items: stretch !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
  position: relative !important;
  z-index: 20 !important;
  width: 248px !important;
  min-width: 248px !important;
  flex: 0 0 248px !important;
  min-height: 100vh !important;
  padding: 16px 13px 18px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #09080e !important;
  border-left: 1px solid color-mix(in srgb, var(--main) 48%, transparent) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-main {
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar {
  min-height: 70px !important;
  padding: 0 24px !important;
  background: rgba(8, 8, 13, .96) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px clamp(18px, 3vw, 46px) 48px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content > * {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .sidebar-brand {
  min-height: 50px !important;
  margin-bottom: 16px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .brand-mark {
  width: 38px !important;
  height: 38px !important;
  font-size: 20px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .brand-name {
  font-size: 17px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link {
  min-height: 43px !important;
  gap: 11px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link i,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link i,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .dashboard-link svg,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .theme-sidebar-link svg {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  font-size: 16px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .swaqly-sidebar-label,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .sidebar-label {
  margin: 21px 8px 9px !important;
  font-size: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card {
  min-height: 65px !important;
  gap: 9px !important;
  padding: 10px !important;
  border-radius: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card strong {
  font-size: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card small,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .user-card span {
  font-size: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card {
  padding: 15px 13px !important;
  border-radius: 11px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card span {
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card strong {
  font-size: 20px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .balance-card a,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar .signout-link {
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-page-heading {
  display: flex !important;
  min-height: 64px;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-page-heading h2 {
  margin: 5px 0 6px !important;
  color: #fff !important;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.2 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-page-heading p {
  margin: 0 !important;
  color: var(--muted, #aaa4b8) !important;
  font-size: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .section-label,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .swaqly-eyebrow {
  font-size: 11px !important;
  letter-spacing: .08em !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .btn {
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .panel,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-stat,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .service-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .order-grid-card,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dashboard-announce {
  border-color: color-mix(in srgb, var(--main) 46%, transparent) !important;
  background: linear-gradient(145deg, var(--theme-surface-1, #171321), var(--theme-surface-2, #0d0b12)) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34) !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top {
  display: grid !important;
  gap: 18px !important;
  margin-bottom: 24px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-support-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dash-stat {
  min-height: 104px !important;
  padding: 18px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dash-stat span,
body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dash-stat small {
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dash-stat strong {
  display: block;
  margin: 7px 0 3px;
  font-size: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-announce {
  min-height: 70px !important;
  padding: 18px 20px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-layout {
  display: grid !important;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.65fr) !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide,
body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
  min-height: 600px !important;
  border-radius: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide {
  padding: 30px 25px 24px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide h1,
body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-heading h2 {
  font-size: 24px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide > p,
body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-heading p {
  font-size: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-guide li {
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
  padding: 26px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-form .control-label,
body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-form label {
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-form .form-control,
body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-form .select2-container .select2-selection {
  min-height: 48px !important;
  font-size: 14px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .swaqly-order-form > .btn {
  min-height: 50px !important;
  font-size: 15px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-services-catalog,
body.swaqly-twig-theme.swaqly-authenticated .source-orders-board {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px !important;
  overflow: visible !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head h3 {
  margin: 6px 0 0 !important;
  font-size: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
body.swaqly-twig-theme.swaqly-authenticated .search-field {
  width: min(100%, 360px) !important;
  min-height: 44px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools input,
body.swaqly-twig-theme.swaqly-authenticated .search-field input {
  min-height: 44px !important;
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid,
body.swaqly-twig-theme.swaqly-authenticated .service-platform-filters,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 22px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .new-order-platform-grid button,
body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters a {
  min-height: 36px !important;
  padding: 8px 13px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards,
body.swaqly-twig-theme.swaqly-authenticated .service-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  min-height: 180px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card {
  min-width: 0 !important;
  min-height: 260px !important;
  padding: 21px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card h3 {
  margin: 15px 0 8px !important;
  font-size: 16px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card p,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards .service-card span {
  font-size: 12px !important;
  line-height: 1.75 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card {
  min-width: 0 !important;
  min-height: 245px !important;
  padding: 20px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card h3 {
  font-size: 15px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .order-grid-card p,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-card span,
body.swaqly-twig-theme.swaqly-authenticated .order-grid-card a {
  font-size: 12px !important;
  line-height: 1.7 !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .table {
  min-width: 860px !important;
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .table > thead > tr > th,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .table > tbody > tr > td {
  padding: 14px 13px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .table small {
  font-size: 12px !important;
}

body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .panel:hover,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .service-card:hover,
body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .order-grid-card:hover {
  transform: none !important;
}

/* The public home uses a calm solid background like the supplied reference,
   not the legacy animated square grid. */
body.swaqly-twig-theme.swaqly-public .swaqly-page-content.public-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 40px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero,
body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
  min-height: 620px !important;
  padding: 78px 0 !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
  padding: 84px 0 !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature {
  min-height: 210px !important;
  padding: 26px 22px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature strong,
body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading h2 {
  font-size: 24px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-feature span,
body.swaqly-twig-theme.swaqly-public .swaqly-public-section-heading p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps p,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid p {
  font-size: 13px !important;
  line-height: 1.9 !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid,
body.swaqly-twig-theme.swaqly-public .swaqly-public-steps,
body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  gap: 16px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-payment-grid span {
  min-height: 76px !important;
  font-size: 13px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps article {
  min-height: 170px !important;
  padding: 22px 18px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-steps h3 {
  font-size: 15px !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: none !important;
}

body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    width: 224px !important;
    min-width: 224px !important;
    flex-basis: 224px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards,
  body.swaqly-twig-theme.swaqly-authenticated .service-cards,
  body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-shell {
    display: block !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -290px !important;
    bottom: 0 !important;
    width: 274px !important;
    min-width: 274px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    flex: none !important;
    padding: 14px 12px 18px !important;
    transition: right .28s ease !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated.swaqly-sidebar-open .dashboard-sidebar,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-sidebar.sidebar-open {
    right: 0 !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-main {
    width: 100% !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-topbar {
    min-height: 64px !important;
    padding: 0 14px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content {
    padding: 18px 12px 34px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-page-heading,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-head,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-content .dash-page-heading h2 {
    font-size: 25px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-support-row,
  body.swaqly-twig-theme.swaqly-authenticated .new-order-source-top .dashboard-stat-grid,
  body.swaqly-twig-theme.swaqly-authenticated .dashboard-service-cards,
  body.swaqly-twig-theme.swaqly-authenticated .service-cards,
  body.swaqly-twig-theme.swaqly-authenticated .order-cards-grid {
    grid-template-columns: 1fr !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
    order: -1 !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .source-order-guide,
  body.swaqly-twig-theme.swaqly-authenticated .source-order-form {
    min-height: 0 !important;
    padding: 20px 15px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .dashboard-services-catalog,
  body.swaqly-twig-theme.swaqly-authenticated .source-orders-board {
    padding: 16px 12px !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .new-order-catalog-tools,
  body.swaqly-twig-theme.swaqly-authenticated .search-field {
    width: 100% !important;
  }

  body.swaqly-twig-theme.swaqly-authenticated .service-platform-filters,
  body.swaqly-twig-theme.swaqly-authenticated .orders-source-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-section,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-final-cta {
    width: min(100% - 24px, 620px) !important;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-hero {
    min-height: 0 !important;
    padding: 46px 0 !important;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-section {
    padding: 58px 0 !important;
  }

  body.swaqly-twig-theme.swaqly-public .swaqly-public-feature-grid,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-steps,
  body.swaqly-twig-theme.swaqly-public .swaqly-public-review-grid {
    grid-template-columns: 1fr !important;
  }
}