@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600&display=swap";
/* [project]/app/globals.css [app-client] (css) */
:root {
  --brand: #f63234;
  --brand-dark: #c81e28;
  --brand-grad: linear-gradient(135deg, #ec4244 0%, #e63234 45%, #ce2329 100%);
  --line: #eceef1;
  --line-2: #f2f4f6;
  --ink: #15171c;
  --ink-2: #1f2024;
  --muted: #7c828c;
  --canvas: #f4f6f9;
  --surface: #fff;
  --surface-grad: #fff;
  --sidebar: #fff;
  --brand-tint: #fdecec;
  --radius: 18px;
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.21, .6, .35, 1);
  --shadow-sm: 0 1px 2px #1018280d, 0 1px 3px #1018280a;
  --shadow-md: 0 4px 12px #1018280f, 0 2px 6px #1018280a;
  --shadow-lg: 0 18px 44px #1018281f, 0 6px 16px #1018280f;
  --shadow-brand: 0 8px 22px #e632344d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(1200px 600px at 100% -12%, #e632340b, transparent 56%),
    radial-gradient(900px 520px at -10% 112%, #e6323406, transparent 55%),
    var(--canvas);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  letter-spacing: -.005em;
  background-attachment: fixed;
  font-family: Inter, system-ui, sans-serif;
}

::placeholder {
  color: #a6acb3;
}

::selection {
  color: var(--ink-2);
  background: #e632342e;
}

input, select, button {
  font-family: inherit;
}

.ar {
  font-family: Noto Sans Arabic, Inter, sans-serif;
}

input, select {
  transition: border-color .18s, box-shadow .18s, background .18s;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3.5px #e6323424;
  border-color: var(--brand) !important;
}

input:not([type="checkbox"]):not([type="radio"]), select {
  box-shadow: var(--shadow-sm);
  border-radius: 10px !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([readonly]):hover, select:hover {
  border-color: #c7cbd1;
}

input[type="checkbox"] {
  appearance: none;
  cursor: pointer;
  vertical-align: middle;
  background: #fff;
  border: 1.5px solid #cbd0d7;
  border-radius: 5px;
  flex: none;
  place-content: center;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
  display: inline-grid;
}

input[type="checkbox"]:hover {
  border-color: var(--brand);
}

input[type="checkbox"]:checked {
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 74%;
}

input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3.5px #e632342e;
}

button {
  transition: background .18s ease, box-shadow .2s var(--ease-out),
    transform .14s var(--ease-out), border-color .18s ease, color .18s ease, filter .18s ease;
}

button:active {
  transform: translateY(1px)scale(.99);
}

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #e632348c;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-thumb {
  background: #d3d7dd padding-box padding-box;
  border: 3px solid #0000;
  border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bfc4cc padding-box padding-box;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes revealScale {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.985);
  }

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

@keyframes ovIn {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
  }

  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
}

@keyframes mdIn {
  from {
    opacity: 0;
    transform: translateY(22px)scale(.965);
  }

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes toastIn {
  0% {
    opacity: 0;
    transform: translateY(26px)scale(.9);
  }

  60% {
    transform: translateY(-3px)scale(1.01);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 #e632346b;
  }

  70% {
    box-shadow: 0 0 0 9px #e6323400;
  }

  100% {
    box-shadow: 0 0 #e6323400;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-130%)skewX(-18deg);
  }

  60%, 100% {
    transform: translateX(330%)skewX(-18deg);
  }
}

@keyframes spinIn {
  from {
    opacity: 0;
    transform: rotate(-90deg)scale(.6);
  }

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

@keyframes drawerIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: none;
  }
}

@keyframes dotBlink {
  0%, 80%, 100% {
    opacity: .25;
  }

  40% {
    opacity: 1;
  }
}

.aidrawer {
  animation: drawerIn .34s var(--ease-spring) both;
}

.dot {
  background: #9aa0a6;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.2s infinite dotBlink;
  display: inline-block;
}

.reveal {
  animation: reveal .55s var(--ease-out) both;
}

.reveal-scale {
  animation: revealScale .5s var(--ease-out) both;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px #1018280a, 0 8px 24px #1018280b;
}

.btn-primary {
  background: var(--brand-grad) !important;
  box-shadow: var(--shadow-brand) !important;
}

.btn-primary:hover {
  filter: saturate(1.05) brightness(.97);
}

.lift {
  transition: box-shadow .26s var(--ease-out), transform .26s var(--ease-out), border-color .22s ease;
  will-change: transform;
}

.lift:hover {
  border-color: #e2e5ea;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #1018281a;
}

.kpi-card {
  position: relative;
  overflow: hidden;
}

.kpi-card:before {
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, #0000 30%, #ffffff8c 50%, #0000 70%);
  transition: none;
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
}

.kpi-card:hover:before {
  animation: sheen 1.1s var(--ease-out);
  opacity: 1;
}

.kpi-icon {
  transition: transform .3s var(--ease-spring);
}

.kpi-card:hover .kpi-icon {
  transform: scale(1.1)rotate(-4deg);
}

.rowh {
  transition: background .16s, box-shadow .2s;
}

.rowh:hover {
  box-shadow: inset 3px 0 0 var(--brand);
  background: #fbfbfc;
}

.ov {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: .26s both ovIn;
}

.md {
  animation: mdIn .44s var(--ease-spring) both;
}

.toast {
  animation: toastIn .5s var(--ease-spring) both;
}

.step-anim {
  animation: fadeUp .34s var(--ease-out) both;
}

.nav-item {
  position: relative;
  overflow: hidden;
}

.nav-item:before {
  content: "";
  background: var(--brand);
  width: 3px;
  height: 0;
  transition: height .28s var(--ease-spring);
  border-radius: 0 3px 3px 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.nav-item:not(.active):hover {
  color: #1f2024 !important;
  background: #f3f4f6 !important;
}

.nav-item:not(.active):hover:before {
  height: 18px;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine > * {
  z-index: 1;
  position: relative;
}

.btn-shine:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #0000, #ffffff59, #0000);
  width: 45%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-130%)skewX(-18deg);
}

.btn-shine:hover:after {
  animation: sheen 1s var(--ease-out);
}

.step-pulse {
  animation: 2.1s ease-out infinite pulseRing;
}

.seg {
  transition: all .18s var(--ease-out);
}

.sel {
  color: #1f2024;
  cursor: pointer;
  appearance: none;
  width: 100%;
  height: 44px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color .18s, box-shadow .18s;
}

.sel:hover {
  border-color: #c7cbd1;
}

.sel:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3.5px #e6323424;
}

.sel option {
  color: #1f2024;
}

.dd-btn {
  color: #1f2024;
  cursor: pointer;
  width: 100%;
  height: 44px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 13px;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s;
  display: flex;
}

.dd-btn:hover {
  border-color: #c7cbd1;
}

.dd-btn[data-open="true"] {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px #e6323424;
}

.dd-menu {
  z-index: 70;
  max-height: 264px;
  animation: ddIn .16s var(--ease-out);
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 12px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 18px 44px #10182829;
}

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

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

.dd-opt {
  color: #3a3f47;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-size: 13.5px;
  transition: background .12s, color .12s;
  display: flex;
}

.dd-opt:hover {
  background: #f4f5f7;
}

.dd-opt[data-sel="true"] {
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
}

.page-pad {
  overflow-x: clip;
}

.dash-3 {
  grid-template-columns: 1.12fr 1fr 1.12fr;
  gap: 18px;
  margin-bottom: 18px;
  display: grid;
}

.dash-2 {
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  margin-bottom: 18px;
  display: grid;
}

.gauge-grid {
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: 10px;
  display: grid;
}

.dash-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: box-shadow .24s var(--ease-out), border-color .2s ease, transform .24s var(--ease-out);
  padding: 22px 24px;
  box-shadow: 0 1px 2px #1018280a, 0 8px 24px #1018280b;
}

.dash-3 > .dash-card, .dash-2 > .dash-card {
  overflow: hidden;
}

.dash-card:hover {
  border-color: #e2e5ea;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px #1018281a;
}

.ov-split {
  grid-template-columns: 300px 1fr;
  gap: 16px;
  margin-bottom: 18px;
  display: grid;
}

.ov-kpi {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  display: grid;
}

.subtab-bar {
  scrollbar-width: none;
}

.subtab-bar::-webkit-scrollbar {
  display: none;
}

.modal-foot button {
  border-radius: 10px !important;
}

.app-overlay, .hamburger {
  display: none;
}

@media (max-width: 1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .dash-3 {
    grid-template-columns: 1fr 1fr !important;
  }

  .bi-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .bi-divider {
    display: none !important;
  }

  .card-grid, .feat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .ov-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .app-sidebar {
    z-index: 60;
    transition: transform .36s var(--ease-spring);
    top: 0;
    left: 0;
    transform: translateX(-106%);
    box-shadow: 0 24px 70px #00000073;
    position: fixed !important;
  }

  .app-sidebar.open {
    transform: none;
  }

  .app-overlay {
    z-index: 55;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: #0a0c1080;
    animation: .25s both ovIn;
    display: block;
    position: fixed;
    inset: 0;
  }

  .hamburger {
    display: flex !important;
  }

  .dash-3, .dash-2 {
    grid-template-columns: 1fr !important;
  }

  .dash-card {
    padding: 16px !important;
  }

  body {
    overflow-x: hidden;
  }

  .crumb-hide {
    display: none !important;
  }

  .page-pad {
    padding: 18px 16px 40px !important;
  }

  .topbar {
    gap: 10px !important;
    padding: 0 14px !important;
  }

  .topbar-search {
    flex: 1;
    min-width: 0;
    width: auto !important;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feat-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .modal-wrap {
    padding: 0 !important;
  }

  .modal-shell {
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
  }

  .modal-head, .modal-foot, .stepper-wrap, .modal-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .stepper-scroll {
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .grid-2, .grid-3, .step3-top {
    grid-template-columns: 1fr !important;
  }

  .title-row {
    flex-direction: column;
    align-items: stretch !important;
  }

  .add-btn {
    justify-content: center;
    width: 100%;
  }

  .toolbar-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .toolbar-row > div {
    justify-content: space-between;
  }

  .subtab-bar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .title-actions {
    width: 100%;
  }

  .title-actions > button {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .kpi-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .ov-kpi, .card-grid, .feat-grid {
    grid-template-columns: 1fr !important;
  }

  .step-label {
    display: none !important;
  }

  .modal-foot {
    flex-wrap: wrap;
  }

  .pager-row {
    flex-wrap: wrap;
    justify-content: space-between !important;
    gap: 12px !important;
  }
}

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

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/