* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.auth-header {
  height: 76px;
  border-bottom: 1px solid #848e99;
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}

.auth-header__inner {
  width: min(1220px, calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
}

.auth-brand__logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.auth-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.auth-brand__copy strong {
  font-size: 1.12rem;
  color: var(--blue-950);
  font-weight: 900;
}

.auth-brand__copy small {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 650;
  margin-top: 3px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #506178;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 9px 12px;
  border-radius: 11px;
  transition: 0.2s;
}

.auth-main {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 36px 20px;
  position: relative;
  overflow: hidden;
}

.auth-layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border: 1px solid #848e99;
  border-radius: 32px;
  overflow: hidden;
  min-height: 680px;
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 54px 48px;
}

.auth-showcase:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  z-index: -1;
}

.showcase-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  z-index: -1;
}

.showcase-glow--one {
  width: 360px;
  height: 360px;
  left: -180px;
  top: -130px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.17),
    transparent 68%
  );
}

.showcase-glow--two {
  width: 320px;
  height: 320px;
  right: -170px;
  bottom: -130px;
  background: radial-gradient(
    circle,
    rgba(245, 185, 31, 0.15),
    transparent 68%
  );
}

.showcase-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.showcase-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #edf6ff;
}

.showcase-badge i {
  color: var(--yellow);
}

.auth-showcase h1 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.3;
  margin: 32px 0 14px;
  letter-spacing: -1px;
  font-weight: 950;
}

.auth-showcase > div > p {
  margin: 0;
  color: #d8e9fb;
  line-height: 2;
  font-size: 0.93rem;
  max-width: 420px;
}

.showcase-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.showcase-points > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.showcase-points > div > span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  place-items: center;
  color: #fff;
}

.showcase-points p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.6;
}

.showcase-points strong {
  font-size: 0.82rem;
}

.showcase-points small {
  font-size: 0.7rem;
  color: #bcd5ef;
  margin-top: 2px;
}

.showcase-mini-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 13px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  backdrop-filter: blur(12px);
}

.showcase-mini-card img {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
}

.showcase-mini-card div {
  display: flex;
  flex-direction: column;
}

.showcase-mini-card strong {
  font-size: 0.77rem;
}

.showcase-mini-card span {
  font-size: 0.68rem;
  color: #cae0f7;
  margin-top: 2px;
}

.showcase-mini-card > i {
  color: var(--yellow);
  font-size: 1.05rem;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 54px;
}

.auth-card {
  width: min(470px, 100%);
  margin: auto;
}

.auth-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cbeee2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.68rem;
  font-weight: 800;
}

.step-indicator {
  font-size: 0.7rem;
  color: #8795a7;
  font-weight: 700;
}

.auth-screen {
  animation: authFade 0.25s ease;
}

.auth-screen:not(.is-active) {
  display: none;
}

@keyframes authFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.auth-heading {
  text-align: center;
  margin-bottom: 22px;
}

.auth-heading__icon {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin: 0 auto 14px;
  border: 1px solid #848e99;
}

.auth-heading h2 {
  margin: 0;
  color: var(--blue-950);
  line-height: 1.5;
  font-weight: 900;
}

.auth-heading p {
  margin: 7px auto 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 380px;
}

.phone-preview {
  color: var(--blue-700);
  direction: ltr;
  display: inline-block;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #848e99;
  margin-bottom: 24px;
}

.auth-tab {
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #718096;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}

.auth-tab:focus-visible {
  outline: 3px solid rgba(32, 133, 244, 0.2);
}

.field-group {
  margin-bottom: 17px;
}

.field-group label {
  display: block;
  font-weight: 800;
  color: #42536a;
  margin: 0 2px 8px;
}

.field-control {
  height: 52px;
  border: 1.5px solid #848e99;
  border-radius: 14px;
  display: flex;
  align-items: center;
  background: #fff;
  transition: 0.2s;
  overflow: hidden;
}

.field-control:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(32, 133, 244, 0.1);
}

.field-control.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(220, 63, 77, 0.08);
}

.field-control > i {
  width: 48px;
  color: #91a0b3;
  text-align: center;
  flex: 0 0 48px;
}

.field-control input {
  height: 100%;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 0 14px;
  min-width: 0;
}

.field-control input::placeholder {
  color: #a4afbd;
}

.field-control--phone input {
  text-align: left;
  letter-spacing: 0.8px;
  font-family: Montserrat, Vazirmatn, sans-serif;
  font-weight: 600;
}

.field-hint,
.field-error {
  font-size: 0.68rem;
  margin: 6px 3px 0;
  line-height: 1.6;
}

.field-hint {
  color: #8492a4;
}

.field-error {
  color: var(--danger);
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.fixed-role-card {
  border: 1px solid #848e99;
  background: linear-gradient(145deg, #f7fbff, #edf6ff);
  border-radius: 16px;
  padding: 13px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 11px;
  align-items: center;
}

.fixed-role-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-700);
  color: #fff;
  display: grid;
  place-items: center;
}

.fixed-role-card div {
  display: flex;
  flex-direction: column;
}

.fixed-role-card small {
  font-size: 0.65rem;
  color: #728198;
}

.fixed-role-card strong {
  font-size: 0.82rem;
  color: var(--blue-950);
  margin-top: 2px;
}

.fixed-role-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e6f7f1;
  color: var(--success);
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 0.61rem;
  font-weight: 850;
  white-space: nowrap;
}

.fixed-role-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #7b899b;
  font-size: 0.65rem;
  line-height: 1.7;
  margin: 7px 2px 17px;
}

.fixed-role-note i {
  color: var(--blue-500);
  margin-top: 4px;
}

.context-message {
  border-radius: 15px;
  padding: 12px;
  margin: 3px 0 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: start;
  border: 1px solid #848e99;
  background: #f1f7ff;
  color: #315d8c;
}

.context-message.is-warning {
  background: #fff9e9;
  border-color: #f5df9b;
  color: #7d5a00;
}

.context-message.is-error {
  background: #fff1f2;
  border-color: #f2c8cc;
  color: #9a3440;
}

.context-message__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
}

.context-message__body strong {
  display: block;
  font-size: 0.74rem;
  color: inherit;
}

.context-message__body p {
  font-size: 0.68rem;
  margin: 2px 0 0;
  line-height: 1.7;
}

.context-message button {
  grid-column: 1/-1;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.context-message.is-warning button {
  background: #8c6500;
}

.primary-action {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 11px 25px rgba(7, 93, 204, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s;
}

.primary-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(7, 93, 204, 0.3);
}

.primary-action:disabled {
  opacity: 0.68;
  cursor: wait;
}

.primary-action.is-loading i {
  animation: spin 0.8s linear infinite;
}

.primary-action.is-loading i:before {
  content: "";
}

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

.privacy-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
  color: #8290a2;
  font-size: 0.65rem;
  line-height: 1.7;
}

.privacy-note i {
  color: var(--blue-500);
  margin-top: 3px;
}

.back-button {
  border: 0;
  background: transparent;
  color: #65768b;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
  padding: 4px 0 10px;
}

.back-button:hover {
  color: var(--blue-700);
}

.auth-heading--otp {
  margin-top: 4px;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin: 24px 0 10px;
}

.otp-input {
  width: 100%;
  aspect-ratio: 1/1.08;
  border: 1.5px solid #848e99;
  border-radius: 13px;
  text-align: center;
  color: var(--blue-950);
  font-family: Montserrat, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: #fbfdff;
  transition: 0.18s;
}

.otp-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(32, 133, 244, 0.11);
  background: #fff;
}

.otp-input.is-error {
  border-color: var(--danger);
  background: #fff6f7;
  animation: shake 0.25s ease;
}

.otp-input.is-success {
  border-color: var(--success);
  background: #f0fbf7;
}

@keyframes shake {
  25% {
    transform: translateX(-3px);
  }

  75% {
    transform: translateX(3px);
  }
}

.otp-message {
  min-height: 38px;
  margin: 2px 0 11px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.otp-message.is-checking {
  color: var(--blue-700);
  background: var(--blue-50);
}

.otp-message.is-error {
  color: var(--danger);
  background: #fff2f3;
}

.otp-message.is-success {
  color: var(--success);
  background: #edfaf5;
}

.resend-button {
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 8px;
}

.resend-button:disabled {
  color: #9aa7b7;
  cursor: not-allowed;
}

.resend-button i {
  margin-left: 5px;
}

.success-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e4f8f1, #c9f0e2);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin: 20px auto 17px;
  box-shadow: 0 0 0 10px rgba(20, 150, 109, 0.07);
}

.auth-heading--success {
  margin-bottom: 25px;
}

.ban-alert {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  background: #fff7e8;
  border: 1px solid #f3d68a;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
  color: #7b5900;
}

.ban-alert > i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-items: center;
}

.ban-alert strong {
  font-size: 0.75rem;
}

.ban-alert p {
  font-size: 0.68rem;
  margin: 3px 0 0;
  line-height: 1.7;
}

.auth-footer-note {
  text-align: center;
  font-size: 0.64rem;
  margin: 15px 0 0;
}

.panel-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.panel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 25, 55, 0.72);
  backdrop-filter: blur(7px);
}

.panel-modal__card {
  position: relative;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.panel-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 1.25rem;
}

.panel-modal h2 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--blue-950);
}

.panel-modal > div > p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 7px 0 18px;
}

.panel-modal a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 11px;
  text-align: right;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px;
  margin-top: 9px;
  transition: 0.2s;
}

.panel-modal a:hover {
  border-color: #aacbf1;
  background: var(--blue-50);
  transform: translateY(-1px);
}

.panel-modal a > span {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--blue-700);
  color: #fff;
  display: grid;
  place-items: center;
}

.panel-modal a div {
  display: flex;
  flex-direction: column;
}

.panel-modal a strong {
  font-size: 0.77rem;
}

.panel-modal a small {
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: 2px;
}

.panel-modal a > i {
  color: #8d9aac;
}

.toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 6000;
  min-width: 260px;
  max-width: min(390px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.25s;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
}

.toast.is-error i {
  background: #fff0f2;
  color: var(--danger);
}

.toast.is-success i {
  background: #eaf9f3;
  color: var(--success);
}

@media (max-width: 900px) {
  .auth-main {
    padding: 24px 18px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 590px;
  }

  .auth-showcase {
    padding: 28px 30px;
  }

  .auth-showcase h1 {
    font-size: 2rem;
    margin: 20px 0 8px;
  }

  .auth-showcase > div > p {
    font-size: 0.8rem;
  }

  .showcase-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
  }

  .showcase-points > div {
    grid-template-columns: 1fr;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    padding: 10px;
    border-radius: 14px;
  }

  .showcase-points > div > span {
    margin: auto;
  }

  .showcase-points small {
    display: none;
  }

  .showcase-mini-card {
    display: none;
  }

  .auth-panel {
    padding: 36px 42px;
  }
}

@media (max-width: 620px) {
  .auth-header {
    height: 66px;
  }

  .auth-header__inner {
    width: calc(100% - 26px);
  }

  .auth-brand__logo {
    width: 40px;
    height: 40px;
  }

  .auth-brand__logo img {
    width: 33px;
    height: 33px;
  }

  .auth-brand__copy strong {
    font-size: 1rem;
  }

  .home-link span {
    display: none;
  }

  .home-link {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
    background: var(--blue-50);
  }

  .auth-main {
    min-height: calc(100vh - 66px);
    padding: 14px 10px;
    display: block;
  }

  .auth-layout {
    border-radius: 22px;
  }

  .auth-showcase {
    padding: 24px 20px 22px;
  }

  .showcase-badge {
    font-size: 0.66rem;
  }

  .auth-showcase h1 {
    font-size: 1.7rem;
    margin: 16px 0 7px;
  }

  .auth-showcase > div > p {
    line-height: 1.8;
  }

  .showcase-points {
    display: none;
  }

  .auth-panel {
    padding: 26px 19px 24px;
  }

  .auth-card__top {
    margin-bottom: 19px;
  }

  .auth-heading__icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .auth-heading h2 {
    font-size: 1.3rem;
  }

  .auth-heading p {
    font-size: 0.75rem;
  }

  .auth-tabs {
    margin-bottom: 20px;
  }

  .fixed-role-card {
    grid-template-columns: 42px 1fr;
  }

  .fixed-role-card__icon {
    width: 42px;
    height: 42px;
  }

  .fixed-role-card__status {
    grid-column: 2;
    justify-self: start;
    margin-top: -8px;
  }

  .otp-inputs {
    gap: 6px;
  }

  .otp-input {
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 370px) {
  .auth-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .otp-inputs {
    gap: 4px;
  }

  .otp-input {
    border-radius: 8px;
  }

  .auth-tab {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.otp-validity-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: -0.25rem 0 1.1rem;
  color: #586574;
  font-size: 0.82rem;
  line-height: 1.8;
  text-align: center;
}

.otp-validity-note i {
  color: #0757c9;
}

:root {
  --blue-100: #ddf8f4;
  --blue-50: #effbf9;
}

html {
  font-size: 17px;
}

.auth-header {
  background: #071b3b;
  border: 0;
}

.auth-brand__copy strong,
.auth-brand__copy small,
.home-link {
  color: #fff;
}

.auth-brand__logo {
  background: #fff;
}

.home-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.auth-layout {
  border-color: rgba(11, 42, 90, 0.2);
  background: #071b3b;
  box-shadow: var(--shadow);
}

.auth-showcase {
  isolation: isolate;
  background: linear-gradient(145deg, #071b3b 0%, #0b2a5a 72%, #0b2a5a 100%);
}

.showcase-badge i,
.showcase-mini-card > i {
  color: #14b8a6;
}

.auth-showcase h1 span {
  color: #5eead4;
}

.auth-tabs {
  padding: 6px;
  border-radius: 16px;
  background: #e6efef;
  border-color: #c9dadb;
}

.auth-tab {
  height: 52px;
  font-size: 1rem;
}

.auth-tab.is-active {
  background: #0b2a5a !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(11, 42, 90, 0.18);
}

.auth-heading h2 {
  font-size: 1.65rem;
}

.auth-heading p {
  font-size: 0.92rem;
}

.field-group label {
  font-size: 0.94rem;
}

.field-control input {
  font-size: 1rem;
  min-height: 52px;
}

.primary-action {
  min-height: 54px;
  font-size: 1rem;
  background: #0b2a5a !important;
  background-image: none !important;
}

.primary-action:hover {
  background: #071b3b !important;
}

.auth-heading__icon {
  background: #ddf8f4;
  color: #0b2a5a;
  border-color: #bfe8e2;
}

.secure-pill {
  color: #087a70;
  background: #ddf8f4;
  border-color: #9fe2d9;
}

.role-field-group {
  margin-top: 6px;
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.role-choice {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border: 1px solid #c9dadb;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
  min-height: 78px;
}

.role-choice:hover {
  border-color: #14b8a6;
  background: #f2fffd;
}

.role-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0.001;
  cursor: pointer;
  z-index: 3;
}

.role-choice:focus-within {
  outline: 3px solid rgba(20, 184, 166, 0.22);
  outline-offset: 2px;
}

.role-choice__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ddf8f4;
  color: #0b2a5a;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.role-choice__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.role-choice__copy strong {
  font-size: 0.9rem;
  color: #071b3b;
}

.role-choice__copy small {
  font-size: 0.69rem;
  color: #52657a;
  line-height: 1.6;
  margin-top: 2px;
}

.role-choice__check {
  border: 2px solid #b5c8ca;
  border-radius: 50%;
  color: transparent;
  font-size: 0.7rem;
}

.role-choice.is-selected {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
  background: #f0fffc;
}

.role-choice.is-selected .role-choice__check {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #fff;
}

.panel-modal__card {
  width: min(580px, calc(100% - 28px)) !important;
  padding: 38px !important;
  border-radius: 25px !important;
}

.panel-modal__card h2 {
  font-size: 1.65rem !important;
}

.panel-modal__card > p {
  font-size: 0.95rem !important;
}

.panel-modal__card > a {
  min-height: 84px !important;
  padding: 16px !important;
  border-radius: 16px !important;
}

.panel-modal__card > a strong {
  font-size: 1.05rem !important;
}

.panel-modal__card > a small {
  font-size: 0.82rem !important;
}

.panel-modal__card > a > span {
  width: 52px !important;
  height: 52px !important;
  font-size: 1.2rem !important;
  background: #ddf8f4 !important;
  color: #0b2a5a !important;
}

@media (max-width: 760px) {
  .auth-panel {
    background: #eff7f7;
    padding: 22px 14px;
  }

  .role-selector {
    grid-template-columns: 1fr;
  }

  .auth-tab {
    font-size: 0.94rem;
  }

  .auth-showcase {
    background: #071b3b;
  }
}

body {
  background: #071b3b !important;
}

.auth-main {
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(20, 184, 166, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 85%,
      rgba(20, 184, 166, 0.12),
      transparent 30%
    ),
    linear-gradient(145deg, #071b3b, #0b2a5a) !important;
}

.auth-panel {
  background: #eaf5f4 !important;
}

.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 184, 166, 0.22);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 44px rgba(7, 27, 59, 0.12);
}

.auth-footer-note {
  color: #52657a !important;
}

@media (max-width: 760px) {
  .auth-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
}

.role-choice:has(input:checked),
.role-choice.is-selected {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
  background: #f0fffc;
}

.role-choice:has(input:checked) .role-choice__check,
.role-choice.is-selected .role-choice__check {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #fff;
  transform: scale(1);
}

.role-choice:has(input:checked) .role-choice__icon,
.role-choice.is-selected .role-choice__icon {
  background: #14b8a6;
  color: #071b3b;
}

.role-choice__check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.panel-modal {
  align-items: center;
  justify-content: center;
}

.panel-modal__card {
  animation: authModalCenterIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authModalCenterIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .panel-modal {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 12px 0 0 !important;
    overflow: hidden !important;
  }

  .panel-modal[hidden] {
    display: none !important;
  }

  .panel-modal__card {
    width: 100% !important;
    max-width: none !important;
    max-height: 93dvh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 30px 18px calc(18px + env(safe-area-inset-bottom)) !important;
    border-radius: 26px 26px 0 0 !important;
    animation: authModalSheetUp 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .panel-modal__card::before {
    content: "";
    display: block;
    width: 54px;
    height: 5px;
    margin: -18px auto 16px;
    border-radius: 999px;
    background: #b9d8d5;
  }
}

@keyframes authModalSheetUp {
  from {
    opacity: 0;
    transform: translateY(105%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.auth-brand--wordmark .pakar-full-logo {
  width: 142px;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 620px) {
  .auth-brand--wordmark .pakar-full-logo {
    width: 122px;
    height: 46px;
  }
}

.auth-showcase .showcase-mini-card img {
  filter: brightness(0) invert(1);
}

html,
body {
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

body {
  -webkit-font-smoothing: antialiased;
  background-color: var(--pakar-page);
  color: var(--pakar-text);
}

.theme-toggle-control {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.theme-toggle-control:hover {
  box-shadow: 0 11px 24px rgba(7, 27, 59, 0.14);
}

.theme-toggle-control i {
  font-size: 1rem;
}

.theme-toggle-control .theme-toggle-label {
  font-size: 0.76rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .theme-toggle-control {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
  }

  .theme-toggle-control .theme-toggle-label {
    display: none;
  }
}

.page-edge-tool--guide {
  background: #3fe2cf !important;
  color: #071b3b !important;
  border-color: #24bcae !important;
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.28) !important;
}

.page-edge-tool--guide i {
  color: #071b3b !important;
}

.page-edge-tool--guide:hover {
  background: #6aebdc !important;
}

html:not([data-theme="dark"])
  :is(
    .auth-card,
    .role-choice,
    .panel-modal__card,
    .card,
    .module-request-card,
    .system-chat-card,
    .chat-list-row,
    .content-surface,
    .chat-list-surface,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .ver-card:not(.verified),
    .modal-content,
    .modal-card,
    .page-guide-card,
    .panel-tour-card,
    .help-card,
    .help-written,
    .filter-group-card,
    .filter-option-label,
    .method-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .admin-market-card,
    .stat-card,
    .verification-card-grid-item,
    .form-sort-row,
    .filter-panel-picker,
    .form-layout-picker,
    .select-item,
    .settings-collapsible,
    .settings-collapsible-header,
    .settings-collapsible-body,
    .tools-area,
    .tools-area.visible,
    .module-filter-drawer,
    .question-forum-header,
    .ticket-detail-header,
    .user-list-item-body,
    .profile-contact-row,
    .method-card,
    .service-card,
    .workflow-step,
    .workflow-note,
    .faq-list details,
    .visual-window,
    .panel-preview-request,
    .panel-preview-response,
    .floating-card
  ) {
  background: #ffe698 !important;
  border-color: var(--pakar-lime-line) !important;
}

html:not([data-theme="dark"])
  :is(
    #requestsList > .module-request-card,
    #wantItList > .module-request-card,
    #canDoList > .module-request-card,
    #questionsList > .module-request-card,
    #chatsList > .chat-list-row,
    #chatsList > .system-chat-card,
    .admin-market-card,
    .admin-market-card.is-active,
    .card.unread,
    .card.history-item
  ) {
  background: #ffe698 !important;
}

html:not([data-theme="dark"])
  :is(
    .badge-cat,
    .module-request-card .badge-cat,
    .admin-market-card .badge-cat,
    #wantItList .badge-cat,
    #questionsList .badge-cat,
    .card-status-badge,
    .chat-request-tag
  ) {
  background: #ffe698 !important;
  color: #426400 !important;
  border: 1px solid rgba(108, 151, 9, 0.25) !important;
}

html:not([data-theme="dark"])
  :is(
    .form-group,
    .field-group,
    .dynamic-item-filters,
    .modal-note,
    .info-meta,
    .verification-dates,
    .option-row,
    .activity-item,
    .modal-body .form-field,
    .filter-group-options,
    .reply-input-area,
    .chat-footer,
    .ticket-footer-area,
    .settings-footer
  ) {
  background: var(--pakar-field) !important;
  border-color: rgba(119, 166, 15, 0.24) !important;
}

html:not([data-theme="dark"])
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .category-search-control,
    .category-custom-input,
    .filter-search-input,
    .chat-input,
    .setting-inline-select,
    .form-field-label-input
  ) {
  background-color: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(119, 166, 15, 0.28) !important;
}

html:not([data-theme="dark"])
  :is(
    .modal-head,
    .panel-modal__card > header,
    .modal-card > .modal-head,
    .modal-actions
  ) {
  background: #ffe698 !important;
  border-color: var(--pakar-lime-line) !important;
}

html:not([data-theme="dark"])
  :is(
    .module-request-card,
    .chat-list-row,
    .system-chat-card,
    .user-details-card,
    .profile-header,
    .auth-card,
    .modal-content,
    .modal-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .admin-market-card
  ) {
  box-shadow: var(--pakar-shadow-soft) !important;
}

html:not([data-theme="dark"])
  :is(
    .module-request-card:hover,
    .chat-list-row:hover,
    .system-chat-card:hover,
    .admin-market-card:hover,
    .method-card:hover,
    .role-choice:hover
  ) {
  background: #f4d77d !important;
  border-color: rgba(20, 184, 166, 0.44) !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .auth-page,
html[data-theme="dark"] .auth-main,
html[data-theme="dark"] .admin-main,
html[data-theme="dark"] .admin-content,
html[data-theme="dark"] .main-panel,
html[data-theme="dark"] .app-layout,
html[data-theme="dark"] .section,
html[data-theme="dark"] .section-soft,
html[data-theme="dark"] .workflow,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .site-footer {
  background: #000 !important;
  color: var(--pakar-text) !important;
}

html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after {
  opacity: 0.12;
}

html[data-theme="dark"]
  :is(.app-sidebar, .admin-sidebar, .auth-panel, .mobile-nav) {
  background: #0d1411 !important;
  border-color: #2a3932 !important;
  color: var(--pakar-text) !important;
}

html[data-theme="dark"]
  :is(.sidebar-user-info, .sidebar-user, .admin-brand, .admin-nav, .nav-tabs) {
  border-color: #1f4856 !important;
}

html[data-theme="dark"]
  :is(
    .auth-card,
    .role-choice,
    .panel-modal__card,
    .showcase-mini-card,
    .card,
    .module-request-card,
    .content-surface,
    .chat-list-surface,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .ver-card:not(.verified),
    .modal-content,
    .modal-card,
    .page-guide-card,
    .panel-tour-card,
    .help-card,
    .help-written,
    .filter-group-card,
    .filter-option-label,
    .method-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .admin-market-card,
    .stat-card,
    .verification-card-grid-item,
    .form-sort-row,
    .filter-panel-picker,
    .form-layout-picker,
    .select-item,
    .settings-collapsible,
    .settings-collapsible-header,
    .settings-collapsible-body,
    .tools-area,
    .tools-area.visible,
    .module-filter-drawer,
    .question-forum-header,
    .ticket-detail-header,
    .user-list-item-body,
    .profile-contact-row,
    .service-card,
    .workflow-step,
    .workflow-note,
    .faq-list details,
    .visual-window,
    .panel-preview-request,
    .panel-preview-response,
    .floating-card
  ) {
  background: #102f35 !important;
  border-color: #285263 !important;
  color: var(--pakar-text) !important;
  box-shadow: var(--pakar-shadow-soft) !important;
}

html[data-theme="dark"]
  :is(
    #requestsList > .module-request-card,
    #wantItList > .module-request-card,
    #canDoList > .module-request-card,
    #questionsList > .module-request-card
  ) {
  background: #0c2730 !important;
}

html[data-theme="dark"]
  :is(.user-details-card, .profile-header, .profile-actions-bar) {
  background: #102f35 !important;
}

html[data-theme="dark"] :is(#chatsList > .chat-list-row, .chat-list-row) {
  background: #102f35 !important;
}

html[data-theme="dark"] :is(#chatsList > .system-chat-card, .system-chat-card) {
  background: #102f35 !important;
  border-color: rgba(188, 255, 37, 0.28) !important;
}

html[data-theme="dark"] :is(.modal-content, .modal-card, .panel-modal__card) {
  background: #102f35 !important;
  border-color: #285263 !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.58) !important;
}

html[data-theme="dark"]
  :is(
    .admin-market-card,
    .admin-market-card.is-active,
    .verification-card-grid-item,
    .stat-card,
    .panel-card,
    .data-card
  ) {
  background: #102f35 !important;
}

html[data-theme="dark"]
  :is(
    .module-request-card:hover,
    .chat-list-row:hover,
    .system-chat-card:hover,
    .admin-market-card:hover,
    .method-card:hover,
    .role-choice:hover,
    .select-item:hover
  ) {
  background: #16434b !important;
  border-color: rgba(188, 255, 37, 0.34) !important;
}

html[data-theme="dark"]
  :is(.card.unread, .module-request-card.unread, .admin-market-card.is-active) {
  background: #123b43 !important;
  border-color: #14b8a6 !important;
  box-shadow:
    0 0 0 3px rgba(20, 184, 166, 0.14),
    var(--pakar-shadow-soft) !important;
}

html[data-theme="dark"]
  :is(
    .form-group,
    .field-group,
    .dynamic-item-filters,
    .option-row,
    .activity-item,
    .modal-note,
    .verification-dates,
    .info-meta,
    .filter-group-options,
    .modal-body .form-field,
    .reply-input-area,
    .chat-footer,
    .chat-header,
    .ticket-footer-area,
    .settings-footer,
    .log-filter-grid,
    .management-pagination,
    .table-user,
    .responsive-table,
    .typeahead-suggestions,
    .chat-dropdown-menu,
    .user-list-item-body
  ) {
  background: #102f35 !important;
  border-color: #285263 !important;
  color: var(--pakar-text) !important;
}

html[data-theme="dark"]
  :is(
    .modal-head,
    .panel-modal__card > header,
    .modal-card > .modal-head,
    .modal-actions
  ) {
  background: #123b43 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .category-search-control,
    .category-custom-input,
    .filter-search-input,
    .chat-input,
    .setting-inline-select,
    .form-field-label-input,
    .typeahead-option
  ) {
  background: #0b2630 !important;
  color: #f1f8f3 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(input, select, textarea, .form-control, .field-control):focus-within,
html[data-theme="dark"] :is(input, select, textarea, .form-control):focus {
  background: #123b43 !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12) !important;
}

html[data-theme="dark"] table,
html[data-theme="dark"] thead,
html[data-theme="dark"] tbody,
html[data-theme="dark"] tr,
html[data-theme="dark"] td,
html[data-theme="dark"] th {
  background: transparent !important;
  border-color: #285263 !important;
  color: var(--pakar-text) !important;
}

html[data-theme="dark"] thead tr {
  background: #102f35 !important;
}

html[data-theme="dark"] tbody tr {
  background: #131d18 !important;
}

html[data-theme="dark"] tbody tr:nth-child(even) {
  background: #17221c !important;
}

html[data-theme="dark"] tbody tr:hover {
  background: #1d2c24 !important;
}

html[data-theme="dark"]
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    label,
    .card-title,
    .topbar-title h1,
    .admin-user-link,
    .admin-user-cell,
    .requester-info,
    .auth-brand__copy strong
  ) {
  color: var(--pakar-text) !important;
}

html[data-theme="dark"]
  :is(
    p,
    small,
    .muted,
    .card-text,
    .form-sort-row small,
    .section-action p,
    .topbar-title p,
    .field-hint,
    .sidebar-role,
    .sidebar-nav-label
  ) {
  color: var(--pakar-muted) !important;
}

html[data-theme="dark"]
  :is(
    .badge-cat,
    .module-request-card .badge-cat,
    .admin-market-card .badge-cat,
    .card-status-badge,
    .chat-request-tag
  ) {
  background: rgba(188, 255, 37, 0.14) !important;
  color: #d9ff7b !important;
  border: 1px solid rgba(188, 255, 37, 0.24) !important;
}

html[data-theme="dark"]
  :is(
    .segmented button:not(.active),
    .sub-tab:not(.active),
    .seen-btn:not(.active),
    .auth-tab:not(.is-active),
    .modal-tabs button:not(.active),
    .ghost-btn,
    .btn-secondary,
    .close-modal-btn,
    .page-btn,
    .chat-back-btn,
    .chat-menu-btn,
    .chat-attach-btn,
    .detail-owner-actions .btn-delete,
    .detail-owner-actions .btn-edit
  ) {
  background: var(--pakar-teal-soft);
  color: #e2eee7 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] :is(.tab-btn, .admin-nav button) {
  color: #b9c8c0 !important;
}

html[data-theme="dark"] :is(.tab-btn:hover, .admin-nav button:hover) {
  background: #123b43 !important;
  color: #eef8f1 !important;
}

html[data-theme="dark"] :is(.tab-btn.active, .admin-nav button.active) {
  background: #123b43 !important;
  color: #dfff91 !important;
}

html[data-theme="dark"]
  :is(
    .modal-overlay,
    .modal-backdrop,
    .page-guide-backdrop,
    .module-filter-backdrop,
    .notification-modal-overlay
  ) {
  background: rgba(0, 0, 0, 0.76) !important;
}

html[data-theme="dark"]
  :is(
    .visual-content,
    .visual-window__body,
    .panel-preview-welcome,
    .panel-preview-services,
    .brand-strip
  ) {
  background: #071b3b !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] :is(.site-footer, .footer-bottom) {
  border-color: #2c3b34 !important;
}

html[data-theme="dark"] a {
  color: inherit;
}

.tools-area.mine-mode
  :is(
    #requestActionsContainer,
    #wantItActionsContainer,
    #canDoActionsContainer,
    #questionActionsContainer
  ) {
  width: 70% !important;
  min-width: 0 !important;
  max-width: 70% !important;
  justify-self: center !important;
}

.tools-area.mine-mode
  :is(
    #requestActionsContainer,
    #wantItActionsContainer,
    #canDoActionsContainer,
    #questionActionsContainer
  )
  > .btn-primary {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

@media (max-width: 700px) {
  .tools-area.mine-mode
    :is(
      #requestActionsContainer,
      #wantItActionsContainer,
      #canDoActionsContainer,
      #questionActionsContainer
    ) {
    width: 100% !important;
    max-width: 100% !important;
  }
}

html[data-theme="dark"]
  :is(
    .page-guide-button,
    .dashboard-guide-link,
    .btn-back-home,
    .validity-btn,
    .btn-edit,
    .btn-delete,
    .custom-checkbox,
    .rate-limit-box,
    .ban-banner,
    .verify-notice,
    .blocked-notice,
    .dashboard-tips,
    .filter-guide-card,
    .chat-bubble.received,
    .ticket-bubble.user,
    .reply-bubble,
    .stat-badge-white,
    .toast,
    .notification-modal-content,
    .notification-card,
    .announcement-history-item,
    .reply-chip,
    .log-filter-grid,
    .role-user-row,
    .activity-summary-card,
    .admin-activity-report,
    .button-outline,
    .menu-button,
    .eyebrow,
    .visual-window__bar,
    .visual-services article,
    .visual-list,
    .panel-preview-services article,
    .panel-preview-response,
    .brand-strip,
    .mobile-nav
  ) {
  background: #102f35 !important;
  color: var(--pakar-text) !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    .chat-bubble.received,
    .ticket-bubble.user,
    .reply-bubble,
    .notification-card,
    .announcement-history-item
  ) {
  background: #102f35 !important;
}

html[data-theme="dark"]
  :is(
    .auth-brand__logo,
    .showcase-mini-card img,
    .visual-avatar,
    .dashboard-welcome-art img,
    .brand--footer .brand-logo,
    .panel-preview-avatar,
    .panel-preview-bell
  ) {
  background: #123b43 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    .typeahead-option:hover,
    .select-item:hover,
    .select-item.active,
    .home-btn:hover,
    .page-btn:hover,
    .icon-btn:hover
  ) {
  background: #16434b !important;
  color: #dfff91 !important;
}

html[data-theme="dark"] :is(.loading-indicator, .settings-footer) {
  background: rgba(42, 64, 53, 0.96) !important;
  color: var(--pakar-text) !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    #chatsList .card,
    #ticketsList .card,
    #notificationsList .card,
    #detailRequesterCard,
    #verificationCard,
    #colleagueVerificationBox
  ) {
  background: var(--soft) !important;
  color: var(--pakar-text) !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    .primary-btn,
    .btn-primary,
    .primary-action,
    .button-primary,
    .top-action
  ) {
  filter: saturate(1.08) brightness(1.04);
}

html[data-theme="dark"] .user-details-card.user-details-card,
html[data-theme="dark"] .profile-header.profile-header,
html[data-theme="dark"] .profile-actions-bar.profile-actions-bar {
  background: #102f35 !important;
}

html[data-theme="dark"] .modal-content.modal-content,
html[data-theme="dark"] .modal-card.modal-card,
html[data-theme="dark"] .panel-modal__card.panel-modal__card {
  background: #102f35 !important;
  border-color: #285263 !important;
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.58) !important;
}

html[data-theme="dark"]
  :is(
    .panel-tour-actions,
    .notification-item,
    .notification-modal-footer,
    .notification-loading,
    .notification-empty,
    .module-filter-drawer__header,
    .module-filter-drawer__header button,
    .notification-modal-close,
    .context-message,
    .context-message__icon,
    .ban-alert,
    .ban-alert > i,
    .success-mark
  ) {
  background: #102f35 !important;
  color: var(--pakar-text) !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] .notification-item.is-unread {
  background: #123b43 !important;
  border-color: rgba(188, 255, 37, 0.28) !important;
}

html[data-theme="dark"] :is(.context-message.is-warning, .ban-alert) {
  background: #2b2615 !important;
  color: #f3dc90 !important;
  border-color: #5b4d22 !important;
}

html[data-theme="dark"] .context-message.is-error {
  background: #2c191c !important;
  color: #ffb8c0 !important;
  border-color: #63333a !important;
}

html[data-theme="dark"] :is(.button-white, .visual-sidebar > i:first-of-type) {
  background: #dfff91 !important;
  color: #071b3b !important;
  border-color: #d4ab2f !important;
}

html:not([data-theme="dark"]) body {
  background-color: #f3f7fb !important;
  background-image:
    radial-gradient(
      circle at 94% -8%,
      rgba(20, 184, 166, 0.12),
      transparent 31%
    ),
    radial-gradient(circle at -8% 82%, rgba(11, 42, 90, 0.07), transparent 28%) !important;
  color: #071b3b !important;
}

html:not([data-theme="dark"])
  body
  :is(
    .tools-area,
    .tools-area.visible,
    .tools-area.mine-mode,
    .tools-area.visible.mine-mode,
    .content-surface,
    .chat-list-surface,
    .modal-content,
    .modal-card,
    .panel-modal__card,
    .terms-modal,
    .module-filter-drawer
  ) {
  background: #ffffff !important;
  background-image: none !important;
  color: #071b3b !important;
  border-color: rgba(11, 42, 90, 0.14) !important;
  box-shadow: 0 18px 48px rgba(7, 27, 59, 0.1) !important;
}

html:not([data-theme="dark"])
  body
  :is(
    .module-request-card,
    .user-details-card,
    .profile-header,
    .system-chat-card,
    .chat-list-row,
    .auth-card,
    .role-choice,
    .ver-card,
    .admin-market-card,
    .stat-card,
    .verification-card-grid-item,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .method-card,
    .filter-group-card,
    .service-card,
    .workflow-step,
    .workflow-note,
    .page-guide-card,
    .panel-tour-card,
    .help-card,
    .help-written,
    .card
  ) {
  background: #ffe698 !important;
  background-image: none !important;
  color: #071b3b !important;
  border-color: rgba(137, 185, 24, 0.36) !important;
}

html:not([data-theme="dark"])
  body
  :is(.badge-cat, .card-status-badge, .chat-request-tag, .filter-option-count) {
  background: #ffe698 !important;
  background-image: none !important;
  color: #0b2a5a !important;
  border-color: rgba(117, 160, 17, 0.35) !important;
}

html:not([data-theme="dark"])
  body
  :is(.modal-head, .modal-actions, .terms-header, .terms-footer) {
  background: #f6f9fc !important;
  border-color: rgba(11, 42, 90, 0.13) !important;
}

html:not([data-theme="dark"])
  body
  .modal-content
  :is(.form-group, .field-group, .modal-body .form-field) {
  background: #f7fafc !important;
}

html[data-theme="dark"] body {
  background-color: #020817 !important;
  background-image:
    radial-gradient(
      circle at 88% -10%,
      rgba(20, 184, 166, 0.23),
      transparent 30%
    ),
    radial-gradient(circle at 4% 20%, rgba(11, 42, 90, 0.78), transparent 34%),
    radial-gradient(
      circle at 52% 112%,
      rgba(20, 184, 166, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #020817 0%, #030b1d 50%, #020817 100%) !important;
  background-attachment: fixed !important;
  color: #f7fbff !important;
}

html[data-theme="dark"]
  :is(.main-panel, .admin-main, .admin-content, .auth-main, .app-layout, main) {
  background: transparent !important;
}

html[data-theme="dark"]
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    label,
    legend,
    summary,
    .home-btn-title,
    .card-title,
    .profile-name,
    .profile-header h2,
    .user-details-card h3,
    .modal-content h1,
    .modal-content h2,
    .modal-content h3,
    .content-surface h1,
    .content-surface h2,
    .content-surface h3,
    .chat-list-surface h1,
    .chat-list-surface h2,
    .chat-list-surface h3,
    .filter-header-title,
    .filter-group-title-copy strong,
    .filter-group-visibility strong,
    .status-control-row strong,
    .terms-checkbox,
    .visual-welcome strong,
    .panel-preview-heading strong,
    .panel-preview-services strong,
    .panel-preview-response__header > span,
    .panel-preview-request strong,
    .panel-preview-answer strong
  ) {
  color: #f7fbff !important;
}

html[data-theme="dark"]
  :is(
    p,
    small,
    .muted,
    .card-text,
    .home-btn-desc,
    .profile-subtitle,
    .modal-content p,
    .modal-content small,
    .content-surface p,
    .chat-list-surface p,
    .filter-header-summary,
    .filter-group-visibility small,
    .status-control-row small,
    .visual-welcome small,
    .visual-services small,
    .visual-row small,
    .panel-preview-request small,
    .panel-preview-answer small,
    .topbar-title p
  ) {
  color: #b4c5d9 !important;
}

html[data-theme="dark"] :is(.app-sidebar, .admin-sidebar, .mobile-nav) {
  background: #071b3b !important;
  border-color: rgba(20, 184, 166, 0.19) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"]
  :is(
    .tab-btn,
    .admin-nav a,
    .desktop-nav a,
    .sidebar-role,
    .sidebar-nav-label
  ) {
  color: #b8cbe1 !important;
}

html[data-theme="dark"] :is(.tab-btn.active, .admin-nav a.active) {
  background: rgba(20, 184, 166, 0.17) !important;
  color: #ffffff !important;
  border-color: rgba(20, 184, 166, 0.34) !important;
  box-shadow: inset 3px 0 0 #14b8a6 !important;
}

html[data-theme="dark"]
  body
  :is(
    .tools-area,
    .tools-area.visible,
    .tools-area.mine-mode,
    .tools-area.visible.mine-mode
  ) {
  background: #071b3b !important;
  background-image: none !important;
  color: #f7fbff !important;
  border: 1px solid rgba(20, 184, 166, 0.22) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] body :is(.content-surface, .chat-list-surface) {
  background: #06162f !important;
  background-image: none !important;
  color: #f7fbff !important;
  border-color: rgba(105, 146, 191, 0.28) !important;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

html[data-theme="dark"]
  body
  :is(.modal-content, .modal-card, .panel-modal__card, .terms-modal) {
  background: #0b2a5a !important;
  background-image: none !important;
  color: #f7fbff !important;
  border: 1px solid rgba(20, 184, 166, 0.34) !important;
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(20, 184, 166, 0.07) !important;
}

html[data-theme="dark"]
  :is(
    .modal-head,
    .panel-modal__card > header,
    .modal-card > .modal-head,
    .terms-header
  ) {
  background: #103568 !important;
  border-color: rgba(20, 184, 166, 0.27) !important;
}

html[data-theme="dark"] :is(.modal-actions, .terms-footer) {
  background: #071b3b !important;
  border-color: rgba(105, 146, 191, 0.28) !important;
}

html[data-theme="dark"] :is(.modal-body, .terms-body) {
  background: transparent !important;
}

html[data-theme="dark"] .terms-section {
  background: #09234a !important;
  border: 1px solid rgba(105, 146, 191, 0.28) !important;
  border-radius: 14px;
}

html[data-theme="dark"] .terms-section h3 {
  color: #78e4d7 !important;
}

html[data-theme="dark"]
  body
  :is(
    .module-request-card,
    .user-details-card,
    .profile-header,
    .system-chat-card,
    .chat-list-row,
    .auth-card,
    .role-choice,
    .ver-card,
    .admin-market-card,
    .stat-card,
    .verification-card-grid-item,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .method-card,
    .filter-group-card,
    .service-card,
    .workflow-step,
    .workflow-note,
    .page-guide-card,
    .panel-tour-card,
    .help-card,
    .help-written,
    .card
  ) {
  background: #ffe698 !important;
  background-image: none !important;
  color: #f7fbff !important;
  border-color: #d6b95f !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.29),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"]
  body
  :is(
    .module-request-card,
    .chat-list-row,
    .system-chat-card,
    .admin-market-card,
    .stat-card,
    .info-card,
    .setting-card
  ) {
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

html[data-theme="dark"]
  body
  :is(
    .module-request-card,
    .chat-list-row,
    .system-chat-card,
    .admin-market-card,
    .stat-card,
    .info-card,
    .setting-card
  ):hover {
  background: #f4d77d !important;
  border-color: rgba(188, 255, 37, 0.62) !important;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(20, 184, 166, 0.12) !important;
  transform: translateY(-2px) !important;
}

html[data-theme="dark"]
  :is(.badge-cat, .chat-request-tag, .card-status-badge, .filter-option-count) {
  background: #ffe698 !important;
  background-image: none !important;
  color: #edffc8 !important;
  border-color: #d6b95f !important;
}

html[data-theme="dark"] :is(.badge.green, .status-success, .verified-badge) {
  background: rgba(20, 184, 166, 0.18) !important;
  color: #7ce8dc !important;
  border-color: rgba(20, 184, 166, 0.34) !important;
}

html[data-theme="dark"] .tools-area :is(.sub-tabs, .seen-filter-container) {
  background: #09234a !important;
  border: 1px solid rgba(105, 146, 191, 0.28) !important;
}

html[data-theme="dark"] :is(.sub-tab, .seen-btn) {
  color: #b7c9de !important;
}

html[data-theme="dark"] :is(.sub-tab.active, .seen-btn.active) {
  background: #14b8a6 !important;
  color: #04152f !important;
  border-color: #42d7c7 !important;
  box-shadow: 0 9px 22px rgba(20, 184, 166, 0.25) !important;
}

html[data-theme="dark"] .home-btn {
  background: linear-gradient(145deg, #0b2a5a 0%, #071b3b 72%) !important;
  color: #ffffff !important;
  border-color: rgba(20, 184, 166, 0.25) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

html[data-theme="dark"] .home-btn::after {
  border-color: transparent !important;
}

html[data-theme="dark"] .home-btn.btn-have {
  box-shadow:
    inset 4px 0 0 #d4ab2f,
    0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] .home-btn.btn-want {
  box-shadow:
    inset 4px 0 0 #14b8a6,
    0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] .home-btn.btn-can {
  box-shadow:
    inset 4px 0 0 #53a8ff,
    0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] .home-btn.btn-know {
  box-shadow:
    inset 4px 0 0 #a991ff,
    0 18px 48px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] .home-btn:hover {
  background: linear-gradient(145deg, #103568 0%, #09234a 75%) !important;
  border-color: rgba(20, 184, 166, 0.55) !important;
  transform: translateY(-4px) !important;
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(20, 184, 166, 0.12) !important;
}

html[data-theme="dark"] .home-btn-title.home-btn-title {
  color: #ffffff !important;
  text-shadow: 0 2px 22px rgba(20, 184, 166, 0.16) !important;
}

html[data-theme="dark"]
  :is(.home-btn-kicker, .home-btn-desc, .dashboard-section-heading p) {
  color: #b9cbe0 !important;
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(20, 184, 166, 0.25),
      transparent 32%
    ),
    radial-gradient(circle at 10% 82%, rgba(11, 42, 90, 0.85), transparent 36%),
    linear-gradient(145deg, #020817 0%, #071b3b 55%, #041127 100%) !important;
}

html[data-theme="dark"] .hero-grid-pattern {
  opacity: 0.92 !important;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.105) 1px, transparent 1px) !important;
  background-size: 46px 46px !important;
  mask-image: linear-gradient(
    to bottom,
    black 8%,
    rgba(0, 0, 0, 0.75) 60%,
    transparent 96%
  ) !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 8%,
    rgba(0, 0, 0, 0.75) 60%,
    transparent 96%
  ) !important;
}

html[data-theme="dark"] .hero-orb-one {
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.28),
    transparent 68%
  ) !important;
}

html[data-theme="dark"] .hero-orb-two {
  background: radial-gradient(
    circle,
    rgba(11, 42, 90, 0.76),
    transparent 70%
  ) !important;
}

html[data-theme="dark"] :is(.hero h1, .section-heading h2, .brand-copy strong) {
  color: #ffffff !important;
}

html[data-theme="dark"] .hero h1 span {
  color: #66e2d4 !important;
}

html[data-theme="dark"] .hero h1 span::after {
  background: rgba(188, 255, 37, 0.18) !important;
}

html[data-theme="dark"]
  :is(
    .hero-copy > p,
    .hero-trust,
    .section-heading p,
    .brand-copy small,
    .desktop-nav a
  ) {
  color: #b5c8de !important;
}

html[data-theme="dark"] .eyebrow {
  background: rgba(11, 42, 90, 0.75) !important;
  color: #dffcff !important;
  border-color: rgba(20, 184, 166, 0.39) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .faq-list details {
  background: #071b3b !important;
  background-image: none !important;
  color: #f7fbff !important;
  border: 1px solid rgba(105, 146, 191, 0.3) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="dark"] .faq-list details:hover {
  background: #09234a !important;
  border-color: rgba(20, 184, 166, 0.48) !important;
}

html[data-theme="dark"] .faq-list details[open] {
  background: #0b2a5a !important;
  border-color: rgba(20, 184, 166, 0.54) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    inset 4px 0 0 #14b8a6 !important;
}

html[data-theme="dark"] .faq-list summary {
  color: #ffffff !important;
}

html[data-theme="dark"] .faq-list summary i {
  width: 30px !important;
  height: 30px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: #14b8a6 !important;
  color: #071b3b !important;
  box-shadow: 0 7px 18px rgba(20, 184, 166, 0.24) !important;
}

html[data-theme="dark"] .faq-list details p {
  color: #c1d0e1 !important;
  border-top-color: rgba(105, 146, 191, 0.28) !important;
}

html[data-theme="dark"]
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .filter-search-input,
    .category-search-input,
    .chat-compose textarea
  ) {
  background: #09234a !important;
  color: #f7fbff !important;
  border-color: rgba(105, 146, 191, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
}

html[data-theme="dark"] :is(input, select, textarea, .form-control):focus {
  border-color: #14b8a6 !important;
  box-shadow: var(--brand-focus) !important;
  outline: none !important;
}

html[data-theme="dark"] :is(input, textarea)::placeholder {
  color: #8ea6c0 !important;
  opacity: 1;
}

html[data-theme="dark"]
  :is(
    .typeahead-suggestions,
    .chat-dropdown-menu,
    .filter-panel-picker,
    .module-filter-drawer,
    .dropdown-menu,
    .notification-modal-content
  ) {
  background: #071b3b !important;
  color: #f7fbff !important;
  border-color: rgba(20, 184, 166, 0.34) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.58) !important;
}

html[data-theme="dark"]
  :is(.typeahead-option, .select-item, .option-row, .filter-option-label) {
  background: #09234a !important;
  color: #eef7ff !important;
  border-color: rgba(105, 146, 191, 0.3) !important;
}

html[data-theme="dark"]
  :is(
    .typeahead-option:hover,
    .select-item:hover,
    .option-row:hover,
    .filter-option-label:hover
  ) {
  background: #103568 !important;
  border-color: rgba(20, 184, 166, 0.46) !important;
}

html[data-theme="dark"] :is(.data-card th, .responsive-table th) {
  background: #0b2a5a !important;
  color: #dceaff !important;
  border-color: rgba(105, 146, 191, 0.24) !important;
}

html[data-theme="dark"] :is(.data-card td, .responsive-table td) {
  color: #eaf3ff !important;
  border-color: rgba(105, 146, 191, 0.18) !important;
}

html[data-theme="dark"]
  :is(.segmented, .chat-participants span, .reply-chip, .info-meta) {
  background: #09234a !important;
  color: #c8d8e8 !important;
  border-color: rgba(105, 146, 191, 0.26) !important;
}

html[data-theme="dark"] .segmented button {
  color: #b5c8dd !important;
}

html[data-theme="dark"]
  :is(
    .visual-window,
    .visual-window__bar,
    .visual-window__body,
    .visual-content,
    .visual-list,
    .visual-services article,
    .floating-card,
    .brand-strip,
    .panel-preview-services article,
    .panel-preview-response,
    .panel-preview-request,
    .panel-preview-answer,
    .dashboard-tips,
    .notification-card,
    .toast,
    .reply-bubble,
    .ticket-bubble.user,
    .activity-item,
    .option-row,
    .settings-collapsible-header,
    .settings-collapsible-body,
    .filter-group-options
  ) {
  background: #071b3b !important;
  color: #f7fbff !important;
  border-color: rgba(105, 146, 191, 0.28) !important;
}

html[data-theme="dark"]
  :is(.chat-bubble.received, .chat-bubble:not(.mine):not(.admin)) {
  background: #09234a !important;
  color: #f7fbff !important;
  border: 1px solid rgba(105, 146, 191, 0.25) !important;
}

html[data-theme="dark"] .chat-bubble.mine {
  background: #0f766e !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .chat-bubble.admin {
  background: rgba(188, 255, 37, 0.16) !important;
  color: #efffd0 !important;
  border-color: rgba(188, 255, 37, 0.34) !important;
}

html[data-theme="dark"] :is(.brand-strip, .section-soft, .faq, .workflow) {
  background: rgba(3, 11, 29, 0.62) !important;
}

html[data-theme="dark"]
  :is(
    .btn-primary,
    .primary-btn,
    .primary-action,
    .button-primary,
    .chat-send-btn,
    .btn-apply-settings
  ) {
  background: linear-gradient(135deg, #0f8f82, #14b8a6) !important;
  color: #ffffff !important;
  border-color: rgba(103, 236, 221, 0.44) !important;
  box-shadow: 0 11px 28px rgba(20, 184, 166, 0.24) !important;
}

html[data-theme="dark"]
  :is(
    .btn-primary,
    .primary-btn,
    .primary-action,
    .button-primary,
    .chat-send-btn,
    .btn-apply-settings
  ):hover {
  background: linear-gradient(135deg, #14b8a6, #39d6c5) !important;
  box-shadow: 0 16px 38px rgba(20, 184, 166, 0.34) !important;
}

html[data-theme="dark"]
  :is(
    .btn-secondary,
    .button-outline,
    .ghost-btn,
    .close-modal-btn,
    .icon-btn,
    .menu-button,
    .chat-back-btn,
    .chat-menu-btn,
    .chat-attach-btn
  ) {
  background: #0b2a5a !important;
  color: #eef7ff !important;
  border-color: rgba(105, 146, 191, 0.4) !important;
}

html[data-theme="dark"]
  :is(
    .btn-secondary,
    .button-outline,
    .ghost-btn,
    .close-modal-btn,
    .icon-btn,
    .menu-button
  ):hover {
  background: #103568 !important;
  border-color: rgba(20, 184, 166, 0.48) !important;
}

html[data-theme="dark"] .theme-toggle-control {
  background: #0b2a5a !important;
  color: #77e6d9 !important;
  border-color: rgba(20, 184, 166, 0.42) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
}

html[data-theme="dark"] .theme-toggle-control i {
  color: #77e6d9 !important;
}

html[data-theme="dark"] .page-edge-tool--guide {
  background: #14b8a6 !important;
  color: #071b3b !important;
  border-color: #65e0d2 !important;
}

html[data-theme="dark"] .page-edge-tool--guide i {
  color: #071b3b !important;
}

html[data-theme="dark"] .switch span {
  background: #45607d !important;
}

html[data-theme="dark"] .switch span::before {
  background: #ffffff !important;
}

html[data-theme="dark"] .switch input:checked + span {
  background: #14b8a6 !important;
}

html[data-theme="dark"] .panel-page-btn {
  background: #071b3b !important;
  color: #dbe9f8 !important;
  border-color: rgba(105, 146, 191, 0.32) !important;
}

html[data-theme="dark"] .panel-page-btn.active {
  background: #14b8a6 !important;
  color: #071b3b !important;
  border-color: #14b8a6 !important;
}

html[data-theme="dark"] {
  scrollbar-color: #176c68 #041127;
}

html[data-theme="dark"] *::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html[data-theme="dark"] *::-webkit-scrollbar-track {
  background: #041127;
}

html[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background: #176c68;
  border: 2px solid #041127;
  border-radius: 999px;
}

html[data-theme="dark"] *::-webkit-scrollbar-thumb:hover {
  background: #14b8a6;
}

@media (max-width: 900px) {
  html[data-theme="dark"] .app-sidebar {
    background: rgba(7, 27, 59, 0.97) !important;
    border-top: 1px solid rgba(20, 184, 166, 0.24) !important;
    box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.42) !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-theme="dark"]
    :is(
      .home-btn,
      .module-request-card,
      .chat-list-row,
      .faq-list details,
      .theme-toggle-control
    ) {
    transition-duration: 0.22s !important;
  }
}

html:not([data-theme="dark"]) body .tools-area.tools-area,
html:not([data-theme="dark"]) body .content-surface.content-surface,
html:not([data-theme="dark"]) body .chat-list-surface.chat-list-surface {
  background: #ffffff !important;
  background-image: none !important;
}

html:not([data-theme="dark"]) body .modal-content.modal-content,
html:not([data-theme="dark"]) body .modal-card.modal-card,
html:not([data-theme="dark"]) body .panel-modal__card.panel-modal__card {
  background: #ffffff !important;
  background-image: none !important;
}

html[data-theme="dark"] body .tools-area.tools-area {
  background: #071b3b !important;
  background-image: none !important;
}

html[data-theme="dark"] body .content-surface.content-surface,
html[data-theme="dark"] body .chat-list-surface.chat-list-surface {
  background: #06162f !important;
  background-image: none !important;
}

html[data-theme="dark"] body .modal-content.modal-content,
html[data-theme="dark"] body .modal-card.modal-card,
html[data-theme="dark"] body .panel-modal__card.panel-modal__card {
  background: #0b2a5a !important;
  background-image: none !important;
}

html[data-theme="dark"]
  :is(
    .sidebar-user-info,
    .btn-back-home,
    .dashboard-tips,
    .dashboard-guide-link,
    .settings-collapsible,
    .settings-collapsible-header,
    .settings-collapsible-body,
    .settings-footer,
    .profile-actions-bar,
    .requester-info,
    .chat-input,
    .reply-input-area,
    .chat-footer,
    .chat-compose,
    .panel-tour-actions,
    .notification-item,
    .ticket-card,
    .ticket-detail,
    .ticket-list,
    .chat-window,
    .empty-state,
    .list-pane,
    .detail-pane,
    .toolbar,
    .announcement-card,
    .form-sort-row,
    .filter-panel-picker,
    .form-layout-picker
  ) {
  background: #071b3b !important;
  background-image: none !important;
  color: #f7fbff !important;
  border-color: rgba(105, 146, 191, 0.3) !important;
}

html[data-theme="dark"]
  :is(
    .settings-collapsible-header:hover,
    .settings-collapsible.open .settings-collapsible-header,
    .notification-item:hover,
    .select-item.active
  ) {
  background: #0b2a5a !important;
  border-color: rgba(20, 184, 166, 0.42) !important;
}

html[data-theme="dark"]
  :is(
    .home-btn-arrow,
    .category-clear,
    .custom-checkbox,
    .detail-owner-actions .btn-delete,
    .detail-owner-actions .btn-edit
  ) {
  background: #0b2a5a !important;
  color: #eef7ff !important;
  border-color: rgba(105, 146, 191, 0.4) !important;
}

html[data-theme="dark"]
  :is(.requester-info, .info-meta, .verification-dates, .modal-note) {
  background: #09234a !important;
  color: #c3d3e5 !important;
}

html[data-theme="dark"] :is(.card.unread, .notification-item.is-unread) {
  background: #ffe698 !important;
  background-image: none !important;
  border-color: #d6b95f !important;
}

.tools-area.mine-mode #requestActionsContainer,
.tools-area.visible.mine-mode #requestActionsContainer {
  width: 50% !important;
  max-width: 50% !important;
  min-width: 0 !important;
  flex: 0 0 50% !important;
  margin-inline: auto !important;
}

.tools-area.mine-mode #requestActionsContainer > .btn-primary,
.tools-area.visible.mine-mode #requestActionsContainer > .btn-primary {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 768px) {
  .tools-area.mine-mode #requestActionsContainer,
  .tools-area.visible.mine-mode #requestActionsContainer {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
  }
}

html[data-theme="dark"]
  :is(
    .module-request-card,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .system-chat-card,
    .chat-list-row,
    .admin-market-card,
    .verification-card-grid-item,
    .stat-card,
    .info-card,
    .setting-card,
    .role-card
  ) {
  background: #102f35 !important;
  background-image: none !important;
  border-color: rgba(130, 175, 151, 0.34) !important;
  color: #f4fbf6 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="dark"]
  :is(
    .module-request-card:hover,
    .chat-list-row:hover,
    .system-chat-card:hover,
    .admin-market-card:hover,
    .verification-card-grid-item:hover
  ) {
  border-color: rgba(20, 184, 166, 0.54) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] .activity-summary > div {
  border: 1px solid rgba(126, 168, 147, 0.32) !important;
  color: #f4fbf6 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .activity-summary > div i {
  color: #46cdbc !important;
}

html[data-theme="dark"] .activity-summary > div span {
  color: #b8cbc1 !important;
}

html[data-theme="dark"] .activity-summary > div strong {
  color: #ffffff !important;
}

html[data-theme="dark"]
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .filter-search-input,
    .category-search-input,
    .chat-compose textarea,
    .setting-inline-select,
    .form-field-label-input
  ) {
  box-shadow: none !important;
}

html[data-theme="dark"] :is(input, select, textarea, .form-control):focus,
html[data-theme="dark"] .search-box:focus-within {
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.11) !important;
}

html[data-theme="dark"] select option {
  background: #0a2530 !important;
  color: #f5fbf7 !important;
}

html[data-theme="dark"]
  body
  :is(
    .modal-content,
    .modal-card,
    .panel-modal__card,
    .notification-modal-content
  ) {
  background: #05142c !important;
  background-image: none !important;
  border-color: rgba(77, 116, 159, 0.48) !important;
  color: #f5f9ff !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46) !important;
}

html[data-theme="dark"]
  body
  :is(
    .modal-head,
    .modal-actions,
    .panel-modal__card > header,
    .modal-card > .modal-head
  ) {
  background: #071b3b !important;
  background-image: none !important;
  border-color: rgba(77, 116, 159, 0.38) !important;
  color: #f5f9ff !important;
}

html[data-theme="dark"]
  :is(.modal-content, .modal-card, .panel-modal__card)
  :is(p, small, .field-hint) {
  color: #b9c9dc !important;
}

html[data-theme="dark"]
  :is(
    .btn-primary,
    .primary-btn,
    .primary-action,
    .button-primary,
    .chat-send-btn,
    .btn-apply-settings,
    .top-action
  ) {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border-color: rgba(70, 205, 188, 0.36) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
}

html[data-theme="dark"]
  :is(
    .btn-primary,
    .primary-btn,
    .primary-action,
    .button-primary,
    .chat-send-btn,
    .btn-apply-settings,
    .top-action
  ):hover {
  background: linear-gradient(135deg, #127167, #118277) !important;
  border-color: rgba(91, 224, 207, 0.5) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px);
}

html[data-theme="dark"]
  :is(
    .btn-primary,
    .primary-btn,
    .primary-action,
    .button-primary,
    .chat-send-btn,
    .btn-apply-settings,
    .top-action
  ):active {
  transform: translateY(0);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16) !important;
}

html[data-theme="dark"] .empty-state,
.empty-state {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-theme="dark"] .empty-state {
  color: #9db0a6 !important;
}

html[data-theme="dark"] .empty-state i {
  color: #557267 !important;
}

html[data-theme="dark"] .empty-state h3 {
  color: #dce8e1 !important;
}

html[data-theme="dark"] .stat-badge {
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .stat-badge-success {
  background: #17382e !important;
  color: #b9f0d7 !important;
}

html[data-theme="dark"] .stat-badge-success i {
  color: #49d39f !important;
}

html[data-theme="dark"] .stat-badge-danger {
  background: #382027 !important;
  color: #f2c2cc !important;
}

html[data-theme="dark"] .stat-badge-danger i {
  color: #e87b8d !important;
}

html[data-theme="dark"] .stat-badge-warning {
  background: #3a321d !important;
  color: #f1dfaa !important;
}

html[data-theme="dark"] .stat-badge-warning i {
  color: #dfb94c !important;
}

html[data-theme="dark"] .stat-badge-info {
  background: #17313a !important;
  color: #b9dce5 !important;
}

html[data-theme="dark"] .stat-badge-info i {
  color: #5ab9ce !important;
}

html[data-theme="dark"] .stat-badge :is(.count, .label) {
  color: inherit !important;
}

.segmented {
  gap: 7px !important;
}

#moderationStatusTabs {
  gap: 10px !important;
}

.segmented button {
  flex: 0 0 auto;
}

html[data-theme="dark"] .segmented {
  background: #0a2330 !important;
  border: 1px solid rgba(91, 128, 119, 0.3) !important;
  padding: 6px !important;
}

html[data-theme="dark"] .segmented button:not(.active) {
  background: #102f35 !important;
  color: #b8c9c0 !important;
  border: 1px solid rgba(97, 137, 123, 0.25) !important;
}

html[data-theme="dark"] .segmented button.active {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border-color: rgba(70, 205, 188, 0.38) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .toolbar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .split-layout {
  grid-template-columns: minmax(310px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 650px;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .list-pane {
  background: #071b3b !important;
  background-image: none !important;
  border: 1px solid rgba(71, 110, 154, 0.42) !important;
  border-radius: 20px !important;
  padding: 14px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) {
  background: #05142c !important;
  background-image: none !important;
  border: 1px solid rgba(71, 110, 154, 0.42) !important;
  border-radius: 20px !important;
  padding: 18px !important;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .card-head {
  min-height: 48px;
  padding: 2px 2px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(71, 110, 154, 0.34);
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .card-head h2 {
  color: #ffffff !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-list {
  gap: 9px;
  padding: 2px 2px 8px;
  scrollbar-color: #176c68 #05142c;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-item {
  background: #0a2038 !important;
  background-image: none !important;
  color: #f4f8ff !important;
  border: 1px solid rgba(74, 111, 153, 0.34) !important;
  border-radius: 15px !important;
  padding: 13px !important;
  box-shadow: none !important;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-item:hover {
  background: #0d2a42 !important;
  border-color: rgba(20, 184, 166, 0.5) !important;
  transform: translateX(-2px);
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-item.active {
  background: #123b3b !important;
  border-color: #14b8a6 !important;
  box-shadow: inset -4px 0 0 #14b8a6 !important;
}

html[data-theme="dark"]
  :is(#view-chats, #view-tickets)
  .select-item
  .mini-avatar {
  background: #103b46 !important;
  color: #5ee0d1 !important;
  border: 1px solid rgba(20, 184, 166, 0.28) !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-item strong {
  color: #ffffff !important;
}

html[data-theme="dark"] :is(#view-chats, #view-tickets) .select-item small {
  color: #9fb2c7 !important;
}

html[data-theme="dark"]
  :is(#view-chats, #view-tickets)
  .participant-links
  .admin-user-link,
html[data-theme="dark"] :is(#view-chats, #view-tickets) .ticket-user-link {
  background: #102f35 !important;
  color: #8de5da !important;
  border: 1px solid rgba(20, 184, 166, 0.2) !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-detail-head {
  margin: -18px -18px 0;
  padding: 16px 18px;
  min-height: 68px;
  background: #071b3b !important;
  border-bottom: 1px solid rgba(71, 110, 154, 0.42) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 2;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-detail-head h3 {
  color: #ffffff !important;
  font-size: 1rem;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-detail-head p {
  color: #a9bbcf !important;
  margin-top: 3px !important;
}

html[data-theme="dark"] #adminChatPane .chat-participants {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

html[data-theme="dark"] #adminChatPane .chat-participants button {
  background: #10362f !important;
  color: #d8f7ef !important;
  border: 1px solid rgba(20, 184, 166, 0.28) !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
}

html[data-theme="dark"]
  :is(#adminChatPane, #ticketPane)
  :is(.chat-messages, .ticket-messages) {
  margin: 0 -18px;
  padding: 22px 20px 18px !important;
  background-color: #031126 !important;
  background-image:
    radial-gradient(
      circle at 12% 10%,
      rgba(20, 184, 166, 0.07),
      transparent 30%
    ),
    radial-gradient(circle at 88% 84%, rgba(46, 77, 62, 0.14), transparent 34%) !important;
  min-height: 470px;
  max-height: 540px;
  gap: 12px !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .message-row {
  gap: 10px;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-bubble {
  background: #10243a !important;
  color: #eef5ff !important;
  border: 1px solid rgba(81, 119, 160, 0.3) !important;
  border-radius: 16px 16px 16px 5px !important;
  padding: 11px 14px !important;
  line-height: 1.8;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16) !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-bubble.mine {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border-color: rgba(84, 220, 203, 0.34) !important;
  border-radius: 16px 16px 5px 16px !important;
}

html[data-theme="dark"] #adminChatPane .chat-bubble.admin {
  background: #102f35 !important;
  color: #f2fbf5 !important;
  border-color: rgba(137, 183, 157, 0.4) !important;
  border-radius: 16px !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-bubble small,
html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-bubble small a {
  color: #a9bbcf !important;
}

html[data-theme="dark"]
  :is(#adminChatPane, #ticketPane)
  .chat-bubble.mine
  small,
html[data-theme="dark"]
  :is(#adminChatPane, #ticketPane)
  .chat-bubble.mine
  small
  a {
  color: rgba(255, 255, 255, 0.78) !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .reply-chip {
  background: rgba(3, 17, 38, 0.58) !important;
  color: #c6d5e6 !important;
  border: 0 !important;
  border-right: 3px solid #14b8a6 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-compose {
  margin: 0 -18px -18px;
  padding: 14px 18px 16px !important;
  background: #071b3b !important;
  border-top: 1px solid rgba(71, 110, 154, 0.42) !important;
  align-items: flex-end;
}

html[data-theme="dark"]
  :is(#adminChatPane, #ticketPane)
  .chat-compose
  textarea {
  min-height: 48px;
  max-height: 130px;
  border-radius: 14px !important;
}

html[data-theme="dark"]
  :is(#adminChatPane, #ticketPane)
  .chat-compose
  .primary-btn {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0 !important;
  border-radius: 14px !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .danger-btn {
  background: #3a1c25 !important;
  color: #ffb8c4 !important;
  border: 1px solid rgba(232, 123, 141, 0.25) !important;
}

@media (max-width: 900px) {
  html[data-theme="dark"] :is(#view-chats, #view-tickets) .split-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  html[data-theme="dark"]
    :is(#adminChatPane, #ticketPane)
    :is(.chat-messages, .ticket-messages) {
    min-height: 360px;
    max-height: 500px;
  }
}

html[data-theme="dark"] body .modal-content.modal-content,
html[data-theme="dark"] body .modal-card.modal-card,
html[data-theme="dark"] body .panel-modal__card.panel-modal__card,
html[data-theme="dark"]
  body
  .notification-modal-content.notification-modal-content {
  background: #05142c !important;
  background-image: none !important;
  border-color: rgba(77, 116, 159, 0.48) !important;
  color: #f5f9ff !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46) !important;
}

html[data-theme="dark"] body .segmented.segmented,
html[data-theme="dark"] body #moderationStatusTabs.segmented {
  background: #0a2330 !important;
  background-image: none !important;
  border-color: rgba(91, 128, 119, 0.3) !important;
  gap: 7px !important;
}

html[data-theme="dark"] body #moderationStatusTabs.segmented {
  gap: 10px !important;
}

html[data-theme="dark"] body .segmented.segmented > button:not(.active) {
  background: #102f35 !important;
  color: #b8c9c0 !important;
  border: 1px solid rgba(97, 137, 123, 0.25) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body .segmented.segmented > button.active {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border-color: rgba(70, 205, 188, 0.38) !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  :is(
    .module-request-card,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .system-chat-card,
    .chat-list-row,
    .admin-market-card,
    .verification-card-grid-item,
    .stat-card,
    .info-card,
    .setting-card,
    .role-card,
    .badge-cat
  ) {
  background: #102f35 !important;
  background-image: none !important;
}

html[data-theme="dark"]
  :is(
    .module-request-card:hover,
    .chat-list-row:hover,
    .system-chat-card:hover,
    .admin-market-card:hover,
    .verification-card-grid-item:hover
  ) {
  background: #16434b !important;
  background-image: none !important;
}

html[data-theme="dark"]
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .filter-search-input,
    .category-search-input,
    .chat-compose textarea,
    .setting-inline-select,
    .form-field-label-input
  ) {
  background-image: none !important;
}

html[data-theme="dark"] :is(input, select, textarea, .form-control):focus,
html[data-theme="dark"] .search-box:focus-within {
  outline: none !important;
  background: #0d313b !important;
}

html[data-theme="dark"] .activity-summary > div {
  background: #123b43 !important;
  background-image: none !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: #071b3b !important;
  background-image: none !important;
  color: #f4f8ff !important;
}

html[data-theme="dark"]
  :is(
    .card,
    .module-request-card,
    .chat-list-row,
    .system-chat-card,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .ver-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .admin-market-card,
    .verification-card-grid-item,
    .stat-card,
    .notification-card,
    .announcement-history-item,
    .select-item,
    .form-sort-row
  ) {
  background: #102f35 !important;
  background-image: none !important;
  border-color: #285263 !important;
  color: #f4f8ff !important;
  box-shadow: var(--pakar-shadow-soft) !important;
}

html[data-theme="dark"]
  :is(
    .card:hover,
    .module-request-card:hover,
    .chat-list-row:hover,
    .system-chat-card:hover,
    .admin-market-card:hover,
    .verification-card-grid-item:hover,
    .select-item:hover
  ) {
  background: #16434b !important;
  background-image: none !important;
  border-color: #367080 !important;
}

html[data-theme="dark"] #chatsList > .system-chat-card.chat-list-row,
html[data-theme="dark"] #chatsList > .chat-list-row,
html[data-theme="dark"] .system-chat-card.chat-list-row {
  background: #102f35 !important;
  border-color: #285263 !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  #chatsList
  > :is(.system-chat-card.chat-list-row, .chat-list-row):hover {
  background: #16434b !important;
}

html[data-theme="dark"] #fullScreenChat {
  background: #071b3b !important;
  background-image: none !important;
  color: #f4f8ff !important;
}

html[data-theme="dark"] #fullScreenChat .chat-header {
  background: #102f35 !important;
  background-image: none !important;
  border-bottom: 1px solid #285263 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] #fullScreenChat .chat-body {
  background-color: #071b3b !important;
  background-image:
    radial-gradient(
      circle at 12% 12%,
      rgba(20, 184, 166, 0.07),
      transparent 30%
    ),
    radial-gradient(circle at 88% 88%, rgba(11, 42, 90, 0.34), transparent 34%) !important;
  scrollbar-color: #367080 #071b3b;
}

html[data-theme="dark"]
  #fullScreenChat
  :is(.chat-back-btn, .chat-menu-btn, .chat-attach-btn) {
  background: #0b2a5a !important;
  color: #d9fbf6 !important;
  border: 1px solid #285263 !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  #fullScreenChat
  :is(.chat-back-btn, .chat-menu-btn, .chat-attach-btn):hover {
  background: #123b43 !important;
  color: #ffffff !important;
  border-color: #14b8a6 !important;
}

html[data-theme="dark"] #fullScreenChat .chat-dropdown-menu {
  background: #102f35 !important;
  border: 1px solid #285263 !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34) !important;
}

html[data-theme="dark"] #fullScreenChat .chat-dropdown-item {
  color: #f4f8ff !important;
}

html[data-theme="dark"] #fullScreenChat .chat-dropdown-item:hover {
  background: #16434b !important;
}

html[data-theme="dark"] #fullScreenChat .chat-dropdown-item.danger {
  color: #ffb8c4 !important;
}

html[data-theme="dark"] #fullScreenChat .chat-bubble.received {
  background: #102f35 !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] #fullScreenChat .chat-bubble.sent {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border-color: #1d8f82 !important;
}

html[data-theme="dark"] #fullScreenChat .chat-bubble.announcement {
  background: #0b2a5a !important;
  color: #d9fbf6 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] #fullScreenChat .chat-footer {
  width: min(940px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 10px 12px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #102f35 !important;
  background-image: none !important;
  border: 1px solid #285263 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] #fullScreenChat .chat-input {
  min-height: 48px;
  padding: 11px 16px !important;
  background: #071b3b !important;
  color: #f4f8ff !important;
  border: 1px solid #285263 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

html[data-theme="dark"] #fullScreenChat .chat-input::placeholder {
  color: #8faabb !important;
}

html[data-theme="dark"] #fullScreenChat .chat-input:focus {
  background: #0b2630 !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12) !important;
  outline: none !important;
}

html[data-theme="dark"] #fullScreenChat .chat-attach-btn {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border-radius: 12px !important;
  display: grid;
  place-items: center;
}

html[data-theme="dark"] #fullScreenChat .chat-send-btn {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border: 1px solid #1d8f82 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] #fullScreenChat .chat-send-btn:hover {
  background: linear-gradient(135deg, #0f7166, #14877a) !important;
  transform: translateY(-1px);
}

html[data-theme="dark"] #fullScreenChat .chat-reply-preview {
  background: #102f35 !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] .module-filter-drawer {
  background: #071b3b !important;
  background-image: none !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
  box-shadow: -18px 0 46px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .module-filter-drawer__header,
html[data-theme="dark"] .module-filter-drawer__hint {
  background: #071b3b !important;
  background-image: none !important;
  border-color: #285263 !important;
  color: #f4f8ff !important;
}

html[data-theme="dark"] .module-filter-drawer__header h2,
html[data-theme="dark"] .module-filter-drawer__header span,
html[data-theme="dark"] .module-filter-drawer__hint {
  color: #f4f8ff !important;
}

html[data-theme="dark"] .module-filter-drawer__header button {
  background: #102f35 !important;
  color: #d9fbf6 !important;
  border: 1px solid #285263 !important;
}

html[data-theme="dark"] .module-filter-drawer .settings-collapsible {
  background: #102f35 !important;
  background-image: none !important;
  border: 1px solid #285263 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .module-filter-drawer .settings-collapsible-header {
  background: #102f35 !important;
  background-image: none !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  .module-filter-drawer
  .settings-collapsible.open
  .settings-collapsible-header,
html[data-theme="dark"]
  .module-filter-drawer
  .settings-collapsible-header:hover {
  background: #123b43 !important;
}

html[data-theme="dark"] .module-filter-drawer .settings-collapsible-body {
  background: #071b3b !important;
  background-image: none !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] .module-filter-drawer .filter-search-input {
  background: #0b2630 !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
}

html[data-theme="dark"] .module-filter-drawer .filter-row {
  background: transparent !important;
  color: #e8f1f7 !important;
  border-color: #1f4856 !important;
}

html[data-theme="dark"] .module-filter-drawer .filter-row:hover {
  background: #102f35 !important;
}

html[data-theme="dark"] .module-filter-drawer .filter-row-label,
html[data-theme="dark"] .module-filter-drawer .filter-header-title,
html[data-theme="dark"] .module-filter-drawer .filter-header-summary {
  color: #e8f1f7 !important;
}

html[data-theme="dark"] .module-filter-drawer .custom-checkbox {
  background: #071b3b !important;
  border-color: #367080 !important;
}

html[data-theme="dark"] .module-filter-drawer .custom-checkbox.checked {
  background: #14b8a6 !important;
  color: #071b3b !important;
  border-color: #65e0d2 !important;
}

html[data-theme="dark"] .module-filter-drawer .btn-apply-settings {
  background: linear-gradient(135deg, #106159, #0f7166) !important;
  color: #ffffff !important;
  border: 1px solid #1d8f82 !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  :is(
    .modal-content,
    .modal-content.modal-content,
    .modal-card,
    .panel-modal__card,
    .notification-modal-content,
    .form-group,
    .field-group,
    .dynamic-item-filters,
    .option-row,
    .activity-item,
    .modal-note,
    .verification-dates,
    .info-meta,
    .filter-group-options,
    .reply-input-area,
    .ticket-footer-area,
    .settings-footer,
    .log-filter-grid,
    .management-pagination,
    .typeahead-suggestions,
    .chat-dropdown-menu
  ) {
  background: #102f35 !important;
  background-image: none !important;
  border-color: #285263 !important;
  color: #f4f8ff !important;
}

html[data-theme="dark"]
  :is(
    input,
    select,
    textarea,
    .form-control,
    .user-detail-input,
    .search-box,
    .field-control,
    .filter-search-input,
    .category-search-input,
    .chat-compose textarea,
    .setting-inline-select,
    .form-field-label-input
  ) {
  background: #0b2630 !important;
  color: #f4f8ff !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(.segmented, .sub-tabs, .seen-filter-container, .auth-tabs, .modal-tabs) {
  background: #102f35 !important;
  border-color: #285263 !important;
}

html[data-theme="dark"]
  :is(
    .segmented button.active,
    .sub-tab.active,
    .seen-btn.active,
    .auth-tab.is-active,
    .modal-tabs button.active
  ) {
  background: #14b8a6 !important;
  color: #071b3b !important;
  border-color: #65e0d2 !important;
}

html[data-theme="dark"] #adminChatPane .chat-bubble.admin,
html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .select-item,
html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .chat-bubble {
  background: #102f35 !important;
  border-color: #285263 !important;
  color: #f4f8ff !important;
}

html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .select-item:hover,
html[data-theme="dark"] :is(#adminChatPane, #ticketPane) .select-item.active {
  background: #16434b !important;
  border-color: #14b8a6 !important;
}

@media (max-width: 700px) {
  html[data-theme="dark"] #fullScreenChat .chat-footer {
    width: calc(100% - 16px);
    margin-bottom: 8px;
    padding: 8px !important;
    gap: 6px;
    border-radius: 16px !important;
  }

  html[data-theme="dark"] #fullScreenChat .chat-attach-btn:first-child {
    display: none;
  }

  html[data-theme="dark"] #fullScreenChat .chat-input {
    min-width: 0;
    padding-inline: 12px !important;
  }
}

html
  body
  :is(
    .tools-area,
    .tools-area.visible,
    .module-navigation-bar,
    .home-btn.btn-have
  ) {
  background: transparent !important;
  box-shadow: none !important;
}

html body :is(.tools-area, .tools-area.visible, .module-navigation-bar) {
  border-color: transparent !important;
}

html body .module-back-button {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

html body header :is(.icon-btn, .user-avatar-sm, .header-avatar-media) {
  background: transparent !important;
  box-shadow: none !important;
}

html body header :is(.icon-btn, .user-avatar-sm) {
  border-color: transparent !important;
}

html body .module-navigation-bar {
  direction: rtl !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .module-back-button {
  order: 0 !important;
}

html body .module-breadcrumb {
  order: 1 !important;
}

html
  body
  :is(
    .tools-area,
    .tools-area.visible,
    .tools-area.mine-mode,
    .tools-area.visible.mine-mode
  ) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body :is(.tools-area, .tools-area.visible)::before,
html body :is(.tools-area, .tools-area.visible)::after {
  content: none !important;
  display: none !important;
}

html body header :is(.header-avatar-media, .mobile-header-avatar-media) {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html:not([data-theme="dark"]) body header :is(.icon-btn, .user-avatar-sm) > i {
  color: #14b8a6 !important;
}

html[data-theme="dark"] body header :is(.icon-btn, .user-avatar-sm) > i {
  color: #d9fffb !important;
}

html body .seen-filter-container .seen-btn {
  height: auto !important;
  min-height: 62px !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
}

html:not([data-theme="dark"]) body div.tools-area.tools-area,
html:not([data-theme="dark"]) body div.tools-area.tools-area.visible,
html:not([data-theme="dark"]) body div.tools-area.tools-area.mine-mode,
html[data-theme="dark"] body div.tools-area.tools-area,
html[data-theme="dark"] body div.tools-area.tools-area.visible,
html[data-theme="dark"] body div.tools-area.tools-area.mine-mode {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .service-card.reveal,
html body .service-card.reveal.is-visible,
html:not([data-theme="dark"]) body .service-card,
html[data-theme="dark"] body .service-card {
  background: #ffffff !important;
  background-image: none !important;
  border-color: #dbe7ef !important;
  color: #071b3b !important;
}

html body .service-card :is(h3, p, .service-card__link) {
  color: inherit;
}

html body .service-card p {
  color: #607087 !important;
}

html body .service-card__link {
  color: #0b2a5a !important;
}

:root {
  --pakar-header: #ffffff;
  --pakar-sidebar: #fbfdfc;
  --pakar-surface-muted: #f0f5f3;
  --pakar-surface-selected: #e8f7f4;
  --pakar-border-strong: #b7cbc5;
  --pakar-text-muted: #5e6c84;
  --pakar-text-soft: #74848b;
  --pakar-primary-hover: #095f59;
  --pakar-primary-text: #ffffff;
  --pakar-accent-soft: #ddf8f4;
  --pakar-gold-soft: #fff7d6;
  --pakar-gold-text: #4a3900;
  --pakar-danger-soft: #fff0ee;
  --pakar-success: #087a70;
  --pakar-success-soft: #e7f7f3;
  --pakar-overlay: rgba(7, 27, 59, 0.52);
  --pakar-focus: #0d766e;
  --pakar-shadow-1: 0 2px 8px rgba(7, 27, 59, 0.055);
  --pakar-shadow-2: 0 12px 32px rgba(7, 27, 59, 0.085);
  --pakar-shadow-3: 0 24px 64px rgba(7, 27, 59, 0.14);
  --primary-lighter: var(--pakar-accent-soft);
  --accent-yellow-dark: #8a6800;
}

html[data-theme="dark"] {
  --pakar-header: #0a2343;
  --pakar-surface-muted: #0c2933;
  --pakar-surface-selected: #15434a;
  --pakar-text-muted: #b8cacb;
  --pakar-primary-hover: #2dd4bf;
  --pakar-primary-text: #071b3b;
  --pakar-gold-soft: #43370b;
  --pakar-gold-text: #fff1b8;
}

body,
button,
input,
select,
textarea {
  font-family: "Vazirmatn", "Noto Sans Arabic", Tahoma, sans-serif;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--pakar-focus) !important;
  outline-offset: 3px !important;
  box-shadow: none;
}

.theme-toggle-control {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--pakar-border) !important;
  border-radius: 12px;
  background: var(--pakar-surface-muted) !important;
  color: var(--pakar-text) !important;
  box-shadow: none !important;
}

.theme-toggle-control i {
  color: var(--pakar-primary) !important;
}

.theme-toggle-control:hover {
  background: var(--pakar-surface-selected) !important;
  transform: none !important;
}

html
  body
  :is(
    .card,
    .content-surface,
    .chat-list-surface,
    .module-request-card,
    .system-chat-card,
    .chat-list-row,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .stat-card,
    .admin-market-card,
    .auth-card,
    .role-choice,
    .panel-modal__card,
    .modal-content,
    .modal-card,
    .help-card,
    .help-written,
    .page-guide-card,
    .panel-tour-card,
    .filter-group-card,
    .filter-option-label,
    .method-card,
    .settings-collapsible,
    .settings-collapsible-header,
    .settings-collapsible-body,
    .tools-area,
    .module-filter-drawer,
    .user-list,
    .user-list-item-body,
    .profile-modal-header,
    .profile-modal-bio,
    .profile-contact-row,
    .ticket-detail-header,
    .question-forum-header,
    .notification-modal-content,
    .floating-card,
    .visual-window,
    .panel-preview-request,
    .panel-preview-response,
    .service-card,
    .workflow-step,
    .workflow-note,
    .faq-list details
  ) {
  background-color: var(--pakar-surface) !important;
  background-image: none !important;
  color: var(--pakar-text) !important;
  border-color: var(--pakar-border) !important;
}

html
  body
  :is(
    .requester-info,
    .card-media-indicator,
    .chat-request-tag,
    .filter-search-box,
    .filter-list-container,
    .panel-preview-services article,
    .panel-preview-welcome,
    .visual-window__bar,
    .visual-sidebar
  ) {
  background-color: var(--pakar-surface-muted) !important;
  background-image: none !important;
  color: var(--pakar-text) !important;
  border-color: var(--pakar-border) !important;
}

html
  body
  :is(h1, h2, h3, h4, h5, h6, strong, .card-title, .panel-page-title h2) {
  color: var(--pakar-text);
}

html body :is(p, small, .card-text, .panel-page-title p, .text-muted) {
  color: var(--pakar-text-muted);
}

html
  body
  :is(
    input:not([type="checkbox"]):not([type="radio"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .filter-search-input,
    .chat-input,
    .reply-input-area
  ) {
  color: var(--pakar-text) !important;
  background: var(--pakar-field) !important;
  border: 1px solid var(--pakar-border-strong) !important;
  box-shadow: none !important;
}

html
  body
  :is(
    input:not([type="checkbox"]):not([type="radio"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .filter-search-input,
    .chat-input,
    .reply-input-area
  )::placeholder {
  color: var(--pakar-text-soft) !important;
  opacity: 1;
}

html
  body
  :is(input, textarea, select, .form-control, .user-detail-input):focus {
  background: var(--pakar-surface) !important;
  border-color: var(--pakar-primary) !important;
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--pakar-primary) 18%, transparent) !important;
}

html
  body
  :is(
    .btn-primary,
    .primary-action,
    .primary-btn,
    .btn-action,
    .btn-apply-settings,
    .page-guide-start,
    .tour-primary,
    .chat-send-btn,
    .button-primary
  ) {
  color: var(--pakar-primary-text) !important;
  background: var(--pakar-primary) !important;
  background-image: none !important;
  border-color: var(--pakar-primary) !important;
  box-shadow: none !important;
}

html
  body
  :is(
    .btn-primary,
    .primary-action,
    .primary-btn,
    .btn-action,
    .btn-apply-settings,
    .page-guide-start,
    .tour-primary,
    .chat-send-btn,
    .button-primary
  ):hover {
  color: var(--pakar-primary-text) !important;
  background: var(--pakar-primary-hover) !important;
  transform: translateY(-1px);
}

html
  body
  :is(
    .btn-secondary,
    .ghost-btn,
    .tour-secondary,
    .button-outline,
    .button-soft,
    .button-text,
    .panel-page-btn,
    .btn-back-home
  ) {
  color: var(--pakar-text) !important;
  background: var(--pakar-surface-muted) !important;
  border: 1px solid var(--pakar-border) !important;
  box-shadow: none !important;
}

html body :is(.danger-btn, .btn-logout, .avatar-remove-btn, .btn-delete) {
  color: var(--pakar-danger) !important;
  background: var(--pakar-danger-soft) !important;
  border-color: color-mix(
    in srgb,
    var(--pakar-danger) 34%,
    transparent
  ) !important;
}

html
  body
  :is(
    .badge-cat,
    .dashboard-eyebrow,
    .page-guide-points span,
    .workflow-step > span,
    .service-card__number,
    .new-badge:not(.red):not(.green),
    .step-indicator
  ) {
  background: var(--pakar-gold-soft) !important;
  color: var(--pakar-gold-text) !important;
  border-color: color-mix(
    in srgb,
    var(--pakar-gold) 58%,
    var(--pakar-border)
  ) !important;
}

body .admin-sidebar {
  background: var(--pakar-sidebar) !important;
  color: var(--pakar-text) !important;
  border-inline-start: 1px solid var(--pakar-border) !important;
  box-shadow: -8px 0 28px rgba(7, 27, 59, 0.06) !important;
}

body .admin-brand {
  border-bottom-color: var(--pakar-border) !important;
}

body .admin-brand :is(strong, small) {
  color: var(--pakar-text) !important;
}

body .brand-mark {
  color: var(--pakar-gold-text) !important;
  background: var(--pakar-gold-soft) !important;
}

body .admin-nav button {
  color: var(--pakar-text-muted) !important;
  background: transparent !important;
}

body .admin-nav button:hover {
  color: var(--pakar-text) !important;
  background: var(--pakar-surface-muted) !important;
  transform: none !important;
}

body .admin-nav button.active {
  color: var(--pakar-primary) !important;
  background: var(--pakar-surface-selected) !important;
  box-shadow: inset -3px 0 0 var(--pakar-teal) !important;
  transform: none !important;
}

body .sidebar-user {
  background: var(--pakar-surface-muted) !important;
  border-color: var(--pakar-border) !important;
}

body .sidebar-user :is(strong, small, a) {
  color: var(--pakar-text-muted) !important;
}

body .admin-main,
body .admin-content {
  background: var(--pakar-page) !important;
}

body .admin-topbar {
  background: color-mix(
    in srgb,
    var(--pakar-header) 94%,
    transparent
  ) !important;
  color: var(--pakar-text) !important;
  border-bottom-color: var(--pakar-border) !important;
}

body .topbar-title h1 {
  color: var(--pakar-text) !important;
}

body .topbar-title p {
  color: var(--pakar-text-muted) !important;
}

body
  :is(
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .stat-card,
    .admin-market-card
  ) {
  box-shadow: var(--pakar-shadow-1) !important;
}

body
  :is(
    .data-card th,
    .data-card td,
    .admin-activity-report th,
    .admin-activity-report td
  ) {
  color: var(--pakar-text) !important;
  background: var(--pakar-surface) !important;
  border-color: var(--pakar-border) !important;
}

body :is(.data-card th, .admin-activity-report th) {
  background: var(--pakar-surface-muted) !important;
}

body .auth-header {
  background: color-mix(
    in srgb,
    var(--pakar-header) 96%,
    transparent
  ) !important;
  color: var(--pakar-text) !important;
  border-bottom: 1px solid var(--pakar-border) !important;
}

body .auth-brand__copy :is(strong, small),
body .home-link {
  color: var(--pakar-text) !important;
}

body .auth-main {
  background:
    radial-gradient(
      circle at 10% 10%,
      color-mix(in srgb, var(--pakar-teal) 14%, transparent),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 85%,
      color-mix(in srgb, var(--pakar-gold) 10%, transparent),
      transparent 32%
    ),
    var(--pakar-page) !important;
}

body .auth-layout {
  background: var(--pakar-surface) !important;
  border-color: var(--pakar-border) !important;
  box-shadow: var(--pakar-shadow-3) !important;
}

body .auth-showcase {
  background: linear-gradient(
    145deg,
    var(--pakar-navy),
    var(--pakar-navy-2)
  ) !important;
  color: #ffffff !important;
}

body .auth-panel,
body .auth-card {
  background: var(--pakar-surface) !important;
  color: var(--pakar-text) !important;
  border-color: var(--pakar-border) !important;
}

body .auth-tabs {
  background: var(--pakar-surface-muted) !important;
  border-color: var(--pakar-border) !important;
}

body .auth-tab {
  color: var(--pakar-text-muted) !important;
}

body .auth-tab.is-active {
  color: var(--pakar-primary-text) !important;
  background: var(--pakar-primary) !important;
  box-shadow: none !important;
}

body .role-choice:has(input:checked),
body .role-choice.is-selected {
  color: var(--pakar-text) !important;
  background: var(--pakar-surface-selected) !important;
  border-color: var(--pakar-teal) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pakar-teal) 16%, transparent) !important;
}

html body :is(.modal-overlay, .modal-backdrop, .panel-modal) {
  background-color: var(--pakar-overlay) !important;
}

html[data-theme="dark"]
  body
  :is(
    .module-request-card,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .system-chat-card,
    .chat-list-row,
    .admin-market-card,
    .verification-card-grid-item,
    .stat-card,
    .info-card,
    .setting-card,
    .role-card,
    #pakar-theme-dark-surface-lock
  ) {
  background: var(--pakar-surface) !important;
  background-color: var(--pakar-surface) !important;
  background-image: none !important;
  color: var(--pakar-text) !important;
  border-color: var(--pakar-border) !important;
}

html:not([data-theme="dark"])
  body
  :is(
    .badge-cat,
    .service-card__number,
    .workflow-step > span,
    #pakar-theme-gold-lock
  ) {
  background: var(--pakar-gold-soft) !important;
  color: var(--pakar-gold-text) !important;
  border-color: var(--pakar-gold) !important;
}

html[data-theme="dark"]
  :is(
    .segmented button:not(.active),
    .sub-tab:not(.active),
    .seen-btn:not(.active),
    .auth-tab:not(.is-active),
    .modal-tabs button:not(.active)
  ) {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.panel-choice-modal__close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 76px !important;
  min-height: 38px !important;
  padding: 7px 12px !important;
  border: 1px solid #dfa7a7 !important;
  border-radius: 11px !important;
  background: #f1cdcd !important;
  color: #8d242d !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  box-shadow: 0 5px 13px rgba(123, 32, 41, 0.12) !important;
}

.panel-choice-modal__close:hover {
  background: #eebcbc !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.46s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation-name: pakar-theme-old;
}

::view-transition-new(root) {
  animation-name: pakar-theme-new;
}

@keyframes pakar-theme-old {
  to {
    opacity: 0;
    transform: scale(0.992);
    filter: blur(2px);
  }
}

@keyframes pakar-theme-new {
  from {
    opacity: 0;
    transform: scale(1.008);
    filter: blur(2px);
  }
}

html.pakar-theme-animating *,
html.pakar-theme-animating *::before,
html.pakar-theme-animating *::after {
  transition: none !important;
}

html.pakar-theme-fallback *,
html.pakar-theme-fallback *::before,
html.pakar-theme-fallback *::after {
  transition-property:
    color, background-color, border-color, box-shadow, fill, stroke !important;
  transition-duration: 0.42s !important;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.01ms !important;
  }
}

.header-user-menu {
  position: relative;
}

.header-user-identity {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--pakar-text) !important;
}

#mobileHeaderUserName {
  color: #071b3b !important;
  -webkit-text-fill-color: #071b3b !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #mobileHeaderUserName {
  color: #f4faff !important;
  -webkit-text-fill-color: #f4faff !important;
}

.header-user-chevron {
  font-size: 0.7rem;
  color: var(--pakar-muted);
  transition: transform 0.2s ease;
}

.header-user-menu-open .header-user-chevron {
  transform: rotate(180deg);
}

.header-user-dropdown {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 1500;
  width: min(270px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--pakar-border);
  border-radius: 16px;
  background: var(--pakar-surface);
  box-shadow: 0 18px 48px rgba(7, 27, 59, 0.18);
}

.header-user-dropdown[hidden] {
  display: none !important;
}

.header-user-dropdown__summary {
  padding: 10px 11px 12px;
  border-bottom: 1px solid var(--pakar-border);
  margin-bottom: 6px;
}

.header-user-dropdown__summary strong,
.header-user-dropdown__summary small {
  display: block;
}

.header-user-dropdown__summary small {
  margin-top: 2px;
}

.header-user-dropdown :is(button, a) {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--pakar-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.header-user-dropdown :is(button, a):hover {
  background: var(--pakar-surface-2);
}

.header-user-dropdown__logout {
  color: var(--pakar-danger) !important;
}

.icon-btn.notification-icon-btn,
.icon-btn.notification-icon-btn:hover,
.icon-btn.notification-icon-btn:focus-visible {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--pakar-text) !important;
}

.trial-access-banner {
  width: min(920px, 100%);
  margin: 14px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--pakar-border);
  border-radius: 16px;
  background: var(--pakar-surface);
}

.trial-access-banner > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--pakar-teal-soft);
  color: var(--pakar-primary);
}

.trial-access-banner div {
  flex: 1;
  min-width: 0;
}

.trial-access-banner strong,
.trial-access-banner span {
  display: block;
}

.trial-access-banner span {
  color: var(--pakar-muted);
  font-size: 0.82rem;
}

.trial-access-banner button {
  min-height: 40px;
  border: 1px solid var(--pakar-teal);
  border-radius: 11px;
  background: var(--pakar-teal-soft);
  color: var(--pakar-primary);
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
}

.trial-access-banner--expired {
  border-color: color-mix(
    in srgb,
    var(--pakar-danger) 50%,
    var(--pakar-border)
  );
}

.trial-access-banner--expired > i {
  color: var(--pakar-danger);
  background: color-mix(in srgb, var(--pakar-danger) 12%, transparent);
}

.ver-card.trial-active {
  border-inline-start: 4px solid var(--pakar-gold) !important;
}

.ver-card.trial-expired {
  border-inline-start: 4px solid var(--pakar-danger) !important;
}

.ver-card.verified {
  border-inline-start: 4px solid var(--pakar-teal) !important;
}

.module-navigation-bar,
.panel-breadcrumb-shell {
  width: 100%;
  margin: 0 !important;
  padding: 9px 0 13px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.panel-breadcrumb {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  font-size: 0.76rem;
  white-space: nowrap;
}

.panel-breadcrumb::-webkit-scrollbar {
  display: none;
}

.panel-breadcrumb button {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--pakar-muted);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.panel-breadcrumb i {
  color: var(--pakar-muted);
  font-size: 0.65rem;
}

.panel-breadcrumb span {
  color: color-mix(in srgb, var(--pakar-text) 42%, transparent);
}

.admin-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 0.76rem;
}

.admin-page-breadcrumb::-webkit-scrollbar {
  display: none;
}

.admin-page-breadcrumb button {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--pakar-muted);
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.admin-page-breadcrumb i {
  color: var(--pakar-muted);
  font-size: 0.65rem;
}

.admin-page-breadcrumb span {
  color: color-mix(in srgb, var(--pakar-text) 42%, transparent);
}

.module-breadcrumb-logo,
.module-back-button {
  display: none !important;
}

.module-filter-drawer__close {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
}

html[data-theme="dark"]
  :is(
    .segmented button:not(.active),
    .sub-tab:not(.active),
    .seen-btn:not(.active),
    .auth-tab:not(.is-active),
    .modal-tabs button:not(.active)
  ) {
  background: transparent !important;
  color: var(--pakar-muted) !important;
  border-color: var(--pakar-border) !important;
}

:is(
  .segmented button.active,
  .sub-tab.active,
  .auth-tab.is-active,
  .modal-tabs button.active,
  .validity-btn.active
) {
  background: var(--pakar-teal-soft) !important;
  color: var(--pakar-primary) !important;
  border: 1px solid var(--pakar-teal) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .validity-btn.active {
  background: rgba(20, 184, 166, 0.22) !important;
  color: #b8fff5 !important;
  border-color: #35d4c2 !important;
}

.accessory-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  margin-bottom: 14px;
  border: 1px solid var(--pakar-border);
  border-radius: 15px;
  background: var(--pakar-surface-2);
}

.accessory-mode-row strong,
.accessory-mode-row small {
  display: block;
}

.accessory-mode-row small {
  color: var(--pakar-muted);
  margin-top: 2px;
  font-size: 0.76rem;
}

.accessory-mode-row.is-disabled {
  opacity: 0.52;
}

.accessory-switch {
  position: relative;
  flex: 0 0 auto;
  width: 54px;
  height: 30px;
  cursor: pointer;
}

.accessory-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.accessory-switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--pakar-border);
  border-radius: 999px;
  background: var(--pakar-field);
  transition: 0.2s;
}

.accessory-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pakar-muted);
  transition: 0.2s;
}

.accessory-switch input:checked + span {
  background: var(--pakar-teal);
  border-color: var(--pakar-teal);
}

.accessory-switch input:checked + span::after {
  inset-inline-start: 28px;
  background: #fff;
}

.accessory-switch input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--pakar-teal) 28%, transparent);
  outline-offset: 2px;
}

.accessory-switch input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}

.category-typeahead-host.taxonomy-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.category-typeahead.is-locked {
  opacity: 0.54;
}

.category-typeahead[hidden] {
  display: none !important;
}

.category-search-control {
  position: relative;
}

.category-search-control > i {
  position: absolute;
  inset-inline-start: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pakar-muted);
  z-index: 1;
}

.category-search-input {
  padding-inline-start: 38px !important;
  padding-inline-end: 42px !important;
}

.category-clear {
  position: absolute;
  inset-inline-end: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pakar-muted);
  cursor: pointer;
}

.category-clear:hover {
  background: var(--pakar-surface-2);
  color: var(--pakar-text);
}

.typeahead-suggestions {
  position: absolute;
  z-index: 120;
  inset-inline: 0;
  top: calc(100% + 6px);
  max-height: 240px;
  overflow: auto;
  display: none;
  padding: 6px;
  border: 1px solid var(--pakar-border);
  border-radius: 13px;
  background: var(--pakar-surface);
  box-shadow: 0 18px 42px rgba(7, 27, 59, 0.16);
}

.category-typeahead {
  position: relative;
}

.typeahead-suggestions.is-open {
  display: block;
}

.typeahead-option {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pakar-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.typeahead-option:hover,
.typeahead-option:focus-visible {
  background: var(--pakar-teal-soft);
  color: var(--pakar-primary);
}

.typeahead-empty {
  padding: 12px;
  color: var(--pakar-muted);
  text-align: center;
  font-size: 0.82rem;
}

.category-custom-input {
  margin-top: 8px;
}

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

.public-profile-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 16px;
}

.public-profile-card__avatar {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--pakar-surface-2);
  color: var(--pakar-muted);
  font-size: 1.8rem;
}

.public-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-profile-card__identity h3 {
  margin: 0;
}

.public-profile-card__identity strong,
.public-profile-card__identity span {
  display: block;
}

.public-profile-card__identity strong {
  color: var(--pakar-primary);
  margin-top: 3px;
}

.public-profile-card__identity span {
  color: var(--pakar-muted);
  font-size: 0.82rem;
}

.public-profile-card__verification {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--pakar-border);
  border-radius: 10px;
  color: var(--pakar-muted);
  font-size: 0.78rem;
}

.public-profile-card__verification.is-verified {
  color: var(--pakar-primary);
  border-color: var(--pakar-teal);
  background: var(--pakar-teal-soft);
}

.public-profile-card dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 4px 0 0;
}

.public-profile-card dl div {
  padding: 11px;
  border: 1px solid var(--pakar-border);
  border-radius: 11px;
  background: var(--pakar-surface-2);
}

.public-profile-card dt {
  color: var(--pakar-muted);
  font-size: 0.74rem;
}

.public-profile-card dd {
  margin: 2px 0 0;
  color: var(--pakar-text);
  font-weight: 700;
}

.public-profile-card__bio {
  grid-column: 1 / -1;
  padding: 13px;
  border: 1px solid var(--pakar-border);
  border-radius: 12px;
}

.public-profile-card__bio h4 {
  margin: 0 0 5px;
}

.public-profile-card__bio p {
  margin: 0;
  white-space: pre-wrap;
}

.public-profile-card > .btn-primary {
  grid-column: 1 / -1;
}

.modal-mobile-breadcrumb {
  display: none;
}

@media (max-width: 900px) {
  .trial-access-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .trial-access-banner div {
    min-width: calc(100% - 55px);
  }

  .trial-access-banner button {
    margin-inline-start: 51px;
  }

  .modal-mobile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -3px 0 13px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pakar-border);
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.72rem;
  }

  .modal-mobile-breadcrumb button {
    border: 0;
    background: transparent;
    color: var(--pakar-muted);
    font: inherit;
    padding: 0;
  }

  .modal-mobile-breadcrumb i {
    color: var(--pakar-muted);
    font-size: 0.6rem;
  }

  .modal-mobile-breadcrumb span {
    color: color-mix(in srgb, var(--pakar-text) 48%, transparent);
  }

  .close-modal-btn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .close-modal-btn i {
    font-size: 0.9rem !important;
  }

  .public-profile-card {
    grid-template-columns: 72px 1fr;
  }

  .public-profile-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .public-profile-card__verification {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .header-user-dropdown {
    inset-inline-start: -4px;
  }

  .public-profile-card dl {
    grid-template-columns: 1fr;
  }

  .accessory-mode-row {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.referral-section-action {
  align-items: center;
  gap: 18px;
}

.section-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.referral-table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.danger-icon-btn {
  color: var(--pakar-danger) !important;
}

.admin-modal-breadcrumb {
  display: none;
}

@media (max-width: 760px) {
  .referral-section-action {
    align-items: stretch;
  }

  .section-action-buttons {
    width: 100%;
  }

  .section-action-buttons > button {
    flex: 1 1 150px;
  }

  .admin-modal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 11px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pakar-border);
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.72rem;
  }

  .admin-modal-breadcrumb button {
    border: 0;
    background: transparent;
    color: var(--pakar-muted);
    font: inherit;
    padding: 0;
    cursor: pointer;
  }

  .admin-modal-breadcrumb i {
    color: var(--pakar-muted);
    font-size: 0.6rem;
  }

  .admin-modal-breadcrumb span {
    color: color-mix(in srgb, var(--pakar-text) 48%, transparent);
  }
}

.accessory-filter-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  margin: 0 0 12px;
  border: 1px solid var(--pakar-border);
  border-radius: 15px;
  background: var(--pakar-surface-2);
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.accessory-filter-stage.is-active {
  border-color: var(--pakar-teal);
  background: var(--pakar-teal-soft);
}

.accessory-filter-stage__copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.accessory-filter-stage__copy > div {
  min-width: 0;
}

.accessory-filter-stage__copy strong,
.accessory-filter-stage__copy small {
  display: block;
}

.accessory-filter-stage__copy strong {
  color: var(--pakar-text);
}

.accessory-filter-stage__copy small {
  margin-top: 2px;
  color: var(--pakar-muted);
  font-size: 0.74rem;
  line-height: 1.65;
}

.accessory-filter-stage__switch {
  margin-inline-start: auto;
}

html[data-theme="dark"] .accessory-filter-stage {
  background: transparent;
}

html[data-theme="dark"] .accessory-filter-stage.is-active {
  background: rgba(20, 184, 166, 0.16);
}

@media (max-width: 520px) {
  .accessory-filter-stage {
    align-items: flex-start;
  }

  .accessory-filter-stage__copy {
    align-items: flex-start;
  }
}

html,
body.auth-page,
body.auth-page * {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

body.auth-page {
  background-color: var(--auth-blue-950) !important;
  background-image:
    radial-gradient(
      circle at 10% 8%,
      rgba(53, 137, 207, 0.24),
      transparent 31%
    ),
    radial-gradient(circle at 89% 82%, rgba(23, 85, 145, 0.3), transparent 34%),
    linear-gradient(
      145deg,
      var(--auth-blue-950),
      var(--auth-blue-900) 54%,
      #092647
    ) !important;
}

body.auth-page .auth-header {
  color: #fff !important;
  background-color: rgba(4, 17, 38, 0.88) !important;
  background-image: linear-gradient(
    90deg,
    rgba(10, 45, 88, 0.96),
    rgba(4, 17, 38, 0.96)
  ) !important;
  border-bottom: 1px solid rgba(104, 166, 218, 0.24) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(18px) !important;
}

body.auth-page .auth-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #438fd0 24%,
    #75b5e8 50%,
    #438fd0 76%,
    transparent
  ) !important;
}

body.auth-page
  :is(.auth-brand__copy strong, .auth-brand__copy small, .home-link) {
  color: #fff !important;
}

body.auth-page .home-link {
  border: 1px solid rgba(137, 190, 232, 0.26) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

body.auth-page .home-link:hover,
body.auth-page .home-link:focus-visible {
  color: #fff !important;
  background: rgba(64, 141, 205, 0.2) !important;
  border-color: rgba(137, 190, 232, 0.55) !important;
}

body.auth-page .auth-main {
  position: relative !important;
  isolation: isolate !important;
  background-color: transparent !important;
  background-image:
    radial-gradient(
      circle at 12% 10%,
      rgba(55, 139, 210, 0.22),
      transparent 32%
    ),
    radial-gradient(circle at 88% 88%, rgba(26, 86, 145, 0.3), transparent 35%),
    linear-gradient(145deg, #041126 0%, #071b3b 52%, #0a294e 100%) !important;
}

body.auth-page .auth-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(96, 157, 211, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 157, 211, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 12%,
    transparent 86%
  );
  mask-image: radial-gradient(circle at center, #000 12%, transparent 86%);
}

body.auth-page .auth-showcase {
  background-color: #071b3b !important;
  background-image:
    radial-gradient(
      circle at 11% 3%,
      rgba(66, 148, 216, 0.32),
      transparent 31%
    ),
    radial-gradient(
      circle at 93% 92%,
      rgba(24, 78, 137, 0.42),
      transparent 34%
    ),
    linear-gradient(150deg, #06172f 0%, #08254b 50%, #0a315c 100%) !important;
}

body.auth-page .showcase-glow--one {
  background: radial-gradient(
    circle,
    rgba(100, 174, 230, 0.25),
    transparent 68%
  ) !important;
}

body.auth-page .showcase-badge i,
body.auth-page .showcase-mini-card > i,
body.auth-page .auth-showcase h1 span {
  color: #8ec8f2 !important;
}

body.auth-page .showcase-points > div,
body.auth-page .showcase-mini-card {
  background: rgba(5, 23, 47, 0.46) !important;
  border: 1px solid rgba(119, 180, 226, 0.2) !important;
  box-shadow: none !important;
}

body.auth-page .auth-panel {
  background-color: #edf6fc !important;
  background-image:
    radial-gradient(
      circle at 94% 5%,
      rgba(64, 145, 210, 0.14),
      transparent 34%
    ),
    linear-gradient(145deg, #f7fbff, #eaf4fb) !important;
}

body.auth-page .auth-card {
  color: var(--auth-ink) !important;
}

body.auth-page
  :is(.auth-heading h2, .field-group label, .role-choice__copy strong) {
  color: var(--auth-ink) !important;
}

body.auth-page
  :is(
    .auth-heading p,
    .field-hint,
    .privacy-note,
    .auth-footer-note,
    .role-choice__copy small
  ) {
  color: var(--auth-muted) !important;
}

body.auth-page .secure-pill,
body.auth-page .step-indicator {
  color: #164f80 !important;
  background: #e4f1fb !important;
  border: 1px solid #bad9ef !important;
}

body.auth-page .auth-tabs {
  background: #dcebf6 !important;
  border: 1px solid #bfd7e9 !important;
}

body.auth-page .auth-tab {
  color: #5d7488 !important;
  background: transparent !important;
}

body.auth-page .auth-tab.is-active,
body.auth-page .auth-tab[aria-selected="true"] {
  color: #fff !important;
  background-color: #0d4c82 !important;
  background-image: linear-gradient(135deg, #1766a2, #0b3f70) !important;
  box-shadow: 0 8px 20px rgba(11, 63, 112, 0.22) !important;
}

body.auth-page .field-control > i {
  color: #367cac !important;
}

body.auth-page .field-control input,
body.auth-page .otp-input {
  color: var(--auth-ink) !important;
  background: transparent !important;
}

body.auth-page .field-control input::placeholder {
  color: #91a5b6 !important;
}

body.auth-page .role-choice__check {
  border-color: #9cbcd2 !important;
}

body.auth-page .role-choice:has(input:checked) .role-choice__check,
body.auth-page .role-choice.is-selected .role-choice__check,
body.auth-page .role-choice:has(input:checked) .role-choice__icon,
body.auth-page .role-choice.is-selected .role-choice__icon {
  color: #fff !important;
  background: #1b659d !important;
  border-color: #1b659d !important;
}

body.auth-page .primary-action {
  background-color: #0d4c82 !important;
  background-image: linear-gradient(135deg, #1769a7, #0b3d6d) !important;
}

body.auth-page .primary-action:hover,
body.auth-page .primary-action:focus-visible {
  background-color: #0a3c69 !important;
  background-image: linear-gradient(135deg, #155b92, #082f56) !important;
  box-shadow: 0 15px 30px rgba(7, 48, 88, 0.31) !important;
}

body.auth-page .back-button,
body.auth-page .resend-button {
  color: #165b90 !important;
  background: #e8f3fb !important;
  border-color: #bdd8ea !important;
}

body.auth-page .resend-button:disabled {
  color: #8195a7 !important;
  background: #edf3f7 !important;
}

body.auth-page .otp-input {
  background: #f8fbfe !important;
  border: 1px solid #b6d0e2 !important;
}

body.auth-page .otp-input:focus {
  border-color: #3a85bd !important;
  box-shadow: 0 0 0 3px rgba(58, 133, 189, 0.16) !important;
}

body.auth-page .otp-validity-note i,
body.auth-page .privacy-note i {
  color: #2d76ad !important;
}

body.auth-page .success-mark {
  box-shadow: 0 12px 28px rgba(19, 87, 141, 0.25) !important;
}

body.auth-page .context-message {
  color: #164d78 !important;
  background: #eaf5fc !important;
  border-color: #b8d8ed !important;
}

body.auth-page .context-message__icon {
  color: #236da4 !important;
  background: #d9edf9 !important;
}

body.auth-page .panel-modal__card {
  background-color: #f8fbfe !important;
  background-image:
    radial-gradient(
      circle at 10% 0%,
      rgba(66, 146, 210, 0.16),
      transparent 36%
    ),
    linear-gradient(145deg, #fff, #edf6fc) !important;
}

body.auth-page .panel-modal__icon,
body.auth-page .panel-modal__card > a > span {
  color: #145b91 !important;
  background: #e0effa !important;
}

body.auth-page .panel-modal__card > a {
  border-color: #bfd7e8 !important;
}

body.auth-page .panel-modal__card > a:hover {
  background: #edf7fd !important;
  border-color: #4f92c2 !important;
}

html[data-theme="dark"] body.auth-page .auth-panel {
  background-color: #06172e !important;
  background-image:
    radial-gradient(circle at 94% 3%, rgba(54, 134, 205, 0.2), transparent 35%),
    linear-gradient(145deg, #08213f, #06172e) !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(
    .auth-heading p,
    .field-hint,
    .privacy-note,
    .auth-footer-note,
    .role-choice__copy small
  ) {
  color: #a9c1d8 !important;
}

html[data-theme="dark"] body.auth-page .auth-tabs {
  background: #04152b !important;
  border-color: #2c5a83 !important;
}

html[data-theme="dark"] body.auth-page .field-control,
html[data-theme="dark"] body.auth-page .otp-input,
html[data-theme="dark"] body.auth-page .role-choice {
  color: #f2f8ff !important;
  background: #05162d !important;
  border-color: #315f89 !important;
}

html[data-theme="dark"] body.auth-page .role-choice:hover,
html[data-theme="dark"] body.auth-page .role-choice:has(input:checked),
html[data-theme="dark"] body.auth-page .role-choice.is-selected {
  background: #0b2a4c !important;
  border-color: #4f91c6 !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card {
  background-color: #071a34 !important;
  background-image:
    radial-gradient(circle at 10% 0%, rgba(54, 134, 205, 0.2), transparent 36%),
    linear-gradient(145deg, #0a2445, #06172e) !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card > a {
  color: #edf6ff !important;
  background: #09213e !important;
  border-color: #2b5b87 !important;
}

@media (max-width: 900px) {
  body.auth-page .auth-showcase {
    background-image:
      radial-gradient(
        circle at 10% 0%,
        rgba(66, 148, 216, 0.28),
        transparent 36%
      ),
      linear-gradient(145deg, #06172f, #092b52) !important;
  }
}

@media (max-width: 620px) {
  body.auth-page .auth-main {
    background-image:
      radial-gradient(
        circle at 12% 4%,
        rgba(55, 139, 210, 0.23),
        transparent 33%
      ),
      linear-gradient(155deg, #041126, #082447) !important;
  }

  body.auth-page .auth-layout {
    border-color: rgba(95, 159, 213, 0.42) !important;
  }
}

body.auth-page,
body.auth-page * {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

body.auth-page .auth-layout {
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1.08fr) !important;
  min-height: 650px !important;
  overflow: hidden !important;
  border: 1px solid rgba(99, 158, 207, 0.33) !important;
  border-radius: 30px !important;
  background: var(--auth4-navy-900) !important;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.38) !important;
}

body.auth-page .auth-showcase {
  display: flex !important;
  align-items: center !important;
  padding: clamp(42px, 5vw, 72px) !important;
  background:
    radial-gradient(
      circle at 13% 10%,
      rgba(72, 151, 214, 0.31),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 88%,
      rgba(37, 98, 159, 0.32),
      transparent 36%
    ),
    linear-gradient(150deg, #031124 0%, #071d39 52%, #0a2b50 100%) !important;
}

body.auth-page .auth-showcase::before {
  opacity: 0.62 !important;
  background-size: 46px 46px !important;
  background-image:
    linear-gradient(rgba(132, 181, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 181, 220, 0.045) 1px, transparent 1px) !important;
}

body.auth-page .showcase-content {
  width: min(470px, 100%) !important;
  margin-inline: auto !important;
}

body.auth-page .showcase-badge {
  color: #dcedfb !important;
  background: rgba(49, 116, 177, 0.18) !important;
  border: 1px solid rgba(128, 185, 229, 0.3) !important;
  box-shadow: none !important;
}

body.auth-page .showcase-badge i,
body.auth-page .auth-showcase h1 span,
body.auth-page .showcase-mini-card > i {
  color: #91caf2 !important;
}

body.auth-page .auth-showcase h1 {
  color: #fff !important;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem) !important;
  line-height: 1.35 !important;
  margin-block: 30px 16px !important;
}

body.auth-page .auth-showcase > div > p,
body.auth-page .showcase-content > p {
  max-width: 440px !important;
  color: #c2d7e9 !important;
  font-size: 0.96rem !important;
  line-height: 2 !important;
}

body.auth-page .showcase-points {
  gap: 12px !important;
  margin-top: 32px !important;
}

body.auth-page .showcase-points > div {
  min-height: 74px !important;
  padding: 13px 14px !important;
  background: rgba(6, 25, 48, 0.58) !important;
  border: 1px solid rgba(116, 174, 219, 0.18) !important;
  border-radius: 16px !important;
}

body.auth-page .showcase-points > div > span {
  color: #b7ddf7 !important;
  background: rgba(50, 121, 184, 0.2) !important;
  border: 1px solid rgba(119, 179, 225, 0.2) !important;
}

body.auth-page .showcase-points strong {
  color: #f3f9ff !important;
}

body.auth-page .showcase-points small {
  color: #91a9bd !important;
}

body.auth-page .showcase-mini-card {
  margin-top: 18px !important;
  background: rgba(7, 28, 54, 0.72) !important;
  border: 1px solid rgba(126, 184, 228, 0.2) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16) !important;
}

body.auth-page .auth-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(30px, 5vw, 64px) !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(74, 151, 208, 0.1),
      transparent 32%
    ),
    linear-gradient(145deg, #f8fbfe, #edf5fb) !important;
}

body.auth-page .auth-card {
  width: min(460px, 100%) !important;
  margin: auto !important;
  padding: clamp(25px, 3vw, 34px) !important;
  border: 1px solid #c5daea !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 20px 52px rgba(8, 50, 88, 0.12) !important;
}

body.auth-page .auth-card__top {
  margin-bottom: 26px !important;
}

body.auth-page .auth-tabs--logic-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.auth-page .auth-heading {
  margin-bottom: 26px !important;
}

body.auth-page .auth-heading__icon {
  width: 54px !important;
  height: 54px !important;
  margin: 0 0 16px auto !important;
  color: #195d91 !important;
  background: #e5f1fa !important;
  border: 1px solid #bfd9eb !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.auth-page .auth-heading h2 {
  color: #071b3b !important;
  font-size: 1.55rem !important;
}

body.auth-page .auth-heading p {
  color: #61768a !important;
  font-size: 0.9rem !important;
  line-height: 1.9 !important;
}

body.auth-page .field-group {
  margin-bottom: 20px !important;
}

body.auth-page .field-group label {
  margin-bottom: 8px !important;
  color: #132f4d !important;
  font-size: 0.9rem !important;
}

body.auth-page .field-control {
  min-height: 56px !important;
  color: #173b5d !important;
  background: #f7fbfe !important;
  border: 1px solid #b9d2e4 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.auth-page .field-control:focus-within {
  border-color: #347fb7 !important;
  box-shadow: 0 0 0 4px rgba(48, 126, 183, 0.13) !important;
}

body.auth-page .primary-action {
  min-height: 56px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #1765a0, #0c4779) !important;
  border: 1px solid #2d78ae !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 24px rgba(12, 71, 121, 0.22) !important;
}

body.auth-page .primary-action:hover {
  background: linear-gradient(135deg, #1d72af, #0a3c68) !important;
  transform: translateY(-1px) !important;
}

body.auth-page .auth-mode-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 18px !important;
  color: #6a7e90 !important;
  font-size: 0.86rem !important;
}

body.auth-page .auth-mode-switch button {
  padding: 2px 4px !important;
  color: #155b98 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(21, 91, 152, 0.35) !important;
  font: inherit !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

body.auth-page .privacy-note {
  margin-top: 22px !important;
  color: #718497 !important;
  background: #f4f8fb !important;
  border: 1px solid #d7e4ee !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(.auth-heading h2, .field-group label, .role-choice__copy strong) {
  color: #eff7ff !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(
    .auth-heading p,
    .field-hint,
    .auth-footer-note,
    .role-choice__copy small,
    .auth-mode-switch
  ) {
  color: #9cb2c7 !important;
}

html[data-theme="dark"] body.auth-page .auth-heading__icon,
html[data-theme="dark"] body.auth-page .secure-pill,
html[data-theme="dark"] body.auth-page .step-indicator {
  color: #9ed0f3 !important;
  background: #102e50 !important;
  border-color: #2a577c !important;
}

html[data-theme="dark"] body.auth-page .role-choice__icon {
  color: #a7d3f2 !important;
  background: #123354 !important;
}

html[data-theme="dark"] body.auth-page .privacy-note {
  color: #96acc0 !important;
  background: #091d35 !important;
  border-color: #2a4d6d !important;
}

html[data-theme="dark"] body.auth-page .auth-mode-switch button {
  border-bottom-color: rgba(134, 197, 238, 0.42) !important;
}

@media (max-width: 900px) {
  body.auth-page .auth-layout {
    max-width: 610px !important;
  }

  body.auth-page .auth-showcase {
    padding: 30px 28px !important;
  }

  body.auth-page .auth-showcase h1 {
    font-size: 2rem !important;
    margin-block: 18px 8px !important;
  }

  body.auth-page .showcase-points {
    display: none !important;
  }

  body.auth-page .showcase-mini-card {
    display: none !important;
  }

  body.auth-page .auth-panel {
    padding: 30px 24px !important;
  }
}

@media (max-width: 620px) {
  body.auth-page .auth-main {
    padding: 12px 9px !important;
  }

  body.auth-page .auth-layout {
    border-radius: 22px !important;
  }

  body.auth-page .auth-showcase {
    padding: 24px 20px !important;
  }

  body.auth-page .auth-showcase h1 {
    font-size: 1.65rem !important;
  }

  body.auth-page .auth-panel {
    padding: 18px 12px 22px !important;
  }

  body.auth-page .auth-card {
    padding: 22px 16px !important;
    border-radius: 19px !important;
  }

  body.auth-page .auth-heading {
    margin-bottom: 22px !important;
  }
}

html
  body.auth-page
  :is(.field-group, .role-field-group, .register-only, .auth-screen) {
  color: inherit !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.auth-page .showcase-glow--two {
  background: radial-gradient(
    circle,
    rgba(62, 145, 207, 0.24),
    transparent 68%
  ) !important;
}

body.auth-page .showcase-badge i,
body.auth-page .showcase-mini-card > i,
body.auth-page .privacy-note > i,
body.auth-page .field-control > i {
  color: #378bc7 !important;
}

body.auth-page .secure-pill {
  color: #155b98 !important;
  background: #e8f3fb !important;
  border-color: #bdd9ec !important;
}

body.auth-page .context-message,
body.auth-page .context-message.is-warning {
  color: #1c527d !important;
  background: #edf6fc !important;
  border-color: #bad7ea !important;
}

body.auth-page .context-message.is-warning button,
body.auth-page .context-message button {
  color: #fff !important;
  background: #1765a0 !important;
}

body.auth-page .role-choice__check,
body.auth-page .success-mark,
body.auth-page .fixed-role-card__status {
  color: #fff !important;
  background: #2479b9 !important;
  border-color: #3b91cf !important;
}

body.auth-page .resend-button,
body.auth-page .back-button {
  color: #155b98 !important;
  background: #e8f3fb !important;
  border-color: #bfd9eb !important;
}

body.auth-page .panel-modal__icon {
  border-color: #326b99 !important;
}

html[data-theme="dark"] body.auth-page .auth-header {
  border-bottom: 1px solid #28567f !important;
}

html[data-theme="dark"] body.auth-page .auth-brand,
html[data-theme="dark"] body.auth-page .home-link {
  color: #edf7ff !important;
}

html[data-theme="dark"] body.auth-page .home-link,
html[data-theme="dark"] body.auth-page .theme-toggle-control {
  border: 1px solid #326b99 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .theme-toggle-control i {
  color: #8fcef5 !important;
}

html[data-theme="dark"] body.auth-page .home-link:hover,
html[data-theme="dark"] body.auth-page .theme-toggle-control:hover {
  color: #fff !important;
  background: #123a66 !important;
  border-color: #4b8fbe !important;
}

html[data-theme="dark"] body.auth-page .showcase-glow--one {
  background: radial-gradient(
    circle,
    rgba(103, 174, 229, 0.18),
    transparent 68%
  ) !important;
}

html[data-theme="dark"] body.auth-page .showcase-glow--two {
  background: radial-gradient(
    circle,
    rgba(48, 126, 188, 0.25),
    transparent 68%
  ) !important;
}

html[data-theme="dark"] body.auth-page .showcase-badge i,
html[data-theme="dark"] body.auth-page .auth-showcase h1 span,
html[data-theme="dark"] body.auth-page .showcase-mini-card > i {
  color: #91cef5 !important;
}

html[data-theme="dark"] body.auth-page .showcase-points > div {
  color: #f2f8ff !important;
  background: rgba(6, 25, 49, 0.72) !important;
  border-color: rgba(113, 174, 221, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .showcase-mini-card {
  color: #f3f9ff !important;
  background: rgba(8, 34, 65, 0.88) !important;
  border-color: #32658e !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body.auth-page .showcase-mini-card img {
  background: #eaf5fc !important;
  border: 1px solid #6fa6ce !important;
}

html[data-theme="dark"] body.auth-page .showcase-mini-card span,
html[data-theme="dark"] body.auth-page .showcase-points small {
  color: #9fb8cd !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(.field-group, .role-field-group, .register-only, .auth-screen) {
  color: #edf7ff !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(.auth-heading h2, .field-group > label, .role-choice__copy strong) {
  background: transparent !important;
}

html[data-theme="dark"] body.auth-page .field-control {
  color: #eaf5fd !important;
  background: #061a32 !important;
  border-color: #356387 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .field-control:focus-within {
  border-color: #5aa8d9 !important;
  box-shadow: 0 0 0 4px rgba(70, 153, 211, 0.15) !important;
}

html[data-theme="dark"] body.auth-page .field-control > i {
  color: #7fbce4 !important;
}

html[data-theme="dark"] body.auth-page .role-choice__icon,
html[data-theme="dark"] body.auth-page .role-choice__check {
  color: #b8e1fa !important;
  background: #12385e !important;
  border-color: #3d729a !important;
}

html[data-theme="dark"] body.auth-page .primary-action:hover:not(:disabled) {
  background: linear-gradient(135deg, #2d8cca, #17639f) !important;
}

html[data-theme="dark"] body.auth-page .auth-mode-switch button {
  color: #8fcdf3 !important;
  background: transparent !important;
  border-color: rgba(143, 205, 243, 0.45) !important;
}

html[data-theme="dark"] body.auth-page .context-message__icon {
  color: #a8d9f7 !important;
  background: #12375b !important;
}

html[data-theme="dark"] body.auth-page .context-message button,
html[data-theme="dark"] body.auth-page .context-message.is-warning button {
  color: #fff !important;
  background: #1765a0 !important;
}

html[data-theme="dark"] body.auth-page .otp-input {
  background: #061a32 !important;
  border-color: #356387 !important;
}

html[data-theme="dark"] body.auth-page .resend-button,
html[data-theme="dark"] body.auth-page .back-button {
  color: #9fd4f5 !important;
  background: #0d2b4b !important;
  border-color: #315e84 !important;
}

html[data-theme="dark"] body.auth-page .resend-button:disabled {
  color: #748da4 !important;
  background: #091e36 !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card {
  color: #edf7ff !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(54, 134, 205, 0.2), transparent 36%),
    linear-gradient(145deg, #0a2445, #06172e) !important;
  border-color: #315f8b !important;
}

@media (max-width: 620px) {
  html[data-theme="dark"] body.auth-page .auth-layout {
    background: #071a34 !important;
  }
}

body.auth-page {
  --pakar-primary: #2479b9;
  --pakar-primary-hover: #155b98;
  --pakar-teal: #3b91cf;
  --pakar-teal-soft: #dceefa;
  --pakar-gold: #3b91cf;
  --pakar-gold-soft: #dceefa;
  --pakar-gold-text: #123e63;
  --pakar-card-hover: #e7f3fb;
  --pakar-surface-selected: #e5f2fb;
  --yellow: #3b91cf;
  --yellow-soft: #dceefa;
  --pakar-primary-text: #ffffff;
  --accent: #2479b9;
  --accent-dark: #155b98;
  --accent-light: #dceefa;
  --auth8-accent: #1765a0;
  --auth8-accent-strong: #0d4f82;
  --auth8-radius-lg: 28px;
  --auth8-radius-md: 16px;
}

html:not([data-theme="dark"]) body.auth-page {
  color: #10263d !important;
  background: #ffffff !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-header {
  color: #10263d !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid #e3e9ef !important;
  box-shadow: 0 8px 28px rgba(19, 42, 65, 0.06) !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-header::after {
  display: none !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-brand,
html:not([data-theme="dark"]) body.auth-page .home-link {
  color: #132d47 !important;
}

html:not([data-theme="dark"]) body.auth-page .home-link,
html:not([data-theme="dark"]) body.auth-page .theme-toggle-control {
  color: #1f3e5b !important;
  background: #ffffff !important;
  border: 1px solid #d6e0e8 !important;
  box-shadow: 0 6px 18px rgba(19, 42, 65, 0.05) !important;
}

html:not([data-theme="dark"]) body.auth-page .home-link:hover,
html:not([data-theme="dark"]) body.auth-page .theme-toggle-control:hover {
  color: #0d4f82 !important;
  background: #f4f8fb !important;
  border-color: #9ebed5 !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-main {
  color: #10263d !important;
  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(32, 111, 168, 0.045),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 88%,
      rgba(69, 143, 192, 0.04),
      transparent 32%
    ),
    #ffffff !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-main::before {
  opacity: 0.22 !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-layout {
  color: #10263d !important;
  background: #ffffff !important;
  border: 1px solid #dfe7ed !important;
  box-shadow: 0 28px 80px rgba(15, 42, 66, 0.09) !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-showcase {
  color: #10263d !important;
  border-inline-end: 1px solid #e3e9ef !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-showcase::before {
  opacity: 0.42 !important;
  background-image:
    linear-gradient(rgba(29, 83, 123, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 83, 123, 0.035) 1px, transparent 1px) !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-glow {
  opacity: 0.3 !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-badge {
  color: #174d77 !important;
  background: #edf6fc !important;
  border-color: #c8dfef !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-showcase h1,
html:not([data-theme="dark"]) body.auth-page .showcase-points strong,
html:not([data-theme="dark"]) body.auth-page .showcase-mini-card strong {
  color: #0c2741 !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-showcase h1 span,
html:not([data-theme="dark"]) body.auth-page .showcase-badge i,
html:not([data-theme="dark"]) body.auth-page .showcase-mini-card > i {
  color: #1765a0 !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-content > p,
html:not([data-theme="dark"]) body.auth-page .showcase-points small,
html:not([data-theme="dark"]) body.auth-page .showcase-mini-card span {
  color: #5d7184 !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-points > div,
html:not([data-theme="dark"]) body.auth-page .showcase-mini-card {
  color: #10263d !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: #d9e4eb !important;
  box-shadow: 0 10px 28px rgba(20, 55, 82, 0.055) !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-points > div > span {
  color: #1765a0 !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-panel {
  color: #10263d !important;
  background: #ffffff !important;
  border-color: #e2e9ef !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-card {
  color: #10263d !important;
  background: #ffffff !important;
  border: 1px solid #dfe7ed !important;
  box-shadow: 0 18px 48px rgba(15, 42, 66, 0.08) !important;
}

html:not([data-theme="dark"])
  body.auth-page
  :is(.auth-heading h2, .field-group > label, .role-choice__copy strong) {
  color: #10263d !important;
}

html:not([data-theme="dark"])
  body.auth-page
  :is(
    .auth-heading p,
    .field-hint,
    .auth-footer-note,
    .role-choice__copy small,
    .auth-mode-switch,
    .step-indicator
  ) {
  color: #64788b !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-heading__icon,
html:not([data-theme="dark"]) body.auth-page .secure-pill {
  color: #155b98 !important;
  background: #edf6fc !important;
  border-color: #c8dfef !important;
}

html:not([data-theme="dark"]) body.auth-page .field-control,
html:not([data-theme="dark"]) body.auth-page .otp-input {
  color: #10263d !important;
  background: #ffffff !important;
  border-color: #cbd9e3 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
}

html:not([data-theme="dark"]) body.auth-page .field-control:focus-within,
html:not([data-theme="dark"]) body.auth-page .otp-input:focus {
  border-color: #3b86bc !important;
  box-shadow: 0 0 0 4px rgba(38, 119, 176, 0.11) !important;
}

html:not([data-theme="dark"]) body.auth-page .field-control input,
html:not([data-theme="dark"]) body.auth-page .otp-input {
  color: #10263d !important;
  background: transparent !important;
}

html:not([data-theme="dark"]) body.auth-page .role-choice {
  color: #10263d !important;
  background: #ffffff !important;
  border-color: #d2dee7 !important;
  box-shadow: none !important;
}

html:not([data-theme="dark"]) body.auth-page .role-choice:hover,
html:not([data-theme="dark"]) body.auth-page .role-choice.is-selected,
html:not([data-theme="dark"]) body.auth-page .role-choice:has(input:checked) {
  color: #10263d !important;
  background: #f1f8fc !important;
  border-color: #74a8cb !important;
  box-shadow: 0 0 0 3px rgba(48, 126, 183, 0.09) !important;
}

html:not([data-theme="dark"]) body.auth-page .privacy-note,
html:not([data-theme="dark"]) body.auth-page .context-message {
  color: #536a7e !important;
  background: #f8fafc !important;
  border-color: #dce5ec !important;
}

html:not([data-theme="dark"]) body.auth-page .primary-action {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1765a0, #0d4f82) !important;
  border-color: #1765a0 !important;
  box-shadow: 0 12px 26px rgba(13, 79, 130, 0.19) !important;
}

html[data-theme="dark"] body.auth-page {
  --pakar-page: #06152b;
  --pakar-header: #081f3c;
  --pakar-surface: #0a2443;
  --pakar-surface-muted: #071a31;
  --pakar-surface-selected: #102f52;
  --pakar-border: #2d5b82;
  --pakar-text: #edf7ff;
  --pakar-text-muted: #9bb4ca;
  --pakar-primary: #3b91cf;
  --pakar-primary-hover: #55a7df;
  --pakar-teal: #4a9fd6;
  --pakar-teal-soft: #102f52;
  --pakar-gold: #4a9fd6;
  --pakar-gold-soft: #102f52;
  --pakar-gold-text: #d9efff;
  --pakar-card-hover: #12375c;
  --yellow: #4a9fd6;
  --yellow-soft: #102f52;
  color: #edf4fa !important;
  background: #050a12 !important;
}

html[data-theme="dark"] body.auth-page .auth-header {
  color: #edf4fa !important;
  background: rgba(7, 14, 24, 0.97) !important;
  border-bottom-color: #1c2a3a !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] body.auth-page .auth-header::after {
  display: none !important;
}

html[data-theme="dark"] body.auth-page .home-link,
html[data-theme="dark"] body.auth-page .theme-toggle-control {
  color: #dce8f2 !important;
  background: #0d1826 !important;
  border-color: #26384a !important;
}

html[data-theme="dark"] body.auth-page .auth-main {
  color: #edf4fa !important;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(45, 118, 168, 0.13),
      transparent 31%
    ),
    radial-gradient(
      circle at 91% 87%,
      rgba(31, 84, 129, 0.16),
      transparent 35%
    ),
    linear-gradient(145deg, #050a12, #07111d 55%, #081522) !important;
}

html[data-theme="dark"] body.auth-page .auth-layout {
  color: #edf4fa !important;
  background: #09131f !important;
  border-color: #223345 !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52) !important;
}

html[data-theme="dark"] body.auth-page .auth-showcase {
  color: #edf4fa !important;
  border-inline-end: 1px solid #1f3041 !important;
}

html[data-theme="dark"] body.auth-page .showcase-badge {
  color: #cde8f8 !important;
  background: #10243a !important;
  border-color: #29465f !important;
}

html[data-theme="dark"] body.auth-page .auth-showcase h1,
html[data-theme="dark"] body.auth-page .showcase-points strong,
html[data-theme="dark"] body.auth-page .showcase-mini-card strong {
  color: #f7fbff !important;
}

html[data-theme="dark"] body.auth-page .showcase-content > p,
html[data-theme="dark"] body.auth-page .showcase-points small,
html[data-theme="dark"] body.auth-page .showcase-mini-card span {
  color: #9fb1c1 !important;
}

html[data-theme="dark"] body.auth-page .showcase-points > div,
html[data-theme="dark"] body.auth-page .showcase-mini-card {
  color: #edf4fa !important;
  background: rgba(9, 22, 36, 0.88) !important;
  border-color: #20384d !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .auth-panel {
  color: #edf4fa !important;
  background: #07101b !important;
  border-color: #1e2f40 !important;
}

html[data-theme="dark"] body.auth-page .auth-card {
  color: #edf4fa !important;
  background: #0d1826 !important;
  border-color: #26384a !important;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.38) !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(.auth-heading h2, .field-group > label, .role-choice__copy strong) {
  color: #f4f8fb !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(
    .auth-heading p,
    .field-hint,
    .auth-footer-note,
    .role-choice__copy small,
    .auth-mode-switch,
    .step-indicator
  ) {
  color: #9eafbe !important;
}

html[data-theme="dark"] body.auth-page .auth-heading__icon,
html[data-theme="dark"] body.auth-page .secure-pill {
  color: #a8daf5 !important;
  background: #10253a !important;
  border-color: #29475f !important;
}

html[data-theme="dark"] body.auth-page .field-control,
html[data-theme="dark"] body.auth-page .otp-input {
  color: #f4f8fb !important;
  background: #09131f !important;
  border-color: #2a3d50 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .field-control:focus-within,
html[data-theme="dark"] body.auth-page .otp-input:focus {
  border-color: #579bc6 !important;
  box-shadow: 0 0 0 4px rgba(69, 146, 194, 0.13) !important;
}

html[data-theme="dark"] body.auth-page .field-control input,
html[data-theme="dark"] body.auth-page .otp-input {
  color: #f6f9fc !important;
  background: transparent !important;
}

html[data-theme="dark"] body.auth-page .field-control input::placeholder {
  color: #6f8497 !important;
}

html[data-theme="dark"] body.auth-page .role-choice {
  color: #edf4fa !important;
}

html[data-theme="dark"] body.auth-page .role-choice:hover,
html[data-theme="dark"] body.auth-page .role-choice.is-selected,
html[data-theme="dark"] body.auth-page .role-choice:has(input:checked) {
  color: #ffffff !important;
  background: #10243a !important;
  border-color: #4f8db7 !important;
  box-shadow: 0 0 0 3px rgba(70, 145, 193, 0.11) !important;
}

html[data-theme="dark"] body.auth-page .privacy-note,
html[data-theme="dark"] body.auth-page .context-message,
html[data-theme="dark"] body.auth-page .context-message.is-warning {
  color: #a8b8c6 !important;
  background: #091522 !important;
  border-color: #26394b !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page .primary-action {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2479b9, #155b98) !important;
  border-color: #3f8fc7 !important;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.auth-page .auth-mode-switch button,
html[data-theme="dark"] body.auth-page .resend-button,
html[data-theme="dark"] body.auth-page .back-button {
  color: #91cdf0 !important;
}

@media (max-width: 900px) {
  html:not([data-theme="dark"]) body.auth-page .auth-showcase {
    border-inline-end: 0 !important;
    border-bottom: 1px solid #e3e9ef !important;
  }

  html[data-theme="dark"] body.auth-page .auth-showcase {
    border-inline-end: 0 !important;
    border-bottom: 1px solid #1f3041 !important;
  }
}

body.auth-page :is(.fa, .fas, .far, .fa-solid, .fa-regular),
body.auth-page :is(.fa, .fas, .far, .fa-solid, .fa-regular)::before {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
}

body.auth-page :is(.fas, .fa-solid),
body.auth-page :is(.fas, .fa-solid)::before {
  font-weight: 900 !important;
}

body.auth-page :is(.far, .fa-regular),
body.auth-page :is(.far, .fa-regular)::before {
  font-weight: 400 !important;
}

body.auth-page :is(.fab, .fa-brands),
body.auth-page :is(.fab, .fa-brands)::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-variant: normal !important;
  text-rendering: auto !important;
}

body.auth-page
  :is(.primary-action, .otp-submit, .auth-submit, button[type="submit"]) {
  background: var(--auth-green) !important;
  border-color: var(--auth-green) !important;
  color: #fff !important;
}

body.auth-page
  :is(.primary-action, .otp-submit, .auth-submit, button[type="submit"]):hover {
  background: var(--auth-green-hover) !important;
}

body.auth-page
  :is(
    .auth-heading__icon,
    .secure-pill,
    .auth-tab[aria-selected="true"],
    .role-card.is-selected,
    .role-option.is-selected
  ) {
  color: var(--auth-green) !important;
  border-color: var(--auth-green) !important;
}

body.auth-page :is(input, select, textarea):focus {
  border-color: var(--auth-green) !important;
  box-shadow: 0 0 0 3px rgba(13, 118, 110, 0.14) !important;
}

body.auth-page
  :is(.primary-action, .auth-submit, .otp-submit, button[type="submit"]) {
  background: linear-gradient(
    135deg,
    var(--auth-active-hover),
    var(--auth-active)
  ) !important;
  background-color: var(--auth-active) !important;
  border-color: var(--auth-active-border) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 9px 22px rgba(7, 118, 108, 0.28) !important;
}

body.auth-page
  :is(.primary-action, .auth-submit, .otp-submit, button[type="submit"]):hover {
  filter: brightness(1.06) !important;
}

html:not([data-theme="dark"]) body.auth-page .auth-showcase {
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 226, 207, 0.2), transparent 34%),
    radial-gradient(
      circle at 90% 92%,
      rgba(13, 118, 110, 0.15),
      transparent 40%
    ),
    linear-gradient(150deg, #f3fffc 0%, #e9f8f4 52%, #f8fffd 100%) !important;
}

html[data-theme="dark"] body.auth-page .auth-showcase {
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 226, 207, 0.2), transparent 34%),
    radial-gradient(
      circle at 90% 92%,
      rgba(13, 118, 110, 0.28),
      transparent 40%
    ),
    linear-gradient(150deg, #041b19 0%, #072b27 52%, #0a3b35 100%) !important;
}

html:not([data-theme="dark"])
  body.auth-page
  :is(
    .auth-showcase h1 span,
    .showcase-badge i,
    .showcase-mini-card > i,
    .showcase-points > div > span,
    .auth-heading__icon,
    .secure-pill,
    .auth-tab[aria-selected="true"],
    .auth-mode-switch button,
    .back-button,
    .resend-button,
    .home-link,
    .phone-preview,
    .privacy-note i
  ) {
  color: var(--auth-active) !important;
  -webkit-text-fill-color: var(--auth-active) !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(
    .auth-showcase h1 span,
    .showcase-badge i,
    .showcase-mini-card > i,
    .showcase-points > div > span,
    .auth-heading__icon,
    .secure-pill,
    .auth-tab[aria-selected="true"],
    .auth-mode-switch button,
    .back-button,
    .resend-button,
    .home-link,
    .phone-preview,
    .privacy-note i
  ) {
  color: #65e2d5 !important;
  -webkit-text-fill-color: #65e2d5 !important;
}

html:not([data-theme="dark"])
  body.auth-page
  :is(.showcase-badge, .secure-pill) {
  color: var(--auth-active) !important;
  background: var(--auth-active-soft) !important;
  border-color: #bce8df !important;
}

html:not([data-theme="dark"]) body.auth-page .showcase-points > div > span {
  background: var(--auth-active-soft) !important;
  border-color: #bce8df !important;
}

html[data-theme="dark"] body.auth-page :is(.showcase-badge, .secure-pill) {
  color: #b7fff5 !important;
  background: rgba(13, 118, 110, 0.25) !important;
  border-color: rgba(63, 226, 207, 0.35) !important;
}

html[data-theme="dark"] body.auth-page .showcase-points > div > span {
  color: #65e2d5 !important;
  background: rgba(13, 118, 110, 0.28) !important;
  border-color: rgba(63, 226, 207, 0.35) !important;
}

body.auth-page
  :is(.auth-heading h2, .field-group > label, .auth-card__top .step-indicator) {
  color: var(--auth-active) !important;
  -webkit-text-fill-color: var(--auth-active) !important;
}

html[data-theme="dark"]
  body.auth-page
  :is(.auth-heading h2, .field-group > label, .auth-card__top .step-indicator) {
  color: #8debe1 !important;
  -webkit-text-fill-color: #8debe1 !important;
}

body.auth-page :is(.field-control, .otp-input, .role-choice):focus-within,
body.auth-page :is(input, select, textarea):focus {
  border-color: var(--auth-active) !important;
  box-shadow: 0 0 0 3px var(--auth-active-ring) !important;
}

body.auth-page .role-choice:has(input:checked) {
  border-color: var(--auth-active-border) !important;
  background: rgba(13, 118, 110, 0.08) !important;
  box-shadow: 0 0 0 3px var(--auth-active-ring) !important;
}

body.auth-page
  .role-choice:has(input:checked)
  :is(.role-choice__icon, .role-choice__check) {
  color: var(--auth-active) !important;
  -webkit-text-fill-color: var(--auth-active) !important;
}

body.auth-page .otp-input:not(:placeholder-shown) {
  border-color: var(--auth-active) !important;
}

body.auth-page .success-mark {
  background: linear-gradient(
    135deg,
    var(--auth-active-bright),
    var(--auth-active)
  ) !important;
  color: #fff !important;
}

body.auth-page :is(a, .auth-link, .change-phone, .resend-code) {
  color: var(--auth-active) !important;
}

html body.auth-page #requestOtpButton.primary-action,
html body.auth-page #verifyOtpButton.primary-action,
html body.auth-page #goPanelButton.primary-action,
html[data-theme="dark"] body.auth-page #requestOtpButton.primary-action,
html[data-theme="dark"] body.auth-page #verifyOtpButton.primary-action,
html[data-theme="dark"] body.auth-page #goPanelButton.primary-action {
  background: linear-gradient(
    135deg,
    var(--auth22-green-hover),
    var(--auth22-green)
  ) !important;
  background-color: var(--auth22-green) !important;
  background-image: linear-gradient(
    135deg,
    var(--auth22-green-hover),
    var(--auth22-green)
  ) !important;
  border: 1px solid var(--auth22-border) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 9px 22px rgba(7, 118, 108, 0.3) !important;
}

html body.auth-page #requestOtpButton.primary-action :is(span, i),
html body.auth-page #verifyOtpButton.primary-action :is(span, i),
html body.auth-page #goPanelButton.primary-action :is(span, i) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html body.auth-page #requestOtpButton.primary-action:hover:not(:disabled),
html body.auth-page #verifyOtpButton.primary-action:hover:not(:disabled),
html body.auth-page #goPanelButton.primary-action:hover:not(:disabled) {
  background: linear-gradient(135deg, #0db1a0, #087269) !important;
  background-image: linear-gradient(135deg, #0db1a0, #087269) !important;
  border-color: #45d9c8 !important;
}

body.auth-page .auth-card__top,
body.auth-page .secure-pill {
  display: none !important;
}

body.auth-page .auth-heading {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 8px !important;
  text-align: right !important;
  justify-items: start !important;
}

body.auth-page .auth-heading .auth-heading__icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

body.auth-page .auth-heading h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

body.auth-page .auth-heading p,
body.auth-page .auth-heading .otp-validity-note {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: right !important;
}

body.auth-page .auth-heading--otp .otp-validity-note {
  justify-content: flex-start !important;
}

body.auth-page .role-choice:has(input:checked),
body.auth-page .role-choice.is-selected {
  border-color: #0b2a5a !important;
  border-width: 2px !important;
  background: linear-gradient(180deg, #f0fffc 0%, #ffffff 100%) !important;
  box-shadow:
    0 0 0 4px rgba(20, 184, 166, 0.18),
    0 12px 26px rgba(7, 27, 59, 0.1) !important;
}

body.auth-page .role-choice:has(input:checked)::after,
body.auth-page .role-choice.is-selected::after {
  content: "فعال";
  position: absolute;
  top: 8px;
  left: 10px;
  border-radius: 999px;
  padding: 3px 9px;
  background: #14b8a6;
  color: #071b3b;
  font-weight: 900;
  font-size: 0.68rem;
  line-height: 1.6;
}

body.auth-page .role-choice:has(input:checked) .role-choice__copy strong,
body.auth-page .role-choice.is-selected .role-choice__copy strong {
  color: #071b3b !important;
  font-weight: 950 !important;
}

body.auth-page .auth-header__inner {
  display: flex !important;
  align-items: center !important;
  direction: rtl !important;
  gap: 12px !important;
}

body.auth-page .auth-header__inner .home-link {
  order: 1 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}

body.auth-page .auth-header__inner .auth-brand {
  order: 2 !important;
  margin-inline: auto !important;
}

body.auth-page .auth-header__inner .theme-toggle-control {
  order: 3 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  flex: 0 0 auto !important;
}

body.auth-page .auth-redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  background: rgba(7, 27, 59, 0.28);
  backdrop-filter: blur(7px);
}

body.auth-page .auth-redirect-overlay__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  color: #071b3b;
  font-weight: 900;
  box-shadow: 0 20px 60px rgba(7, 27, 59, 0.25);
}

body.auth-page .auth-redirect-overlay__card i {
  color: #14b8a6;
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  body.auth-page .auth-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  body.auth-page .auth-showcase {
    order: 2 !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 620px) {
  body.auth-page .auth-header__inner {
    width: calc(100% - 22px) !important;
  }

  body.auth-page .auth-header__inner .auth-brand--wordmark .pakar-full-logo {
    width: 108px !important;
    height: 42px !important;
  }

  body.auth-page .auth-header__inner .theme-toggle-control,
  body.auth-page .auth-header__inner .home-link {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  body.auth-page .auth-header__inner .theme-toggle-control .theme-toggle-label,
  body.auth-page .auth-header__inner .home-link span {
    display: none !important;
  }

  body.auth-page .auth-heading {
    column-gap: 10px !important;
  }

  body.auth-page .auth-heading h2 {
    font-size: 1.22rem !important;
  }
}

body.auth-page .role-choice {
  position: relative !important;
  cursor: pointer !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease !important;
}

body.auth-page .role-choice::after,
body.auth-page .role-choice:has(input:checked)::after,
body.auth-page .role-choice.is-selected::after {
  content: none !important;
  display: none !important;
}

body.auth-page .role-choice input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 4 !important;
}

body.auth-page .role-choice:hover {
  border-color: #9ad9d3 !important;
  background: #f8fffe !important;
  transform: translateY(-1px) !important;
}

body.auth-page .role-choice__icon {
  display: grid !important;
  place-items: center !important;
}

body.auth-page .role-choice__copy strong {
  display: block !important;
  color: #071b3b !important;
}

body.auth-page .role-choice__copy small {
  display: block !important;
  color: #637489 !important;
  margin-top: 2px !important;
}

body.auth-page .role-choice__check {
  display: grid !important;
  place-items: center !important;
  opacity: 0 !important;
  transform: scale(0.72) !important;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease !important;
}

body.auth-page .role-choice.is-selected,
body.auth-page .role-choice:has(input:checked) {
  border-color: #14b8a6 !important;
  background: linear-gradient(180deg, #f2fffc 0%, #ffffff 100%) !important;
  box-shadow:
    0 0 0 4px rgba(20, 184, 166, 0.15),
    0 14px 30px rgba(7, 27, 59, 0.09) !important;
}

body.auth-page .role-choice.is-selected .role-choice__icon,
body.auth-page .role-choice:has(input:checked) .role-choice__icon {
  background: #ddf8f4 !important;
  color: #05766d !important;
}

body.auth-page .role-choice.is-selected .role-choice__check,
body.auth-page .role-choice:has(input:checked) .role-choice__check {
  transform: scale(1) !important;
}

body.auth-page .otp-limit-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 10px;
  padding: 12px 13px;
  border-radius: 15px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: 0.82rem;
  line-height: 1.85;
  font-weight: 800;
}

body.auth-page .otp-limit-counter[hidden] {
  display: none !important;
}

body.auth-page .otp-limit-counter b {
  font-weight: 950;
  color: #c2410c;
}

body.auth-page .otp-limit-counter__spinner {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 3px solid rgba(194, 65, 12, 0.22);
  border-top-color: #ea580c;
  animation: paakaarOtpLimitSpin 0.8s linear infinite;
}

@keyframes paakaarOtpLimitSpin {
  to {
    transform: rotate(360deg);
  }
}

html[data-theme="dark"] body.auth-page .role-choice {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] body.auth-page .role-choice__copy strong {
  color: #f8fbff !important;
}

html[data-theme="dark"] body.auth-page .role-choice__copy small {
  color: #b6c7d9 !important;
}

html[data-theme="dark"] body.auth-page .role-choice.is-selected,
html[data-theme="dark"] body.auth-page .role-choice:has(input:checked) {
  background: linear-gradient(
    180deg,
    rgba(20, 184, 166, 0.16),
    rgba(16, 40, 68, 0.96)
  ) !important;
  border-color: #5eead4 !important;
}

html[data-theme="dark"] body.auth-page .otp-limit-counter {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.34);
  color: #ffedd5;
}

html[data-theme="dark"] body.auth-page .otp-limit-counter b {
  color: #fdba74;
}

@media (max-width: 760px) {
  body.auth-page .role-selector {
    grid-template-columns: 1fr !important;
  }
}

.paakaar-page-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  background: rgba(248, 252, 252, 0.9);
  transition: opacity 0.2s ease;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

.paakaar-page-loader[hidden] {
  display: none !important;
}

.paakaar-page-loader__card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 184, 166, 0.18);
  box-shadow: 0 24px 70px rgba(7, 27, 59, 0.16);
  display: grid;
  justify-items: center;
}

.paakaar-page-loader__mark {
  position: relative;
}

.paakaar-page-loader__ring {
  position: absolute;
  border-radius: 50%;
}

.paakaar-page-loader__wordmark {
  box-shadow: inset 0 0 0 1px rgba(11, 42, 90, 0.08);
  font-weight: 950;
  font-size: 0.92rem;
}

.paakaar-page-loader__text {
  color: #0b2a5a;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.01em;
}

@keyframes paakaar-page-loader-spin {
  from {
    transform: rotate(0deg);
  }

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

@-webkit-keyframes paakaar-page-loader-spin {
  from {
    -webkit-transform: rotate(0deg);
  }

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

html[data-theme="dark"] .paakaar-page-loader,
body.dark .paakaar-page-loader {
  background: rgba(4, 16, 33, 0.84);
}

html[data-theme="dark"] .paakaar-page-loader__card,
body.dark .paakaar-page-loader__card {
  background: rgba(11, 28, 50, 0.96);
  border-color: rgba(94, 234, 212, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .paakaar-page-loader__text,
body.dark .paakaar-page-loader__text {
  color: #f8fafc;
}

@media (prefers-reduced-motion: reduce) {
  .paakaar-page-loader__ring {
    animation-duration: 1.4s !important;
    -webkit-animation-duration: 1.4s !important;
  }

  .paakaar-page-loader {
    transition: none;
  }
}

.paakaar-page-loader__mark {
  display: grid;
  place-items: center;
  width: 98px !important;
  height: 98px !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(7, 27, 59, 0.1) !important;
}

.paakaar-page-loader__logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(7, 27, 59, 0.12));
  box-sizing: border-box;
  width: 64px !important;
  height: 64px !important;
  border-radius: 16px !important;
  background: #fff !important;
  padding: 0 !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
}

.paakaar-page-loader__wordmark {
  position: absolute;
  z-index: 0;
  inset: 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff !important;
  color: #14b8a6 !important;
}

.paakaar-page-loader__mark,
html[data-theme="dark"] .paakaar-page-loader__mark,
body.dark .paakaar-page-loader__mark {
  width: 104px !important;
  height: 104px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 14px 34px rgba(7, 27, 59, 0.14) !important;
  overflow: visible !important;
}

.paakaar-page-loader__logo,
html[data-theme="dark"] .paakaar-page-loader__logo,
body.dark .paakaar-page-loader__logo {
  width: 72px !important;
  height: 72px !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

.paakaar-page-loader__wordmark,
html[data-theme="dark"] .paakaar-page-loader__wordmark,
body.dark .paakaar-page-loader__wordmark {
  display: none !important;
}

.paakaar-page-loader__ring {
  transform-origin: 50% 50%;
  will-change: transform;
  border: 5px solid rgba(20, 184, 166, 0.17) !important;
  inset: -4px !important;
  border-width: 5px !important;
  border-style: solid !important;
  border-color: rgba(20, 184, 166, 0.16) !important;
  border-top-color: #14b8a6 !important;
  border-left-color: #0b2a5a !important;
  background: transparent !important;
  animation: paakaar-page-loader-spin 0.76s linear infinite !important;
  -webkit-animation: paakaar-page-loader-spin 0.76s linear infinite !important;
}

.paakaar-page-loader__mark,
html[data-theme="dark"] .paakaar-page-loader__mark,
body.dark .paakaar-page-loader__mark,
.pakaar-page-loading-logo-wrap,
body.dark.panel-page .pakaar-page-loading-logo-wrap {
  position: relative !important;
  width: 108px !important;
  height: 108px !important;
  display: grid !important;
  border-radius: 999px !important;
  background-image: none !important;
  overflow: visible !important;
}

.paakaar-page-loader__logo,
html[data-theme="dark"] .paakaar-page-loader__logo,
body.dark .paakaar-page-loader__logo,
.pakaar-page-loading-logo,
body.dark.panel-page .pakaar-page-loading-logo {
  position: relative !important;
  z-index: 2 !important;
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}

.paakaar-page-loader__wordmark,
.pakaar-page-loading-wordmark,
html[data-theme="dark"] .paakaar-page-loader__wordmark,
body.dark .paakaar-page-loader__wordmark,
body.dark.panel-page .pakaar-page-loading-wordmark {
  display: none !important;
  visibility: hidden !important;
}

.paakaar-page-loader__ring,
.pakaar-page-loading-spinner {
  position: absolute !important;
  inset: -5px !important;
  z-index: 1 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 999px !important;
  border-width: 5px !important;
  border-style: solid !important;
  border-color: rgba(20, 184, 166, 0.16) !important;
  border-top-color: #14b8a6 !important;
  border-left-color: #0b2a5a !important;
  background: transparent !important;
  animation: paakaar-page-loader-spin 0.76s linear infinite !important;
  -webkit-animation: paakaar-page-loader-spin 0.76s linear infinite !important;
  transform-origin: 50% 50% !important;
}

html.paakaar-page-loader-open,
html.paakaar-page-loader-open body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

.paakaar-page-loader {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100svh !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  contain: layout paint style !important;
}

@supports (-webkit-touch-callout: none) {
  .paakaar-page-loader {
    height: -webkit-fill-available !important;
    min-height: -webkit-fill-available !important;
  }
}

.paakaar-page-loader.is-logo-missing .paakaar-page-loader__wordmark {
  display: grid !important;
  visibility: visible !important;
}

.paakaar-page-loader__card {
  min-width: 188px;
  padding: 24px 26px 22px;
  gap: 14px;
  max-width: calc(100vw - 36px) !important;
  transform: translateZ(0) !important;
}

.paakaar-page-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
  transition-duration: 0.01s !important;
}

.paakaar-page-loader.is-visible .paakaar-page-loader__ring,
.paakaar-page-loader.is-visible .pakaar-page-loading-ring {
  animation: paakaar-page-loader-spin 0.52s linear infinite !important;
  -webkit-animation: paakaar-page-loader-spin 0.52s linear infinite !important;
  animation-play-state: running !important;
  transform-origin: 50% 50% !important;
  will-change: transform !important;
}

.paakaar-page-loader__mark,
html[data-theme="dark"] .paakaar-page-loader__mark,
body.dark .paakaar-page-loader__mark,
.pakaar-page-loading-logo-wrap,
body.dark.panel-page .pakaar-page-loading-logo-wrap {
  place-items: center !important;
  box-shadow: 0 14px 36px rgba(7, 27, 59, 0.14) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.paakaar-page-loader__logo[src*="/images/3d/PaaKaaR.png"],
.pakaar-page-loading-logo[src*="/images/3d/PaaKaaR.png"] {
  width: 82px !important;
  height: 82px !important;
  max-width: 82px !important;
  max-height: 82px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 18px rgba(7, 27, 59, 0.16)) !important;
}

body.auth-page .role-field-group > label {
  font-size: 1rem !important;
}

body.auth-page .role-selector {
  margin-top: 10px !important;
}

body.auth-page .role-choice {
  grid-template-columns: 52px 1fr 42px !important;
  border-radius: 24px !important;
  border: 2px solid #c9dadb !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(7, 27, 59, 0.06) !important;
}

body.auth-page .role-choice:hover,
body.auth-page .role-choice:focus-within {
  border-color: #14b8a6 !important;
  background: #f4fffd !important;
}

body.auth-page .role-choice__icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 18px !important;
  background: #e7fbf8 !important;
  color: #0b2a5a !important;
  font-size: 1.18rem !important;
}

body.auth-page .role-choice__copy strong {
  font-size: 1.02rem !important;
  font-weight: 950 !important;
}

body.auth-page .role-choice__copy small {
  font-size: 0.78rem !important;
}

body.auth-page .role-choice__check i {
  opacity: 0 !important;
  transform: scale(0.6);
  transition: 0.16s ease;
}

body.auth-page .role-choice.is-selected {
  border-color: #14b8a6 !important;
  background: #f0fffc !important;
  box-shadow:
    0 0 0 4px rgba(20, 184, 166, 0.14),
    0 16px 34px rgba(20, 184, 166, 0.12) !important;
}

body.auth-page .role-choice.is-selected .role-choice__check {
  background: #14b8a6 !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 7px 18px rgba(20, 184, 166, 0.28) !important;
  color: #fff !important;
}

body.auth-page .role-choice.is-selected .role-choice__check i {
  opacity: 1 !important;
  transform: scale(1);
}

html[data-theme="dark"] body.auth-page .role-field-group > label {
  color: #f8fafc !important;
}

html[data-theme="dark"] body.auth-page .role-field-group > label::after {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(45, 212, 191, 0.28);
  color: #99f6e4;
}

html[data-theme="dark"] body.auth-page .role-choice {
  background: #0f2136 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

html[data-theme="dark"] body.auth-page .role-choice:hover,
html[data-theme="dark"] body.auth-page .role-choice:focus-within,
html[data-theme="dark"] body.auth-page .role-choice.is-selected {
  background: rgba(20, 184, 166, 0.12) !important;
  border-color: #2dd4bf !important;
}

html[data-theme="dark"] body.auth-page .role-choice__check {
  background: #10263d !important;
  box-shadow: inset 0 0 0 7px #10263d !important;
}

@media (max-width: 760px) {
  body.auth-page .role-choice {
    min-height: 88px !important;
    grid-template-columns: 50px 1fr 40px !important;
  }
}

body.auth-page .role-choice .role-choice__check {
  opacity: 1 !important;
  transform: scale(1) !important;
  display: grid !important;
  place-items: center !important;
  border: 3px solid #8fb1b5 !important;
  background: #ffffff !important;
  color: transparent !important;
}

body.auth-page .role-choice:not(.is-selected) .role-choice__check,
body.auth-page .role-choice:not(:has(input:checked)) .role-choice__check {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: #ffffff !important;
  border-color: #8fb1b5 !important;
  color: transparent !important;
}

body.auth-page .role-choice:not(.is-selected) .role-choice__check i,
body.auth-page .role-choice:not(:has(input:checked)) .role-choice__check i {
  opacity: 0 !important;
}

body.auth-page .role-choice.is-selected .role-choice__check,
body.auth-page .role-choice:has(input:checked) .role-choice__check {
  opacity: 1 !important;
}

html[data-theme="dark"] body.auth-page .role-choice .role-choice__check {
  background: #10263d !important;
  border-color: #6b8796 !important;
}

html[data-theme="dark"]
  body.auth-page
  .role-choice.is-selected
  .role-choice__check,
html[data-theme="dark"]
  body.auth-page
  .role-choice:has(input:checked)
  .role-choice__check {
  background: #2dd4bf !important;
  border-color: #2dd4bf !important;
  color: #052033 !important;
}

body.auth-page .auth-brand--wordmark .pakar-full-logo,
html[data-theme="dark"] body.auth-page .auth-brand--wordmark .pakar-full-logo,
body.dark.auth-page .auth-brand--wordmark .pakar-full-logo {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  background: transparent !important;
  object-fit: contain !important;
}

html[data-theme="dark"]
  body.auth-page
  .role-choice:has(input:checked)
  .role-choice__copy
  strong,
html[data-theme="dark"]
  body.auth-page
  .role-choice.is-selected
  .role-choice__copy
  strong,
body.dark.auth-page .role-choice:has(input:checked) .role-choice__copy strong,
body.dark.auth-page .role-choice.is-selected .role-choice__copy strong {
  color: #f8fafc !important;
  font-weight: 950 !important;
}

html[data-theme="dark"]
  body.auth-page
  .role-choice:has(input:checked)
  .role-choice__copy
  small,
html[data-theme="dark"]
  body.auth-page
  .role-choice.is-selected
  .role-choice__copy
  small,
body.dark.auth-page .role-choice:has(input:checked) .role-choice__copy small,
body.dark.auth-page .role-choice.is-selected .role-choice__copy small {
  color: #d7e5f5 !important;
}

body.auth-page .panel-modal__backdrop {
  background: rgba(5, 24, 31, 0.66) !important;
  backdrop-filter: blur(10px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.08) !important;
}

body.auth-page .panel-modal__card {
  width: min(520px, calc(100% - 28px)) !important;
  border-radius: 28px !important;
  padding: 30px !important;
  background:
    radial-gradient(
      circle at top right,
      rgba(20, 184, 166, 0.13),
      transparent 38%
    ),
    #ffffff !important;
  border: 1px solid rgba(20, 184, 166, 0.23) !important;
  box-shadow: 0 28px 90px rgba(5, 24, 31, 0.28) !important;
  text-align: center !important;
}

body.auth-page .panel-modal__icon {
  width: 62px !important;
  height: 62px !important;
  border-radius: 20px !important;
  background: #e0f8f4 !important;
  color: #0d766e !important;
  border: 1px solid rgba(20, 184, 166, 0.28) !important;
  box-shadow: 0 12px 26px rgba(20, 184, 166, 0.17) !important;
}

body.auth-page .panel-modal__card h2 {
  color: #071b3b !important;
  font-size: 1.45rem !important;
  font-weight: 950 !important;
}

body.auth-page .panel-modal__card > p {
  color: #486066 !important;
  font-size: 0.92rem !important;
  margin: 8px auto 20px !important;
  line-height: 1.9 !important;
}

body.auth-page .panel-modal__card > a {
  min-height: 78px !important;
  grid-template-columns: 50px 1fr auto !important;
  gap: 12px !important;
  padding: 14px 15px !important;
  margin-top: 10px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(20, 184, 166, 0.26) !important;
  background: #ffffff !important;
  box-shadow: 0 9px 22px rgba(7, 27, 59, 0.055) !important;
  color: #071b3b !important;
}

body.auth-page .panel-modal__card > a:hover,
body.auth-page .panel-modal__card > a:focus-visible {
  background: #e9fbf8 !important;
  border-color: #14b8a6 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.14) !important;
}

body.auth-page .panel-modal__card > a > span {
  width: 50px !important;
  height: 50px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #14b8a6, #0d766e) !important;
  color: #ffffff !important;
}

body.auth-page .panel-modal__card > a strong {
  color: #071b3b !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

body.auth-page .panel-modal__card > a small {
  color: #607078 !important;
  font-size: 0.8rem !important;
}

body.auth-page .panel-modal__card > a > i {
  color: #14b8a6 !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card,
body.dark.auth-page .panel-modal__card {
  background:
    radial-gradient(
      circle at top right,
      rgba(45, 212, 191, 0.12),
      transparent 38%
    ),
    #0f2028 !important;
  border-color: rgba(94, 234, 212, 0.22) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46) !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card h2,
body.dark.auth-page .panel-modal__card h2,
html[data-theme="dark"] body.auth-page .panel-modal__card > a strong,
body.dark.auth-page .panel-modal__card > a strong {
  color: #f8fafc !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card > p,
body.dark.auth-page .panel-modal__card > p,
html[data-theme="dark"] body.auth-page .panel-modal__card > a small,
body.dark.auth-page .panel-modal__card > a small {
  color: #b8cbd0 !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card > a,
body.dark.auth-page .panel-modal__card > a {
  background: #142a32 !important;
  border-color: rgba(94, 234, 212, 0.2) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body.auth-page .panel-modal__card > a:hover,
body.dark.auth-page .panel-modal__card > a:hover {
  background: #17383a !important;
  border-color: #5eead4 !important;
}

@media (max-width: 640px) {
  body.auth-page .panel-modal__card {
    width: 100% !important;
    max-height: 92dvh !important;
    padding: 28px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  body.auth-page .panel-modal__card > a {
    min-height: 72px !important;
    grid-template-columns: 46px 1fr auto !important;
  }

  body.auth-page .panel-modal__card > a > span {
    width: 46px !important;
    height: 46px !important;
  }
}

@media (max-width: 900px) {
  body.auth-page .auth-showcase {
    display: none !important;
  }

  body.auth-page .auth-layout {
    grid-template-columns: 1fr !important;
  }

  body.auth-page .auth-panel {
    order: 1 !important;
  }
}

body.auth-page .role-field-group > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 950 !important;
  color: #071b3b !important;
}

body.auth-page .role-choice {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

body.auth-page .role-choice__check {
  order: 0 !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
  border: 2px solid #89a8a4 !important;
  background: #ffffff !important;
  color: transparent !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85) !important;
}

body.auth-page .role-choice__icon {
  order: 1 !important;
  flex: 0 0 44px !important;
}

body.auth-page .role-choice__copy {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: right !important;
  align-items: flex-start !important;
}

body.auth-page .role-choice.is-selected .role-choice__check,
body.auth-page .role-choice:has(input:checked) .role-choice__check {
  border-color: #12b886 !important;
  background: #12b886 !important;
  color: #ffffff !important;
  border-radius: 7px !important;
}

body.auth-page
  .role-choice:not(.is-selected):not(:has(input:checked))
  .role-choice__check
  i {
  opacity: 0 !important;
}

body.auth-page .primary-action.is-loading,
body.auth-page .primary-action.is-limited {
  cursor: wait !important;
}

body.auth-page .primary-action.is-loading i {
  animation: spin 0.75s linear infinite !important;
}

body.auth-page .primary-action.is-loading i::before {
  content: "" !important;
}

body.auth-page .primary-action.is-limited {
  opacity: 0.78 !important;
}

body.auth-page .otp-message.is-checking {
  color: #0f766e !important;
  font-weight: 900 !important;
}

body.auth-page .otp-limit-counter span:last-child {
  line-height: 1.9 !important;
}

body.auth-page .otp-limit-counter span:last-child::after {
  content: "";
}

html[data-theme="dark"] body.auth-page .role-field-group > label,
body.dark.auth-page .role-field-group > label,
html[data-theme="dark"] body.auth-page .role-choice__copy strong,
body.dark.auth-page .role-choice__copy strong,
html[data-theme="dark"]
  body.auth-page
  .role-choice.is-selected
  .role-choice__copy
  strong,
html[data-theme="dark"]
  body.auth-page
  .role-choice:has(input:checked)
  .role-choice__copy
  strong,
body.dark.auth-page .role-choice.is-selected .role-choice__copy strong,
body.dark.auth-page .role-choice:has(input:checked) .role-choice__copy strong {
  color: #f8fbff !important;
}

html[data-theme="dark"] body.auth-page .role-choice__copy small,
body.dark.auth-page .role-choice__copy small {
  color: #c7d5e7 !important;
}

html[data-theme="dark"] body.auth-page .role-choice__check,
body.dark.auth-page .role-choice__check {
  background: #0f172a !important;
  border-color: #5b728a !important;
}

html[data-theme="dark"]
  body.auth-page
  .role-choice.is-selected
  .role-choice__check,
html[data-theme="dark"]
  body.auth-page
  .role-choice:has(input:checked)
  .role-choice__check,
body.dark.auth-page .role-choice.is-selected .role-choice__check,
body.dark.auth-page .role-choice:has(input:checked) .role-choice__check {
  background: #22c55e !important;
  border-color: #22c55e !important;
  color: #071b3b !important;
}

@media (max-width: 620px) {
  body.auth-page .role-choice {
    min-height: 74px !important;
    padding: 12px !important;
  }

  body.auth-page .role-choice__check {
    width: 23px !important;
    height: 23px !important;
    flex-basis: 23px !important;
  }
}

body.auth-page .role-field-group > label::after {
  content: none !important;
  display: none !important;
}

body.auth-page .register-only .field-group > label,
body.auth-page .role-field-group > label {
  display: block !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  color: #071b3b !important;
  margin-bottom: 8px !important;
}

html[data-theme="dark"] body.auth-page .register-only .field-group > label,
html[data-theme="dark"] body.auth-page .role-field-group > label,
body.dark.auth-page .register-only .field-group > label,
body.dark.auth-page .role-field-group > label {
  color: #f8fbff !important;
}

body.auth-page .privacy-note,
body.auth-page #modeSubtitle {
  display: none !important;
}

body.auth-page.auth-mode-login .auth-main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.auth-page.auth-mode-login .auth-layout {
  align-items: stretch !important;
}

body.auth-page.auth-mode-login .auth-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: min(760px, calc(100vh - 96px)) !important;
}

body.auth-page.auth-mode-login .auth-card {
  margin: auto !important;
  width: min(470px, 100%) !important;
}

@media (max-width: 760px) {
  body.auth-page.auth-mode-login .auth-main {
    min-height: calc(100vh - 66px) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body.auth-page.auth-mode-login .auth-layout {
    width: min(100%, 520px) !important;
    min-height: calc(100vh - 92px) !important;
  }

  body.auth-page.auth-mode-login .auth-panel {
    min-height: calc(100vh - 92px) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

body.auth-page #roleError.field-error,
body.auth-page .role-field-group #roleError {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.1) !important;
  border: 1px solid rgba(220, 38, 38, 0.32) !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  margin: 10px 2px 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.9 !important;
  font-weight: 950 !important;
  text-align: right !important;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.1) !important;
}

body.auth-page #roleError.field-error:not(:empty)::before,
body.auth-page .role-field-group #roleError:not(:empty)::before {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 7px;
  color: #dc2626;
}

body.auth-page #roleError.field-error:empty,
body.auth-page .role-field-group #roleError:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page #roleError.field-error,
html[data-theme="dark"] body.auth-page .role-field-group #roleError,
body.dark.auth-page #roleError.field-error,
body.dark.auth-page .role-field-group #roleError {
  color: #fca5a5 !important;
  background: rgba(248, 113, 113, 0.14) !important;
  border-color: rgba(248, 113, 113, 0.38) !important;
  box-shadow: 0 8px 22px rgba(248, 113, 113, 0.08) !important;
}

html[data-theme="dark"]
  body.auth-page
  #roleError.field-error:not(:empty)::before,
body.dark.auth-page #roleError.field-error:not(:empty)::before {
  color: #fca5a5 !important;
}

body.auth-page .field-group > label,
body.auth-page .register-only .field-group > label,
body.auth-page .role-field-group > label {
  display: block !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  font-weight: 950 !important;
  color: #071b3b !important;
  margin-bottom: 8px !important;
}

html[data-theme="dark"] body.auth-page .field-group > label,
html[data-theme="dark"] body.auth-page .register-only .field-group > label,
html[data-theme="dark"] body.auth-page .role-field-group > label,
body.dark.auth-page .field-group > label,
body.dark.auth-page .register-only .field-group > label,
body.dark.auth-page .role-field-group > label {
  color: #f8fbff !important;
}

body.auth-page .field-control > i.fa-solid.fa-user,
body.auth-page .field-control > i.fa-solid.fa-mobile,
body.auth-page .field-control > i.fa-solid.fa-mobile-screen-button {
  color: #12b886 !important;
}

body.auth-page #mobileNumber {
  font-feature-settings:
    "ss01" 1,
    "tnum" 1 !important;
  -moz-font-feature-settings:
    "ss01" 1,
    "tnum" 1 !important;
  -webkit-font-feature-settings:
    "ss01" 1,
    "tnum" 1 !important;
}

body.auth-page .field-hint {
  display: none !important;
}

body.auth-page .role-selector {
  direction: rtl !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

body.auth-page .role-choice {
  flex-direction: row !important;
  width: 100% !important;
  min-height: 74px !important;
  padding: 12px 14px !important;
}

body.auth-page .role-choice__copy strong {
  white-space: normal !important;
}

body.auth-page .role-choice__copy small {
  white-space: normal !important;
  line-height: 1.7 !important;
}

body.auth-page #roleError.field-error,
body.auth-page #fullNameError.field-error,
body.auth-page #phoneError.field-error {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.1) !important;
  border: 1px solid rgba(220, 38, 38, 0.32) !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  margin: 10px 2px 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.9 !important;
  font-weight: 950 !important;
  text-align: right !important;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.1) !important;
}

body.auth-page #roleError.field-error:not(:empty)::before,
body.auth-page #fullNameError.field-error:not(:empty)::before,
body.auth-page #phoneError.field-error:not(:empty)::before {
  content: "";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 7px;
  color: #dc2626;
}

body.auth-page #roleError.field-error:empty,
body.auth-page #fullNameError.field-error:empty,
body.auth-page #phoneError.field-error:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.auth-page #roleError.field-error,
html[data-theme="dark"] body.auth-page #fullNameError.field-error,
html[data-theme="dark"] body.auth-page #phoneError.field-error,
body.dark.auth-page #roleError.field-error,
body.dark.auth-page #fullNameError.field-error,
body.dark.auth-page #phoneError.field-error {
  color: #fca5a5 !important;
  background: rgba(248, 113, 113, 0.14) !important;
  border-color: rgba(248, 113, 113, 0.38) !important;
  box-shadow: 0 8px 22px rgba(248, 113, 113, 0.08) !important;
}

html[data-theme="dark"]
  body.auth-page
  #roleError.field-error:not(:empty)::before,
html[data-theme="dark"]
  body.auth-page
  #fullNameError.field-error:not(:empty)::before,
html[data-theme="dark"]
  body.auth-page
  #phoneError.field-error:not(:empty)::before,
body.dark.auth-page #roleError.field-error:not(:empty)::before,
body.dark.auth-page #fullNameError.field-error:not(:empty)::before,
body.dark.auth-page #phoneError.field-error:not(:empty)::before {
  color: #fca5a5 !important;
}

body.auth-page .showcase-mini-card,
body.auth-page .minimal-hero__facts {
  display: none !important;
}

@media (min-width: 761px) {
  body.auth-page .role-choice {
    gap: 12px !important;
  }
}

:root {
  color-scheme: light;
  --pk-app-bg: #f4f6f8;
  --pk-surface: var(--pk-neutral-0);
  --pk-card: var(--pk-neutral-0);
  --pk-modal: var(--pk-neutral-0);
  --pk-border: var(--pk-neutral-300);
  --pk-divider: #e8ecef;
  --pk-hover: #f8fafb;
  --pk-selected: var(--pk-primary-50);
  --pk-text-primary: #1f2933;
  --pk-text-secondary: #52606d;
  --pk-disabled: #a0a9b2;
  --pk-input-border: var(--pk-neutral-300);
  --pk-focus-glow: rgba(18, 184, 166, 0.18);
  --pk-success-bg: #eaf7ee;
  --pk-warning-bg: #fff8e6;
  --pk-info-bg: #eaf5fc;
  --pk-error-bg: #fdeeee;
  --pk-shadow-xs: 0 1px 2px rgba(13, 30, 43, 0.05);
  --pk-shadow-sm: 0 8px 24px rgba(13, 30, 43, 0.07);
  --pk-shadow-md: 0 18px 42px rgba(13, 30, 43, 0.1);
  --primary: var(--pk-primary-500);
  --primary-dark: var(--pk-primary-700);
  --primary-light: var(--pk-primary-100);
  --accent: var(--pk-accent-500);
  --accent-dark: var(--pk-navy-700);
  --accent-light: var(--pk-navy-50);
  --bg-body: var(--pk-app-bg);
  --bg: var(--pk-app-bg);
  --surface: var(--pk-surface);
  --surface-color: var(--pk-surface);
  --surface-muted: var(--pk-neutral-100);
  --soft: var(--pk-neutral-100);
  --card: var(--pk-card);
  --line: var(--pk-border);
  --border-color: var(--pk-border);
  --border-light: var(--pk-divider);
  --text: var(--pk-text-primary);
  --ink: var(--pk-text-primary);
  --text-main: var(--pk-text-primary);
  --text-muted: var(--pk-text-secondary);
  --text-light: var(--pk-neutral-500);
  --muted: var(--pk-text-secondary);
  --pakar-page: var(--pk-app-bg);
  --pakar-shell: var(--pk-neutral-50);
  --pakar-surface: var(--pk-surface);
  --pakar-surface-2: var(--pk-neutral-50);
  --pakar-surface-soft: var(--pk-neutral-50);
  --pakar-surface-raised: var(--pk-neutral-0);
  --pakar-field: var(--pk-neutral-50);
  --pakar-card: var(--pk-card);
  --pakar-card-hover: var(--pk-hover);
  --pakar-border: var(--pk-border);
  --pakar-text: var(--pk-text-primary);
  --pakar-muted: var(--pk-text-secondary);
  --pakar-primary: var(--pk-primary-500);
  --pakar-teal: var(--pk-primary-500);
  --pakar-teal-soft: var(--pk-primary-50);
  --pakar-navy: var(--pk-navy-700);
  --pakar-gold: var(--pk-accent-500);
  --pakar-danger: var(--pk-error);
}

body
  :is(
    .card,
    .module-request-card,
    .system-chat-card,
    .chat-list-row,
    .content-surface,
    .chat-list-surface,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .ver-card,
    .modal-content,
    .modal-card,
    .page-guide-card,
    .panel-tour-card,
    .help-card,
    .help-written,
    .filter-group-card,
    .method-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .admin-card,
    .table-card,
    .content-card,
    .settings-card,
    .ticket-card,
    .minimal-card,
    .minimal-video-card,
    .minimal-feature-card,
    .minimal-contact-card,
    .service-card,
    .notification-item,
    .ticket-list-card
  ) {
  background: var(--pk-card) !important;
  color: var(--pk-text-primary) !important;
  border-color: var(--pk-border) !important;
  box-shadow: var(--pk-shadow-sm) !important;
}

body
  :is(
    .modal-overlay .modal-content,
    .panel-modal__card,
    .admin-modal,
    .dialog,
    .dropdown-menu,
    .chat-dropdown-menu,
    .header-user-dropdown,
    .typeahead-suggestions,
    .category-suggestions,
    .location-typeahead__list
  ) {
  background: var(--pk-modal) !important;
  color: var(--pk-text-primary) !important;
  border-color: var(--pk-border) !important;
  box-shadow: var(--pk-shadow-md) !important;
}

body
  :is(
    header,
    .app-header,
    .panel-header,
    .admin-topbar,
    .minimal-header,
    .auth-header,
    .sidebar,
    .side-nav,
    .main-nav,
    .mobile-nav
  ) {
  background: transparent !important;
  color: var(--pk-text-primary) !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .category-search-input,
    .chat-input
  ) {
  background: var(--pk-neutral-50) !important;
  color: var(--pk-text-primary) !important;
  border: 1px solid var(--pk-input-border) !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  body
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .category-search-input,
    .chat-input
  ) {
  background: #22313e !important;
}

body
  :is(
    input,
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .chat-input
  ):focus,
body
  :is(
    input,
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .chat-input
  ):focus-visible {
  border-color: var(--pk-focus) !important;
  outline: 3px solid var(--pk-focus-glow) !important;
  outline-offset: 1px !important;
}

body
  :is(
    input[disabled],
    textarea[disabled],
    select[disabled],
    button[disabled],
    .is-disabled
  ) {
  color: var(--pk-disabled) !important;
  cursor: not-allowed !important;
}

body
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .title,
    .card-title,
    .panel-user-title,
    .sidebar-name,
    strong
  ) {
  color: var(--pk-text-primary) !important;
}

body
  :is(
    p,
    small,
    .muted,
    .text-muted,
    .card-text,
    .user-detail-label,
    .sidebar-role,
    .panel-page-kicker
  ) {
  color: var(--pk-text-secondary) !important;
}

body a {
  color: var(--pk-primary-600);
}

html[data-theme="dark"] body a {
  color: var(--pk-primary-300);
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit,
    .btn-action.is-primary
  ),
body button.btn-primary,
body button.primary-btn {
  background: var(--pk-primary-500) !important;
  border-color: var(--pk-primary-500) !important;
  color: var(--pk-neutral-0) !important;
  box-shadow: 0 10px 22px rgba(18, 184, 166, 0.22) !important;
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit
  ):hover,
body button.btn-primary:hover,
body button.primary-btn:hover {
  background: var(--pk-primary-600) !important;
  border-color: var(--pk-primary-600) !important;
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit
  ):active,
body button.btn-primary:active,
body button.primary-btn:active {
  background: var(--pk-primary-700) !important;
  border-color: var(--pk-primary-700) !important;
}

body
  :is(
    .btn-secondary,
    .secondary-btn,
    .ghost-btn,
    .minimal-button:not(.minimal-button--primary),
    .close-modal-btn,
    .icon-btn,
    .theme-toggle-control,
    .chat-dropdown-item,
    .chat-attach-btn
  ) {
  background: transparent !important;
  color: var(--pk-primary-700) !important;
  border-color: var(--pk-primary-500) !important;
}

html[data-theme="dark"]
  body
  :is(
    .btn-secondary,
    .secondary-btn,
    .ghost-btn,
    .minimal-button:not(.minimal-button--primary),
    .close-modal-btn,
    .icon-btn,
    .theme-toggle-control,
    .chat-dropdown-item,
    .chat-attach-btn
  ) {
  color: var(--pk-primary-300) !important;
}

body :is(.danger, .danger-btn, .btn-danger, .chat-dropdown-item.danger) {
  color: var(--pk-error) !important;
  border-color: var(--pk-error) !important;
}

body :is(.status-chip.success, .badge-success, .success-badge) {
  background: var(--pk-success-bg) !important;
  color: var(--pk-success) !important;
}

body
  :is(.status-chip.warning, .badge-warning, .pending, .waiting, .need-action) {
  background: var(--pk-warning-bg) !important;
  color: var(--pk-accent-600) !important;
}

body :is(.status-chip.info, .badge-info) {
  background: var(--pk-info-bg) !important;
  color: var(--pk-info) !important;
}

body :is(.status-chip.error, .badge-error, .error-badge) {
  background: var(--pk-error-bg) !important;
  color: var(--pk-error) !important;
}

body .module-request-card.has-unread-owner-responses {
  background: var(--pk-card) !important;
  border-color: var(--pk-border) !important;
  box-shadow: var(--pk-shadow-sm) !important;
}

body .owner-response-summary .owner-response-stat--positive {
  background: var(--pk-success-bg) !important;
  color: var(--pk-success) !important;
}

body .owner-response-summary .owner-response-stat--negative {
  background: var(--pk-error-bg) !important;
  color: var(--pk-error) !important;
}

body :is(.divider, hr, .kt-divider) {
  border-color: var(--pk-divider) !important;
}

body ::selection {
  background: var(--pk-primary-100);
  color: var(--pk-primary-900);
}

html[data-theme="dark"] body ::selection {
  background: var(--pk-primary-800);
  color: var(--pk-neutral-0);
}

.location-typeahead {
  position: relative;
  width: 100%;
}

.location-typeahead__list {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 6px);
  z-index: 1800;
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--pk-border);
  border-radius: var(--pk-radius-md);
  display: none;
}

.location-typeahead__list.is-open {
  display: block;
}

.location-typeahead__option {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--pk-radius-sm);
  background: transparent;
  color: var(--pk-text-primary);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.location-typeahead__option:hover,
.location-typeahead__option:focus-visible,
.location-typeahead__option.is-highlighted {
  background: var(--pk-selected);
  color: var(--pk-primary-700);
}

.location-typeahead__empty {
  padding: 12px;
  color: var(--pk-text-secondary);
  text-align: center;
  font-size: 0.84rem;
}

.profile-phone-note,
.colleague-progress-note,
.address-share-note {
  display: block;
  margin-top: 7px;
  color: var(--pk-text-secondary);
  font-size: 0.78rem;
  line-height: 1.8;
}

.address-share-note {
  padding: 8px 10px;
  border-radius: var(--pk-radius-sm);
  background: var(--pk-info-bg);
  color: var(--pk-info);
}

.user-detail-row--phone {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 7px !important;
}

.user-detail-row--phone .user-detail-label {
  width: 100% !important;
  margin: 0 !important;
}

.profile-phone-field {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.user-detail-row--phone #inpMobile {
  width: 100%;
  max-width: 260px;
}

.user-detail-row--phone .profile-phone-note {
  width: 100%;
  margin-top: 0 !important;
  padding-inline-start: 2px;
  color: var(--pk-text-secondary) !important;
}

.chat-dropdown-item--delete,
#hideChatAction {
  color: var(--pk-error) !important;
}

.chat-dropdown-item--delete i,
#hideChatAction i {
  color: var(--pk-error) !important;
}

.chat-dropdown-item--close,
#closeChatAction {
  color: var(--pk-warning) !important;
}

.chat-dropdown-item--close i,
#closeChatAction i {
  color: var(--pk-warning) !important;
}

.chat-bubble--address-share {
  line-height: 1.95 !important;
}

.chat-bubble--address-share .chat-bubble-time,
.chat-bubble--address-share .chat-bubble-reply-btn {
  color: var(--pk-text-secondary) !important;
}

:root {
  --color-dark-surface: var(--pk-surface, #17222d);
  --color-dark-text: var(--pk-text-primary, #f4f6f8);
  --color-dark-border: var(--pk-border, #334454);
}

html[data-theme="dark"] {
  --pakar-lime-wash: #ffe698;
  --pakar-lime-soft: rgba(188, 255, 37, 0.13);
  --pakar-lime-line: rgba(188, 255, 37, 0.34);
  --pakar-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  --pakar-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.18);
  --pakar-surface-elevated: #103568;
  --pakar-border-bright: rgba(20, 184, 166, 0.48);
  --pakar-sidebar: #0a2343;
  --pakar-border-strong: #3c6875;
  --pakar-text-soft: #92aaad;
  --pakar-accent-soft: #123b43;
  --pakar-danger-soft: #442529;
  --pakar-success: #5eead4;
  --pakar-success-soft: #143b38;
  --pakar-overlay: rgba(0, 7, 18, 0.76);
  --pakar-focus: #5eead4;
  --pakar-shadow-1: 0 2px 10px rgba(0, 0, 0, 0.26);
  --pakar-shadow-2: 0 14px 36px rgba(0, 0, 0, 0.34);
  --pakar-shadow-3: 0 28px 72px rgba(0, 0, 0, 0.45);
  --primary-lighter: #123b43;
  --accent-yellow-dark: #ffe48a;
  --info-light: #162e4a;
  --blue-50: #0c2933;
  --blue-100: #123b43;
  color-scheme: dark;
  --pk-app-bg: #111a23;
  --pk-surface: #17222d;
  --pk-card: #1c2935;
  --pk-modal: #22313e;
  --pk-border: #334454;
  --pk-divider: #3e4d5b;
  --pk-hover: #22313e;
  --pk-selected: rgba(18, 184, 166, 0.13);
  --pk-text-primary: #f4f6f8;
  --pk-text-secondary: #cbd5de;
  --pk-disabled: #94a2af;
  --pk-input-border: #334454;
  --pk-focus-glow: rgba(18, 184, 166, 0.24);
  --pk-success-bg: rgba(46, 158, 82, 0.14);
  --pk-warning-bg: rgba(211, 158, 33, 0.16);
  --pk-info-bg: rgba(49, 130, 206, 0.15);
  --pk-error-bg: rgba(216, 76, 76, 0.15);
  --pk-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --pk-shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.24);
  --pk-shadow-md: 0 22px 56px rgba(0, 0, 0, 0.3);
  --primary: var(--pk-primary-500);
  --primary-dark: var(--pk-primary-600);
  --primary-light: rgba(18, 184, 166, 0.18);
  --accent: var(--pk-accent-400);
  --accent-dark: var(--pk-neutral-50);
  --accent-light: rgba(238, 242, 246, 0.08);
  --bg-body: var(--pk-app-bg);
  --bg: var(--pk-app-bg);
  --surface: var(--pk-surface);
  --surface-color: var(--pk-surface);
  --surface-muted: #22313e;
  --soft: #22313e;
  --card: var(--pk-card);
  --line: var(--pk-border);
  --border-color: var(--pk-border);
  --border-light: var(--pk-divider);
  --text: var(--pk-text-primary);
  --ink: var(--pk-text-primary);
  --text-main: var(--pk-text-primary);
  --text-muted: var(--pk-text-secondary);
  --text-light: #94a2af;
  --muted: #94a2af;
  --pakar-page: var(--pk-app-bg);
  --pakar-shell: var(--pk-surface);
  --pakar-surface: var(--pk-surface);
  --pakar-surface-2: var(--pk-card);
  --pakar-surface-soft: var(--pk-card);
  --pakar-surface-raised: var(--pk-modal);
  --pakar-field: #22313e;
  --pakar-card: var(--pk-card);
  --pakar-card-hover: var(--pk-hover);
  --pakar-border: var(--pk-border);
  --pakar-text: var(--pk-text-primary);
  --pakar-muted: var(--pk-text-secondary);
  --pakar-primary: var(--pk-primary-500);
  --pakar-teal: var(--pk-primary-500);
  --pakar-teal-soft: rgba(18, 184, 166, 0.13);
  --pakar-navy: var(--pk-neutral-50);
  --pakar-gold: var(--pk-accent-400);
  --pakar-danger: var(--pk-error);
  --color-dark-surface: var(--pk-surface, #17222d);
  --color-dark-text: var(--pk-text-primary, #f4f6f8);
  --color-dark-border: var(--pk-border, #334454);
}

html,
body {
  accent-color: var(--pk-primary-500);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: var(--pk-app-bg) !important;
  color: var(--pk-text-primary) !important;
  font-family: "Vazirmatn", sans-serif !important;
}

@supports (overflow: clip) {
  html,
  body,
  body.auth-page {
    overflow-x: clip !important;
  }
}

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

body
  :is(
    .container,
    .main-panel,
    .admin-main,
    .auth-container,
    .minimal-main,
    .landing-main,
    .content-area,
    .tab-content,
    .modal-content
  ) {
  max-width: 100%;
}

body
  :is(
    .card,
    .module-request-card,
    .content-surface,
    .chat-list-surface,
    .chat-detail-panel,
    .user-details-card,
    .profile-header,
    .profile-actions-bar,
    .ver-card,
    .help-card,
    .help-written,
    .filter-group-card,
    .method-card,
    .panel-card,
    .data-card,
    .info-card,
    .setting-card,
    .role-card,
    .admin-card,
    .table-card,
    .content-card,
    .settings-card,
    .ticket-card,
    .minimal-card,
    .minimal-video-card,
    .minimal-feature-card,
    .minimal-contact-card,
    .service-card,
    .notification-item,
    .ticket-list-card,
    .activity-item,
    .option-row,
    .form-group,
    .field-group,
    .dynamic-item-filters,
    .verification-dates,
    .info-meta,
    .filter-group-options,
    .reply-input-area,
    .ticket-footer-area,
    .settings-footer,
    .log-filter-grid,
    .management-pagination
  ) {
  background: var(--pk-card) !important;
  color: var(--pk-text-primary) !important;
  border: 1px solid var(--pk-border) !important;
  border-radius: var(--pk-card-radius) !important;
  box-shadow: var(--pk-shadow-card) !important;
  background-image: none !important;
}

body
  :is(
    .modal-overlay .modal-content,
    .modal-content,
    .modal-content.modal-content,
    .modal-card,
    .panel-modal__card,
    .notification-modal-content,
    .admin-modal,
    .dialog,
    .dropdown-menu,
    .chat-dropdown-menu,
    .header-user-dropdown,
    .typeahead-suggestions,
    .category-suggestions,
    .location-typeahead__list,
    .modal-note
  ) {
  background: var(--pk-modal) !important;
  color: var(--pk-text-primary) !important;
  border: 1px solid var(--pk-border) !important;
  border-radius: var(--pk-radius-xl, 26px) !important;
  box-shadow: var(--pk-shadow-popover) !important;
  background-image: none !important;
}

body
  :is(
    .modal-overlay,
    .panel-modal,
    .notification-modal,
    .admin-modal-backdrop,
    .dialog-backdrop
  ) {
  background: rgba(13, 30, 43, 0.54) !important;
  backdrop-filter: blur(10px);
}

html[data-theme="dark"]
  body
  :is(
    .modal-overlay,
    .panel-modal,
    .notification-modal,
    .admin-modal-backdrop,
    .dialog-backdrop
  ) {
  background: rgba(3, 10, 18, 0.7) !important;
}

body
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .title,
    .card-title,
    .panel-page-title,
    .panel-user-title,
    .sidebar-name,
    .admin-title,
    strong
  ) {
  color: var(--pk-text-primary) !important;
  letter-spacing: -0.02em;
}

body
  :is(
    p,
    small,
    .muted,
    .text-muted,
    .card-text,
    .user-detail-label,
    .sidebar-role,
    .panel-page-kicker,
    .description,
    .hint,
    .help-text
  ) {
  color: var(--pk-text-secondary) !important;
}

body a:not(.btn-primary):not(.primary-btn) {
  color: var(--pk-primary-600) !important;
}

html[data-theme="dark"] body a:not(.btn-primary):not(.primary-btn) {
  color: var(--pk-primary-300) !important;
}

body :is(hr, .divider, .kt-divider) {
  border-color: var(--pk-divider) !important;
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit,
    .btn-action.is-primary,
    button[type="submit"]:not(.ghost-btn):not(.secondary-btn)
  ) {
  background: var(--pk-primary-500) !important;
  border-color: var(--pk-primary-500) !important;
  color: var(--pk-neutral-0) !important;
  box-shadow: 0 10px 22px rgba(18, 184, 166, 0.22) !important;
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit,
    .btn-action.is-primary,
    button[type="submit"]:not(.ghost-btn):not(.secondary-btn)
  ):hover {
  background: var(--pk-primary-600) !important;
  border-color: var(--pk-primary-600) !important;
}

body
  :is(
    .btn-primary,
    .primary-btn,
    .minimal-button--primary,
    .btn-verify,
    .chat-send-btn,
    .verify-upload-submit,
    .btn-action.is-primary,
    button[type="submit"]:not(.ghost-btn):not(.secondary-btn)
  ):active {
  background: var(--pk-primary-700) !important;
  border-color: var(--pk-primary-700) !important;
}

body
  :is(
    .btn-secondary,
    .secondary-btn,
    .ghost-btn,
    .minimal-button:not(.minimal-button--primary),
    .close-modal-btn,
    .icon-btn,
    .theme-toggle-control,
    .chat-attach-btn,
    .page-edge-tool
  ) {
  background: transparent !important;
  color: var(--pk-primary-700) !important;
  border: 1px solid var(--pk-primary-500) !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  body
  :is(
    .btn-secondary,
    .secondary-btn,
    .ghost-btn,
    .minimal-button:not(.minimal-button--primary),
    .close-modal-btn,
    .icon-btn,
    .theme-toggle-control,
    .chat-attach-btn,
    .page-edge-tool
  ) {
  color: var(--pk-primary-300) !important;
  border-color: var(--pk-primary-500) !important;
}

body
  :is(
    .danger,
    .danger-btn,
    .btn-danger,
    .delete-btn,
    .remove-btn,
    .chat-dropdown-item.danger,
    .chat-dropdown-item--delete,
    #hideChatAction
  ) {
  color: var(--pk-error) !important;
  border-color: var(--pk-error) !important;
}

body
  :is(
    .danger,
    .danger-btn,
    .btn-danger,
    .delete-btn,
    .remove-btn,
    .chat-dropdown-item.danger,
    .chat-dropdown-item--delete,
    #hideChatAction
  )
  i {
  color: var(--pk-error) !important;
}

body :is(.chat-dropdown-item--close, #closeChatAction) {
  color: var(--pk-navy-600) !important;
}

html[data-theme="dark"] body :is(.chat-dropdown-item--close, #closeChatAction) {
  color: var(--pk-accent-300) !important;
}

body
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .category-search-input,
    .chat-input,
    .typeahead-input
  ) {
  background: var(--pk-neutral-50) !important;
  color: var(--pk-text-primary) !important;
  border: 1px solid var(--pk-input-border) !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  body
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .category-search-input,
    .chat-input,
    .typeahead-input
  ) {
  background: #22313e !important;
  color: var(--pk-text-primary) !important;
}

body
  :is(
    input,
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .chat-input,
    .typeahead-input
  ):focus,
body
  :is(
    input,
    textarea,
    select,
    .form-control,
    .user-detail-input,
    .chat-input,
    .typeahead-input
  ):focus-visible {
  border-color: var(--pk-focus) !important;
  outline: 3px solid var(--pk-focus-glow) !important;
  outline-offset: 1px !important;
}

body :is(input, textarea)::placeholder {
  color: var(--pk-disabled) !important;
}

body
  :is(
    .status-chip.success,
    .badge-success,
    .success-badge,
    .owner-response-stat--positive
  ) {
  background: var(--pk-success-bg) !important;
  color: var(--pk-success) !important;
}

body
  :is(
    .status-chip.warning,
    .badge-warning,
    .pending,
    .waiting,
    .need-action,
    .owner-response-stat--question
  ) {
  background: var(--pk-warning-bg) !important;
  color: var(--pk-accent-600) !important;
}

body :is(.status-chip.info, .badge-info, .info-badge) {
  background: var(--pk-info-bg) !important;
  color: var(--pk-info) !important;
}

body
  :is(
    .status-chip.error,
    .badge-error,
    .error-badge,
    .owner-response-stat--negative
  ) {
  background: var(--pk-error-bg) !important;
  color: var(--pk-error) !important;
}

body
  :is(
    .module-request-card,
    .ticket-card,
    .notification-item,
    .chat-list-row,
    .user-details-card,
    .ver-card
  ) {
  border-inline-start-width: 4px !important;
  border-inline-start-style: solid !important;
  border-inline-start-color: var(--pk-border) !important;
}

body
  :is(
    .ver-card.verified,
    .module-request-card.has-my-positive-response,
    .success-card
  ) {
  border-inline-start-color: var(--pk-success) !important;
}

body :is(.ver-card.trial-active, .pending-card, .waiting-card) {
  border-inline-start-color: var(--pk-accent-500) !important;
}

body
  :is(
    .ver-card.trial-expired,
    .danger-card,
    .module-request-card.has-unread-owner-responses
  ) {
  border-inline-start-color: var(--pk-error) !important;
}

body
  :is(
    .panel-page-heading,
    .dashboard-welcome,
    .question-forum-header,
    .ticket-detail-header,
    .admin-hero,
    .minimal-hero,
    .auth-card,
    .login-card
  ) {
  background: linear-gradient(
    135deg,
    var(--pk-navy-800),
    var(--pk-navy-700)
  ) !important;
  color: var(--pk-neutral-0) !important;
  border: 0 !important;
  box-shadow: 0 18px 42px rgba(13, 30, 43, 0.16) !important;
}

body
  :is(
    .panel-page-heading,
    .dashboard-welcome,
    .question-forum-header,
    .ticket-detail-header,
    .admin-hero,
    .minimal-hero,
    .auth-card,
    .login-card
  )
  :is(h1, h2, h3, strong, p, small, span, i) {
  color: inherit !important;
}

body
  :is(
    .panel-page-heading,
    .dashboard-welcome,
    .question-forum-header,
    .ticket-detail-header,
    .admin-hero,
    .minimal-hero
  )::before {
  background: var(--pk-primary-500) !important;
}

body.auth-page {
  background: var(--pk-app-bg) !important;
  color: var(--pk-text-primary) !important;
}

body :is(.minimal-header, .landing-header, .site-header) {
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--pk-text-primary) !important;
  border-bottom: 1px solid var(--pk-divider) !important;
  backdrop-filter: blur(14px);
}

html[data-theme="dark"]
  body
  :is(.minimal-header, .landing-header, .site-header) {
  background: rgba(23, 34, 45, 0.88) !important;
  border-color: var(--pk-border) !important;
}

body
  :is(
    .minimal-card,
    .minimal-feature-card,
    .minimal-contact-card,
    .service-card
  ) {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

body
  :is(
    .minimal-card,
    .minimal-feature-card,
    .minimal-contact-card,
    .service-card
  ):hover {
  transform: translateY(-2px);
  border-color: var(--pk-primary-200) !important;
  box-shadow: var(--pk-shadow-md) !important;
}

.chat-dropdown-item--address {
  background: var(--pk-neutral-0) !important;
  color: var(--pk-primary-700) !important;
  border-bottom: 1px solid var(--pk-border) !important;
}

html[data-theme="dark"] .chat-dropdown-item--address {
  background: var(--pk-neutral-0) !important;
  color: var(--pk-primary-800) !important;
}

.chat-bubble--address-share {
  white-space: normal !important;
  background: var(--pk-neutral-0) !important;
  color: var(--pk-text-primary) !important;
  border: 1px solid var(--pk-border) !important;
  border-right: 4px solid var(--pk-primary-500) !important;
  box-shadow: var(--pk-shadow-card) !important;
}

html[data-theme="dark"] .chat-bubble--address-share {
  background: var(--pk-neutral-0) !important;
  color: var(--pk-neutral-900) !important;
  border-color: var(--pk-border) !important;
  border-right-color: var(--pk-primary-500) !important;
}

body :is(table, .data-table, .admin-table) {
  color: var(--pk-text-primary) !important;
  border-color: var(--pk-border) !important;
}

body :is(th, .table-head) {
  background: var(--pk-navy-50) !important;
  color: var(--pk-navy-700) !important;
}

html[data-theme="dark"] body :is(th, .table-head) {
  background: var(--pk-modal) !important;
  color: var(--pk-text-primary) !important;
}

body :is(tr, td) {
  border-color: var(--pk-divider) !important;
}

body
  :is(
    .is-active,
    .selected,
    .is-selected,
    .sub-tab.active,
    .tab.active,
    .segmented button.active,
    .auth-tab.is-active,
    .modal-tabs button.active,
    .validity-btn.active,
    .seen-btn.active,
    .nav-item.active,
    .method-card.selected,
    .filter-chip.active,
    .category-chip.active
  ) {
  background: var(--pk-selected) !important;
  color: var(--pk-primary-700) !important;
  border-color: var(--pk-primary-500) !important;
}

html[data-theme="dark"]
  body
  :is(
    .is-active,
    .selected,
    .is-selected,
    .sub-tab.active,
    .tab.active,
    .segmented button.active,
    .auth-tab.is-active,
    .modal-tabs button.active,
    .validity-btn.active,
    .seen-btn.active,
    .nav-item.active,
    .method-card.selected,
    .filter-chip.active,
    .category-chip.active
  ) {
  color: var(--pk-primary-300) !important;
}

body .minimal-button.minimal-button--primary.js-panel-entry,
body .minimal-button.minimal-button--primary.js-panel-entry:visited,
body .minimal-button.minimal-button--primary.js-panel-entry :is(span, i) {
  color: var(--pk-navy-900, #0d1e2b) !important;
  -webkit-text-fill-color: var(--pk-navy-900, #0d1e2b) !important;
  text-shadow: none !important;
}

body .minimal-button.minimal-button--primary.js-panel-entry {
  background: linear-gradient(
    135deg,
    var(--pk-primary-200, #a5e8df),
    var(--pk-primary-400, #43cdbd)
  ) !important;
  border-color: rgba(13, 30, 43, 0.18) !important;
}

body .minimal-button.minimal-button--primary.js-panel-entry:hover {
  background: linear-gradient(
    135deg,
    var(--pk-primary-100, #d2f4ef),
    var(--pk-primary-300, #78dbcf)
  ) !important;
}

body.auth-page .auth-screen.is-active {
  padding: clamp(12px, 2vw, 18px) !important;
  border-radius: 18px !important;
  background: color-mix(
    in srgb,
    var(--pk-selected, #eaf9f7) 72%,
    #fff 28%
  ) !important;
  border: 1px solid var(--pk-primary-200, #a5e8df) !important;
}

html[data-theme="dark"] body.auth-page .auth-screen.is-active {
  background: rgba(18, 184, 166, 0.1) !important;
  border-color: rgba(18, 184, 166, 0.32) !important;
}

:root {
  --white: #ffffff;
  --blue-950: #071b3b;
  --blue-900: #071b3b;
  --blue-800: #0b2a5a;
  --blue-700: #0b2a5a;
  --shadow-soft: 0 12px 35px rgba(7, 27, 59, 0.1);
  --brand-navy-950: #071b3b;
  --brand-navy-800: #0b2a5a;
  --brand-teal: #14b8a6;
  --brand-white: #ffffff;
  --brand-lime-card: #ffe698;
  --brand-lime-line: #d6b95f;
  --brand-focus: 0 0 0 4px rgba(20, 184, 166, 0.18);
  --pakar-lime: #d4ab2f;
  --pakar-lime-wash: #ffe698;
  --pakar-lime-soft: #ffe698;
  --pakar-lime-line: #d6b95f;
  --pakar-navy-2: #0b2a5a;
  --control-border: var(--pakar-border-strong);
  --accent-yellow: var(--pakar-gold);
  --accent-yellow-light: var(--pakar-gold-soft);
  --warning-light: var(--pakar-gold-soft);
  --success-light: var(--pakar-success-soft);
  --danger-light: var(--pakar-danger-soft);
  --gradient-primary: var(--pakar-primary);
  --gradient-accent: var(--pakar-teal);
  --gradient-yellow: var(--pakar-gold);
  --shadow-sm: var(--pakar-shadow-1);
  --shadow: var(--pakar-shadow-2);
  --shadow-md: var(--pakar-shadow-2);
  --shadow-lg: var(--pakar-shadow-3);
  --auth-blue-950: #041126;
  --auth-blue-900: #071b3b;
  --auth-blue-850: #082349;
  --auth-blue-800: #0a2d58;
  --auth-blue-700: #13558f;
  --auth-blue-600: #1f6fb2;
  --auth-blue-500: #3289cf;
  --auth-blue-300: #82bce8;
  --auth-blue-150: #cfe6f7;
  --auth-blue-75: #eaf4fc;
  --auth-blue-40: #f5faff;
  --auth-line: #b9d4e8;
  --auth-ink: #071b3b;
  --auth-muted: #5f7489;
  --auth-surface: #ffffff;
  --yellow: var(--auth-blue-600) !important;
  --yellow-soft: var(--auth-blue-75) !important;
  --blue-600: var(--auth-blue-600) !important;
  --blue-500: var(--auth-blue-500) !important;
  --success: var(--auth-blue-600) !important;
  --auth4-navy-950: #031021;
  --auth4-navy-900: #06182f;
  --auth4-navy-850: #08203d;
  --auth4-navy-800: #0a294d;
  --auth4-blue-700: #155b98;
  --auth4-blue-600: #2479b9;
  --auth4-blue-500: #3b91cf;
  --auth4-blue-200: #b9dcf3;
  --auth4-blue-100: #dceefa;
  --auth4-blue-50: #f2f8fd;
  --auth-green: #0d766e;
  --auth-green-hover: #095f59;
  --auth-active: #0d766e;
  --auth-active-hover: #0a8f82;
  --auth-active-border: #35cbbb;
  --auth-active-bright: #3fe2cf;
  --auth-active-soft: #e4f7f3;
  --auth-active-ring: rgba(7, 118, 108, 0.18);
  --auth22-green: var(--pakar-active-strong, #0d766e);
  --auth22-green-hover: var(--pakar-active-strong-hover, #0a8f82);
  --auth22-border: #35cbbb;
  --pk-primary-50: #eaf9f7;
  --pk-primary-100: #d2f4ef;
  --pk-primary-200: #a5e8df;
  --pk-primary-300: #78dbcf;
  --pk-primary-400: #43cdbd;
  --pk-primary-500: #12b8a6;
  --pk-primary-600: #0fa392;
  --pk-primary-700: #0c8a7c;
  --pk-primary-800: #0a6e63;
  --pk-primary-900: #064842;
  --pk-navy-50: #eef2f6;
  --pk-navy-100: #d8e1ea;
  --pk-navy-200: #bac9d7;
  --pk-navy-300: #93abc0;
  --pk-navy-400: #6686a0;
  --pk-navy-500: #274e74;
  --pk-navy-600: #1f4161;
  --pk-navy-700: #17344d;
  --pk-navy-800: #12293d;
  --pk-navy-900: #0d1e2b;
  --pk-accent-100: #fff7e0;
  --pk-accent-200: #fceab5;
  --pk-accent-300: #f8d66c;
  --pk-accent-400: #e9bd35;
  --pk-accent-500: #d39e21;
  --pk-accent-600: #b98518;
  --pk-accent-700: #956b14;
  --pk-neutral-0: #ffffff;
  --pk-neutral-50: #f8f9fa;
  --pk-neutral-100: #f2f4f6;
  --pk-neutral-200: #e7ebee;
  --pk-neutral-300: #d7dde2;
  --pk-neutral-400: #b9c2ca;
  --pk-neutral-500: #8a959f;
  --pk-neutral-600: #66717c;
  --pk-neutral-700: #49545f;
  --pk-neutral-800: #2f3943;
  --pk-neutral-900: #1b222a;
  --pk-success: #2e9e52;
  --pk-error: #d84c4c;
  --pk-info: #3182ce;
  --pk-focus: var(--pk-primary-500);
  --pk-radius-sm: 10px;
  --pk-radius-md: 14px;
  --pk-radius-lg: 20px;
  --pk-radius-xl: 26px;
  --danger: var(--pk-error);
  --warning: var(--pk-accent-500);
  --info: var(--pk-info);
  --pakar-teal-deep: var(--pk-primary-700);
  --pakar-shadow: var(--pk-shadow-md);
  --pakar-shadow-soft: var(--pk-shadow-sm);
  --pk-header-height: 60px;
  --pk-sidebar-width: 260px;
  --pk-card-radius: var(--pk-radius-lg, 20px);
  --pk-control-radius: 12px;
  --pk-shadow-card: var(--pk-shadow-sm, 0 8px 24px rgba(13, 30, 43, 0.07));
  --pk-shadow-popover: var(--pk-shadow-md, 0 18px 42px rgba(13, 30, 43, 0.1));
  --pk-unread-positive-bg: #eaf7ee;
  --pk-unread-positive-border: #2e9e52;
  --pk-unread-question-bg: #fff8e6;
  --pk-unread-question-border: #d39e21;
  --pk-unread-negative-bg: #fdeeee;
  --pk-unread-negative-border: #d84c4c;
  --pk-3d-logo-shadow:
    0 18px 46px rgba(6, 72, 66, 0.22), 0 4px 16px rgba(18, 184, 166, 0.18);
}

body.auth-page .auth-shell,
body.auth-page .auth-container {
  position: relative;
  isolation: isolate;
}

body.auth-page .auth-container::before,
body.auth-page .auth-shell::before {
  content: "";
  position: absolute;
  inset-inline-end: -34px;
  inset-block-start: -30px;
  width: 150px;
  aspect-ratio: 1;
  background: url("/static/images/3d/PaaKaaR Logo.png") center / contain
    no-repeat;
  opacity: 0.15;
  filter: drop-shadow(0 20px 35px rgba(6, 72, 66, 0.18));
  pointer-events: none;
  z-index: 0;
}

body.auth-page .auth-container > *,
body.auth-page .auth-shell > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body.auth-page .auth-container::before,
  body.auth-page .auth-shell::before {
    width: 110px;
    inset-inline-end: -22px;
    opacity: 0.11;
  }
}

.pk-image-loader-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  vertical-align: middle;
  line-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: color-mix(in srgb, var(--pk-surface, #f8fafc) 82%, #dbeafe);
}

.pk-image-loader-wrap > img {
  display: block;
  max-width: 100%;
}

.pk-image-loader-wrap:not(.is-loaded)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.04)
  );
  transform: translateX(100%);
  animation: pkImageShimmer 1.25s ease-in-out infinite;
  pointer-events: none;
}

.pk-image-loader-wrap:not(.is-loaded)::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(18, 184, 166, 0.22);
  border-top-color: var(--accent, #12b8a6);
  animation: pkImageSpin 0.72s linear infinite;
  pointer-events: none;
}

.pk-image-loader-wrap:not(.is-loaded) > img {
  opacity: 0.38;
  filter: saturate(0.85);
}

.pk-image-loader-wrap.is-loaded {
  background: transparent;
  overflow: visible;
}

.pk-image-loader-wrap.is-loaded > img {
  opacity: 1;
  filter: none;
  transition:
    opacity 0.18s ease,
    filter 0.18s ease;
}

img.pk-lazy-image {
  transition:
    opacity 0.18s ease,
    filter 0.18s ease;
}

@keyframes pkImageSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pkImageShimmer {
  to {
    transform: translateX(-100%);
  }
}

html[data-theme="dark"] .pk-image-loader-wrap,
body.dark .pk-image-loader-wrap,
.dark .pk-image-loader-wrap {
  background: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  .pk-image-loader-wrap:not(.is-loaded)::before,
  .pk-image-loader-wrap:not(.is-loaded)::after {
    animation: none !important;
  }
}

.terms-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  padding: 20px;
}

.terms-overlay.hidden {
  display: none;
}

.terms-modal {
  background: white;
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: termsPopUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@keyframes termsPopUp {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.terms-header {
  text-align: center;
  padding: 30px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.terms-icon {
  font-size: 3rem;
  color: #005adb;
  margin-bottom: 10px;
  display: block;
}

.terms-header h2 {
  margin: 0;
  color: #1e293b;
  font-size: 1.3rem;
}

.terms-header p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

.terms-body {
  padding: 25px;
  overflow-y: auto;
  max-height: 45vh;
  flex: 1;
}

.terms-section {
  margin-bottom: 20px;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.terms-section h3 {
  font-size: 1rem;
  color: #005adb;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terms-section p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

.terms-footer {
  padding: 20px 25px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  user-select: none;
}

.terms-checkbox input {
  width: 22px;
  height: 22px;
  accent-color: #005adb;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-accept-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: not-allowed;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #cbd5e1;
  color: #94a3b8;
  opacity: 0.7;
}

.terms-accept-btn.enabled {
  background: #005adb;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 90, 219, 0.25);
  opacity: 1;
}

.terms-accept-btn.enabled:hover {
  background: #002b68;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 90, 219, 0.35);
}

@media (max-width: 768px) {
  .terms-overlay {
    align-items: flex-end;
    padding: 12px 0 0;
    overflow: hidden;
  }

  .terms-modal {
    width: 100%;
    max-width: none;
    max-height: 94dvh;
    margin: 0;
    border-radius: 26px 26px 0 0;
    animation: termsSheetUp 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .terms-modal::before {
    content: "";
    display: block;
    width: 54px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #b9d8d5;
    flex: 0 0 auto;
  }

  .terms-header {
    padding: 18px 16px 16px;
  }

  .terms-body {
    padding: 18px 16px;
    max-height: none;
  }

  .terms-footer {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }
}

@keyframes termsSheetUp {
  from {
    opacity: 0;
    transform: translateY(105%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pakar-network-loading {
  position: relative !important;
  pointer-events: none !important;
  cursor: progress !important;
  color: transparent !important;
  text-shadow: none !important;
  caret-color: transparent !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline-color: transparent !important;
}

.pakar-network-loading > :not(.pakar-loading-spinner) {
  visibility: hidden !important;
  opacity: 0 !important;
}

.pakar-network-loading::before,
.pakar-network-loading::after {
  visibility: hidden !important;
  opacity: 0 !important;
}

.pakar-loading-spinner {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  display: block !important;
  inline-size: 24px !important;
  min-inline-size: 24px !important;
  max-inline-size: 24px !important;
  block-size: 24px !important;
  min-block-size: 24px !important;
  max-block-size: 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  flex: 0 0 24px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  color: var(--pakar-loading-color, #0f766e) !important;
  transform: translate(-50%, -50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: none !important;
  contain: layout paint style;
  z-index: 2;
}

.pakar-loading-spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  border: 3px solid rgba(148, 163, 184, 0.34);
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: pakarLoadingSpin 0.72s linear infinite !important;
  -webkit-animation: pakarLoadingSpin 0.72s linear infinite !important;
}

@-webkit-keyframes pakarLoadingSpin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes pakarLoadingSpin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pakar-loading-spinner::before {
    animation: pakarLoadingSpin 1s linear infinite !important;
    -webkit-animation: pakarLoadingSpin 1s linear infinite !important;
  }
}

