/* MoIFAR auth / registration — palette tuned to official seal (navy ring, Somali blue shield, crown gold) */
:root {
  --moifar-navy: #071a33;
  --moifar-dark: #0f2848;
  --moifar-blue: #2f7fd4;
  --moifar-sky: #52a8ef;
  --moifar-gold: #d4af37;
  --moifar-gold-rgb: 212, 175, 55;
  --moifar-ice: #e8f2fc;
  /* NGO portal sidebar — light surface */
  --ngo-sidebar-bg: linear-gradient(165deg, #fbfdff 0%, #f0f7ff 42%, #e8f2fc 100%);
  --ngo-sidebar-border: rgba(47, 127, 212, 0.14);
  --ngo-sidebar-text: #1e293b;
  --ngo-sidebar-muted: #64748b;
  --ngo-sidebar-hover: rgba(47, 127, 212, 0.09);
  --ngo-sidebar-active: rgba(47, 127, 212, 0.12);
  --ngo-sidebar-shadow: 4px 0 28px rgba(15, 40, 72, 0.06);
  --ngo-sidebar-w: 280px;
}

body.moifar-body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

.moifar-font-display {
  font-family: "Playfair Display", Georgia, serif;
}

.bg-mesh {
  background:
    radial-gradient(ellipse 85% 55% at 15% 95%, rgba(47, 127, 212, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 8%, rgba(82, 168, 239, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 50% 42% at 48% 42%, rgba(var(--moifar-gold-rgb), 0.09) 0%, transparent 48%),
    linear-gradient(165deg, rgba(7, 26, 51, 0.97) 0%, rgba(15, 40, 72, 0.99) 45%, rgba(7, 26, 51, 1) 100%);
}

.moifar-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--moifar-navy);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045) 0%,
    transparent 28%,
    transparent 62%,
    rgba(47, 127, 212, 0.08) 100%
  );
}

.moifar-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
}

.moifar-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.moifar-blob--tl {
  top: -8rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(47, 127, 212, 0.28);
  filter: blur(100px);
  animation: moifar-float 6s ease-in-out infinite;
}

.moifar-blob--br {
  bottom: -6rem;
  right: 30%;
  width: 24rem;
  height: 24rem;
  background: rgba(var(--moifar-gold-rgb), 0.2);
  animation: moifar-float 6s ease-in-out 3s infinite;
}

@keyframes moifar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.moifar-gold-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(var(--moifar-gold-rgb), 0.55), transparent);
  pointer-events: none;
  z-index: 10;
}

.moifar-gold-line--bottom {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--moifar-gold-rgb), 0.35), transparent);
}

.moifar-z-main {
  z-index: 20;
  position: relative;
}

.moifar-seal-outer {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .moifar-seal-outer {
    width: 14rem;
    height: 14rem;
  }
}

.moifar-seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--moifar-gold-rgb), 0.3);
  animation: moifar-pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes moifar-pulse-ring {
  0% { transform: scale(0.92); opacity: 0.6; }
  80%, 100% { transform: scale(1.15); opacity: 0; }
}

.moifar-seal-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 4px rgba(var(--moifar-gold-rgb), 0.5),
    0 0 0 10px rgba(7, 26, 51, 0.85),
    0 0 0 14px rgba(47, 127, 212, 0.2),
    0 12px 48px rgba(0, 0, 0, 0.35),
    0 0 72px rgba(47, 127, 212, 0.18);
}

.text-moifar-gold {
  color: var(--moifar-gold) !important;
}

.text-moifar-navy {
  color: var(--moifar-navy) !important;
}

.text-moifar-blue {
  color: var(--moifar-blue) !important;
}

.bg-moifar-blue {
  background-color: var(--moifar-blue) !important;
}

.text-moifar-muted-light {
  color: rgba(226, 232, 240, 0.9) !important;
}

.border-moifar-footer {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.moifar-mobile-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, rgba(7, 26, 51, 0.97), rgba(15, 40, 72, 0.98), rgba(7, 26, 51, 0.97));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(var(--moifar-gold-rgb), 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.moifar-mobile-bar img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(var(--moifar-gold-rgb), 0.45);
}

.moifar-card-panel {
  width: 100%;
  max-width: 32rem;
}

.moifar-card-panel--wide {
  max-width: 42rem;
}

.moifar-card-inner {
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
  .moifar-card-inner {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
}

.moifar-form-scroll {
  max-height: none;
  overflow: visible;
}

@media (min-width: 992px) {
  .moifar-form-scroll {
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
  }
}

/* ── NGO registration: one page scroll, card fits content (no nested scrollbars) ── */
.moifar-page-registration .moifar-shell {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .moifar-page-registration .moifar-shell {
    padding-bottom: 0;
  }
}

.moifar-page-registration .moifar-form-scroll {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

.moifar-page-registration .moifar-z-main > .flex-grow-1 {
  min-width: 0;
}

.moifar-page-registration .moifar-card-panel {
  max-width: min(42rem, 100%);
}

.moifar-page-registration .moifar-card-inner {
  overflow-x: hidden;
  overflow-y: visible;
}

.moifar-page-registration .moifar-reg-hint {
  min-height: 1.25rem;
}

.moifar-page-registration .moifar-reg-hint--spacer {
  min-height: 0;
}

.moifar-input-icon-wrap {
  position: relative;
}

.moifar-input-icon-wrap .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 4;
}

.moifar-input-icon-wrap:focus-within .input-icon {
  color: var(--moifar-blue);
}

.moifar-input-icon-wrap .form-control,
.moifar-input-icon-wrap .form-select {
  padding-left: 2.75rem;
}

.moifar-input-icon-wrap .form-select {
  padding-right: 2.5rem;
}

.moifar-input-icon-wrap .chevron-end {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.moifar-input-icon-wrap .btn-toggle-pw {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 0.35rem 0.75rem;
}

.moifar-input-icon-wrap .btn-toggle-pw:hover {
  color: var(--moifar-blue);
}

.btn-moifar-primary {
  background: linear-gradient(135deg, var(--moifar-blue) 0%, var(--moifar-navy) 55%, var(--moifar-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  min-height: 2.625rem;
  box-shadow: 0 4px 14px rgba(47, 127, 212, 0.28);
}

.btn-moifar-primary:hover,
.btn-moifar-primary:focus {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 6px 20px rgba(47, 127, 212, 0.35);
}

.btn-moifar-primary:focus {
  box-shadow:
    0 0 0 0.2rem rgba(47, 127, 212, 0.35),
    0 0 0 0.35rem rgba(var(--moifar-gold-rgb), 0.25);
}

.btn-moifar-outline {
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-weight: 700;
  border-radius: 0.75rem;
  min-height: 2.625rem;
}

.btn-moifar-outline:hover {
  border-color: var(--moifar-gold);
  color: var(--moifar-navy);
  background: rgba(var(--moifar-gold-rgb), 0.08);
}

.moifar-footer-mobile {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  z-index: 20;
  text-align: center;
  font-size: 0.65rem;
  line-height: 1.35;
  color: rgba(148, 163, 184, 0.9);
  pointer-events: none;
}

@media (min-width: 992px) {
  .moifar-footer-mobile {
    display: none;
  }
}

input.input-single-line,
select.input-single-line {
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  line-height: 1.25rem;
}

input.field-input-error,
select.field-input-error {
  border-color: #f87171 !important;
  background-color: rgba(254, 242, 242, 0.92) !important;
}

input.field-input-error:focus,
select.field-input-error:focus {
  border-color: #ef4444 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.22) !important;
}

.field-wrap.has-error .field-ico {
  color: #f87171 !important;
}

/* NGO manage pages — compact tables + modal actions */
.ngo-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.ngo-list-toolbar .toolbar-title {
  font-weight: 600;
  color: var(--moifar-navy);
  margin: 0;
  font-size: 0.95rem;
}
.ngo-table-actions {
  white-space: nowrap;
}
.ngo-table-actions .btn {
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
}
.ngo-text-clip {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}
@media (max-width: 575.98px) {
  .ngo-text-clip {
    max-width: 8rem;
  }
}
.modal-body .ngo-dl dt {
  color: #64748b;
  font-weight: 600;
  font-size: 0.8rem;
}
.modal-body .ngo-dl dd {
  font-size: 0.875rem;
}
.modal-body .ngo-doc-link {
  word-break: break-all;
}

/* NGO portal — modals fill small viewports, scroll safely, avoid clipped fields */
.modal.ngo-portal-modal .modal-dialog {
  margin-left: auto;
  margin-right: auto;
}
.modal.ngo-portal-modal .modal-dialog.modal-dialog-scrollable {
  max-height: min(calc(100vh - 1rem), calc(100dvh - 1rem));
  display: flex;
  align-items: stretch;
}
.modal.ngo-portal-modal .modal-dialog.modal-dialog-scrollable .modal-content {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal.ngo-portal-modal .form-control,
.modal.ngo-portal-modal .form-select {
  max-width: 100%;
  min-width: 0;
}
.modal.ngo-portal-modal input[type="file"].form-control {
  width: 100%;
}
/* Form wraps header/body/footer on Add/Edit — keep footer visible, scroll body only */
.modal.ngo-portal-modal .modal-dialog-scrollable .modal-content > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.modal.ngo-portal-modal .modal-dialog-scrollable .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.ngo-portal-modal .modal-footer {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
}
.modal.ngo-portal-modal .modal-header {
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
}
@media (max-width: 767.98px) {
  .modal.ngo-portal-modal .modal-header,
  .modal.ngo-portal-modal .modal-footer {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
    flex-wrap: wrap;
  }
  .modal.ngo-portal-modal .modal-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .modal.ngo-portal-modal .modal-footer {
    gap: 0.5rem;
  }
  .modal.ngo-portal-modal .modal-footer .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.modal.ngo-portal-modal .ngo-staff-upload-col {
  min-width: 0;
}
.modal.ngo-portal-modal .ngo-staff-file-status {
  word-break: break-word;
  line-height: 1.35;
}
.modal.ngo-portal-modal .ngo-staff-file-status .btn {
  margin-top: 0.25rem;
  display: inline-block;
}
@media (min-width: 768px) {
  .modal.ngo-portal-modal .ngo-staff-file-status .btn {
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

/* —— NGO portal shell: light sidebar + responsive drawer —— */
body.moifar-body.ngo-portal-nav-open {
  overflow: hidden;
}

.ngo-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1039;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.ngo-sidebar-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ngo-sidebar {
  width: var(--ngo-sidebar-w);
  flex: 0 0 var(--ngo-sidebar-w);
  background: var(--ngo-sidebar-bg);
  color: var(--ngo-sidebar-text);
  position: sticky;
  top: 0;
  align-self: flex-start;
  min-height: 100vh;
  box-shadow: var(--ngo-sidebar-shadow);
  border-right: 1px solid var(--ngo-sidebar-border);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.ngo-sidebar .brand {
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--ngo-sidebar-border);
  background: rgba(255, 255, 255, 0.45);
}

.ngo-sidebar .brand .small.text-white-50 {
  color: var(--ngo-sidebar-muted) !important;
}

.ngo-sidebar .brand .fw-bold.small {
  color: var(--moifar-navy);
}

.ngo-sidebar .overall-pill--hero {
  margin: 0.65rem 1rem;
  padding: 0.75rem 0.75rem 0.95rem;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.92) 100%);
  border: 1px solid rgba(47, 127, 212, 0.18);
  box-shadow:
    0 1px 2px rgba(15, 40, 72, 0.04),
    0 8px 24px rgba(47, 127, 212, 0.08);
}

.ngo-sidebar .overall-pill__label {
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.5rem !important;
  line-height: 1.35;
}

.ngo-sidebar .overall-pill__dial {
  position: relative;
  width: 4.875rem;
  height: 4.875rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.45rem;
}

.ngo-sidebar .overall-pill__dial-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--ngo-dial-fill) calc(var(--ngo-complete-pct, 0) * 1%),
    rgba(226, 232, 240, 0.95) 0
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Completeness dial colour: under 50% red; 50–70% lighter green; above 70% darker green */
.ngo-sidebar .overall-pill--pct-low {
  --ngo-dial-fill: #ef4444;
}

.ngo-sidebar .overall-pill--pct-mid {
  --ngo-dial-fill: #4ade80;
}

.ngo-sidebar .overall-pill--pct-high {
  --ngo-dial-fill: #15803d;
}

.ngo-sidebar .overall-pill__dial-inner {
  position: absolute;
  inset: 0.38rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 0.1rem;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* Rajdhani: tall, narrow numerals — stronger height than width; fits 100% */
.ngo-sidebar .overall-pill__value {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.ngo-sidebar .overall-pill__num {
  font-family: Rajdhani, Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.6875rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  max-width: 100%;
}

.ngo-sidebar .overall-pill__sym {
  font-family: Rajdhani, Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: #0f172a;
  margin-left: 0.05em;
  margin-top: 0.1em;
  flex-shrink: 0;
}

.ngo-sidebar .overall-pill__status {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.95) 0%, rgba(254, 226, 226, 0.85) 100%);
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.28);
  box-shadow: 0 1px 2px rgba(185, 28, 28, 0.06);
}

.ngo-sidebar .overall-pill__status.ngo-sidebar-wf {
  color: #dc2626 !important;
  font-weight: 700;
}

.ngo-sidebar a.nav-step i.text-danger {
  color: #dc2626 !important;
}

.ngo-sidebar .nav-wizard {
  padding: 0.5rem 0 1.25rem;
  overflow-y: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}

.ngo-sidebar a.nav-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.8125rem;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ngo-sidebar a.nav-step:hover {
  background: var(--ngo-sidebar-hover);
  color: var(--moifar-navy);
}

.ngo-sidebar a.nav-step.active {
  background: var(--ngo-sidebar-active);
  border-left-color: var(--moifar-gold);
  color: var(--moifar-navy);
  font-weight: 600;
}

.ngo-sidebar a.nav-step .pct {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.85;
  color: var(--ngo-sidebar-muted);
}

.ngo-sidebar a.nav-step.active .pct {
  color: var(--moifar-navy);
  opacity: 0.9;
}

.ngo-sidebar-logout {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.35rem 0 0.5rem;
  border-color: var(--ngo-sidebar-border) !important;
  background: rgba(255, 255, 255, 0.35);
}

.ngo-sidebar a.nav-step--logout {
  color: var(--ngo-sidebar-muted);
}

.ngo-sidebar a.nav-step--logout:hover {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
}

.ngo-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.ngo-sidebar-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
  color: var(--moifar-navy);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ngo-sidebar-open:hover,
.ngo-sidebar-open:focus-visible {
  background: var(--ngo-sidebar-hover);
  border-color: rgba(47, 127, 212, 0.35);
  color: var(--moifar-blue);
}

.ngo-sidebar-open:focus-visible {
  outline: 2px solid rgba(47, 127, 212, 0.35);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .ngo-app {
    flex-direction: column;
    position: relative;
  }

  .ngo-sidebar-backdrop {
    display: block;
  }

  .ngo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    min-height: 0;
    height: 100dvh;
    max-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 40px rgba(15, 23, 42, 0.12);
    border-right: 1px solid var(--ngo-sidebar-border);
  }

  .ngo-sidebar.is-open {
    transform: translateX(0);
  }

  .ngo-main {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ngo-sidebar {
    width: min(var(--ngo-sidebar-w), 86vw);
    flex-basis: min(var(--ngo-sidebar-w), 86vw);
  }
}

@media (min-width: 992px) {
  .ngo-sidebar-backdrop {
    display: none !important;
  }
}
