/* Stable icon font fallback for cPanel/prod deployments */
@font-face {
  font-family: "Simple-Line-Icons";
  src: url("/oneui/custom/fonts/Simple-Line-Icons.eot");
  src:
    url("/oneui/custom/fonts/Simple-Line-Icons.eot?#iefix") format("embedded-opentype"),
    url("/oneui/custom/fonts/Simple-Line-Icons.woff2") format("woff2"),
    url("/oneui/custom/fonts/Simple-Line-Icons.woff") format("woff"),
    url("/oneui/custom/fonts/Simple-Line-Icons.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Free";
  src: url("/oneui/custom/fonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Free";
  src: url("/oneui/custom/fonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Pro";
  src: url("/oneui/custom/fonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Pro";
  src: url("/oneui/custom/fonts/fa-regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Brands";
  src: url("/oneui/custom/fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.si {
  font-family: "Simple-Line-Icons" !important;
}

.fa,
.fas,
.fa-solid {
  font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro" !important;
  font-weight: 900;
}

.far,
.fa-regular {
  font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro" !important;
  font-weight: 400;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 7 Brands" !important;
  font-weight: 400;
}

.bo-premium-body {
  background:
    radial-gradient(1200px 580px at 4% -14%, rgba(226, 121, 183, 0.16), transparent 60%),
    radial-gradient(980px 520px at 106% -12%, rgba(92, 162, 216, 0.18), transparent 62%),
    linear-gradient(180deg, #fbf8ff 0%, #f4f8ff 100%);
}

#page-container.bo-premium {
  --bo-brand-a: #e279b7;
  --bo-brand-b: #b266d6;
  --bo-brand-c: #5ca2d8;
  --bo-ink: #201538;
  --bo-text: #1f1632;
  --bo-muted: #625779;
  --bo-border: #e4d8f0;
  --bo-surface: #ffffff;
  --bo-shadow-1: 0 10px 30px rgba(122, 90, 162, 0.14);
  --bo-shadow-2: 0 16px 36px rgba(77, 57, 118, 0.2);
}

#page-container.bo-premium #sidebar {
  background:
    linear-gradient(180deg, rgba(32, 21, 56, 0.98), rgba(26, 18, 47, 0.98)),
    radial-gradient(520px 360px at 100% 0%, rgba(178, 102, 214, 0.2), transparent 70%);
  border-right: 1px solid rgba(198, 170, 225, 0.22);
}

#page-container.bo-premium #sidebar .content-header {
  border-bottom: 1px solid rgba(204, 180, 228, 0.18);
}

#page-container.bo-premium #sidebar .nav-main-heading {
  color: rgba(214, 194, 235, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

#page-container.bo-premium #sidebar .nav-main-link {
  border-radius: 12px;
  margin: 3px 8px;
  padding: 0.58rem 0.8rem;
  color: #d8c5ee;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

#page-container.bo-premium #sidebar .nav-main-link:hover {
  color: #ffffff;
  background: rgba(178, 102, 214, 0.2);
  transform: translateX(2px);
}

#page-container.bo-premium #sidebar .nav-main-link.active {
  color: #ffffff;
  background: linear-gradient(140deg, rgba(226, 121, 183, 0.35), rgba(92, 162, 216, 0.28));
  box-shadow: inset 0 0 0 1px rgba(214, 186, 236, 0.34);
}

#page-container.bo-premium #sidebar .nav-main-link-icon {
  color: rgba(228, 216, 244, 0.86);
}

#page-container.bo-premium #page-header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(201, 175, 226, 0.28);
}

#page-container.bo-premium #page-header .btn-alt-secondary {
  border: 1px solid rgba(193, 169, 223, 0.36);
  background: rgba(255, 255, 255, 0.86);
  color: var(--bo-text);
}

#page-container.bo-premium #page-header .btn-alt-secondary:hover {
  background: rgba(240, 229, 252, 0.78);
}

#page-container.bo-premium #main-container > .bg-body-light {
  background: transparent !important;
}

#page-container.bo-premium #main-container > .bg-body-light .content.content-full {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  border: 1px solid var(--bo-border);
  border-radius: 16px;
  box-shadow: var(--bo-shadow-1);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(248, 242, 255, 0.92)),
    radial-gradient(620px 220px at 100% 0%, rgba(92, 162, 216, 0.12), transparent 72%);
}

#page-container.bo-premium .breadcrumb-alt .breadcrumb-item {
  color: var(--bo-muted);
}

#page-container.bo-premium .bo-page-top-content {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

#page-container.bo-premium .bo-page-head {
  gap: 0.85rem;
}

#page-container.bo-premium .bo-page-title {
  letter-spacing: 0.01em;
}

#page-container.bo-premium .bo-page-subtitle {
  max-width: 760px;
}

#page-container.bo-premium .bo-breadcrumb {
  margin-bottom: 0;
}

#page-container.bo-premium .bo-page-content {
  padding-top: 1.1rem;
}

#page-container.bo-premium .h3,
#page-container.bo-premium .block-title {
  color: var(--bo-ink);
}

#page-container.bo-premium .block-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#page-container.bo-premium .block-title i {
  opacity: 0.72;
}

#page-container.bo-premium .text-muted {
  color: var(--bo-muted) !important;
}

#page-container.bo-premium .bo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  align-items: center;
}

#page-container.bo-premium .bo-hero-actions .btn,
#page-container.bo-premium .bo-filter-actions .btn,
#page-container.bo-premium .bo-table-actions .btn {
  min-height: 2rem;
  line-height: 1.1;
}

#page-container.bo-premium .btn-alt-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bo-brand-a), var(--bo-brand-b), var(--bo-brand-c));
  box-shadow: 0 12px 28px rgba(178, 102, 214, 0.3);
}

#page-container.bo-premium .btn-alt-primary:hover {
  filter: saturate(1.06);
  transform: translateY(-1px);
}

#page-container.bo-premium .btn-alt-secondary {
  border: 1px solid rgba(193, 169, 223, 0.4);
  background: rgba(255, 255, 255, 0.86);
  color: var(--bo-text);
}

#page-container.bo-premium .btn-alt-danger {
  border: 1px solid rgba(228, 137, 171, 0.55);
  color: #92204f;
  background: rgba(255, 246, 250, 0.95);
}

#page-container.bo-premium .btn-success {
  border: 1px solid rgba(92, 162, 216, 0.55);
  color: #ffffff;
  background: linear-gradient(135deg, #53a0d9, #4a88cf);
}

#page-container.bo-premium .btn-danger {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #de6ca7, #ce4f8e);
}

#page-container.bo-premium .btn-group > .btn {
  border-radius: 10px !important;
}

#page-container.bo-premium .content > .block,
#page-container.bo-premium .row.items-push .block {
  border: 1px solid var(--bo-border);
  border-radius: 16px;
  box-shadow: var(--bo-shadow-1);
  overflow: hidden;
  background: var(--bo-surface);
}

#page-container.bo-premium .block-header-default,
#page-container.bo-premium .block-content.bg-body-light,
#page-container.bo-premium .bg-body-light {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(249, 242, 255, 0.76)) !important;
}

#page-container.bo-premium .block-header-default {
  border-bottom: 1px solid rgba(209, 188, 231, 0.35);
  min-height: 3rem;
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
}

#page-container.bo-premium .block-content {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#page-container.bo-premium .bo-kpi-card .block-content {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

#page-container.bo-premium .bo-kpi-card .fs-4 {
  letter-spacing: 0.005em;
}

#page-container.bo-premium .block-options .badge.bg-primary,
#page-container.bo-premium .badge.bg-primary {
  background: linear-gradient(135deg, var(--bo-brand-a), var(--bo-brand-b)) !important;
}

#page-container.bo-premium .item.item-rounded-lg {
  border: 1px solid rgba(206, 186, 229, 0.42);
  background: rgba(249, 242, 255, 0.88) !important;
}

#page-container.bo-premium .form-label,
#page-container.bo-premium .bo-filter-form .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(98, 87, 121, 0.96);
}

#page-container.bo-premium .form-control,
#page-container.bo-premium .form-select,
#page-container.bo-premium .input-group-text,
#page-container.bo-premium .form-control-alt {
  border: 1px solid rgba(198, 173, 224, 0.45);
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--bo-text);
  min-height: 2.15rem;
  border-radius: 10px;
}

#page-container.bo-premium .form-control:focus,
#page-container.bo-premium .form-select:focus {
  border-color: rgba(178, 102, 214, 0.62);
  box-shadow: 0 0 0 0.18rem rgba(178, 102, 214, 0.18);
}

#page-container.bo-premium .bo-filter-form .input-group > .form-control,
#page-container.bo-premium .bo-filter-form .input-group > .form-select {
  min-width: 0;
}

#page-container.bo-premium .bo-filter-actions {
  display: flex;
  align-items: flex-end;
}

#page-container.bo-premium .bo-table thead th {
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #71678a;
  background: rgba(247, 239, 255, 0.84);
  border-bottom-color: rgba(207, 185, 231, 0.45);
}

#page-container.bo-premium .bo-table tbody td {
  vertical-align: top;
  border-color: rgba(223, 206, 240, 0.46);
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

#page-container.bo-premium .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(252, 249, 255, 0.8);
}

#page-container.bo-premium .table-hover > tbody > tr:hover > * {
  background-color: rgba(236, 225, 250, 0.44);
}

#page-container.bo-premium .bo-table-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

#page-container.bo-premium .bo-table-actions form {
  margin: 0;
}

#page-container.bo-premium .bo-table-actions .form-control {
  min-height: 1.95rem;
  font-size: 0.78rem;
}

#page-container.bo-premium .bo-table-actions form.d-flex {
  align-items: center;
}

#page-container.bo-premium .bo-table .btn-group {
  gap: 0.35rem;
}

#page-container.bo-premium .bo-table .btn-group form {
  margin: 0;
}

#page-container.bo-premium .badge.bg-success {
  background: linear-gradient(135deg, #62abda, #4f91d2) !important;
}

#page-container.bo-premium .badge.bg-info {
  background: linear-gradient(135deg, #cf7fca, #b06bd8) !important;
}

#page-container.bo-premium .badge.bg-warning {
  background: linear-gradient(135deg, #f0b66c, #ea9c53) !important;
  color: #3c2a13 !important;
}

#page-container.bo-premium .badge.bg-danger {
  background: linear-gradient(135deg, #de6ba8, #cb4f91) !important;
}

#page-container.bo-premium .alert {
  border: 1px solid rgba(191, 167, 220, 0.42);
  border-radius: 12px;
  box-shadow: var(--bo-shadow-1);
}

#page-container.bo-premium .alert-success {
  background: rgba(234, 247, 255, 0.9);
  color: #264a69;
}

#page-container.bo-premium .alert-danger {
  background: rgba(255, 238, 246, 0.92);
  color: #6f2248;
}

#page-container.bo-premium .bo-kpi-grid .block-content-full {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#page-container.bo-premium .bo-dashboard-map {
  width: 100%;
  min-height: 360px;
  border: 1px solid rgba(201, 176, 226, 0.46);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

#page-container.bo-premium .pagination {
  gap: 0.35rem;
}

#page-container.bo-premium .page-link {
  border-radius: 10px !important;
  border-color: rgba(198, 172, 224, 0.42);
  color: #6f5e91;
}

#page-container.bo-premium .page-item.active .page-link {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--bo-brand-a), var(--bo-brand-b), var(--bo-brand-c));
}

#page-container.bo-premium #page-footer {
  border-top: 1px solid rgba(199, 175, 225, 0.36);
  background: rgba(250, 244, 255, 0.88) !important;
}

#page-container.bo-premium #page-footer .fw-semibold,
#page-container.bo-premium #page-footer {
  color: #695b87;
}

@media (max-width: 767.98px) {
  #page-container.bo-premium .bo-dashboard-map {
    min-height: 280px;
  }

  #page-container.bo-premium .bo-hero-actions .ms-auto {
    margin-left: 0 !important;
  }

  #page-container.bo-premium .bo-hero-actions > * {
    flex: 1 1 auto;
  }

  #page-container.bo-premium #main-container > .bg-body-light .content.content-full {
    margin-top: 0.6rem;
    border-radius: 14px;
  }

  #page-container.bo-premium .bo-page-content {
    padding-top: 0.75rem;
  }

  #page-container.bo-premium .bo-filter-form {
    row-gap: 0.7rem;
  }

  #page-container.bo-premium .bo-filter-actions .btn {
    width: 100%;
  }
}
