@font-face {
  font-family: yekan;
  font-style: normal;
  font-weight: 400;
  src: url("fonts/iran-yekan-400.woff2") format("woff2");
}
@font-face {
  font-family: yekan;
  font-style: normal;
  font-weight: 500;
  src: url("fonts/iran-yekan-500.woff2") format("woff2");
}
@font-face {
  font-family: yekan;
  font-style: normal;
  font-weight: 700;
  src: url("fonts/iran-yekan-700.woff2") format("woff2");
}

:root {
  --md-blue: #0a50d2;
  --md-blue-2: #1b68ff;
  --md-navy: #0f2744;
  --md-text: #1f2937;
  --md-muted: #6b7280;
  --md-border: rgba(15, 39, 68, 0.08);
  --md-active-bg: rgba(27, 104, 255, 0.1);
  --my-rail-w: 5rem;
  --my-drawer-w: 12rem;
  --my-nav-w: calc(var(--my-rail-w) + var(--my-drawer-w));
}

body.admin-body,
body.admin-auth-page,
body.admin-body input,
body.admin-body button,
body.admin-body select,
body.admin-body textarea {
  font-family: yekan, Tahoma, sans-serif;
}

body.admin-body,
body.admin-auth-page {
  background: #f3f6fb;
  color: var(--md-text);
}

.admin-main {
  min-height: calc(100vh - 64px);
}

.admin-main > .container-fluid {
  max-width: 1440px;
  padding: 1.25rem 1.5rem 2.5rem;
}

/* ——— Navbar ——— */
.md-navbar {
  --md-nav-height: 64px;
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: var(--md-nav-height);
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--md-border);
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.05), 0 8px 24px rgba(15, 39, 68, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.md-navbar-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--md-nav-height);
  padding: 0 1.1rem;
}

.md-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--md-blue) !important;
  letter-spacing: -0.02em;
}

.md-brand img {
  width: 38px;
  height: 38px;
  transition: transform 0.2s ease;
}

.md-brand:hover {
  color: var(--md-blue-2) !important;
}

.md-brand:hover img {
  transform: scale(1.05);
}

.md-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--md-border);
  border-radius: 10px;
  background: transparent;
}

.md-toggler span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: #4b5563;
  border-radius: 2px;
}

.md-nav {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.4rem 0;
}

.md-navbar .md-nav > .nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.78rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #5c6678 !important;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.md-navbar .md-nav > .nav-item > .nav-link svg {
  width: 16px;
  height: 16px;
  opacity: 0.72;
  flex-shrink: 0;
}

.md-navbar .md-nav > .nav-item > .nav-link:hover,
.md-navbar .md-nav > .nav-item > .nav-link:focus {
  color: var(--md-navy) !important;
  background: rgba(15, 39, 68, 0.045);
}

.md-navbar .md-nav > .nav-item > .nav-link.active {
  color: var(--md-blue-2) !important;
  background: var(--md-active-bg);
  font-weight: 700;
}

.md-navbar .md-nav > .nav-item > .nav-link.active svg {
  opacity: 1;
}

.md-navbar .dropdown-toggle::after {
  margin-right: 0.3rem;
  margin-left: 0;
  opacity: 0.55;
  vertical-align: 0.15em;
}

.md-dropdown {
  min-width: 12.5rem;
  padding: 0.4rem;
  margin-top: 0.4rem !important;
  border: 1px solid var(--md-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.12);
}

.md-dropdown .dropdown-item {
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #5c6678;
  border-radius: 8px;
}

.md-dropdown .dropdown-item:hover,
.md-dropdown .dropdown-item:focus {
  background: var(--md-active-bg);
  color: var(--md-blue-2);
}

.md-dropdown .dropdown-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37 !important;
}

.md-user-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.28rem 0.4rem 0.28rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(15, 39, 68, 0.03);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.md-user-toggle.dropdown-toggle::after {
  display: none;
}

.md-user-toggle:hover {
  background: #fff;
  border-color: var(--md-border);
}

.md-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.md-user-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--md-navy);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-user-role {
  font-size: 0.7rem;
  color: var(--md-muted);
}

.md-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  user-select: none;
}

.md-avatar.sm {
  width: 34px;
  height: 34px;
  font-size: 0.7rem;
}

.md-avatar.lg {
  width: 56px;
  height: 56px;
  font-size: 1.05rem;
}

.md-user-menu {
  min-width: 15rem;
}

.md-user-menu-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.55rem 0.85rem 0.25rem;
}

.md-user-menu-head strong {
  font-size: 0.9rem;
  color: var(--md-navy);
}

.md-user-menu-head small {
  color: var(--md-muted);
  font-size: 0.75rem;
}

.md-user-actions {
  margin-inline-start: auto;
}

@media (min-width: 992px) {
  .md-navbar .navbar-collapse {
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
  }
}

/* ——— Page chrome ——— */
.page-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--md-blue-2);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.page-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--md-navy);
}

.page-desc {
  color: var(--md-muted);
  margin-bottom: 1.25rem;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.admin-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  padding: 1.15rem 1.2rem;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.9rem;
}

.card-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--md-navy);
}

.card-head a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--md-blue-2);
  text-decoration: none;
}

.card-head a:hover {
  text-decoration: underline;
}

.card-head a.btn,
.card-head a.csr-download-btn {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
}

.card-head a.btn-primary,
a.csr-download-btn.btn-primary {
  color: #fff !important;
  background: #0a50d2 !important;
  border-color: #0a50d2 !important;
}

.card-head a.btn-primary:hover,
a.csr-download-btn.btn-primary:hover {
  color: #fff !important;
  background: #1b68ff !important;
  border-color: #1b68ff !important;
  text-decoration: none !important;
}

.csr-date {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

.csr-artifact .csr-copy-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.csr-artifact .csr-copy-btn.is-copied {
  color: #047857;
  border-color: #047857;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
}

.form-control,
.form-select {
  border-radius: 10px;
  border-color: #e5eaf1;
  min-height: 42px;
}

.form-control:focus,
.form-select:focus {
  border-color: #93b4ff;
  box-shadow: 0 0 0 3px rgba(27, 104, 255, 0.12);
}

/* ——— Dashboard ——— */
.dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #e4ecfb;
  border-radius: 18px;
}

.stat-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.05rem 0.95rem;
  border: 1px solid #eef1f5;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.stat-card .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

.stat-card .stat-icon svg {
  width: 16px;
  height: 16px;
}

.stat-card .label {
  color: var(--md-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.stat-card .value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--md-navy);
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.stat-card .value-sm {
  font-size: 1.05rem;
}

.stat-card.tone-blue {
  border-color: #dbe7ff;
}
.stat-card.tone-blue .stat-icon { background: #e8f0ff; color: #1b68ff; }
.stat-card.tone-blue .value { color: #0a50d2; }

.stat-card.tone-green {
  border-color: #d7f5e7;
}
.stat-card.tone-green .stat-icon { background: #ecfdf5; color: #059669; }
.stat-card.tone-green .value { color: #047857; }

.stat-card.tone-navy {
  border-color: #dce4f5;
}
.stat-card.tone-navy .stat-icon { background: #eef2ff; color: #1e3a8a; }
.stat-card.tone-navy .value { color: #1e3a8a; }

.stat-card.tone-violet {
  border-color: #eadcff;
}
.stat-card.tone-violet .stat-icon { background: #f5f3ff; color: #7c3aed; }
.stat-card.tone-violet .value { color: #6d28d9; }

.stat-card.tone-orange {
  border-color: #ffe1cc;
}
.stat-card.tone-orange .stat-icon { background: #fff7ed; color: #c2410c; }
.stat-card.tone-orange .value { color: #c2410c; }

.stat-card.tone-teal {
  border-color: #cceeea;
}
.stat-card.tone-teal .stat-icon { background: #f0fdfa; color: #0d9488; }
.stat-card.tone-teal .value { color: #0f766e; }

.dash-list {
  display: flex;
  flex-direction: column;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid #f1f4f8;
  text-decoration: none;
  color: inherit;
}

.dash-row:last-child {
  border-bottom: 0;
}

a.dash-row:hover {
  background: #f8fafc;
  border-radius: 10px;
  padding-right: 0.4rem;
  padding-left: 0.4rem;
}

.dash-row-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dash-row-main strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--md-navy);
}

.dash-row-main small {
  color: var(--md-muted);
  font-size: 0.75rem;
}

.dash-row-meta {
  text-align: left;
  font-size: 0.75rem;
  color: var(--md-muted);
  flex-shrink: 0;
}

/* ——— User panel ——— */
.user-panel-shell {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.15rem;
  overflow: hidden;
}

.user-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.user-hero-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.user-hero-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--md-navy);
  line-height: 1.3;
}

.user-hero-sub {
  color: var(--md-muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.user-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.md-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
}

.md-chip.is-ok {
  background: #ecfdf5;
  color: #047857;
}

.md-chip.is-warn {
  background: #fff7ed;
  color: #c2410c;
}

.md-chip.is-info {
  background: #eef4ff;
  color: #1b68ff;
}

.md-chip.is-muted {
  background: #f3f4f6;
  color: #6b7280;
}

.user-panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0.45rem 0.7rem 0.65rem;
  border-top: 1px solid #eef1f5;
  background: #fff;
}

.user-panel-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.48rem 0.8rem;
  border-radius: 10px;
}

.user-panel-nav a svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.user-panel-nav a.active,
.user-panel-nav a:hover {
  background: var(--md-active-bg);
  color: var(--md-blue-2);
}

.user-panel-nav a.active {
  font-weight: 700;
}

.user-panel-nav a.active svg,
.user-panel-nav a:hover svg {
  opacity: 1;
}

.user-facts {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.user-fact {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #f1f4f8;
  font-size: 0.84rem;
}

.user-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.user-fact span {
  color: var(--md-muted);
}

.user-fact strong {
  font-weight: 700;
  color: var(--md-navy);
  text-align: left;
}

.credit-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1.15rem 1.3rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 55%, #ffffff 100%);
  border: 1px solid #cceeea;
  border-radius: 18px;
}

.credit-balance-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.3;
}

.credit-balance-hint {
  color: var(--md-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.admin-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef4ff 0%, #f7f8fa 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(10, 80, 210, 0.12);
}

.auth-card h1 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.auth-captcha {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.auth-captcha button {
  flex: 0 0 auto;
  border: 1px solid #dbe4f0;
  background: #f0f5ff;
  border-radius: 10px;
  padding: 0;
  line-height: 0;
  overflow: visible;
}

.auth-captcha img {
  display: block;
  width: 180px;
  height: 56px;
  max-width: none;
}

.btn-primary {
  background: #0a50d2;
  border-color: #0a50d2;
  color: #fff;
}

.btn-primary:hover {
  background: #1b68ff;
  border-color: #1b68ff;
  color: #fff;
}

.btn {
  border-radius: 10px;
}

.admin-table-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.table-wrapper {
  padding: 1rem;
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.table-per-page {
  width: auto;
  min-width: 140px;
}

.table-wrapper .table-responsive {
  border: 1px solid #e9ecef;
  border-radius: 10px;
}

.dynamic-table {
  margin-bottom: 0;
  font-size: 13px;
}

.dynamic-table thead tr.table-header-labels th {
  background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid #dee2e6;
  vertical-align: middle;
}

.dynamic-table thead tr.table-header-labels th.is-sortable {
  cursor: pointer;
  user-select: none;
}

.dynamic-table thead tr.table-header-labels th.is-sortable:hover {
  background: #e8eef8;
}

.dynamic-table thead tr.table-header-labels th.is-sorted {
  color: #0a50d2;
}

.th-sort::after {
  content: "↕";
  margin-right: 6px;
  color: #9ca3af;
  font-size: 11px;
}

.dynamic-table thead th.is-sorted.dir-asc .th-sort::after {
  content: "↑";
  color: #0a50d2;
}

.dynamic-table thead th.is-sorted.dir-desc .th-sort::after {
  content: "↓";
  color: #0a50d2;
}

.dynamic-table thead tr.table-header-filters th {
  background: #fff;
  padding: 8px;
}

.table-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.pagination-info {
  color: #6b7280;
  font-size: 13px;
}

.dynamic-table td.actions a {
  white-space: nowrap;
}

/* ——— User panel data tables ——— */
.my-data-table-card {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 39, 68, 0.04);
}

.my-data-table-wrap {
  padding: 0.85rem 1rem 1rem;
}

.my-data-table-toolbar {
  margin-bottom: 0.85rem;
  gap: 0.75rem;
}

.my-data-table-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.my-data-table-toolbar .pagination-info {
  color: var(--md-muted);
  font-size: 0.84rem;
}

.my-col-picker {
  position: relative;
}

.my-col-picker > summary {
  list-style: none;
  cursor: pointer;
}

.my-col-picker > summary::-webkit-details-marker {
  display: none;
}

.my-col-picker-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-start: 0;
  z-index: 30;
  min-width: 15rem;
  max-height: 18rem;
  overflow: auto;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.my-col-picker-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--md-muted);
  margin-bottom: 0.45rem;
}

.my-col-picker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.28rem 0;
  font-size: 0.84rem;
  cursor: pointer;
}

.my-col-picker-item.is-locked {
  opacity: 0.65;
  cursor: default;
}

.my-data-table-perpage {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--md-muted);
  font-size: 0.8rem;
}

.my-data-table-perpage .table-per-page {
  min-width: 4.5rem;
  border-radius: 10px;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.my-data-table-scroll {
  border: 0 !important;
  border-radius: 14px !important;
  background: #f8fafc;
  padding: 0.35rem;
}

.my-data-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: rgba(10, 80, 210, 0.04);
  margin: 0;
  width: 100%;
  font-size: 0.9rem;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--md-text);
}

.my-data-table > :not(caption) > * > * {
  border-bottom-width: 0;
  box-shadow: none;
}

.my-data-table thead tr.table-header-labels th {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.65rem 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.my-data-table thead tr.table-header-labels th.is-sortable:hover {
  background: rgba(10, 80, 210, 0.04);
  color: var(--md-blue);
}

.my-data-table thead tr.table-header-labels th.is-sorted {
  color: var(--md-blue);
}

.my-data-table thead tr.table-header-filters th {
  background: transparent;
  border: 0;
  padding: 0.45rem 0.55rem 0.75rem;
}

.my-data-table .filter-input,
.my-data-table .filter-select {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  min-height: 2.15rem;
  font-size: 0.8rem;
  color: var(--md-text);
  box-shadow: none;
}

.my-data-table .filter-input:focus,
.my-data-table .filter-select:focus {
  border-color: rgba(10, 80, 210, 0.35);
  box-shadow: 0 0 0 3px rgba(10, 80, 210, 0.08);
}

.my-data-table .filter-input::placeholder {
  color: #94a3b8;
}

.my-data-table tbody tr {
  background: #fff;
  transition: background 0.15s ease;
}

.my-data-table tbody tr + tr td {
  border-top: 1px solid rgba(15, 39, 68, 0.05);
}

.my-data-table tbody td {
  padding: 0.95rem 0.9rem;
  text-align: right;
  vertical-align: middle;
  border: 0;
  color: #1e293b;
}

.my-data-table tbody tr:first-child td:first-child {
  border-top-right-radius: 12px;
}

.my-data-table tbody tr:first-child td:last-child {
  border-top-left-radius: 12px;
}

.my-data-table tbody tr:last-child td:first-child {
  border-bottom-right-radius: 12px;
}

.my-data-table tbody tr:last-child td:last-child {
  border-bottom-left-radius: 12px;
}

.my-data-table tbody tr:hover {
  background: #f8fbff;
}

.my-data-table tbody td.actions {
  text-align: left;
  width: 1%;
  white-space: nowrap;
}

.my-data-table .badge {
  font-weight: 600;
  font-size: 0.74rem;
  padding: 0.4em 0.7em;
  border-radius: 999px;
}

.my-data-table .btn-outline-primary {
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-color: rgba(10, 80, 210, 0.25);
}

.my-data-table .btn-outline-primary:hover {
  background: var(--md-blue);
  border-color: var(--md-blue);
}

.my-data-table-footer {
  padding-top: 0.9rem;
  justify-content: center;
}

.my-data-table-footer .pagination {
  margin: 0;
  gap: 0.2rem;
}

.my-data-table-footer .page-link {
  min-width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0;
  color: var(--md-blue);
  margin: 0 2px;
  font-size: 0.82rem;
}

.my-data-table-footer .page-item.active .page-link {
  background: var(--md-blue);
  border-color: var(--md-blue);
  color: #fff;
}

.my-data-table-footer .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
}

@media (max-width: 767.98px) {
  .my-data-table-wrap {
    padding: 0.7rem;
  }

  .my-data-table thead tr.table-header-labels th,
  .my-data-table tbody td {
    padding-inline: 0.7rem;
  }
}

@media (max-width: 991.98px) {
  .md-toggler {
    display: flex;
  }

  .md-navbar-inner {
    flex-wrap: wrap;
    padding: 0 0.75rem;
  }

  .md-navbar .navbar-collapse {
    width: 100%;
    padding: 0.4rem 0 0.9rem;
  }

  .md-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .md-navbar .md-nav > .nav-item > .nav-link {
    width: 100%;
    padding: 0.7rem 0.85rem;
  }

  .md-user-actions {
    width: 100%;
    margin: 0.5rem 0 0;
  }

  .md-user-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .md-user-name {
    max-width: none;
  }

  .dash-hero,
  .user-hero,
  .page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .user-hero-chips {
    justify-content: flex-start;
  }
}

/* ——— My portal ——— */
body.my-body {
  background: #f2f2f1;
}

.my-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.my-hero-card,
.my-card {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.07);
  border-radius: 20px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.03), 0 10px 28px rgba(15, 39, 68, 0.04);
}

.my-setup-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 0;
  border-bottom: 1px solid #eef2f7;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.my-setup-step:last-child { border-bottom: 0; }
.my-setup-step:hover { color: var(--md-navy); }
.my-setup-badge {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef2f7; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.my-setup-badge.is-done { background: #d1fae5; color: #047857; }
.my-setup-badge.is-next { background: #dbeafe; color: #1d4ed8; }

.my-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.my-action {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 18px;
  padding: 1.15rem 1.1rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.my-action:hover {
  border-color: rgba(27, 104, 255, 0.35);
  box-shadow: 0 8px 22px rgba(27, 104, 255, 0.08);
  transform: translateY(-1px);
  color: inherit;
}
.my-action-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--md-navy);
}
.my-action-hint {
  font-size: .82rem;
  color: var(--md-muted);
}

.my-preset {
  display: block; width: 100%; text-align: center;
  border: 1px solid #e5e7eb; background: #fff; border-radius: 14px;
  padding: .9rem; margin-bottom: .5rem; font-weight: 600;
}
.my-preset:hover, .my-preset.is-active { border-color: var(--md-blue-2); background: var(--md-active-bg); }
.my-credit-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
}
.my-credit-balance-label {
  font-size: 0.82rem;
  color: var(--md-muted);
  margin-bottom: 0.15rem;
}
.my-credit-balance-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #047857;
  line-height: 1.2;
}
.my-credit-form .form-label {
  color: #374151;
}
.my-credit-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.my-credit-preset {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.my-credit-preset:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.my-credit-preset.is-active {
  border-color: var(--md-blue-2);
  background: var(--md-active-bg);
  color: var(--md-blue);
  box-shadow: 0 0 0 1px rgba(27, 104, 255, 0.15);
}
@media (min-width: 768px) {
  .my-credit-presets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.my-credit-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 16px; padding: 1rem 1.1rem;
}

.md-avatar-img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--md-border);
}
.my-avatar-wrap { flex-shrink: 0; }
.my-avatar-lg {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 39, 68, 0.1);
}
.my-avatar-fallback { font-size: 1.3rem; }

.my-plan-hero {
  background:
    linear-gradient(145deg, rgba(27, 104, 255, 0.08) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(15, 39, 68, 0.07);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.045);
}
.my-chip {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--md-blue-2);
  background: rgba(27, 104, 255, 0.1);
  border-radius: 999px;
  padding: .2rem .6rem;
}
.my-days-ring {
  --pct: 0;
  --ring-size: 96px;
  --ring-stroke: 5px;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  background: conic-gradient(var(--md-blue-2) calc(var(--pct) * 1%), #e5e7eb 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.my-days-ring-inner {
  width: calc(var(--ring-size) - (var(--ring-stroke) * 2));
  height: calc(var(--ring-size) - (var(--ring-stroke) * 2));
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-align: center;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(15, 39, 68, 0.06);
}
.my-days-ring-inner .fw-bold {
  line-height: 1;
  margin: 0;
}
.my-days-ring-inner .small {
  line-height: 1;
  margin: 0;
  font-size: 0.72rem;
}

.my-status-card .my-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .9rem;
}
.my-status-row-last { border-bottom: 0 !important; padding-bottom: 0 !important; }
.my-status-pill {
  font-size: .75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .18rem .55rem;
}
.my-status-pill.is-ok { background: #d1fae5; color: #047857; }
.my-status-pill.is-warn { background: #fef3c7; color: #b45309; }

.my-progress { height: 8px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.my-progress .progress-bar { background: var(--md-blue-2); }

.my-stat-tile {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}

.my-net-revenue {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.my-table thead th {
  font-size: .78rem;
  color: var(--md-muted);
  font-weight: 600;
  background: #f8fafc;
  border-bottom-color: #eef2f7;
  white-space: nowrap;
}
.my-table td { vertical-align: middle; }
.my-link { color: var(--md-blue-2); font-weight: 600; text-decoration: none; }
.my-link:hover { text-decoration: underline; }
.my-search {
  border-radius: 12px;
  border-color: #e5e7eb;
  padding: .7rem .9rem;
}
.my-range-select .form-select {
  border-radius: 10px;
  min-width: 120px;
}

@media (max-width: 576px) {
  .my-actions { grid-template-columns: 1fr; }
}

/* ——— Panel nav (Kelasyab-style: icon rail + drawer) ——— */
.my-shell {
  min-height: 100vh;
}

.my-main {
  min-height: 100vh;
  margin-right: var(--my-rail-w);
  margin-left: 0;
  padding: 0.75rem 0.5rem 1.5rem 0.75rem;
  transition: margin-right 0.28s ease;
}

body.my-panel-desktop .my-main {
  margin-right: var(--my-nav-w);
}

.my-main-inner {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 2rem;
  min-height: calc(100vh - 1.5rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.my-panel-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 1040;
  background: #fff;
  border-bottom-left-radius: 1rem;
  overflow: hidden;
}

.my-panel-columns {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.my-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(209, 213, 219, 0.8);
  z-index: -1;
}

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

.my-panel-rail {
  position: relative;
  width: var(--my-rail-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 4.15rem 0 0.9rem;
  z-index: 2;
}

.my-panel-logo {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  line-height: 0;
}

.my-panel-logo img {
  width: 2rem;
  height: 2rem;
}

.my-panel-rail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.32rem;
  padding: 0.3rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #4b5563;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.my-panel-rail-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.my-panel-rail-btn:hover,
.my-panel-rail-btn:focus {
  background: #e5e7eb;
  color: #1f2937;
}

.my-panel-rail-btn.is-active {
  background: #e5e7eb;
  color: #111827;
}

.my-panel-menu-btn {
  margin-top: 0.65rem;
}

.my-panel-logout-form {
  margin: 0.55rem 0 0;
}

.my-panel-logout-btn {
  color: #dc3545;
}

.my-panel-logout-btn:hover,
.my-panel-logout-btn:focus {
  color: #b02a37;
  background: rgba(220, 53, 69, 0.1);
}

.my-panel-user {
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.my-panel-user-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0.85rem;
}

.my-panel-user-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.my-panel-user-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.my-panel-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.my-panel-user-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.my-panel-user-credit {
  font-size: 0.68rem;
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  direction: ltr;
}

.my-panel-drawer {
  width: var(--my-drawer-w);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #d1d5db;
  padding: 1.25rem 0.85rem 1rem;
  overflow: hidden;
  overflow-y: auto;
  border-top-left-radius: 1rem;
  opacity: 1;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), padding 0.28s ease, opacity 0.22s ease, border-color 0.28s ease;
}

body.my-panel-desktop.my-drawer-collapsed .my-main {
  margin-right: var(--my-rail-w);
}

body.my-panel-desktop.my-drawer-collapsed .my-panel-drawer {
  width: 0;
  padding-left: 0;
  padding-right: 0;
  border-right-color: transparent;
  opacity: 0;
}

body.my-panel-desktop.my-drawer-collapsed .my-panel-user-meta {
  display: none;
}

body.my-panel-desktop.my-drawer-collapsed .my-panel-user-link {
  justify-content: center;
  padding-right: 0.35rem;
  padding-left: 0.35rem;
}

.my-panel-drawer-head {
  margin-bottom: 1.5rem;
}

.my-panel-drawer-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1f2937;
}

.my-panel-drawer-desc {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 300;
  color: #6b7280;
}

.my-panel-section {
  margin-top: 1.75rem;
}

.my-panel-section:first-of-type {
  margin-top: 0;
}

.my-panel-section-title {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #1f2937;
}

.my-panel-section-title span {
  border-bottom: 2px solid #6b7280;
  padding-bottom: 0.15rem;
}

.my-panel-link {
  display: flex;
  align-items: center;
  margin-inline-end: 0.5rem;
  margin-bottom: 0.15rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #1f2937;
  text-decoration: none;
  transition: background 0.2s ease;
}

.my-panel-link:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.my-panel-link.is-active {
  background: #e5e7eb;
  font-weight: 500;
}

body.my-sidebar-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .my-panel-drawer {
    border-bottom-left-radius: 0;
  }

  .my-panel-user-link {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 991.98px) {
  .my-panel-drawer {
    width: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
  }

  body.my-sidebar-open .my-panel-drawer {
    width: var(--my-drawer-w);
    padding: 1.25rem 0.85rem 1rem;
    border-right: 1px solid #d1d5db;
    opacity: 1;
  }

  body.my-sidebar-open .my-panel-rail {
    border-right: 1px solid #d1d5db;
    border-top-left-radius: 1rem;
  }

  body.my-sidebar-open .my-panel-drawer {
    border-bottom-left-radius: 0;
  }

  .my-panel-user-link {
    justify-content: center;
    padding: 0.65rem 0.35rem;
  }

  .my-panel-user-meta {
    display: none;
  }

  body.my-sidebar-open .my-panel-user-link {
    justify-content: flex-start;
    padding: 0.75rem 0.85rem;
  }

  body.my-sidebar-open .my-panel-user-meta {
    display: flex;
  }
}

/* Plans page (Android-inspired) */
.my-plans-page {
  position: relative;
}
.my-plans-scroll {
  padding-bottom: var(--plans-footer-h, 11rem);
}
.my-plans-current {
  background: linear-gradient(145deg, #f4f8ff 0%, #e8f1fe 52%, #dcebff 100%);
  border: 1px solid #d7e6ff;
  border-radius: 22px;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
@media (min-width: 992px) {
  .my-plans-current {
    max-width: 26rem;
  }
}
.my-plans-current .my-chip {
  background: var(--md-blue-2);
  color: #fff;
  margin-bottom: 0.35rem;
}
.my-plans-current-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--md-ink, #0f2744);
}
.my-plans-current-hint {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--md-muted, #64748b);
}
.my-plans-current-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  padding: 0.65rem 0.85rem;
}
.my-plans-current-date {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--md-blue);
  direction: ltr;
}
.my-plans-current-meta-label {
  font-size: 0.78rem;
  color: var(--md-muted, #64748b);
}
.my-plans-section-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--md-ink, #0f2744);
  margin-bottom: 0.85rem;
}
.my-plans-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.my-plans-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  direction: rtl;
}
.my-plans-tile-wrap {
  position: relative;
  overflow: visible;
}
.my-plans-tile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 118px;
  padding: 0.75rem 0.65rem;
  border: 1.5px solid #e8eef6;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.my-plans-tile:hover {
  border-color: #bfdbfe;
}
.my-plans-tile.is-active {
  border-color: var(--md-blue-2);
  background: rgba(27, 104, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(27, 104, 255, 0.12);
}
.my-plans-tile-badge-spacer {
  height: 20px;
  margin-bottom: 0.25rem;
}
.my-plans-tile-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--md-ink, #0f2744);
}
.my-plans-tile-badge.is-popular { background: #fef3c7; }
.my-plans-tile-badge.is-best { background: #d1fae5; }
.my-plans-tile-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--md-ink, #0f2744);
  margin-bottom: 0.35rem;
}
.my-plans-tile.is-active .my-plans-tile-label { color: var(--md-blue); }
.my-plans-tile-price {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--md-ink, #0f2744);
  direction: ltr;
}
.my-plans-tile-price small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--md-muted, #64748b);
}
.my-plans-tile.is-active .my-plans-tile-price { color: var(--md-blue); }
.my-plans-tile-month {
  margin-top: 0.45rem;
  background: #f3f6fb;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--md-muted, #64748b);
}
.my-plans-tile.is-active .my-plans-tile-month {
  background: #fff;
  color: var(--md-blue);
}
.my-plans-tile-month-spacer {
  height: 28px;
  margin-top: 0.45rem;
}
.my-plans-tile-off {
  position: absolute;
  top: -11px;
  left: -4px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #dc2626;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(153, 27, 27, 0.28);
  pointer-events: none;
}
.my-plans-tile-off-text {
  display: block;
  transform: rotate(-45deg);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.my-plans-hero {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 22px;
  overflow: hidden;
}
.my-plans-hero-off {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #dc2626;
  padding: 0.75rem 1rem;
  color: #fff;
}
.my-plans-hero-off-title {
  font-weight: 700;
  font-size: 0.88rem;
}
.my-plans-hero-off-caption {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  opacity: 0.86;
}
.my-plans-hero-off-percent {
  min-width: 68px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.35rem 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.35rem;
}
.my-plans-hero-body {
  padding: 1rem;
  text-align: center;
}
.my-plans-hero-label {
  font-size: 0.82rem;
  color: var(--md-muted, #64748b);
  margin-bottom: 0.35rem;
}
.my-plans-hero-was {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 0.15rem;
  direction: ltr;
}
.my-plans-hero-price {
  font-weight: 700;
  font-size: 2rem;
  color: var(--md-ink, #0f2744);
  direction: ltr;
}
.my-plans-hero-month {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--md-muted, #64748b);
}
.my-plans-hero-save {
  display: inline-block;
  margin-top: 0.65rem;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
}
.my-plans-features {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.my-plans-features-track {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  animation: my-plans-marquee 28s linear infinite;
}
.my-plans-features:hover .my-plans-features-track {
  animation-play-state: paused;
}
.my-plans-feature-chip {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--md-ink, #0f2744);
  white-space: nowrap;
}
.my-plans-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: var(--md-muted, #64748b);
}
.my-plans-wallet strong {
  color: var(--md-ink, #0f2744);
  font-weight: 700;
}
.my-plans-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: var(--my-rail-w);
  z-index: 1030;
  background: #fff;
  border-top: 1px solid #e8eef6;
  box-shadow: 0 -8px 24px rgba(15, 39, 68, 0.08);
  transition: right 0.28s ease;
  --plans-footer-x: 0.85rem;
}
body.my-sidebar-open .my-plans-footer {
  right: var(--my-nav-w);
}
body.my-panel-desktop .my-plans-footer {
  right: var(--my-nav-w);
}
body.my-panel-desktop.my-drawer-collapsed .my-plans-footer {
  right: var(--my-rail-w);
}
.my-plans-footer .my-plans-hero {
  border: 0;
  border-radius: 0;
  margin: 0;
}
.my-plans-footer .my-plans-hero-off {
  padding-block: 0.45rem;
  direction: rtl;
}
.my-plans-footer-inset {
  padding-inline-start: var(--plans-footer-x);
  padding-inline-end: 0;
}
.my-plans-footer .my-plans-hero-off-copy {
  flex: 1;
  min-width: 0;
  text-align: right;
}
.my-plans-footer .my-plans-hero-off-title {
  font-size: 0.78rem;
}
.my-plans-footer .my-plans-hero-off-caption {
  font-size: 0.68rem;
  margin-top: 0;
}
.my-plans-footer .my-plans-hero-off-percent {
  min-width: 52px;
  font-size: 1rem;
  padding: 0.2rem 0.55rem;
  padding-inline-end: var(--plans-footer-x);
  flex-shrink: 0;
}
.my-plans-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  padding-inline: 0;
}
.my-plans-footer-summary {
  flex: 1;
  min-width: 0;
  text-align: right;
}
.my-plans-footer-top {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  line-height: 1.3;
}
.my-plans-footer-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--md-ink, #0f2744);
}
.my-plans-footer-was {
  font-size: 0.72rem;
  color: #94a3b8;
  text-decoration: line-through;
  direction: ltr;
}
.my-plans-footer-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--md-blue);
  direction: ltr;
}
.my-plans-footer-sub {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  color: var(--md-muted, #64748b);
  line-height: 1.35;
}
.my-plans-footer .my-plans-actions {
  flex-shrink: 0;
  padding: 0;
  padding-inline-end: var(--plans-footer-x);
}
.my-plans-footer .my-plans-actions .btn {
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .my-plans-footer {
    --plans-footer-x: 1.25rem;
  }
  .my-plans-footer-bar {
    padding-block: 0.6rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    gap: 1rem;
  }
  .my-plans-footer .my-plans-actions .btn {
    font-size: 0.88rem;
    padding: 0.6rem 1rem;
  }
}
@media (max-width: 575.98px) {
  .my-plans-footer-bar {
    gap: 0.55rem;
  }
  .my-plans-footer .my-plans-actions .btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.7rem;
  }
}
@keyframes my-plans-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.my-plans-modal {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.14);
}
.my-plans-modal .modal-header {
  position: relative;
  padding: 1rem 1rem 0;
}
.my-plans-modal .modal-header .btn-close {
  position: absolute;
  left: 1rem;
  right: auto;
  top: 1rem;
  margin: 0;
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  opacity: 0.55;
  background-size: 0.75rem;
}
.my-plans-modal .modal-header .btn-close:hover {
  opacity: 0.85;
}
.my-plans-modal .modal-title {
  width: 100%;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  text-align: right;
  padding-left: 2.25rem;
}
.my-plans-modal .modal-body {
  color: var(--md-muted, #64748b);
  font-size: 0.92rem;
  line-height: 1.7;
}
.my-plans-modal .modal-footer .btn {
  border-radius: 12px;
  font-weight: 600;
  min-width: 6.5rem;
}

/* Invoice create wizard */
.my-invoice-wizard {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 18px;
  padding: 1rem 1rem 0;
  overflow: hidden;
}
.my-invoice-steps {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #eef2f7;
}
.my-invoice-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  opacity: 0.55;
}
.my-invoice-step.is-active,
.my-invoice-step.is-done {
  opacity: 1;
}
.my-invoice-step-num {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef2f7;
  color: #64748b;
}
.my-invoice-step.is-active .my-invoice-step-num {
  background: var(--md-blue-2);
  color: #fff;
}
.my-invoice-step.is-done .my-invoice-step-num {
  background: #d1fae5;
  color: #047857;
}
.my-invoice-step-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--md-ink, #0f2744);
  white-space: nowrap;
}
.my-invoice-step-hint {
  font-size: 0.82rem;
  color: var(--md-muted, #64748b);
  margin-bottom: 1rem;
}
.my-invoice-step-panel {
  padding-bottom: 1rem;
  min-height: 16rem;
}
.my-invoice-cards {
  display: grid;
  gap: 0.55rem;
}
.my-invoice-card {
  display: block;
  width: 100%;
  text-align: right;
  border: 1.5px solid #e8eef6;
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
}
.my-invoice-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--md-ink, #0f2744);
}
.my-invoice-card span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--md-muted, #64748b);
  line-height: 1.5;
}
.my-invoice-card.is-active {
  border-color: var(--md-blue-2);
  background: rgba(27, 104, 255, 0.06);
}
.my-invoice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.my-invoice-chip {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8fafc;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.my-invoice-chip.is-active {
  border-color: var(--md-blue-2);
  background: rgba(27, 104, 255, 0.1);
  color: var(--md-blue);
}
.my-invoice-chip.ins-2.is-active { background: #fff8ed; border-color: #d97706; color: #b45309; }
.my-invoice-chip.ins-3.is-active { background: #fff1f1; border-color: #ef4444; color: #dc2626; }
.my-invoice-chip.ins-4.is-active { background: #f6f1ff; border-color: #7c3aed; color: #6d28d9; }
.my-invoice-picker-btn {
  display: block;
  width: 100%;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0.7rem 0.85rem;
  text-align: right;
  font-weight: 600;
  color: var(--md-blue);
  cursor: pointer;
}
.my-invoice-empty-hint {
  font-size: 0.78rem;
  color: var(--md-muted, #64748b);
  margin-top: 0.5rem;
}
.my-invoice-buyer-card,
.my-invoice-summary {
  margin-top: 0.85rem;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  background: #f8fafc;
  padding: 0.85rem;
}
.my-invoice-buyer-row,
.my-invoice-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.82rem;
}
.my-invoice-buyer-row span,
.my-invoice-summary-list dt {
  color: var(--md-muted, #64748b);
}
.my-invoice-summary-title,
.my-invoice-totals-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.my-invoice-summary-list {
  margin: 0;
}
.my-invoice-summary-list dd {
  margin: 0;
  font-weight: 600;
  text-align: left;
}
.my-invoice-line {
  border: 1px solid #e8eef6;
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.my-invoice-line-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.my-invoice-totals {
  border-top: 1px solid #eef2f7;
  padding-top: 0.75rem;
}
.my-invoice-totals-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  font-size: 0.82rem;
}
.my-invoice-totals-grid strong {
  text-align: left;
  direction: ltr;
}
.my-invoice-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0 1rem;
  border-top: 1px solid #eef2f7;
  margin-top: 0.25rem;
}
.my-invoice-footer .btn {
  min-width: 7rem;
  border-radius: 12px;
  font-weight: 700;
}
.my-invoice-modal .modal-content {
  border: 0;
  border-radius: 16px;
}
.my-invoice-picker-item {
  display: block;
  width: 100%;
  text-align: right;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: transparent;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
}
.my-invoice-picker-item strong {
  display: block;
  font-size: 0.88rem;
}
.my-invoice-picker-item span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--md-muted, #64748b);
}
.my-invoice-stuff-section {
  margin-bottom: 0.85rem;
}
.my-invoice-stuff-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--md-muted, #64748b);
  margin-bottom: 0.35rem;
}
.my-invoice-stuff-row {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  border-bottom: 1px solid #f1f5f9;
}
.my-invoice-stuff-row[data-pinned-section="1"] {
  background: #fffbeb;
}
.my-invoice-stuff-row .my-invoice-picker-item {
  flex: 1;
  border-bottom: 0;
  padding: 0.7rem 0.25rem;
  position: relative;
}
.my-invoice-stuff-vat {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-style: normal;
  color: var(--md-blue);
  background: rgba(27, 104, 255, 0.08);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}
.my-invoice-pin-btn {
  flex-shrink: 0;
  width: 2.4rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.15rem;
  cursor: pointer;
}
.my-invoice-pin-btn.is-pinned,
.my-invoice-pin-btn:hover {
  color: #f59e0b;
}
.my-invoice-pin-offer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #fff8ed;
  border: 1px solid #fde68a;
  font-size: 0.78rem;
  font-weight: 600;
  color: #92400e;
  cursor: pointer;
}
.my-invoice-pin-offer input {
  margin: 0;
}
.my-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.my-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 8.25rem;
  padding: 1.25rem 1rem;
  border: 1.5px dashed #9ca3af;
  border-radius: 16px;
  background: #f3f4f6;
  color: #6b7280;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.my-upload-dropzone:hover,
.my-upload-dropzone:focus-within,
.my-upload-dropzone.is-dragover {
  background: #e5e7eb;
  border-color: #6b7280;
  color: #374151;
}
.my-upload-dropzone.has-file {
  border-color: var(--md-blue-2);
  background: rgba(27, 104, 255, 0.06);
  color: var(--md-blue);
}
.my-upload-icon {
  display: grid;
  place-items: center;
  color: inherit;
}
.my-upload-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}
.my-upload-filename {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  direction: ltr;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-upload-dropzone.has-file .my-upload-filename {
  color: var(--md-blue);
}
#bulkPreviewTable input.form-control-sm,
#customerBulkPreviewTable input.form-control-sm {
  min-width: 4.5rem;
  font-size: 0.78rem;
}
#bulkPreviewTable td:nth-child(7) input,
#customerBulkPreviewTable td:nth-child(5) input,
#customerBulkPreviewTable td:nth-child(11) input {
  min-width: 8rem;
}
@media (min-width: 768px) {
  .my-invoice-wizard {
    padding: 1.15rem 1.25rem 0;
  }
}

/* ——— Formal invoice sheet ——— */
.my-invoice-sheet {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 39, 68, 0.06);
}

.my-invoice-sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.4rem 1.15rem;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
}

.my-invoice-sheet-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--md-navy);
}

.my-invoice-sheet-brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.45rem;
  color: var(--md-muted);
  font-size: 0.82rem;
}

.my-invoice-sheet-brand-meta b {
  color: #334155;
  font-weight: 700;
}

.my-invoice-sheet-stamp {
  text-align: left;
  min-width: 10rem;
}

.my-invoice-sheet-stamp .badge {
  margin-bottom: 0.45rem;
}

.my-invoice-sheet-stamp-title {
  font-weight: 800;
  color: var(--md-blue);
  font-size: 0.95rem;
}

.my-invoice-sheet-stamp-sub {
  color: var(--md-muted);
  font-size: 0.78rem;
}

.my-invoice-sheet-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}

.my-invoice-sheet-meta-item {
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.06);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

.my-invoice-sheet-meta-item span {
  display: block;
  color: var(--md-muted);
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.my-invoice-sheet-meta-item strong {
  color: var(--md-navy);
  font-size: 0.92rem;
  word-break: break-all;
}

.my-invoice-sheet-meta-wide {
  grid-column: 1 / -1;
}

.my-invoice-sheet-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
}

.my-invoice-sheet-party {
  padding: 1.15rem 1.4rem;
}

.my-invoice-sheet-party + .my-invoice-sheet-party {
  border-right: 1px solid rgba(15, 39, 68, 0.06);
}

.my-invoice-sheet-party h2 {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--md-blue);
}

.my-invoice-sheet-party dl {
  margin: 0;
}

.my-invoice-sheet-party dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(15, 39, 68, 0.08);
  font-size: 0.86rem;
}

.my-invoice-sheet-party dl > div:last-child {
  border-bottom: 0;
}

.my-invoice-sheet-party dt {
  color: var(--md-muted);
  margin: 0;
}

.my-invoice-sheet-party dd {
  margin: 0;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
}

.my-invoice-sheet-items {
  padding: 0.35rem 0.6rem 0.6rem;
}

.my-invoice-sheet-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.84rem;
}

.my-invoice-sheet-table thead th {
  background: #0f2744;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 0.65rem;
  white-space: nowrap;
  text-align: center;
}

.my-invoice-sheet-table thead th:first-child {
  border-radius: 0 10px 0 0;
}

.my-invoice-sheet-table thead th:last-child {
  border-radius: 10px 0 0 0;
}

.my-invoice-sheet-table tbody td {
  padding: 0.8rem 0.65rem;
  text-align: center;
  border-bottom: 1px solid rgba(15, 39, 68, 0.06);
  color: #1e293b;
  vertical-align: middle;
}

.my-invoice-sheet-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.my-invoice-sheet-table tbody td.text-start {
  text-align: right;
}

.my-invoice-sheet-footer {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  padding: 1rem 1.4rem 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.my-invoice-sheet-settle,
.my-invoice-sheet-totals {
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem 1rem;
}

.my-invoice-sheet-settle > div,
.my-invoice-sheet-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(15, 39, 68, 0.08);
}

.my-invoice-sheet-settle > div:last-child,
.my-invoice-sheet-totals > div:last-child {
  border-bottom: 0;
}

.my-invoice-sheet-settle span,
.my-invoice-sheet-totals span {
  color: var(--md-muted);
}

.my-invoice-sheet-settle strong,
.my-invoice-sheet-totals strong {
  color: #1e293b;
  font-weight: 700;
}

.my-invoice-sheet-totals .is-grand {
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 2px solid rgba(10, 80, 210, 0.18);
  border-bottom: 0;
}

.my-invoice-sheet-totals .is-grand span,
.my-invoice-sheet-totals .is-grand strong {
  color: var(--md-blue);
  font-size: 1rem;
}

.my-invoice-sheet-totals .is-grand small {
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .my-invoice-sheet-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .my-invoice-sheet-parties,
  .my-invoice-sheet-footer {
    grid-template-columns: 1fr;
  }

  .my-invoice-sheet-party + .my-invoice-sheet-party {
    border-right: 0;
    border-top: 1px solid rgba(15, 39, 68, 0.06);
  }

  .my-invoice-sheet-meta {
    grid-template-columns: 1fr;
  }

  .my-invoice-sheet-stamp {
    text-align: right;
  }
}

.my-send-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.my-send-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 9.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.my-send-meta-label {
  font-size: 0.75rem;
  color: var(--md-muted);
}

.my-send-meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.my-send-meta-sep {
  margin: 0 0.2rem;
  font-weight: 500;
  color: var(--md-muted);
  font-size: 0.82rem;
}

.my-send-logs-table {
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  direction: rtl;
}

.my-send-logs-table .table {
  margin-bottom: 0;
}

.my-send-logs-table th,
.my-send-logs-table td {
  text-align: right;
  vertical-align: top;
}

.my-send-logs-table td[dir="ltr"],
.my-send-logs-table th[dir="ltr"] {
  text-align: left;
}

.my-send-log-message,
.my-send-error-body {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
  white-space: pre-wrap;
  word-break: break-word;
}

#send-logs {
  direction: rtl;
  text-align: right;
}

.my-send-logs-pagination .pagination {
  margin-bottom: 0;
  justify-content: center;
}

.my-send-logs-pagination .page-link {
  font-size: 0.85rem;
}

@media print {
  .my-page-head,
  .my-sidebar,
  .alert,
  .my-send-logs-pagination {
    display: none !important;
  }

  .my-invoice-sheet {
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }
}

