:root {
  --tg-bg: #9ecfb0;
  --tg-bg-grad: linear-gradient(135deg, #dce989 0%, #b8dd96 36%, #8acdb4 68%, #75c3b8 100%);
  --tg-text: #0a1628;
  --tg-muted: #566370;
  --tg-primary: #2AABEE;
  --tg-glass: rgba(255,255,255,0.78);
  --tg-glass-strong: rgba(255,255,255,0.9);
  --tg-z-modal-backdrop: 1100010;
  --tg-z-modal: 1100020;
}

#loading {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 32%),
    var(--tg-bg-grad) !important;
}

.tg-preloader {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 18px 54px rgba(31,96,82,.16);
  color: var(--tg-text);
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.tg-preloader__ring {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 3px solid rgba(42,171,238,.20);
  border-top-color: var(--tg-primary);
  border-right-color: #21c5a6;
  animation: tg-loader-spin .75s linear infinite;
}

.tg-preloader__text {
  font-size: 14px;
}

@keyframes tg-loader-spin {
  to { transform: rotate(360deg); }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  background: var(--tg-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  touch-action: manipulation;
}

.table-responsive,
.sidebar-menu-list,
.modal-body,
.messages-thread,
.messages-list,
[class*="overflow-"] {
  -webkit-overflow-scrolling: touch;
}

body {
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--tg-text);
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(circle at 14px 16px, rgba(255,255,255,0.18) 0 1.5px, transparent 1.8px) 0 0 / 30px 30px,
    radial-gradient(circle at 5px 7px, rgba(31,96,82,0.08) 0 1px, transparent 1.4px) 0 0 / 44px 44px,
    var(--tg-bg-grad);
}

body::after {
  z-index: -1;
  opacity: 0.52;
  background-image:
    radial-gradient(ellipse at 16% 18%, transparent 0 18px, rgba(31,96,82,0.16) 19px 21px, transparent 22px 100%),
    radial-gradient(ellipse at 78% 28%, transparent 0 14px, rgba(31,96,82,0.14) 15px 17px, transparent 18px 100%),
    radial-gradient(circle at 46% 64%, transparent 0 9px, rgba(31,96,82,0.15) 10px 12px, transparent 13px 100%),
    repeating-radial-gradient(circle at 32% 76%, rgba(31,96,82,0.12) 0 1.4px, transparent 1.8px 18px),
    linear-gradient(38deg, transparent 0 47%, rgba(31,96,82,0.10) 48% 49%, transparent 50% 100%),
    linear-gradient(132deg, transparent 0 45%, rgba(31,96,82,0.08) 46% 47%, transparent 48% 100%);
  background-position:
    0 0,
    52px 38px,
    18px 76px,
    0 0,
    0 0,
    38px 22px;
  background-size:
    170px 150px,
    210px 180px,
    145px 135px,
    190px 175px,
    115px 115px,
    155px 155px;
}

#wrapper,
#page-content-wrapper,
.dashboard-content,
.dashboard-body,
.dashboard-body-part,
.header-main-area,
.footer-area,
.breadcrumb-section,
.breadcrumb-area,
.main-wrapper,
main,
section,
.container,
.container-fluid {
  position: relative;
  z-index: auto;
}

.modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: var(--tg-z-modal) !important;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
}

.modal.show {
  pointer-events: auto !important;
}

.modal.show .modal-dialog {
  position: relative;
  z-index: calc(var(--tg-z-modal) + 1) !important;
  margin-top: max(1.75rem, env(safe-area-inset-top));
  margin-bottom: 1.75rem;
  pointer-events: auto;
}

.modal-backdrop {
  z-index: var(--tg-z-modal-backdrop) !important;
  opacity: 0.32 !important;
  pointer-events: auto;
}

/* Hidden navigation overlays must never intercept dashboard actions. */
.body-overlay:not(.show),
.body-overlay:not(.show-overlay),
.sidebar-overlay:not(.show) {
  pointer-events: none !important;
}

.body-overlay.show,
.body-overlay.show-overlay,
.sidebar-overlay.show {
  pointer-events: auto !important;
}

.modal-content {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
}

.tg-glass,
.tg-card,
.tg-panel {
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 20px;
  box-shadow: 0 18px 54px rgba(31,96,82,0.12);
}

#page-content-wrapper .card,
.dashboard-content .card,
.dashboard-body-part .card,
.api-key-page .card,
.api-key-page .api-key-box,
.dash-header,
.dash-footer {
  background: var(--tg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 18px 54px rgba(31,96,82,0.12);
}

.dash-header,
#sidebar-wrapper {
  background: var(--tg-glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.table,
.table > :not(caption) > * > * {
  color: var(--tg-text);
}

.table-responsive,
.custom--table,
.dashboard-content .table,
.dashboard-body-part .table,
.dashboard-body .table,
.audit-report-wrap .table,
.audit-landing-wrap .card,
.dashboard-content .custom--card,
.dashboard-body-part .custom--card {
  background: rgba(255,255,255,0.88) !important;
  border-color: rgba(255,255,255,0.62) !important;
}

.table > :not(caption) > * > * {
  background-color: rgba(255,255,255,0.78) !important;
  border-color: rgba(31,96,82,0.12) !important;
}

.table thead th,
.table thead td {
  background-color: rgba(226,221,246,0.72) !important;
}

.ad-placement {
  position: relative;
  z-index: auto;
  width: 100%;
  max-width: 100%;
}

.ad-placement__label {
  display: block;
  margin: 0 0 6px;
  color: rgba(10,22,40,.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.ad-placement__inner {
  width: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: clip;
  border-radius: 20px;
  border: 1px dashed rgba(31,96,82,0.22);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 14px 38px rgba(31,96,82,0.09);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}

.ad-placement__inner > ins,
.ad-placement__inner > iframe,
.ad-placement__inner > div {
  width: 100%;
  max-width: 100%;
}

.ad-placement__inner .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.ad-placement__inner iframe {
  max-width: 100% !important;
}

@media (max-width: 767.98px) {
  .ad-placement--desktop-only {
    display: none !important;
  }

  .ad-placement {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .ad-placement__inner {
    min-height: 100px;
    padding: 8px;
    border-radius: 16px;
  }
}

@media (min-width: 768px) {
  .ad-placement--mobile-only {
    display: none !important;
  }
}

.text-muted,
.api-key-page .api-log-metrics .metric-title {
  color: var(--tg-muted) !important;
}

.btn--base,
.cmn-btn,
.btn-primary {
  border-color: var(--tg-primary);
}

body.dark {
  background: transparent !important;
  color: var(--tg-text) !important;
}

body.dark .cookies-card {
  background: var(--tg-glass-strong) !important;
  color: var(--tg-text) !important;
}

.light-dark-btn-wrap,
.dark-logo,
.footer-logo-dark,
.sidebar-logo-dark {
  display: none !important;
}

#sidebar-wrapper {
  background:
    radial-gradient(circle at 24% 8%, rgba(255,255,255,0.72), transparent 32%),
    linear-gradient(180deg, rgba(221,247,199,0.82), rgba(141,211,184,0.76)),
    rgba(158,207,176,0.72) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border-right: 1px solid rgba(255,255,255,0.62) !important;
  box-shadow: 12px 0 42px rgba(31,96,82,0.13) !important;
}

#sidebar-wrapper .sidebar-heading {
  background: rgba(255,255,255,0.46) !important;
  border-bottom: 1px solid rgba(255,255,255,0.62) !important;
}

#sidebar-wrapper .sidebar-heading img {
  filter: drop-shadow(0 6px 18px rgba(31,96,82,0.12));
}

#sidebar-wrapper .dashboard_profile_wrap {
  margin: 12px 14px 10px !important;
  padding: 18px 14px !important;
  border: 1px solid rgba(255,255,255,0.58) !important;
  border-radius: 22px;
  background: rgba(255,255,255,0.52) !important;
  box-shadow: 0 16px 42px rgba(31,96,82,0.10);
}

#sidebar-wrapper .profile_photo img {
  border: 4px solid rgba(42,171,238,0.38);
  box-shadow: 0 14px 34px rgba(31,96,82,0.16);
}

#sidebar-wrapper .sidebar-menu-list {
  padding: 6px 12px 45px;
}

#sidebar-wrapper .sidebar-menu-list__link {
  margin: 4px 0;
  border-radius: 14px;
  color: var(--tg-text) !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

#sidebar-wrapper .sidebar-menu-list__link .icon {
  color: #2a8f73 !important;
}

#sidebar-wrapper .sidebar-menu-list__item.active > .sidebar-menu-list__link,
#sidebar-wrapper .sidebar-menu-list__link:hover {
  background: rgba(42,171,238,0.15) !important;
  color: #075985 !important;
  transform: translateX(3px);
}

#sidebar-wrapper .sidebar-submenu {
  margin: 2px 0 8px 26px;
  border-left: 1px solid rgba(42,171,238,0.18);
}

#sidebar-wrapper .sidebar-submenu-list__link {
  color: var(--tg-muted) !important;
  border-radius: 12px;
}

.dashboard-topbar,
.dash-header,
.dash-footer,
.stat-card,
.tool-card,
.sub-card,
.dropdown-menu,
.modal-content,
.custom--card,
.contactus-form,
.account-form,
.dashboard_profile,
.dashboard-card {
  background: rgba(255,255,255,0.76) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.55) !important;
  box-shadow: 0 18px 54px rgba(31,96,82,0.12) !important;
}

.dashboard-topbar,
.dash-footer {
  background: rgba(255,255,255,0.68) !important;
}

.dash-title,
.dashboard-topbar .title,
.stat-value,
.tool-title,
.sub-card h5,
.footer-item__title {
  color: var(--tg-text) !important;
}

.dash-subtitle,
.stat-meta,
.tool-desc,
.sub-card .text-muted,
.footer-item__desc,
.footer-contact-menu__item p,
.bottom-footer-text,
.bottom-footer-text p {
  color: var(--tg-muted) !important;
}

.sub-card .text-success {
  color: #0f766e !important;
}

.btn-main,
.balance-btn,
.tool-card:hover .tool-arrow,
.btn--base {
  background: linear-gradient(135deg, var(--tg-primary), #22c5a7) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 34px rgba(42,171,238,0.22) !important;
}

.btn-soft {
  background: rgba(255,255,255,0.68) !important;
  border-color: rgba(255,255,255,0.72) !important;
  color: var(--tg-text) !important;
  box-shadow: 0 12px 30px rgba(31,96,82,0.08);
}

.header-main-area {
  background: transparent !important;
}

.header-main-area .header-top {
  display: none !important;
}

.header-main-area .header {
  background: rgba(255,255,255,0.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.62);
  box-shadow: 0 16px 42px rgba(31,96,82,0.10);
}

.header-main-area .header-wrapper {
  min-height: 72px !important;
  padding: 10px clamp(16px, 6vw, 110px) !important;
  gap: 22px !important;
  align-items: center !important;
}

.header-main-area .logo-wrapper img {
  max-width: 150px !important;
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(31,96,82,0.12));
}

.header-main-area .main-menu {
  gap: clamp(14px, 2vw, 30px) !important;
}

.header-main-area .main-menu .nav-link,
.header-main-area .main-menu a {
  color: var(--tg-text) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 10px 0 !important;
}

.header-main-area .main-menu .nav-link:hover,
.header-main-area .main-menu .nav-link.active {
  color: #087ea4 !important;
}

.header-main-area .menu-right-wrapper ul {
  gap: 10px !important;
  align-items: center !important;
}

.header-main-area .menu-right-wrapper .btn--base {
  min-width: 132px;
  padding: 13px 22px !important;
  border-radius: 18px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.header-main-area .sidebar-menu-show-hide {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #087ea4 !important;
  background: rgba(42,171,238,.12);
}

#publicScrollTopBtn {
  position: fixed;
  right: 26px;
  bottom: 100px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg,#2AABEE,#21c5a6);
  box-shadow: 0 16px 42px rgba(31,96,82,.22);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
}

#publicScrollTopBtn.show {
  display: flex;
}

.footer-area {
  background: rgba(255,255,255,0.44) !important;
  background-image: none !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255,255,255,0.62);
  box-shadow: 0 -18px 54px rgba(31,96,82,0.10);
  color: var(--tg-text);
}

.footer-area::after,
.footer-area .banner-effect-1 {
  display: none !important;
}

.footer-item__logo img {
  max-width: 170px;
  filter: drop-shadow(0 8px 22px rgba(31,96,82,0.14));
}

.footer-menu__link,
.bottom-footer-menu ul li a,
.footer-contact-menu__item-icon,
.footer-area .social-list__item .social-list__link {
  color: var(--tg-text) !important;
}

.footer-menu__link:hover,
.bottom-footer-menu ul li a:hover {
  color: #075985 !important;
}

.footer-contact-menu__item {
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-menu__item-icon {
  width: 34px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2AABEE, #20c5a8) !important;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 28px rgba(42,171,238,0.22);
}

.footer-contact-menu__item-icon i {
  color: #ffffff !important;
  line-height: 1;
}

.footer-area .social-list__item .social-list__link {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2AABEE, #20c5a8) !important;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 28px rgba(42,171,238,0.20);
}

.footer-area .social-list__item .social-list__link i {
  color: #ffffff !important;
}

.search-box.footer-area {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

.search-box.footer-area input.form--control {
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(255,255,255,0.62) !important;
  color: var(--tg-text) !important;
}

.bottom-footer {
  background: rgba(255,255,255,0.52) !important;
  border-top: 1px solid rgba(255,255,255,0.62);
}

.sidebar-menu-wrapper {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(235,255,222,0.84)),
    var(--tg-bg-grad) !important;
  color: var(--tg-text) !important;
}

.sidebar-menu-wrapper .sidebar-menu-list__link {
  color: var(--tg-text) !important;
}

.header-primary-action .btn,
.sidebar-menu-wrapper .mobile-menu-action {
  white-space: nowrap;
  word-break: normal;
}

.sidebar-menu-wrapper .mobile-menu-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 132px;
  margin: 10px 6px !important;
  padding: 11px 20px !important;
  border-radius: 16px;
}

#menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: #087ea4 !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(42,171,238,.24) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(31,96,82,.10);
}

#menu-toggle i {
  color: inherit !important;
  font-size: 17px;
}

.auth-redesign {
  position: relative;
  z-index: 1;
  padding-top: clamp(46px, 7vw, 86px) !important;
  padding-bottom: clamp(52px, 8vw, 96px) !important;
}

.auth-redesign .container {
  max-width: 1180px;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(310px, .92fr) minmax(380px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(229,252,239,.68)),
    rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
  backdrop-filter: blur(20px) saturate(1.18);
  box-shadow: 0 30px 80px rgba(31,96,82,.18);
}

.auth-visual {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background:
    radial-gradient(circle at 16% 16%, rgba(42,171,238,.18), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(33,197,166,.18), transparent 30%),
    linear-gradient(150deg, rgba(220,233,137,.38), rgba(138,205,180,.24));
}

.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  pointer-events: none;
  border-radius: 28px;
}

.auth-visual::before {
  border: 1px solid rgba(255,255,255,.54);
  background:
    radial-gradient(circle at 20% 25%, rgba(42,171,238,.18) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 36%, rgba(33,197,166,.18) 0 4px, transparent 5px),
    repeating-linear-gradient(135deg, rgba(255,255,255,.20) 0 1px, transparent 1px 18px);
  opacity: .72;
}

.auth-visual::after {
  inset: auto 42px 42px auto;
  width: 126px;
  height: 126px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(42,171,238,.18), rgba(33,197,166,.22));
  transform: rotate(10deg);
  box-shadow: -34px -28px 0 rgba(255,255,255,.22);
}

.auth-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 16px 42px rgba(31,96,82,.12);
}

.auth-logo img {
  max-width: 172px;
  max-height: 54px;
  object-fit: contain;
}

.auth-kicker,
.auth-form-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #075985;
  background: rgba(42,171,238,.13);
  border: 1px solid rgba(42,171,238,.14);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
}

.auth-visual h2 {
  max-width: 510px;
  margin: 18px 0 14px;
  color: #071425;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 950;
}

.auth-visual p {
  max-width: 510px;
  margin: 0;
  color: #536373;
  font-size: 17px;
  line-height: 1.75;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.auth-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 14px 34px rgba(31,96,82,.08);
}

.auth-benefit span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  color: #087ea4;
  background: linear-gradient(135deg, rgba(42,171,238,.16), rgba(33,197,166,.16));
}

.auth-benefit strong {
  display: block;
  color: #0a1628;
  font-weight: 900;
  line-height: 1.1;
}

.auth-benefit small {
  display: block;
  margin-top: 4px;
  color: #607080;
  font-weight: 700;
}

.auth-form-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4.3vw, 46px);
  background:
    radial-gradient(circle at 88% 12%, rgba(42,171,238,.16), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(33,197,166,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.56), rgba(232,252,242,.48));
}

.auth-form-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: -1;
  border-radius: 28px;
  pointer-events: none;
  background:
    radial-gradient(circle at 16px 16px, rgba(42,171,238,.12) 0 2px, transparent 2.6px) 0 0 / 42px 42px,
    linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.46);
  opacity: .72;
}

.auth-redesign .account-form {
  width: 100%;
  max-width: 520px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.68)),
    rgba(255,255,255,.72);
  box-shadow: 0 22px 60px rgba(31,96,82,.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  overflow: visible;
}

.auth-redesign--register .account-form {
  max-width: 640px;
}

.auth-redesign .account-form__content {
  text-align: left !important;
}

.auth-redesign .account-form__title {
  margin-top: 16px;
  color: #071425;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
}

.auth-redesign .account-form__desc {
  max-width: 560px;
  color: #5b6878;
  font-size: 16px;
  line-height: 1.65;
}

.auth-redesign .form--label {
  margin-bottom: 8px;
  color: #142235;
  font-size: 14px;
  font-weight: 900;
}

.auth-input-wrap {
  position: relative;
  display: block !important;
  width: 100%;
}

.auth-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  color: #087ea4;
  font-size: 15px;
  pointer-events: none;
}

.auth-redesign .auth-input-wrap .form--control,
.auth-redesign .auth-input-wrap .form-control {
  width: 100%;
  min-height: 58px;
  padding-left: 50px !important;
  padding-right: 52px !important;
  border: 1px solid rgba(42,171,238,.14) !important;
  border-radius: 18px !important;
  color: #0a1628 !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 28px rgba(31,96,82,.06);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-redesign .auth-input-wrap .form--control:focus,
.auth-redesign .auth-input-wrap .form-control:focus {
  border-color: rgba(42,171,238,.48) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 0 0 4px rgba(42,171,238,.12), 0 16px 32px rgba(31,96,82,.10) !important;
}

.auth-redesign .password-show-hide {
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #087ea4;
  cursor: pointer;
}

.auth-redesign .form--check {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
}

.auth-redesign .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-color: rgba(42,171,238,.38);
}

.auth-redesign .form-check-input:checked {
  background-color: #21c5a6;
  border-color: #21c5a6;
}

.auth-redesign .forgot-password,
.auth-redesign .have-account__link,
.auth-redesign .text--base {
  color: #087ea4 !important;
  font-weight: 900;
}

.auth-submit {
  min-height: 60px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0 !important;
  border-radius: 18px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #2AABEE, #21c5a6) !important;
  box-shadow: 0 18px 44px rgba(42,171,238,.22);
  font-size: 17px !important;
  font-weight: 950 !important;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(42,171,238,.28);
}

.auth-redesign .hr {
  position: relative;
  overflow: visible;
  border: 0;
  height: 1px;
  opacity: 1;
  background: rgba(42,171,238,.16);
}

.auth-redesign .hr::after {
  content: attr(data-content);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 4px 12px;
  border-radius: 999px;
  color: #607080;
  background: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
}

.auth-redesign .account-form .social {
  gap: 12px;
}

.auth-redesign .account-form .social .icon {
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 18px;
  color: #087ea4;
  background: rgba(42,171,238,.12);
  border: 1px solid rgba(42,171,238,.16);
}

.auth-redesign .account-form .social .icon:hover {
  color: #fff;
  background: linear-gradient(135deg, #2AABEE, #21c5a6);
  border-color: transparent;
}

.auth-redesign .have-account__text {
  margin-bottom: 0;
  color: #596878;
}

.auth-redesign .modal-content {
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(31,96,82,.20);
}

@media (max-width: 991.98px) {
  #sidebar-wrapper .sidebar-menu-list__link,
  .dashboard-topbar a,
  .dashboard-topbar button,
  .dashboard-content .btn:not(.btn-sm),
  .dashboard-content button:not(.btn-sm) {
    min-height: 48px;
  }

  .auth-card,
  .auth-redesign--register .auth-card {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .auth-visual {
    min-height: auto;
  }

  .auth-visual h2 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .sidebar-menu-wrapper {
    width: min(86vw, 320px) !important;
    max-width: 320px !important;
    overflow-x: hidden !important;
    box-shadow: 18px 0 54px rgba(10,22,40,.20) !important;
  }

  .sidebar-menu-wrapper .top-close {
    padding: 18px 22px 10px !important;
  }

  .sidebar-menu-wrapper .logo-wrapper img {
    max-width: 150px !important;
  }

  .sidebar-menu-wrapper .sidebar-menu-list {
    padding: 8px 18px 28px !important;
  }

  .sidebar-menu-wrapper .sidebar-menu-list__link {
    display: block;
    padding: 12px 6px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .tg-glass,
  .tg-card,
  .tg-panel,
  #page-content-wrapper .card,
  .dashboard-content .card,
  .dashboard-body-part .card,
  .api-key-page .card,
  .api-key-page .api-key-box,
  .dash-header,
  .dash-footer,
  #sidebar-wrapper {
    background: var(--tg-glass-strong);
  }
}

@media (max-width: 575.98px) {
  body::after {
    opacity: 0.45;
    background-size:
      135px 122px,
      170px 150px,
      120px 115px,
      150px 140px,
      100px 100px,
      125px 125px;
  }

  .tg-glass,
  .tg-card,
  .tg-panel {
    border-radius: 16px;
  }

  .modal.show .modal-dialog {
    margin: .75rem;
  }

  .header-main-area .header-wrapper {
    min-height: 64px !important;
    padding: 8px 14px !important;
  }

  .header-main-area .logo-wrapper img {
    max-width: 128px !important;
    max-height: 42px !important;
  }

  .header-main-area .menu-right-wrapper .btn--base {
    min-width: auto;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    font-size: 13px !important;
  }

  .auth-redesign {
    padding-top: 28px !important;
    padding-bottom: 44px !important;
  }

  .auth-card {
    border-radius: 24px;
  }

  .auth-visual,
  .auth-form-panel {
    padding: 24px;
  }

  .auth-form-panel::before {
    inset: 12px;
    border-radius: 22px;
  }

  .auth-redesign .account-form {
    padding: 22px;
    border-radius: 24px;
  }

  .auth-logo {
    padding: 11px 14px;
  }

  .auth-logo img {
    max-width: 138px;
    max-height: 44px;
  }

  .auth-visual::before {
    inset: 14px;
    border-radius: 20px;
  }

  .auth-visual::after {
    display: none;
  }

  .auth-benefit {
    padding: 12px;
  }

  .auth-redesign .account-form__title {
    font-size: 30px;
  }

  .auth-redesign .d-flex.flex-wrap.justify-content-between {
    gap: 10px;
  }

  .auth-submit {
    min-height: 56px;
  }
}
