/* Consolidated cascade; winning declarations retain their original order. */
.sdm-panel-body, .sdm-panel-body * {
  font-family: "Vazirmatn",Tahoma,Arial,sans-serif!important;
  -webkit-tap-highlight-color: transparent;
}
.sdm-panel-body {
  margin: 0;
  background: #f7f8fb;
  color: #21243d;
  overflow-x: hidden;
}
.sdm-admin-shell {
  direction: rtl;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 85% 4%,rgba(56,185,154,.14),transparent 30%),linear-gradient(180deg,#ffffff 0%,#f7f8fb 100%);
  padding: 22px 12px calc(92px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.sdm-phone-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: calc(100vh - 44px);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 30px;
  padding: 24px 18px 104px;
  box-shadow: 0 24px 80px rgba(31,38,72,.10);
  box-sizing: border-box;
  overflow: hidden;
}
.sdm-phone-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(255,255,255,.68),rgba(255,255,255,.34));
  pointer-events: none;
}
.sdm-admin-head,.sdm-admin-content,.sdm-bottom-nav {
  position: relative;
  z-index: 1;
}
.sdm-admin-head {
  text-align: right;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sdm-kicker {
  color: #38b99a;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -.2px;
}
.sdm-admin-head h1 {
  font-size: 23px;
  line-height: 1.4;
  margin: 0;
  color: #21243d;
  letter-spacing: -.7px;
}
.sdm-admin-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sdm-dashboard-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg,#21243d 0%,#303653 100%);
  color: #fff;
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 20px 48px rgba(33,36,61,.18);
  overflow: hidden;
}
.sdm-dashboard-hero:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: -50px;
  bottom: -65px;
  background: rgba(56,185,154,.24);
  border-radius: 50%;
}
.sdm-dashboard-hero span {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}
.sdm-dashboard-hero h2 {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -.5px;
}
.sdm-dashboard-hero p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.9;
}
.sdm-hero-badge {
  position: relative;
  z-index: 1;
  flex: 0 0 82px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sdm-hero-badge strong {
  font-size: 25px;
  font-weight: 950;
  color: #fff;
  line-height: 1;
}
.sdm-hero-badge small {
  margin-top: 6px;
  font-size: 10px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
}
.sdm-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.sdm-stats-grid.dashboard-stats {
  grid-template-columns: 1fr 1fr;
}
.sdm-stat {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 22px;
  padding: 15px 12px;
  box-shadow: 0 12px 30px rgba(31,38,72,.055);
  text-align: right;
  min-height: 78px;
  box-sizing: border-box;
}
.sdm-stat.primary-stat {
  grid-row: span 2;
  background: linear-gradient(180deg,#e8fbf6,#fff);
  border-color: rgba(56,185,154,.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sdm-stat b {
  font-size: 28px;
  line-height: 1.1;
  display: block;
  color: #38b99a;
  font-weight: 950;
  letter-spacing: -.8px;
}
.sdm-stat.primary-stat b {
  font-size: 40px;
}
.sdm-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #69708e;
  font-weight: 800;
}
.sdm-dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.sdm-dashboard-section-head h2 {
  margin: 0;
  font-size: 16px;
  color: #21243d;
  letter-spacing: -.4px;
}
.sdm-dashboard-section-head span {
  font-size: 11px;
  color: #8b90a7;
  font-weight: 800;
}
.sdm-management-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
.sdm-management-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-areas: "icon title" "icon sub";
  align-items: center;
  gap: 3px 12px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 23px;
  padding: 14px;
  text-decoration: none;
  color: #21243d;
  box-shadow: 0 12px 30px rgba(31,38,72,.055);
}
.sdm-management-card:after {
  content: "‹";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #b3b8c8;
  font-size: 26px;
  font-weight: 900;
}
.sdm-mgmt-icon {
  grid-area: icon;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: #eefbf7;
  color: #38b99a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 950;
}
.sdm-management-card strong {
  grid-area: title;
  font-size: 14px;
  font-weight: 950;
}
.sdm-management-card small {
  grid-area: sub;
  color: #7a8097;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  padding-left: 28px;
}
.sdm-quick-actions,.sdm-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.sdm-btn {
  height: 50px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #21243d;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(31,38,72,.06);
  cursor: pointer;
  font-size: 13px;
}
.sdm-btn.primary {
  background: #38b99a;
  color: #fff;
  box-shadow: 0 16px 32px rgba(56,185,154,.24);
}
.sdm-btn.ghost {
  background: #f0f2f7;
  box-shadow: none;
  color: #596078;
}
.sdm-btn.full {
  width: 100%;
  margin-top: 10px;
}
.sdm-bottom-nav {
  position: fixed;
  right: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(50%);
  width: min(calc(100% - 24px),390px);
  height: 72px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,230,239,.95);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(31,38,72,.14);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px;
  box-sizing: border-box;
  backdrop-filter: blur(18px);
  z-index: 50;
}
.sdm-bottom-nav a {
  text-decoration: none;
  color: #858ba0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 18px;
  font-weight: 900;
  font-size: 10px;
}
.sdm-bottom-nav a.is-active {
  background: #eefbf7;
  color: #38b99a;
}
.sdm-nav-ico {
  font-size: 17px;
  line-height: 1;
}
.sdm-bottom-nav b {
  font-size: 10px;
  font-weight: 950;
}
.sdm-panel-nav {
  display: none;
}
.sdm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sdm-form label {
  font-size: 12px;
  color: #737890;
  font-weight: 800;
}
.sdm-form input,.sdm-form select,.sdm-form textarea,.sdm-branch-card input {
  width: 100%;
  height: 50px;
  border: 1px solid #edf0f5;
  border-radius: 17px;
  background: #fff;
  padding: 0 14px;
  box-sizing: border-box;
  margin-top: 8px;
  outline: 0;
  color: #21243d;
  font-size: 13px;
}
.sdm-form input:focus,.sdm-form select:focus,.sdm-form textarea:focus,.sdm-branch-card input:focus {
  border-color: rgba(56,185,154,.55);
  box-shadow: 0 0 0 4px rgba(56,185,154,.08);
}
.sdm-form textarea {
  height: 96px;
  padding-top: 14px;
  resize: vertical;
}
.sdm-upload-box {
  height: 98px;
  border: 1px dashed #dfe3ec;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #69708e;
  font-weight: 900;
  cursor: pointer;
  overflow: hidden;
}
.sdm-upload-box.small {
  height: 64px;
}
.sdm-upload-box.has-image {
  border-style: solid;
  background-size: cover;
  background-position: center;
  color: transparent;
}
.sdm-icon-row {
  direction: ltr;
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 4px;
}
.sdm-icon-row span {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.sdm-notice {
  background: #eaf8ef;
  color: #207242;
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 2px;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.8;
}
.sdm-notice.warning {
  background: #fff7e8;
  color: #9b641a;
}
.sdm-section-title {
  font-size: 15px;
  margin: 16px 0 0;
}
.sdm-branch-card {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(31,38,72,.055);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  border: 1px solid #eef1f6;
}
.sdm-branch-card input {
  margin: 0;
}
.sdm-remove-branch {
  border: 0;
  background: #fff2f2;
  color: #c53232;
  border-radius: 14px;
  height: 40px;
  font-weight: 900;
  cursor: pointer;
}
.sdm-actions.compact {
  margin-bottom: 16px;
}
.sdm-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}
.sdm-manage-card {
  background: #fff;
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(31,38,72,.055);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #eef1f6;
}
.sdm-manage-thumb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f7f8fb;
  border: 1px solid #edf0f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 24px;
}
.sdm-manage-thumb.wide {
  height: 72px;
}
.sdm-manage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sdm-manage-info h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #21243d;
}
.sdm-manage-info p {
  margin: 0 0 5px;
  color: #69708e;
  font-size: 12px;
}
.sdm-manage-info small {
  color: #8b90a7;
  font-size: 11px;
  font-weight: 900;
}
.sdm-card-actions {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.sdm-card-actions a,.sdm-card-actions button {
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #f6f7fb;
  color: #21243d;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 12px;
  cursor: pointer;
}
.sdm-card-actions form {
  margin: 0;
}
.sdm-card-actions button {
  width: 100%;
  background: #fff2f2;
  color: #c53232;
}
.sdm-edit-form {
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(31,38,72,.055);
  margin: 0 0 18px;
  border: 1px solid #eef1f6;
}
.sdm-edit-form .sdm-section-title {
  margin-top: 0;
}
@media(max-width:782px) {
  .auto-fold #wpcontent {
    padding-left: 0;
  }
  .sdm-admin-shell {
    min-height: 100vh;
    padding: 14px 10px calc(92px + env(safe-area-inset-bottom));
  }
  .sdm-phone-card {
    border-radius: 26px;
    min-height: calc(100vh - 28px);
    padding: 22px 16px 104px;
  }
  .sdm-bottom-nav {
    width: min(calc(100% - 22px),398px);
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}
.sdm-panel-body .sdm-admin-head h1 {
  font-weight: 1000!important;
  letter-spacing: -.9px!important;
}
.sdm-panel-body .sdm-dashboard-section-head h2 {
  font-weight: 1000!important;
  font-size: 17px!important;
}
.sdm-panel-body .sdm-nav-ico svg,.sdm-panel-body .sdm-mgmt-icon svg,.sdm-panel-body .sdm-stat-icon svg,.sdm-panel-body .sdm-btn-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.sdm-panel-body .sdm-bottom-nav .sdm-nav-ico {
  font-size: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdm-panel-body .sdm-mgmt-icon {
  font-size: 0;
}
.sdm-panel-body .sdm-stats-grid-v2 {
  grid-template-columns: 1fr 1fr!important;
  gap: 11px!important;
}
.sdm-panel-body .sdm-stats-grid-v2 .sdm-stat {
  min-height: 112px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}
.sdm-panel-body .sdm-stat-total {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sdm-panel-body .sdm-stat-total:before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  left: -22px;
  top: -20px;
  transform: rotate(14deg);
}
.sdm-panel-body .sdm-stat-total .sdm-stat-icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdm-panel-body .sdm-stat-total b {
  font-size: 38px;
  font-weight: 1000;
  margin-top: auto;
}
.sdm-panel-body .sdm-stat-total span:not(.sdm-stat-icon) {
  font-weight: 900;
}
.sdm-panel-body .sdm-stat-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
}
.sdm-panel-body .sdm-stat-split strong {
  display: block;
  font-size: 12px;
  color: #21243d;
  font-weight: 1000;
  margin-bottom: 2px;
}
.sdm-panel-body .sdm-stat-split div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f8fb;
  border: 1px solid #eef1f6;
  border-radius: 14px;
  padding: 7px 9px;
}
.sdm-panel-body .sdm-stat-split div span {
  margin: 0;
  color: #69708e;
  font-size: 11px;
  font-weight: 900;
}
.sdm-panel-body .sdm-stat-split div b {
  font-size: 17px;
  line-height: 1;
  color: #38b99a;
  font-weight: 1000;
}
.sdm-panel-body .sdm-management-card {
  grid-template-columns: 52px 1fr;
}
.sdm-panel-body .sdm-management-card strong {
  font-weight: 1000;
}
.sdm-panel-body .sdm-mgmt-icon {
  background: linear-gradient(180deg,#eefbf7,#ffffff);
  border: 1px solid rgba(56,185,154,.18);
  box-shadow: 0 10px 22px rgba(56,185,154,.10);
}
.sdm-panel-body .sdm-quick-actions-row {
  display: grid!important;
  grid-template-columns: 1fr 1.18fr;
  gap: 10px;
}
.sdm-panel-body .sdm-quick-actions-row .sdm-btn {
  height: 52px;
  font-size: 12px;
  gap: 6px;
  padding: 0 8px;
  box-shadow: 0 12px 30px rgba(31,38,72,.06);
}
.sdm-panel-body .sdm-quick-actions-row .sdm-btn.featured {
  height: 56px;
  margin-top: -2px;
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(56,185,154,.28);
  font-size: 13px;
}
.sdm-panel-body .sdm-quick-actions-row .full-row {
  grid-column: 1/-1;
}
.sdm-panel-body .sdm-btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.sdm-panel-body .sdm-btn-icon svg {
  width: 18px;
  height: 18px;
}
.sdm-panel-body .sdm-stat-total:before {
  background: rgba(56,185,154,.12)!important;
  border-radius: 30px!important;
}
.sdm-panel-body .sdm-stat-total .sdm-stat-icon {
  background: #ffffff!important;
  color: #38b99a!important;
  border: 1px solid rgba(56,185,154,.20)!important;
  box-shadow: 0 10px 24px rgba(31,38,72,.07)!important;
}
.sdm-panel-body .sdm-stat-items:before, .sdm-panel-body .sdm-stat-cats:before {
  background: rgba(56,185,154,.12)!important;
}
.sdm-panel-body .sdm-stat-items .sdm-stat-icon {
  background: #f6fffc!important;
  color: #38b99a!important;
  border: 1px solid rgba(56,185,154,.20)!important;
  box-shadow: 0 10px 24px rgba(31,38,72,.07)!important;
}
.sdm-panel-body .sdm-stat-cats .sdm-stat-icon {
  background: #f6fffc!important;
  color: #38b99a!important;
  border: 1px solid rgba(56,185,154,.20)!important;
  box-shadow: 0 10px 24px rgba(31,38,72,.07)!important;
}
.sdm-panel-body .sdm-stat-items .sdm-stat-icon, .sdm-panel-body .sdm-stat-cats .sdm-stat-icon {
  background: #f6fffc!important;
  color: #38b99a!important;
  border: 1px solid rgba(56,185,154,.20)!important;
  box-shadow: 0 10px 24px rgba(31,38,72,.07)!important;
}
.sdm-panel-body .sdm-quick-actions-row .sdm-btn, .sdm-panel-body .sdm-quick-actions-row .sdm-btn.featured {
  height: 52px!important;
  margin-top: 0!important;
  border-radius: 18px!important;
}
.sdm-panel-body .sdm-quick-actions-row .sdm-btn, .sdm-panel-body .sdm-quick-actions-row .sdm-btn.featured {
  font-size: 13px!important;
  white-space: nowrap!important;
}
.sdm-panel-body .sdm-icon-row {
  display: none!important;
}
.sdm-panel-body .sdm-upload-box {
  position: relative!important;
}
.sdm-panel-body .sdm-upload-box .sdm-file-input {
  position: absolute!important;
  inset: 0!important;
  width: 100%!important;
  height: 100%!important;
  opacity: 0!important;
  cursor: pointer!important;
  z-index: 2!important;
  margin: 0!important;
  padding: 0!important;
}
.sdm-panel-body .sdm-upload-box span {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.sdm-management-grid .sdm-complaints-access {
  grid-column: 1/-1;
}
.sdm-complaints-access .sdm-mgmt-icon {
  color: #38b99a;
  background: #effcf7;
}
.sdm-complaints-heading {
  margin-bottom: 14px;
}
.sdm-complaints-heading p {
  margin: 4px 0 0;
  color: #9095aa;
  font-size: 11px;
}
.sdm-complaints-list {
  display: grid;
  gap: 11px;
}
.sdm-complaint-card {
  padding: 14px;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(34,39,70,.04);
}
.sdm-complaint-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.sdm-complaint-card-head strong {
  color: #21243d;
  font-size: 12px;
}
.sdm-complaint-card-head time {
  color: #9ba0b3;
  font-size: 10px;
  white-space: nowrap;
}
.sdm-complaint-card p {
  margin: 0 0 10px;
  color: #555d79;
  font-size: 12px;
  line-height: 1.85;
  word-break: break-word;
}
.sdm-complaint-card > a {
  display: inline-flex;
  direction: ltr;
  color: #2f9f84;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.sdm-admin-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 34px 18px;
  border: 1px dashed #dfe3eb;
  border-radius: 18px;
  text-align: center;
  background: #fafbfc;
}
.sdm-admin-empty-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #effcf7;
  color: #38b99a;
}
.sdm-admin-empty-icon svg {
  width: 22px;
  height: 22px;
}
.sdm-admin-empty strong {
  color: #21243d;
  font-size: 13px;
}
.sdm-admin-empty p {
  margin: 0;
  color: #9095aa;
  font-size: 11px;
  line-height: 1.8;
}
.sdm-complaint-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sdm-complaint-card-actions form {
  margin: 0;
}
.sdm-complaint-phone {
  display: inline-flex;
  direction: ltr;
  color: #2f9f84;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.sdm-delete-complaint {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #f0d8dc;
  border-radius: 10px;
  background: #fff7f8;
  color: #c34f59;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease,color .18s ease,border-color .18s ease;
}
.sdm-delete-complaint:hover {
  background: #c34f59;
  color: #fff;
  border-color: #c34f59;
}
.sdm-login-body {
  min-height: 100vh;
  margin: 0!important;
  overflow: auto;
  background: radial-gradient(circle at top right,rgba(56,185,154,.12),transparent 34%),linear-gradient(180deg,#f7faf9 0%,#eef4f2 100%)!important;
}
.sdm-login-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  font-family: "Vazirmatn",Tahoma,sans-serif;
}
.sdm-login-card {
  width: min(100%,390px);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(31,50,44,.12);
  box-sizing: border-box;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sdm-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: #30384e;
  font-size: 12px;
  font-weight: 900;
}
.sdm-login-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42,70,61,.1);
}
.sdm-login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sdm-login-logo-placeholder {
  background: #eaf8f3;
  color: #2f9f84;
}
.sdm-login-logo-placeholder svg {
  width: 21px;
  height: 21px;
}
.sdm-login-copy {
  margin-bottom: 22px;
}
.sdm-login-kicker {
  display: inline-block;
  margin-bottom: 7px;
  color: #2f9f84;
  font-size: 10px;
  font-weight: 900;
}
.sdm-login-copy h1 {
  margin: 0 0 7px;
  color: #20263c;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
}
.sdm-login-copy p {
  margin: 0;
  color: #858ba0;
  font-size: 11px;
  line-height: 1.9;
}
.sdm-login-error {
  margin-bottom: 16px;
  padding: 11px 12px;
  border: 1px solid #f2d9dc;
  border-radius: 13px;
  background: #fff5f6;
  color: #bf4e59;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.8;
}
.sdm-login-form {
  display: grid;
  gap: 14px;
}
.sdm-login-form>label {
  display: grid;
  gap: 7px;
  color: #565e76;
  font-size: 11px;
  font-weight: 800;
}
.sdm-login-form input[type=text],.sdm-login-form input[type=password] {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e2e7e5;
  border-radius: 14px;
  background: #f8faf9;
  color: #20263c;
  font-family: inherit;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
}
.sdm-login-form input:focus {
  border-color: #38b99a;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(56,185,154,.1);
}
.sdm-password-field {
  position: relative;
}
.sdm-password-field input {
  padding-left: 48px!important;
}
.sdm-toggle-password {
  position: absolute;
  top: 50%;
  left: 7px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #8d93a6;
  cursor: pointer;
}
.sdm-toggle-password svg {
  width: 19px;
  height: 19px;
}
.sdm-login-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1px;
  font-size: 10px;
}
.sdm-login-meta a {
  color: #2f9f84;
  font-weight: 800;
  text-decoration: none;
}
.sdm-remember {
  display: flex!important;
  align-items: center;
  gap: 7px!important;
  color: #777e94!important;
  cursor: pointer;
}
.sdm-remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #38b99a;
}
.sdm-login-submit {
  width: 100%;
  min-height: 49px;
  margin-top: 3px;
  border: 0;
  border-radius: 15px;
  background: #2f9f84;
  color: #fff;
  box-shadow: 0 12px 28px rgba(47,159,132,.24);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.sdm-login-submit:hover {
  background: #278a73;
}
.sdm-login-back {
  display: block;
  margin-top: 18px;
  color: #8c92a5;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}
@media(max-width:420px) {
  .sdm-login-page {
    align-items: stretch;
    padding: 0;
  }
  .sdm-login-card {
    width: 100%;
    min-height: 100dvh;
    padding: 28px 20px;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
  }
}
.sdm-login-copy {
  margin-top: 2px!important;
}
.sdm-login-meta {
  justify-content: flex-start!important;
}
.sdm-form input[dir="ltr"], .sdm-form textarea[dir="ltr"] {
  text-align: left!important;
  direction: ltr!important;
}
html.sdm-crop-lock,body.sdm-crop-lock {
  overflow: hidden!important;
}
.sdm-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(13,18,31,.48);
  box-sizing: border-box;
  font-family: "Vazirmatn",Tahoma,sans-serif;
}
.sdm-crop-modal.is-open {
  display: flex;
}
.sdm-crop-dialog {
  width: min(100%,420px);
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
  box-sizing: border-box;
  direction: rtl;
}
.sdm-crop-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.sdm-crop-head h2 {
  margin: 0 0 5px;
  color: #20263c;
  font-size: 16px;
  font-weight: 900;
}
.sdm-crop-head p {
  margin: 0;
  color: #858ba0;
  font-size: 11px;
  line-height: 1.8;
}
.sdm-crop-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 12px;
  background: #f3f5f7;
  color: #20263c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.sdm-crop-stage {
  display: flex;
  justify-content: center;
  padding: 10px;
  border-radius: 20px;
  background: #f4f7f6;
}
.sdm-crop-box {
  position: relative;
  width: min(100%,320px);
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 18px;
  background: #e9eeec;
  touch-action: none;
  cursor: grab;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9);
}
.sdm-crop-box:active {
  cursor: grabbing;
}
.sdm-crop-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none!important;
  max-height: none!important;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
}
.sdm-crop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 18px;
  background: linear-gradient(to right,rgba(255,255,255,.45) 1px,transparent 1px) 33.333% 0/33.333% 100%,linear-gradient(to bottom,rgba(255,255,255,.45) 1px,transparent 1px) 0 33.333%/100% 33.333%;
  box-shadow: 0 0 0 999px rgba(0,0,0,.08) inset;
}
.sdm-crop-zoom {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #565e76;
  font-size: 11px;
  font-weight: 900;
}
.sdm-crop-zoom input {
  width: 100%;
  accent-color: #2f9f84;
}
.sdm-crop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.sdm-crop-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.sdm-crop-cancel {
  background: #f1f3f5;
  color: #30384e;
}
.sdm-crop-apply {
  background: #2f9f84;
  color: #fff;
  box-shadow: 0 12px 28px rgba(47,159,132,.22);
}
@media(min-width:520px) {
  .sdm-crop-modal {
    align-items: center;
  }
}
.sdm-error-summary {
  padding: 14px;
  border: 1px solid #d38d95;
  border-radius: 16px;
  background: #fff5f6;
  color: #96333e;
  font-size: 12px;
  line-height: 1.9;
}
.sdm-error-summary p {
  margin: 6px 0 0;
}
.sdm-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.sdm-pagination .page-numbers {
  padding: 8px 12px;
  border-radius: 10px;
  background: #f0f2f7;
  color: #30384e;
  text-decoration: none;
}
.sdm-pagination .current {
  background: #207a65;
  color: #fff;
}
.sdm-crop-error {
  color: #96333e;
  font-size: 12px;
  line-height: 1.7;
}
.sdm-crop-actions button:disabled {
  opacity: .55;
  cursor: wait;
}
.sdm-upload-box:focus-within {
  border-color: #207a65;
  box-shadow: 0 0 0 3px rgba(32,122,101,.12);
}
.sdm-panel-body :is(button, a, input[type="checkbox"], input[type="radio"], input[type="range"]):focus-visible,
.sdm-panel-body [tabindex]:not([tabindex="-1"]):not(input):not(select):not(textarea):focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #207a65;
}
.sdm-panel-body [tabindex="-1"]:focus {
  outline: none;
}
.sdm-panel-body :is(.sdm-form, .sdm-branch-card, .sdm-login-form) :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):focus-visible {
  outline: none;
  border-color: #207a65;
}
@media (forced-colors: active) {
  .sdm-panel-body :is(input, select, textarea):focus-visible,
  .sdm-panel-body .sdm-upload-box:focus-within {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}
.sdm-panel-body .sdm-btn.primary {
  background: #207a65;
}
.sdm-panel-body :is(.sdm-kicker,.sdm-login-kicker) {
  color: #207a65;
}
.sdm-panel-body .sdm-bottom-nav a.is-active {
  color: #207a65;
}
.sdm-panel-body .sdm-stat-total b, .sdm-panel-body .sdm-stat-split div b {
  color: #207a65;
}
.sdm-panel-body .sdm-management-card small, .sdm-panel-body .sdm-manage-info small, .sdm-panel-body .sdm-form label, .sdm-panel-body .sdm-bottom-nav a, .sdm-panel-body .sdm-login-copy p, .sdm-panel-body .sdm-login-back, .sdm-panel-body .sdm-complaint-card-head time, .sdm-panel-body .sdm-complaints-heading p {
  color: #62677a;
}

.sdm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sdm-list-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.sdm-list-filters {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e7ec;
  border-radius: 18px;
  background: #fff;
}
.sdm-list-filters label {
  color: #62677a;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
}
.sdm-list-filters :is(input,select) {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #dfe4eb;
  border-radius: 12px;
  background: #fff;
  color: #21243d;
  font-size: 13px;
  box-sizing: border-box;
}
.sdm-list-filters :is(input,select):focus {
  outline: none;
  border-color: #207a65;
  box-shadow: 0 0 0 3px rgba(32,122,101,.1);
}
.sdm-filter-actions {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: stretch;
  gap: 10px;
}
.sdm-filter-actions a, .sdm-category-links a, .sdm-quick-actions-inline a {
  color: #207a65;
  font-size: 12px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.sdm-results-title {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 12px;
}
.sdm-list-context, .sdm-quick-hint {
  font-size: 12px;
  line-height: 1.9;
  color: #62677a;
  margin: 0 0 12px;
}
.sdm-category-links {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
}
.sdm-visibility {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.9;
  border-radius: 10px;
  padding: 6px 10px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sdm-visibility svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.sdm-visibility.is-hidden { color: #835215; background: #fff7e8; }
.sdm-quick-edit {
  grid-column: 1/-1;
  border: 1px solid #e2e7ec;
  border-radius: 16px;
  padding: 0;
  background: #fafdfb;
}
.sdm-quick-edit summary {
  cursor: pointer;
  min-height: 52px;
  padding: 10px 12px;
  box-sizing: border-box;
  font-size: 13px;
  color: #207a65;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  border-radius: 15px;
  background: #edf7f2;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.sdm-quick-edit summary::-webkit-details-marker { display: none; }
.sdm-quick-edit summary::marker { content: ''; }
.sdm-quick-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 10px; background: #fff; }
.sdm-quick-icon svg { width: 20px; height: 20px; }
.sdm-quick-label { flex: 1; min-width: 0; line-height: 1.8; }
.sdm-quick-chevron { flex: 0 0 18px; display: flex; transition: transform .15s ease; }
.sdm-quick-chevron svg { width: 18px; height: 18px; }
.sdm-quick-edit[open] summary { border-radius: 15px 15px 0 0; }
.sdm-quick-edit[open] .sdm-quick-chevron { transform: rotate(180deg); }
.sdm-quick-edit summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #207a65; }
.sdm-quick-edit summary:active { background: #dcefe5; }
.sdm-quick-form { padding: 14px; gap: 12px; }
.sdm-quick-actions-inline { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: stretch; }
.sdm-panel-body .sdm-btn.sdm-action-button {
  height: auto;
  min-height: 46px;
  padding: 10px 12px;
  gap: 8px;
  border-radius: 12px;
  background: #207a65;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0 4px 12px rgba(32,122,101,.14);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.sdm-action-button svg { width: 18px; height: 18px; flex: 0 0 18px; }
.sdm-panel-body .sdm-action-button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #207a65; }
.sdm-panel-body .sdm-action-button:active { background: #175b4c; }
.sdm-panel-body .sdm-action-button:disabled { opacity: .65; cursor: wait; box-shadow: none; }
.sdm-filter-actions a, .sdm-quick-actions-inline a {
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #e0e7e3;
  border-radius: 12px;
  background: #f5f8f6;
  color: #4e6258;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1.7;
}
@media (hover:hover) {
  .sdm-quick-edit summary:hover { background: #e0f1e8; }
  .sdm-panel-body .sdm-action-button:not(:disabled):hover { background: #196551; box-shadow: 0 5px 14px rgba(32,122,101,.2); }
  .sdm-filter-actions a:hover, .sdm-quick-actions-inline a:hover { background: #eaf0ec; }
}
.sdm-form label small { display: block; font-weight: 400; line-height: 1.8; margin-top: 6px; }
.sdm-manage-info { min-width: 0; overflow-wrap: anywhere; }
.sdm-pagination a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
@media (max-width:360px) {
  .sdm-list-filters { grid-template-columns: 1fr; }
  .sdm-filter-actions { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .sdm-list-filters :is(input,select):focus { outline: 2px solid Highlight; outline-offset: 2px; }
  .sdm-panel-body :is(button,a,summary,[tabindex="0"]):focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
