/* ============================================================
   NGO — single app stylesheet (no inline CSS in views)
   Layers: utilities → header/topbar/nav → footer →
   cards/gallery → forms → auth → section/status → responsive
   ============================================================ */

/* ---------- base safety ---------- */
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
main { padding-bottom: 0; }

/* Muted text: deep readable color (project rule) */
.text-muted { color: #44403c !important; }

/* ---------- font-size utilities ---------- */
.fs-7 { font-size: 7px; }
.fs-8 { font-size: 8px; }
.fs-9 { font-size: 9px; }
.fs-10 { font-size: 10px; }
.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-16 { font-size: 16px; }
.fs-24 { font-size: 24px; }

/* ---------- width utilities ---------- */
.mw-140 { min-width: 140px; }
.mw-160 { min-width: 160px; }
.mw-200 { min-width: 200px; }
.mw-600 { max-width: 600px; }
.mw-640 { max-width: 640px; }
.mw-700 { max-width: 700px; }
.mw-720 { max-width: 720px; }
.mw-900 { max-width: 900px; }
.mw-950 { max-width: 950px; }
.mw-1000 { max-width: 1000px; }
.mw-1200 { max-width: 1200px; }
.mw-1400 { max-width: 1400px; }
.w-16 { width: 16px; }
.w-18 { width: 18px; height: 18px; }
.w-26 { width: 26px; height: 26px; }
.w-32 { width: 32px; height: 32px; }
.w-32 { width: 32px; height: 32px; }
.w-50 { width: 50px; height: 50px; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }
.z-1055 { z-index: 1055; }
.cursor-zoom { cursor: zoom-in; }
.lh-16 { line-height: 1.6; }
.lh-14 { line-height: 1.4; }
.lh-18 { line-height: 1.8; }

/* ---------- shared bits ---------- */
.divider-bar { width: 80px; height: 4px; }
.icon-60 { width: 60px; height: 60px; font-size: 24px; }
.status-icon { font-size: 48px; }
.lightbox-img { max-height: 90vh; width: auto; margin: 0 auto; max-width: 100%; }
.legal-body { font-size: 15px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }

/* ---------- topbar ---------- */
.topbar { z-index: 50; font-size: 12px; }
.ticker-pill { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ticker-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px !important;
  line-height: 1 !important;
  background-color: var(--ngo-orange, #e05638) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
}
.ticker-dot { font-size: 4px; vertical-align: middle; }
.ticker-dot-sm { font-size: 3px; }
.soc-26 { width: 26px; height: 26px; font-size: 11px; }
.soc-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.lang-flag { width: 16px; }

/* ---------- site header (unified bar) ---------- */
.site-header {
  z-index: 60;
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.site-header .ticker-pill {
  height: 38px;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 2px 14px 2px 3px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.site-header .ticker-pill:hover {
  border-color: var(--ngo-orange, #e05638) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(224, 86, 56, 0.12);
}
.header-actions .header-btn {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.header-actions .header-btn:hover {
  transform: translateY(-1px);
}
.header-actions .header-btn-login {
  background-color: var(--ngo-teal, #0B6B5E) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--ngo-teal, #0B6B5E) !important;
}
.header-actions .header-btn-login:hover {
  background-color: var(--ngo-teal-dark, #07473E) !important;
  color: #ffffff !important;
  border-color: var(--ngo-teal-dark, #07473E) !important;
}
.site-logo {
  max-width: 210px;
  max-height: 46px;
  object-fit: contain;
}
@media (max-width: 991.98px) {
  .site-header {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .mob-hamburger-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    padding: 0 !important;
  }
  .mob-hamburger-btn:hover, .mob-hamburger-btn:active {
    background-color: #f1f5f9 !important;
    border-color: var(--ngo-teal, #0B6B5E) !important;
    color: var(--ngo-teal, #0B6B5E) !important;
  }
  .mob-hamburger-btn i {
    font-size: 20px !important;
  }
  .site-logo {
    max-height: 40px !important;
    max-width: 175px !important;
  }
}
@media (max-width: 575.98px) {
  .site-header {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }
  .site-logo {
    max-width: 150px !important;
    max-height: 38px !important;
  }
}
.header-inner { max-width: 1400px; z-index: 10; }

/* ---------- desktop nav ---------- */
.nav-link-custom {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  padding: 12px 12px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}
nav.bg-ngo-indigo .container-fluid {
  flex-wrap: nowrap !important;
  align-items: center !important;
}
nav.bg-ngo-indigo .dropdown {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 1199.98px) {
  .nav-link-custom { padding: 10px 5px; font-size: 10px; }
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -3px 0 var(--ngo-gold);
}
.dropdown-menu-custom {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 6px 0;
  min-width: 190px;
}
.dropdown-menu-custom .dropdown-item {
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  padding: 8px 18px;
  border-radius: 0;
  background: transparent;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.dropdown-menu-custom .dropdown-item:hover,
.dropdown-menu-custom .dropdown-item:focus {
  background-color: #0B6B5E !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.dropdown-menu-custom .dropdown-item:active {
  background-color: #e2e8f0;
  color: #0f172a;
}
@media (min-width: 992px) {
  nav.bg-ngo-indigo .dropdown { position: relative; }
  nav.bg-ngo-indigo .dropdown > .dropdown-menu {
    --bs-dropdown-spacer: 0;
    display: block;
    top: 100%;
    margin-top: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s;
    pointer-events: none;
  }
  nav.bg-ngo-indigo .dropdown:hover > .dropdown-menu,
  nav.bg-ngo-indigo .dropdown:focus-within > .dropdown-menu,
  nav.bg-ngo-indigo .dropdown > .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  nav.bg-ngo-indigo .dropdown::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%; height: 8px;
  }
  nav.bg-ngo-indigo .dropdown > .nav-link-custom.dropdown-toggle::after {
    transition: transform 0.15s ease;
    vertical-align: middle;
  }
  nav.bg-ngo-indigo .dropdown:hover > .nav-link-custom.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* ---------- mobile menu (wider sidebar, big typography, no icons) ---------- */
.mob-menu {
  width: 80vw !important;
  min-width: 280px !important;
  max-width: 360px !important;
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.28) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff !important;
}
.mob-menu .offcanvas-header {
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mob-menu-list {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mob-menu-link {
  display: block;
  padding: 13px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.15s ease;
  line-height: 1.35;
}
.mob-menu-link:hover {
  background-color: #f1f5f9;
  color: var(--ngo-teal, #0B6B5E);
  padding-left: 22px;
}
.mob-menu-link.active {
  background-color: var(--ngo-teal, #0B6B5E) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-left: none !important;
  padding: 13px 18px !important;
  box-shadow: 0 2px 8px rgba(11, 107, 94, 0.25);
}
.mob-menu-link.active:hover {
  background-color: var(--ngo-teal-dark, #07473E) !important;
  color: #ffffff !important;
  padding-left: 18px !important;
}
.mob-ticker-pill {
  height: 28px;
}
.mob-auth-btn {
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}
.mob-auth-btn:hover {
  transform: translateY(-1px);
}
.mob-auth-login {
  background-color: var(--ngo-orange, #e05638) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--ngo-orange, #e05638) !important;
}
.mob-auth-login:hover {
  background-color: var(--ngo-orange-dark, #c2410c) !important;
  color: #ffffff !important;
  border-color: var(--ngo-orange-dark, #c2410c) !important;
}

/* ---------- floating donate button (normal, no icon) ---------- */
.floating-donate-wrapper {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 1040;
}
.floating-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ngo-orange, #e05638);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 12px 24px;
  border-radius: 50rem;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(224, 86, 56, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  text-decoration: none !important;
}
.floating-donate-btn:hover {
  background-color: var(--ngo-orange-dark, #c2410c);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 86, 56, 0.55);
}
@media (max-width: 575.98px) {
  .floating-donate-wrapper {
    right: 14px;
    bottom: 18px;
  }
  .floating-donate-btn {
    font-size: 13px;
    padding: 10px 20px;
  }
}

/* ---------- footer (dark) ---------- */
.site-footer { background-color: var(--ngo-indigo-dark); color: #ffffff; padding-top: 1.5rem; margin-top: 0 !important; }
.foot-logo { max-width: 120px; }
.foot-follow { font-size: 11px; color: #ffffff; }
.foot-h {
  font-size: 14px;
  color: #ffffff;
  display: inline-block;
  border-bottom: 2px solid var(--ngo-orange);
  padding-bottom: 4px;
}
.foot-links { font-size: 13px; }
.foot-dot { font-size: 6px; color: #ffffff; }
.foot-link { color: #ffffff !important; text-decoration: none !important; transition: color 0.15s ease; word-break: break-word; }
.foot-link:hover { color: var(--ngo-orange) !important; text-decoration: none !important; }
.foot-text { color: #ffffff !important; word-break: break-word; }
.foot-bottom { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.12) !important; color: #ffffff; }
.soc-32 { width: 32px; height: 32px; }
.hover-orange:hover { color: var(--ngo-orange) !important; }
.hover-black:hover { color: #000 !important; }
.social-footer { transition: all 0.3s; }
.social-footer:hover { transform: translateY(-3px); }

@media (max-width: 767.98px) {
  .site-footer { padding-top: 1.25rem; }
  .foot-h { font-size: 13px; margin-bottom: 0.5rem !important; }
  .foot-links { font-size: 12px; }
}

/* ---------- gallery / cards ---------- */
.gallery-card { transition: all 0.3s ease; }
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.hover-scale { transition: transform 0.5s ease; }
.gallery-card:hover .hover-scale { transform: scale(1.1); }
.modal.show.lightbox-modal {
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.show { opacity: 0 !important; }
.lightbox-modal .modal-content { filter: none !important; border: none !important; }
.hover-border-blue:hover { border-color: var(--ngo-blue) !important; }
.group-hover-bg-orange { transition: all 0.3s; }
.card.group:hover .group-hover-bg-orange {
  background-color: var(--ngo-orange) !important;
  color: white !important;
}

/* ---------- contact form ---------- */
.contact-soc { font-size: 22px; transition: 0.2s; }
.contact-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--ngo-teal); color: #fff; font-size: 16px;
}
a.contact-soc {
  width: 38px; height: 38px; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ngo-teal); text-decoration: none;
  transition: transform 0.2s;
}
a.contact-soc:hover { transform: translateY(-2px); color: #fff; }
.contact-soc-dark { background: #222 !important; }
.contact-soc-red { background: #dc2626 !important; }
.captcha-q { background: var(--ngo-teal); color: #fff; font-weight: 800; letter-spacing: 1px; border: 0; }
.contact-input:focus {
  background-color: white !important;
  border: 1px solid var(--ngo-teal, #0B6B5E) !important;
  border-color: var(--ngo-teal, #0B6B5E) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Captcha input group with rounded corners */
.captcha-input-group {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 42px !important;
  min-height: 42px !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: border-color 0.15s ease-in-out !important;
}
.captcha-input-group:hover {
  border-color: #94a3b8 !important;
}
.captcha-input-group:focus-within {
  border: 1px solid var(--ngo-teal, #0B6B5E) !important;
  border-color: var(--ngo-teal, #0B6B5E) !important;
  border-radius: 8px !important;
}
.captcha-input-group .captcha-q {
  border: none !important;
  border-radius: 0 !important;
  background-color: var(--ngo-teal, #0B6B5E) !important;
  color: #ffffff !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
}
.captcha-input-group input.contact-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
}
.captcha-input-group.is-invalid,
.captcha-input-group:has(.is-invalid) {
  border-color: #ef4444 !important;
}

/* Contact submit button */
.contact-submit-btn {
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 160px;
  font-size: 14px !important;
}
@media (max-width: 575.98px) {
  .contact-submit-btn {
    width: auto !important;
    min-width: 140px;
    max-width: 180px;
    font-size: 13.5px !important;
    padding: 8px 20px !important;
  }
}

/* ---------- auth pages ---------- */
.auth-card { max-width: 800px; overflow: hidden; }
.auth-page-bg { font-family: 'Inter', sans-serif; }
.auth-side-info {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 2.5rem; color: white;
}
.auth-side-info-icon {
  width: 56px; height: 56px;
  background: var(--auth-primary, var(--primary, #10b981)); border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 1rem;
}
.auth-side-list { max-width: 220px; margin: 0 auto; }
.auth-form-side { padding: 3rem !important; }
.auth-form-narrow { max-width: 320px; }
.form-label-custom-auth { font-size: 11px; font-weight: 700; color: #1f2937; margin-bottom: 4px; }
.form-control-auth {
  font-size: 13px; padding: 8px 12px; height: auto;
  border: 1px solid #d1d5db; border-radius: 8px;
}
.form-control-auth:focus {
  border-color: var(--auth-primary, #10b981);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-primary, #10b981) 18%, transparent);
}
.btn-auth {
  height: 34px; font-size: 12.5px; font-weight: 700;
  background: var(--auth-primary, #10b981); color: #fff; border: none;
  border-radius: 8px; padding: 0 20px;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: 0.15s;
}
.btn-auth:hover { background: var(--auth-dark, #059669); }
.btn-auto-login {
  height: 34px; font-size: 12.5px; font-weight: 700;
  background: #f1f5f9; color: #334155;
  border: 1px dashed #94a3b8;
  border-radius: 8px; padding: 0 20px;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  transition: 0.15s;
}
.btn-auto-login:hover { background: #e2e8f0; }
.text-primary-auth { color: var(--auth-primary, #10b981) !important; }
.btn-password-toggle { border-radius: 0 8px 8px 0; }
.dev-note { font-size: 10px; }
.auth-title { font-size: 22px; }
[data-theme-mode="dark"] .auth-page-bg { background: var(--auth-bg, #0f172a) !important; }
[data-theme-mode="dark"] .card.auth-card {
  background: var(--auth-card-bg, #1a1f2e) !important;
  border: 1px solid var(--auth-border, #334155) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
}
[data-theme-mode="dark"] .auth-form-side { background: var(--auth-card-bg, #1a1f2e) !important; color: #e5e7eb; }
[data-theme-mode="dark"] .auth-form-side h2 { color: #f1f5f9; }
[data-theme-mode="dark"] .form-control-auth {
  background: var(--auth-input-bg, #1e293b) !important;
  border-color: var(--auth-border, #334155) !important;
  color: #e5e7eb !important;
}
[data-theme-mode="dark"] .form-control-auth::placeholder { color: #64748b; }
[data-theme-mode="dark"] .form-label-custom-auth { color: #cbd5e1; }
[data-theme-mode="dark"] .btn-password-toggle {
  border-color: var(--auth-border, #334155) !important;
  background: var(--auth-input-bg, #1e293b) !important;
  color: #94a3b8 !important;
}
[data-theme-mode="dark"] .btn-auto-login {
  background: var(--auth-input-bg, #1e293b) !important;
  border-color: var(--auth-border, #334155) !important;
  color: #cbd5e1 !important;
}
[data-theme-mode="dark"] .btn-auto-login:hover { background: var(--auth-border, #334155) !important; color: #fff !important; }

/* ---------- user HTML content (sanitized on save) ---------- */
.rich-text { line-height: 1.6; overflow-wrap: break-word; }
.rich-text p, .rich-text ul, .rich-text ol, .rich-text blockquote,
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { margin-bottom: 0.4rem; }
.rich-text p:last-child, .rich-text ul:last-child, .rich-text ol:last-child { margin-bottom: 0; }
.rich-text img { max-width: 100%; height: auto; border-radius: 8px; }
.rich-text a { color: var(--ngo-orange-dark, #C2410C); }

/* ---------- hero banner background (like CTA) ---------- */
.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}
.about-story-img { aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 575.98px) {
  .about-story-img { aspect-ratio: 16/10; }
}

/* ---------- SOLID THEME BUTTONS (Teal, Orange, Red, Yellow) ---------- */
.btn:hover, a.btn:hover, button.btn:hover { text-decoration: none !important; }
.btn:not(.btn-close):not(.accordion-button),
.btn-custom,
.btn-ngo-blue, .btn-ngo-orange, .btn-ngo-primary, .btn-ngo-secondary, .btn-ngo-accent,
.btn-auth, .btn-auto-login {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  border-style: solid !important;
  border-width: 1px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}
.btn:focus, .btn:focus-visible, .btn:active:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* 1. TEAL: Primary / Main Actions / Confirm / Submit / Active */
.btn-teal,
.btn-primary,
.btn-ngo-blue,
.btn-ngo-primary,
.btn-custom-primary,
.btn-custom-dark,
.btn-auth,
.btn-outline-primary {
  background-color: #0B6B5E !important;
  border-color: #0B6B5E !important;
  color: #FFFFFF !important;
}
.btn-teal:hover, .btn-teal:focus,
.btn-primary:hover, .btn-primary:focus,
.btn-ngo-blue:hover, .btn-ngo-blue:focus,
.btn-ngo-primary:hover, .btn-ngo-primary:focus,
.btn-custom-primary:hover, .btn-custom-primary:focus,
.btn-custom-dark:hover, .btn-custom-dark:focus,
.btn-auth:hover, .btn-auth:focus,
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: #07473E !important;
  border-color: #07473E !important;
  color: #FFFFFF !important;
}
.btn-teal *, .btn-primary *, .btn-ngo-blue *, .btn-ngo-primary *, .btn-custom-primary *, .btn-custom-dark *, .btn-auth *, .btn-outline-primary * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

/* 2. ORANGE: Accent / Donate / Pay / Membership Fee / Warm CTA */
.btn-orange,
.btn-accent,
.btn-ngo-orange,
.btn-ngo-accent,
.btn-theme-donate,
.floating-donate-btn {
  background-color: #EA580C !important;
  border-color: #EA580C !important;
  color: #FFFFFF !important;
}
.btn-orange:hover, .btn-orange:focus,
.btn-accent:hover, .btn-accent:focus,
.btn-ngo-orange:hover, .btn-ngo-orange:focus,
.btn-ngo-accent:hover, .btn-ngo-accent:focus,
.btn-theme-donate:hover, .btn-theme-donate:focus,
.floating-donate-btn:hover, .floating-donate-btn:focus {
  background-color: #C2410C !important;
  border-color: #C2410C !important;
  color: #FFFFFF !important;
}
.btn-orange *, .btn-accent *, .btn-ngo-orange *, .btn-ngo-accent *, .btn-theme-donate *, .floating-donate-btn * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

/* 3. RED: Danger / Delete / Reject / Suspend / Cancel / Dismiss */
.btn-red,
.btn-danger,
.btn-custom-danger,
.btn-outline-danger {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #FFFFFF !important;
}
.btn-red:hover, .btn-red:focus,
.btn-danger:hover, .btn-danger:focus,
.btn-custom-danger:hover, .btn-custom-danger:focus,
.btn-outline-danger:hover, .btn-outline-danger:focus {
  background-color: #B91C1C !important;
  border-color: #B91C1C !important;
  color: #FFFFFF !important;
}
.btn-red *, .btn-danger *, .btn-custom-danger *, .btn-outline-danger * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

/* 4. YELLOW / AMBER: Warning / Secondary / View Details / Read / Print / Notice (Text 100% Bold Visible) */
.btn-yellow,
.btn-amber,
.btn-gold,
.btn-warning,
.btn-secondary,
.btn-outline-secondary,
.btn-outline-dark,
.btn-outline-light,
.btn-outline-warning,
.btn-custom-outline,
.btn-custom-ghost,
.btn-auto-login {
  background-color: #F59E0B !important;
  border-color: #D97706 !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}
.btn-yellow:hover, .btn-yellow:focus,
.btn-amber:hover, .btn-amber:focus,
.btn-gold:hover, .btn-gold:focus,
.btn-warning:hover, .btn-warning:focus,
.btn-secondary:hover, .btn-secondary:focus,
.btn-outline-secondary:hover, .btn-outline-secondary:focus,
.btn-outline-dark:hover, .btn-outline-dark:focus,
.btn-outline-light:hover, .btn-outline-light:focus,
.btn-outline-warning:hover, .btn-outline-warning:focus,
.btn-custom-outline:hover, .btn-custom-outline:focus,
.btn-custom-ghost:hover, .btn-custom-ghost:focus,
.btn-auto-login:hover, .btn-auto-login:focus {
  background-color: #D97706 !important;
  border-color: #B45309 !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}
.btn-yellow *, .btn-amber *, .btn-gold *, .btn-warning *, .btn-secondary *, .btn-outline-secondary *, .btn-outline-dark *, .btn-outline-light *, .btn-outline-warning *, .btn-custom-outline *, .btn-custom-ghost *, .btn-auto-login * {
  color: #0F172A !important;
  fill: currentColor !important;
}

.cta-half { flex: 1 1 0; max-width: 220px; white-space: nowrap; }
@media (max-width: 575.98px) {
  .cta-half { padding: 10px 8px; font-size: 13px; }
}

/* ---------- CTA band (donate + member) ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ngo-teal-dark, #07473E) 0%, var(--ngo-indigo, #1C4D3F) 100%);
  padding: 2.25rem 1.25rem 1.5rem;
  text-align: center;
  position: relative;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.22;
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.cta-sub {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  line-height: 1.5;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.cta-btns {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.cta-btns .btn {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 210px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-ngo-white {
  background-color: #F59E0B !important;
  color: #0F172A !important;
  border: 1px solid #D97706 !important;
  font-weight: 700 !important;
}
.btn-ngo-white:hover {
  background-color: #D97706 !important;
  color: #0F172A !important;
}

@media (max-width: 575.98px) {
  .cta-band {
    padding: 1.75rem 1rem 1.25rem;
  }
  .cta-title {
    font-size: 1.35rem;
  }
  .cta-sub {
    font-size: 13px;
    margin-bottom: 1.25rem;
    padding: 0 6px;
  }
  .cta-btns {
    display: flex !important;
    flex-direction: row !important; /* Strictly side-by-side on mobile */
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 4px;
  }
  .cta-btns .btn {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
    padding: 11px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
  }
}

@media (max-width: 360px) {
  .cta-btns .btn {
    font-size: 12px !important;
    padding: 10px 4px !important;
  }
}

/* ---------- donate page & public form fields ---------- */
.donate-input { border: 1px solid #cbd5e1 !important; border-radius: 8px !important; }
.donate-input:focus { 
  border: 1px solid var(--ngo-teal, #0B6B5E) !important; 
  border-color: var(--ngo-teal, #0B6B5E) !important; 
  box-shadow: none !important; 
  outline: none !important; 
}
.donate-tabs { flex-wrap: nowrap !important; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.donate-tabs .nav-link { white-space: nowrap; }
@media (max-width: 575.98px) {
  .donate-tabs .nav-link { font-size: 12px; padding: 8px 12px; }
  #amountChips .chip { flex: 1 1 22%; font-size: 13px; padding: 8px 4px; }
}

/* ---------- career traditional list ---------- */
.job-list { border-top: 2px solid var(--ngo-teal); }
.job-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 8px; border-bottom: 1px solid var(--border-color, #e3e3e0);
  transition: background 0.15s;
}
.job-row:hover { background: #f6faf8; }
.job-no { font-size: 13px; font-weight: 800; color: var(--ngo-teal); min-width: 30px; }
.job-main { flex: 1 1 auto; min-width: 0; }
.job-title { display: block; font-size: 16px; font-weight: 700; color: #1a1a1a; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #44403c; margin-top: 4px; }
.job-go { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--ngo-orange); white-space: nowrap; }
.job-row:hover .job-go { color: var(--ngo-orange-dark); }
.job-new {
  display: inline-block; vertical-align: middle;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  color: #fff; background: #dc2626; border-radius: 20px; padding: 2px 8px; margin-left: 8px;
  animation: jobNewPulse 1.2s ease-in-out infinite;
}
@keyframes jobNewPulse {
  0%, 100% { transform: scale(1); background: #dc2626; }
  50% { transform: scale(1.12); background: #f59e0b; }
}
@media (max-width: 575.98px) {
  .job-go { display: none; }
  .job-title { font-size: 15px; }
}

/* ---------- responsive ---------- */
.cursor-pointer, label, .form-check-input, input[type="checkbox"], input[type="radio"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], select { cursor: pointer !important; }
button, .btn, a, .dropdown-toggle, .nav-link, .nav-link-custom,
input[type="file"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], .tk-switch, summary { cursor: pointer !important; }

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer !important;
}
/* Remove all stepper/spin arrows from all input fields globally */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  display: none !important;
}

input[type="number"] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

@media (max-width: 991.98px) {
  main { padding-bottom: 16px; }
  .auth-form-side { padding: 2rem !important; }
}

@media (max-width: 767.98px) {
  .auth-side-info { display: none; }
  .display-4 { font-size: 2rem; }
  .display-5 { font-size: 1.6rem; }
  .lead { font-size: 1rem; }
}

@media (max-width: 575.98px) {
  .icon-60 { width: 48px; height: 48px; font-size: 20px; }
  .status-icon { font-size: 38px; }
  .btn-ngo-blue, .btn-ngo-orange { padding: 12px 22px; font-size: 14px; }
  .ticker-badge {
    font-size: 10px !important;
    padding: 3px 10px !important;
  }
}

/* Ensure cards have no edge border */
.card, .card-custom, .card-modern, .login-card, .auth-card {
  border: none !important;
}

/* Universal Dropdown Toggle Arrow */
.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.38em !important;
  vertical-align: 0.16em !important;
  content: "" !important;
  border-top: 0.32em solid currentColor !important;
  border-right: 0.32em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.32em solid transparent !important;
  transition: transform 0.2s ease !important;
}

.dropdown-toggle.show::after,
.dropdown.show > .dropdown-toggle::after,
.dropdown-toggle[aria-expanded="true"]::after,
.dropdown:hover > .dropdown-toggle::after {
  transform: rotate(180deg) !important;
}

/* Form Select Dropdown Arrow */
select,
select.form-control,
select.form-input,
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right .75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.25rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
}

