:root {
  --admin-compact-radius: 0.75rem;
  --admin-compact-pad: 0.75rem 1rem;
}

.admin-compact-shell .p-8 { padding: 1rem !important; }
.admin-compact-shell .p-6 { padding: 0.875rem !important; }
.admin-compact-shell .py-4 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.admin-compact-shell .px-4 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.admin-compact-shell .mb-8 { margin-bottom: 1rem !important; }
.admin-compact-shell .mb-6 { margin-bottom: 0.875rem !important; }
.admin-compact-shell .mb-4 { margin-bottom: 0.75rem !important; }
.admin-compact-shell .gap-6 { gap: 0.75rem !important; }
.admin-compact-shell .gap-4 { gap: 0.625rem !important; }
.admin-compact-shell .rounded-2xl { border-radius: var(--admin-compact-radius) !important; }
.admin-compact-shell .text-3xl { font-size: 1.35rem !important; line-height: 1.6rem !important; }
.admin-compact-shell .text-2xl { font-size: 1.2rem !important; line-height: 1.45rem !important; }
.admin-compact-shell input,
.admin-compact-shell select,
.admin-compact-shell textarea,
.admin-compact-shell button {
  font-size: 0.875rem;
}

body.shop-admin-compact .main-content {
  padding: 16px 18px 28px !important;
}
body.shop-admin-compact .sidebar {
  width: 200px !important;
}
body.shop-admin-compact .sidebar-header {
  padding: 12px 12px !important;
}
body.shop-admin-compact .sidebar-item {
  padding: 7px 10px !important;
  margin-bottom: 1px !important;
}
body.shop-admin-compact .page-title {
  font-size: 1.1rem !important;
  margin-bottom: 12px !important;
}
body.shop-admin-compact .stat-card {
  padding: 10px 12px !important;
  border-radius: 10px !important;
}
body.shop-admin-compact .data-table th,
body.shop-admin-compact .data-table td {
  padding: 8px 10px !important;
}
body.shop-admin-compact .settings-panel {
  border-radius: 12px !important;
}
body.shop-admin-compact .glass.rounded-2xl.p-8,
body.shop-admin-compact .glass.p-8 {
  padding: 1.1rem !important;
  border-radius: 12px !important;
}

body.promoter-compact #loginPage .glass {
  padding: 1.25rem !important;
  border-radius: 12px !important;
}
body.promoter-compact #loginPage .w-16.h-16 {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}
body.promoter-compact #loginPage h1 {
  font-size: 1.25rem !important;
}
body.promoter-compact #loginPage .mb-8 {
  margin-bottom: 1rem !important;
}
body.promoter-compact nav .py-4 {
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
}
body.promoter-compact .text-3xl {
  font-size: 1.35rem !important;
}
body.promoter-compact .p-6 {
  padding: 0.9rem !important;
}
body.promoter-compact .rounded-2xl {
  border-radius: 12px !important;
}
body.promoter-compact input {
  padding: 0.55rem 0.75rem !important;
  border-radius: 0.65rem !important;
}
body.promoter-compact button[type="submit"] {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
}

body.docs-admin-compact .admin-card.p-8 {
  padding: 1.1rem !important;
}
body.docs-admin-compact .p-4 {
  padding: 0.7rem !important;
}
body.docs-admin-compact .px-4 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
body.docs-admin-compact .py-3 {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
body.docs-admin-compact .sidebar-item {
  padding: 0.4rem 0.6rem !important;
}

body.shop-login-compact .login-container { max-width: 360px; }
body.shop-login-compact .login-card,
body.shop-login-compact .card {
  padding: 1.15rem !important;
  border-radius: 12px !important;
}
body.shop-login-compact h1 { font-size: 1.25rem !important; }
body.shop-login-compact input {
  padding: 0.55rem 0.75rem !important;
  min-height: 2.25rem;
}
body.shop-login-compact button {
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
}

body.license-admin-compact #sidebar {
  width: 13.5rem !important;
}
body.license-admin-compact #sidebar .px-3,
body.license-admin-compact #sidebar .px-4 {
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
}
body.license-admin-compact #sidebar .py-3 {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
}
body.license-admin-compact #sidebar .nav-link {
  padding: 0.4rem 0.55rem !important;
  margin-bottom: 1px !important;
  border-radius: 0.5rem !important;
  font-size: 0.8125rem !important;
  gap: 0.5rem !important;
}
body.license-admin-compact #sidebar .text-xs {
  font-size: 0.68rem !important;
  letter-spacing: 0.04em;
}
body.license-admin-compact main.admin-compact {
  padding: 0.75rem 0.9rem 1.25rem !important;
}
@media (min-width: 1024px) {
  body.license-admin-compact main.admin-compact {
    margin-left: 13.5rem !important;
  }
}
body.license-admin-compact .page > h2,
body.license-admin-compact .page h2 {
  font-size: 1.05rem !important;
  margin-bottom: 0.55rem !important;
}
body.license-admin-compact .dashboard-compact > .grid > div {
  padding: 0.7rem 0.8rem !important;
}
body.license-admin-compact .dashboard-compact #statTotal,
body.license-admin-compact .dashboard-compact #statActive,
body.license-admin-compact .dashboard-compact #statInactive,
body.license-admin-compact .dashboard-compact #statExpired,
body.license-admin-compact .dashboard-compact #statTodayNew,
body.license-admin-compact .dashboard-compact #statMonthlyOrders,
body.license-admin-compact .dashboard-compact #statExpiringSoon {
  font-size: 1.25rem !important;
  line-height: 1.4rem !important;
}
body.license-admin-compact .dashboard-compact #statTodayRevenue,
body.license-admin-compact .dashboard-compact #statMonthRevenue,
body.license-admin-compact .dashboard-compact #statTotalRevenue {
  font-size: 1.1rem !important;
  line-height: 1.3rem !important;
}
body.license-admin-compact .dashboard-recent-card {
  padding: 0.75rem !important;
}
body.license-admin-compact .dashboard-recent-card #recentLicenses > div,
body.license-admin-compact .dashboard-recent-card .space-y-3 > * {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
body.license-admin-compact table th,
body.license-admin-compact table td {
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
  font-size: 0.8125rem !important;
}
body.license-admin-compact thead th {
  font-size: 0.7rem !important;
  text-transform: none;
}
body.license-admin-compact .order-stat-row > div {
  min-height: auto !important;
}
body.license-admin-compact #ordersPagination,
body.license-admin-compact #extOrdersPagination {
  padding: 0.55rem 0.75rem !important;
}
body.license-admin-compact .bulk-actions-bar,
body.license-admin-compact [class*="bulk"] {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}
