/**
 * WTL Consumer Grievance Portal
 * Creative & User-Friendly Modern Design System
 * Desktop: Elegant Top Navigation Menu
 * Mobile: Creative Side Drawer Menu
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary-orange: #cb5f00;
  --primary-dark: #8a3e00;
  --primary-light: #e87320;
  --primary-gradient: linear-gradient(135deg, #cb5f00 0%, #8a3e00 100%);
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;

  --bg-page: #fff8f3;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.98);

  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-orange: #cb5f00;

  --border-light: #e2e8f0;
  --border-focus: #cb5f00;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(203, 95, 0, 0.08), 0 8px 10px -6px rgba(203, 95, 0, 0.04);
  --shadow-card-hover: 0 20px 30px -10px rgba(203, 95, 0, 0.18), 0 10px 15px -5px rgba(203, 95, 0, 0.10);
  --shadow-btn: 0 4px 14px rgba(203, 95, 0, 0.32);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   Global Base Styles
   ========================================================== */
body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--text-dark) !important;
  background-color: #fff8f3 !important;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.3px;
}

/* ==========================================================
   Header Bar
   ========================================================== */
.header {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px !important;
  z-index: 1000;
  padding: 0 28px !important;

  display: flex !important;
  align-items: center;
}

.header-sec {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.header-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #ff9933 0%, #ffbe0b 25%, #cb5f00 50%, #15803d 85%, #16a34a 100%);
  z-index: 1001;
}

.header-brand-group {
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 60px !important;
  width: auto !important;
  max-width: 68px !important;
  object-fit: contain;
  transition: transform 0.2s ease;
  float: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.logo-img:hover {
  transform: scale(1.04);
}

.logo-sec {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  text-align: left !important;
}

.logo-img1 {
  height: 62px !important;
  width: auto !important;
  min-width: 40px !important;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.logo-img1:hover {
  transform: scale(1.04);
}

.brand-divider {
  width: 1.5px;
  height: 42px;
  background: #cbd5e1;
  margin: 0 8px 0 10px;
}

.header-brand-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.brand-gov {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #0b2545 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.brand-dept {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #cb5f00 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ==========================================================
   Desktop Top Navigation (Visible on Desktop >= 992px)
   Icons are strictly hidden on desktop; shown only on mobile
   ========================================================== */
.top-nav-desktop {
  display: none;
  align-items: center;
}

.top-nav-desktop i,
.top-nav-desktop .nav-icon {
  display: none !important;
}

.top-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav-link {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 5px 8px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  position: relative !important;
  font-family: 'Outfit', sans-serif !important;
  transition: all 0.22s ease !important;
}

.top-nav-link:hover {
  color: #cb5f00 !important;
  background-color: #fff6f0 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Active Nav State on Desktop */
/* .top-nav-link.active {
  color: #cb5f00 !important;
  background: #fff3eb !important;
  font-weight: 800 !important;
  border: 1px solid rgba(203, 95, 0, 0.18) !important;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.08) !important;
} */

.top-nav-link:not(.top-nav-btn-login):not(.top-nav-btn-signup):not(.top-nav-btn-logout).active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: #cb5f00;
  border-radius: 3px 3px 0 0;
}

.top-nav-btn-login::after,
.top-nav-btn-login.active::after,
.top-nav-btn-signup::after,
.top-nav-btn-signup.active::after,
.top-nav-btn-logout::after,
.top-nav-btn-logout.active::after {
  display: none !important;
  content: none !important;
}

/* Specific Action Buttons in Top Nav */
.top-nav-btn-signup {
  background: #ffffff !important;
  color: #cb5f00 !important;
  border: 1.5px solid #cb5f00 !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-full) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  margin-left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.08) !important;
  transition: all 0.25s ease !important;
}

.top-nav-btn-signup:hover {
  background: #fff3eb !important;
  border-color: #cb5f00 !important;
  color: #cb5f00 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.2) !important;
}

.top-nav-btn-signup.active {
  background: #fff3eb !important;
  box-shadow: 0 0 0 2px #cb5f00 !important;
}

.top-nav-btn-login {
  background: linear-gradient(135deg, #e66a00 0%, #cb5f00 100%) !important;
  border: 1.5px solid #cb5f00 !important;
  color: #ffffff !important;
  padding: 7px 22px !important;
  border-radius: var(--radius-full) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 3px 12px rgba(203, 95, 0, 0.25) !important;
  margin-left: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.top-nav-btn-login:hover {
  background: linear-gradient(135deg, #cb5f00 0%, #a84700 100%) !important;
  border-color: #a84700 !important;
  color: #ffffff !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.4) !important;
}

.top-nav-btn-login.active {
  background: #a84700 !important;
  border-color: #a84700 !important;
  box-shadow: 0 0 0 2px rgba(203, 95, 0, 0.4) !important;
}

.top-nav-btn-logout {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1.5px solid #fecaca !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-full) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.25s ease !important;
}

.top-nav-btn-logout:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}


/* ==========================================================
   Mobile Side Menu Drawer (Visible on Mobile < 992px)
   ========================================================== */
.openSidebarMenu {
  display: none !important;
}

.sidebarIconToggle {
  position: fixed !important;
  top: 13px !important;
  right: 16px !important;
  left: auto !important;
  transform: none !important;
  width: 35px !important;
  height: 35px !important;
  z-index: 1010 !important;
  cursor: pointer !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 9px 8px !important;
  display: none;
  flex-direction: column !important;
  justify-content: space-around !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: var(--transition) !important;
}

.sidebarIconToggle:hover {
  background: #fff3eb !important;
  border-color: #cb5f00 !important;
}

.spinner {
  height: 2.5px !important;
  background-color: #cb5f00 !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  width: 100% !important;
}

.openSidebarMenu:checked~.sidebarIconToggle>.spinner.diagonal.part-1 {
  transform: rotate(135deg) translate(5px, -5px) !important;
}

.openSidebarMenu:checked~.sidebarIconToggle>.spinner.horizontal {
  opacity: 0 !important;
}

.openSidebarMenu:checked~.sidebarIconToggle>.spinner.diagonal.part-2 {
  transform: rotate(-135deg) translate(5px, 5px) !important;
}

/* Background Overlay when Drawer is Open */
.sidebar-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(80, 30, 0, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 1045 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.openSidebarMenu:checked~.sidebar-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Side Drawer: 100% Hidden Off-Screen when unchecked */
#sidebarMenu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: 300px !important;
  max-width: 86vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25) !important;
  z-index: 1050 !important;
  padding: 16px 16px 24px !important;
  margin: 0 !important;
  transform: translateX(105%) !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
}

#sidebarMenu::-webkit-scrollbar {
  width: 4px !important;
}

#sidebarMenu::-webkit-scrollbar-thumb {
  background: rgba(203, 95, 0, 0.25) !important;
  border-radius: 4px !important;
}

.openSidebarMenu:checked~#sidebarMenu {
  transform: translateX(0) !important;
}

/* Drawer Header with Close Button */
.sidebar-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  margin-bottom: 0 !important;
}

.sidebar-drawer-brand {
  display: flex !important;
  flex-direction: column !important;
}

.sidebar-drawer-title {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #cb5f00 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-family: 'Outfit', sans-serif !important;
}

.sidebar-drawer-title i {
  color: #cb5f00 !important;
  font-size: 15px !important;
}

.sidebar-drawer-sub {
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  margin-top: 1px !important;
}

.sidebar-drawer-accent-bar {
  height: 3px !important;
  background: linear-gradient(90deg, #cb5f00 0%, #ff9933 50%, #cb5f00 100%) !important;
  width: calc(100% + 32px) !important;
  margin-left: -16px !important;
  margin-right: -16px !important;
  margin-bottom: 10px !important;
}

.sidebar-close-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

.sidebar-close-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
  transform: rotate(90deg);
}

.sidebarMenuInner {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Neutralize legacy main.css destructive rules */
.sidebarMenuInner li {
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 2px 0 !important;
  list-style: none !important;
  text-transform: none !important;
}

.sidebarMenuInner li a {
  color: #1e293b !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.sidebarMenuInner li a.drawer-nav-item {
  display: flex !important;
  align-items: center !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  gap: 12px !important;
  color: #1e293b !important;
}

.drawer-icon-wrap {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}

.drawer-icon-wrap i {
  font-size: 15px !important;
  display: inline-block !important;
  color: inherit !important;
}

.drawer-icon-home {
  background: #fff3eb !important;
  color: #cb5f00 !important;
  border: 1.5px solid #fed7aa !important;
}

.drawer-icon-home i {
  color: #cb5f00 !important;
}

.drawer-icon-track {
  background: #eff6ff !important;
  color: #0284c7 !important;
  border: 1.5px solid #bae6fd !important;
}

.drawer-icon-track i {
  color: #0284c7 !important;
}

.drawer-icon-links {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1.5px solid #a7f3d0 !important;
}

.drawer-icon-links i {
  color: #059669 !important;
}

.drawer-icon-kb {
  background: #fdf4ff !important;
  color: #9333ea !important;
  border: 1.5px solid #f0abfc !important;
}

.drawer-icon-kb i {
  color: #9333ea !important;
}

.drawer-icon-contact {
  background: #fff1f2 !important;
  color: #e11d48 !important;
  border: 1.5px solid #fecdd3 !important;
}

.drawer-icon-contact i {
  color: #e11d48 !important;
}

.sidebarMenuInner li a.drawer-nav-item .drawer-link-text {
  flex: 1 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  letter-spacing: 0.4px !important;
  font-family: 'Outfit', sans-serif !important;
  display: inline-block !important;
  text-transform: uppercase !important;
}

.drawer-chevron {
  font-size: 14px !important;
  color: #cbd5e1 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.sidebarMenuInner li a.drawer-nav-item:hover {
  background: #fff8f3 !important;
  transform: translateX(4px) !important;
}

.sidebarMenuInner li a.drawer-nav-item:hover .drawer-link-text {
  color: #cb5f00 !important;
}

.sidebarMenuInner li a.drawer-nav-item:hover .drawer-chevron {
  color: #cb5f00 !important;
  transform: translateX(3px) !important;
}

.sidebarMenuInner li a.drawer-nav-item:hover .drawer-icon-wrap {
  transform: scale(1.08) !important;
}

.sidebarMenuInner li a.drawer-nav-item.active {
  background: #fff3eb !important;
  color: #cb5f00 !important;
  border-left: 3.5px solid #cb5f00 !important;
  padding-left: 12px !important;
}

.sidebarMenuInner li a.drawer-nav-item.active .drawer-link-text {
  color: #cb5f00 !important;
  font-weight: 800 !important;
}

.sidebarMenuInner li a.drawer-nav-item.active .drawer-icon-wrap {
  background: #cb5f00 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(203, 95, 0, 0.35) !important;
  border-color: #cb5f00 !important;
}

.sidebarMenuInner li a.drawer-nav-item.active .drawer-icon-wrap i {
  color: #ffffff !important;
}

.sidebarMenuInner li a.drawer-nav-item.active .drawer-chevron {
  color: #cb5f00 !important;
}

/* Actions in Drawer (Sign Up & Login buttons) - Compact 2-column grid */
.drawer-actions-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding: 12px 0 8px !important;
  border-bottom: none !important;
}

.drawer-btn-signup {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 10px !important;
  border-radius: 9999px !important;
  border: 1.5px solid #cb5f00 !important;
  background: #ffffff !important;
  color: #cb5f00 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.08) !important;
  transition: all 0.25s ease !important;
}

.drawer-btn-signup span {
  display: inline !important;
  color: #cb5f00 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
}

.drawer-btn-signup i {
  color: #cb5f00 !important;
  font-size: 13px !important;
}

.drawer-btn-signup:hover {
  background: #fff3eb !important;
  transform: translateY(-2px) !important;
  color: #cb5f00 !important;
}

.drawer-btn-login {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 10px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.28) !important;
  transition: all 0.25s ease !important;
  border: none !important;
}

.drawer-btn-login span {
  display: inline !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
}

.drawer-btn-login i {
  color: #ffffff !important;
  font-size: 13px !important;
}

.drawer-btn-login:hover {
  background: linear-gradient(135deg, #8a3e00 0%, #cb5f00 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(203, 95, 0, 0.45) !important;
  color: #ffffff !important;
}

.drawer-action-item {
  padding: 12px 0 8px !important;
  border-bottom: none !important;
}

.drawer-btn-logout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 9999px !important;
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.drawer-btn-logout span {
  display: inline !important;
  color: #dc2626 !important;
  font-weight: 800 !important;
}

.drawer-btn-logout i {
  color: #dc2626 !important;
}

.drawer-btn-logout:hover {
  background: #dc2626 !important;
  color: #ffffff !important;
}

.drawer-btn-logout:hover span,
.drawer-btn-logout:hover i {
  color: #ffffff !important;
}

/* Mascot & Helpline Card */
.drawer-mascot-wrapper {
  border: none !important;
  padding-top: 8px !important;
  margin-top: 4px !important;
}

.drawer-mascot-card {
  background: linear-gradient(180deg, #fffaf5 0%, #fff3eb 100%) !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 14px !important;
  padding: 10px 10px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.06) !important;
}

.drawer-mascot-img {
  width: 72px !important;
  max-width: 35% !important;
  height: auto !important;
  margin: 0 auto 6px !important;
  display: block !important;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08)) !important;
}

.drawer-helpline-badge {
  background: #ffffff !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 10px !important;
  padding: 7px 10px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.06) !important;
}

.sidebarMenuInner li .drawer-helpline-badge .helpline-label,
.sidebarMenuInner li span.helpline-label,
.helpline-label {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #cb5f00 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin-bottom: 2px !important;
}

.sidebarMenuInner li .drawer-helpline-badge .helpline-label i,
.helpline-label i {
  color: #cb5f00 !important;
  font-size: 11px !important;
}

.helpline-num {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  letter-spacing: 0.5px !important;
  font-family: 'Outfit', sans-serif !important;
  display: block !important;
}

.helpline-num-link {
  text-decoration: none !important;
  color: #1e293b !important;
}

.helpline-num-link:hover .helpline-num {
  color: #cb5f00 !important;
}

/* Responsive Switching between Desktop Top & Mobile Side */
@media (min-width: 992px) {
  .top-nav-desktop {
    display: flex !important;
  }

  .sidebarIconToggle {
    display: none !important;
  }

  #sidebarMenu {
    display: none !important;
  }

  .sidebar-overlay {
    display: none !important;
  }

  .openSidebarMenu {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1240px) {
  .header {
    padding: 0 16px !important;
  }

  .header-sec {
    gap: 12px;
  }

  .top-nav-list {
    gap: 3px !important;
  }

  .top-nav-link {
    font-size: 11px !important;
    padding: 6px 8px !important;
    gap: 5px !important;
  }

  .top-nav-link .nav-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }

  .top-nav-btn-signup {
    padding: 6px 13px !important;
    font-size: 11px !important;
    margin-left: 4px !important;
  }

  .top-nav-btn-login {
    padding: 6px 15px !important;
    font-size: 11px !important;
    margin-left: 4px !important;
  }

  .header-brand-titles .brand-gov {
    font-size: 12.5px !important;
  }

  .header-brand-titles .brand-dept {
    font-size: 10.5px !important;
  }

  .logo-img {
    height: 48px !important;
  }

  .logo-img1 {
    height: 50px !important;
  }
}

@media (max-width: 991.98px) {
  .top-nav-desktop {
    display: none !important;
  }

  .sidebarIconToggle {
    display: flex !important;
    position: fixed !important;
    top: 13px !important;
    right: 16px !important;
    z-index: 1010 !important;
  }

  .header {
    height: 68px !important;
    padding: 0 16px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #ffffff !important;
  }

  .header-brand-titles {
    display: none !important;
  }

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

  /* 
  .logo-img {
    height: 42px !important;
  }

  .logo-img1 {
    height: 38px !important;
  } */

  .banner-sec {
    display: none !important;
  }

  .banner-secmob {
    display: flex !important;
    margin-top: 68px !important;
    padding: 38px 18px 55px !important;
    min-height: 250px !important;
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  .banner-secmob::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(80, 30, 0, 0.94) 0%, rgba(160, 70, 0, 0.90) 100%) !important;
    z-index: 1 !important;
  }

  .hero-content-wrapper-mob {
    position: relative;
    z-index: 3;
    width: 100%;
  }

  .hero-govt-badge-mob {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
  }

  .hero-govt-badge-mob i {
    color: #ffbe0b;
  }

  .hero-main-title-mob {
    color: #ffffff !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 0 4px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }

  .hero-dept-subtitle-mob {
    color: #ffbe0b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.3px !important;
  }

  .hero-mission-tagline-mob {
    color: rgba(241, 245, 249, 0.92) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 auto 16px !important;
    max-width: 480px;
  }

  .hero-action-pills-mob {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-pill-btn-mob {
    padding: 7px 14px !important;
    border-radius: var(--radius-full) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .hero-pill-mob-pri {
    background: #ffbe0b !important;
    color: #0b2545 !important;
    border-color: #ffbe0b !important;
  }

  .innerbanner-sec {
    margin-top: 68px !important;
    min-height: 130px !important;
    padding: 28px 16px !important;
  }

  .innerbanner-sec .text-title {
    font-size: 22px !important;
  }

  /* Mobile Helpline Showcase */
  .consumer-helpline {
    margin: -32px 14px 26px !important;
    padding: 16px 16px !important;
    border-radius: 18px !important;
    width: auto !important;
  }

  .helpline-card-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .helpline-col-left {
    justify-content: center !important;
    flex: none !important;
    text-align: center !important;
  }

  .helpline-info-group {
    text-align: center !important;
  }

  .helpline-status-row {
    justify-content: center !important;
  }

  .helpline-icon-badge {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  .helpline-col-center {
    flex: none !important;
  }

  .number-digits {
    font-size: 28px !important;
    letter-spacing: 1px !important;
  }

  .helpline-col-right {
    justify-content: center !important;
    flex: none !important;
    width: 100% !important;
  }

  .helpline-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
  }

  .login-details-sec {
    padding: 5px 6px 40px !important;
  }

  .login-details-sec .row {
    margin-right: -6px !important;
    margin-left: -6px !important;
  }

  .login-details-sec .col-6,
  .login-details-sec .col-sm-6 {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  .details-sec {
    padding: 20px 8px 16px !important;
    min-height: 155px !important;
    margin-bottom: 12px !important;
    border-radius: 18px !important;
  }

  .details-sec:active {
    transform: scale(0.96) !important;
  }

  .card-icon-wrap {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 10px !important;
  }

  .login-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0 !important;
  }

  .details-sec h6 {
    font-size: 13px !important;
    letter-spacing: -0.2px !important;
  }
}


/* ==========================================================
   Creative & Formal Hero Banner Section
   ========================================================== */
.banner-sec {
  margin-top: 70px !important;
  position: relative !important;
  min-height: 510px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 72px 24px 115px !important;
  overflow: hidden !important;
}

.banner-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(80, 30, 0, 0.94) 0%, rgba(140, 60, 0, 0.90) 45%, rgba(203, 95, 0, 0.86) 100%) !important;
  z-index: 1;
}

.hero-watermark-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  z-index: 2;
  pointer-events: none;
}

.hero-radial-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 420px;
  background: radial-gradient(ellipse at 50% 35%, rgba(232, 115, 32, 0.28) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* Formal Government Pill Badge */
.hero-govt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.badge-emblem-icon {
  color: #ffbe0b;
  font-size: 13px;
}

.badge-text {
  letter-spacing: 0.8px;
}

/* Main Heading */
.hero-main-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  color: #ffffff !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
  margin: 0 0 6px 0 !important;
}

.hero-dept-subtitle {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  color: #ffbe0b !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  margin-bottom: 12px;
}

/* Formal Ornament / Scale Divider */
.hero-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 260px;
  margin: 10px auto 16px;
}

.ornament-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 11, 0.8), transparent);
}

.ornament-badge {
  color: #ffbe0b;
  font-size: 16px;
}

/* Mission Tagline */
.hero-mission-tagline {
  font-size: 14.5px !important;
  color: rgba(241, 245, 249, 0.95) !important;
  max-width: 760px;
  margin: 0 auto 24px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Citizen Quick Action Pills */
.hero-action-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-pill-btn {
  padding: 9px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hero-pill-track {
  background: #ffbe0b !important;
  color: #0b2545 !important;
  border: 1.5px solid #ffbe0b !important;
  box-shadow: 0 4px 16px rgba(255, 190, 11, 0.35) !important;
}

.hero-pill-track:hover {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 190, 11, 0.48) !important;
  color: #081a30 !important;
}

.hero-pill-register {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-pill-register:hover {
  background: #ffffff !important;
  color: #cb5f00 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25) !important;
}

.hero-pill-kb {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(4px);
}

.hero-pill-kb:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-2px);
}

/* Formal Trust Pillars */
.hero-trust-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
  transition: background 0.2s ease;
}

.trust-pillar-item:hover {
  background: rgba(255, 255, 255, 0.13);
}

.trust-pillar-item i {
  font-size: 17px;
  color: #ffbe0b;
}

.trust-pillar-item .pillar-text strong {
  display: block;
  font-size: 11.5px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.trust-pillar-item .pillar-text span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
}

.banner-secmob {
  display: none;
}

/* ==========================================================
   Inner Page Banner
   ========================================================== */
.innerbanner-sec {
  margin-top: 70px !important;
  position: relative !important;
  min-height: 180px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 44px 20px 38px !important;
  margin-bottom: 35px !important;
  overflow: hidden !important;
}

.innerbanner-sec::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(70, 26, 0, 0.92) 0%, rgba(138, 62, 0, 0.88) 45%, rgba(203, 95, 0, 0.84) 100%) !important;
  z-index: 1 !important;
}

.innerbanner-sec h2,
.innerbanner-sec .text-title {
  position: relative !important;
  z-index: 3 !important;
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.25 !important;
}

.innerbanner-sec .text-title span,
.innerbanner-sec .text-title b {
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

.innerbanner-sec .text-title i {
  color: #ffbe0b !important;
  font-size: 24px !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.innerbanner-breadcrumb {
  position: relative !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 5px 18px !important;
  border-radius: var(--radius-full) !important;
  font-size: 12.5px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 2px !important;
}

.innerbanner-breadcrumb a {
  color: #ffbe0b !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.2s ease !important;
}

.innerbanner-breadcrumb a:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.innerbanner-breadcrumb i.fa-angle-right {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
}

.innerbanner-breadcrumb span {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* ==========================================================
   Executive Citizen Helpline Showcase Card
   ========================================================== */
.consumer-helpline {
  max-width: 900px !important;
  width: 92%;
  margin: -52px auto 45px;
  border-radius: 22px !important;
  background-color: #6e2f00 !important;
  background: linear-gradient(135deg, #6e2f00 0%, #a84800 55%, #cb5f00 100%) !important;
  box-shadow: 0 16px 40px -8px rgba(100, 40, 0, 0.38), 0 0 0 1.5px rgba(255, 190, 11, 0.28) !important;
  padding: 16px 28px !important;
  position: relative;
  z-index: 20;
  color: #ffffff !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.consumer-helpline:hover {
  box-shadow: 0 20px 48px -6px rgba(100, 40, 0, 0.48), 0 0 0 1.5px rgba(255, 190, 11, 0.45) !important;
  transform: translateY(-2px);
}

.helpline-card-inner {
  display: flex;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100%;
}

/* Left Column: Icon Badge & Status */
.helpline-col-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 1.2;
}

.helpline-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffbe0b 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2545;
  font-size: 21px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.helpline-info-group {
  text-align: left;
}

.helpline-status-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}

.helpline-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

.helpline-status-text {
  color: #ffbe0b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}

.helpline-sub-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.25;
}

/* Center Column: Phone Number & Hours */
.helpline-col-center {
  text-align: center;
  flex: 1.3;
}

.helpline-number-link {
  text-decoration: none !important;
  display: inline-block;
}

.number-digits {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  color: #ffffff !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  letter-spacing: 1.6px !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease;
  display: block;
}

.helpline-number-link:hover .number-digits {
  color: #ffbe0b !important;
}

.helpline-timings-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}

.helpline-timings-badge i {
  color: #ffbe0b;
  font-size: 11px;
}

/* Right Column: Animated Call-Now CTA Button */
.helpline-col-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.helpline-cta-btn {
  display: inline-flex;
  align-items: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%) !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45) !important;
  transition: all 0.25s ease !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.helpline-cta-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #c62828 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.55) !important;
  color: #ffffff !important;
}

.cta-phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cta-phone-icon i.fa-phone {
  animation: pulse-phone-glow 1.8s infinite;
}

.cta-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.cta-text-group small {
  font-size: 9.5px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.cta-text-group strong {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes pulse-phone-glow {
  0% {
    transform: scale(0.92);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(0.92);
  }
}

/* ==========================================================
   Homepage 6 Action Cards (.login-details-sec)
   ========================================================== */
.login-details-sec {
  /* padding: 10px 0 80px !important; */
  background-color: #fff8f3 !important;
}

.login-details-sec .container {
  max-width: 1140px !important;
}

.login-details-sec a {
  text-decoration: none !important;
  display: block;
  height: 100%;
}

/* Base Card Layout & Micro-interactions */
.details-sec {
  border-radius: 22px !important;
  padding: 19px 20px 12px !important;
  text-align: center !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  margin-bottom: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  /* min-height: 190px !important; */
  position: relative !important;
  overflow: hidden !important;
}

/* Creative Top Colored Accent Strip */
.details-sec::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  border-radius: 22px 22px 0 0 !important;
  transition: height 0.25s ease !important;
}

.details-sec:hover::before {
  height: 6px !important;
}

/* Creative Frosted Icon Badge */
.card-icon-wrap {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.details-sec:hover .card-icon-wrap {
  transform: scale(1.1) translateY(-2px) !important;
}

.login-icon {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
}

.details-sec h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -0.2px !important;
  transition: transform 0.25s ease !important;
}

.details-sec:hover h6 {
  transform: translateY(-1px);
}

/* ==========================================================
   6 Light, Colorful & Creative Themed Cards
   ========================================================== */

/* 1. Login - Warm Orange brand colour */
.card-login,
.login-details-sec .row>div:nth-child(1) .details-sec {
  background: linear-gradient(145deg, #fff8f0 0%, #ffe8d0 100%) !important;
  border: 1.5px solid #f5c9a0 !important;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.10) !important;
}

.card-login::before,
.login-details-sec .row>div:nth-child(1) .details-sec::before {
  background: #cb5f00 !important;
}

.card-login .card-icon-wrap,
.login-details-sec .row>div:nth-child(1) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(203, 95, 0, 0.14) !important;
}

.card-login h6,
.login-details-sec .row>div:nth-child(1) .details-sec h6 {
  color: #8a3e00 !important;
}

.card-login:hover,
.login-details-sec .row>div:nth-child(1) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(203, 95, 0, 0.22) !important;
  border-color: #e87320 !important;
}

/* 2. Sign Up - Light Mint / Emerald Green */
.card-signup,
.login-details-sec .row>div:nth-child(2) .details-sec {
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border: 1.5px solid #bbf7d0 !important;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.08) !important;
}

.card-signup::before,
.login-details-sec .row>div:nth-child(2) .details-sec::before {
  background: #16a34a !important;
}

.card-signup .card-icon-wrap,
.login-details-sec .row>div:nth-child(2) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.14) !important;
}

.card-signup h6,
.login-details-sec .row>div:nth-child(2) .details-sec h6 {
  color: #15803d !important;
}

.card-signup:hover,
.login-details-sec .row>div:nth-child(2) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.2) !important;
  border-color: #4ade80 !important;
}

/* 3. Track Grievance - Light Lavender / Violet */
.card-track,
.login-details-sec .row>div:nth-child(3) .details-sec {
  background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 100%) !important;
  border: 1.5px solid #e9d5ff !important;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.08) !important;
}

.card-track::before,
.login-details-sec .row>div:nth-child(3) .details-sec::before {
  background: #9333ea !important;
}

.card-track .card-icon-wrap,
.login-details-sec .row>div:nth-child(3) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.14) !important;
}

.card-track h6,
.login-details-sec .row>div:nth-child(3) .details-sec h6 {
  color: #7e22ce !important;
}

.card-track:hover,
.login-details-sec .row>div:nth-child(3) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(147, 51, 234, 0.2) !important;
  border-color: #c084fc !important;
}

/* 4. Important Links - Light Golden Amber */
.card-links,
.login-details-sec .row>div:nth-child(4) .details-sec {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 1.5px solid #fde68a !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.08) !important;
}

.card-links::before,
.login-details-sec .row>div:nth-child(4) .details-sec::before {
  background: #ea580c !important;
}

.card-links .card-icon-wrap,
.login-details-sec .row>div:nth-child(4) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.14) !important;
}

.card-links h6,
.login-details-sec .row>div:nth-child(4) .details-sec h6 {
  color: #b45309 !important;
}

.card-links:hover,
.login-details-sec .row>div:nth-child(4) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.2) !important;
  border-color: #fbbf24 !important;
}

/* 5. Contact Details - Light Coral Rose */
.card-contact,
.login-details-sec .row>div:nth-child(5) .details-sec {
  background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%) !important;
  border: 1.5px solid #fecdd3 !important;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.08) !important;
}

.card-contact::before,
.login-details-sec .row>div:nth-child(5) .details-sec::before {
  background: #e11d48 !important;
}

.card-contact .card-icon-wrap,
.login-details-sec .row>div:nth-child(5) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.14) !important;
}

.card-contact h6,
.login-details-sec .row>div:nth-child(5) .details-sec h6 {
  color: #be123c !important;
}

.card-contact:hover,
.login-details-sec .row>div:nth-child(5) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(225, 29, 72, 0.2) !important;
  border-color: #fb7185 !important;
}

/* 6. Knowledge Base - Light Marine Teal */
.card-knowledge,
.login-details-sec .row>div:nth-child(6) .details-sec {
  background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 100%) !important;
  border: 1.5px solid #99f6e4 !important;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08) !important;
}

.card-knowledge::before,
.login-details-sec .row>div:nth-child(6) .details-sec::before {
  background: #0d9488 !important;
}

.card-knowledge .card-icon-wrap,
.login-details-sec .row>div:nth-child(6) .card-icon-wrap {
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.14) !important;
}

.card-knowledge h6,
.login-details-sec .row>div:nth-child(6) .details-sec h6 {
  color: #0f766e !important;
}

.card-knowledge:hover,
.login-details-sec .row>div:nth-child(6) .details-sec:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.2) !important;
  border-color: #2dd4bf !important;
}


/* ==========================================================
   Login, Registration & Track Grievance Cards
   ========================================================== */
.login-page {
  padding: 20px 0 50px !important;
}

.form {
  background: #ffffff !important;
  border-radius: 18px !important;
  border: 1px solid #fce8db !important;
  box-shadow: 0 12px 36px rgba(203, 95, 0, 0.08) !important;
  padding: 0 32px 32px !important;
  max-width: 680px;
  margin: 0 auto !important;
  overflow: hidden !important;
  position: relative !important;
}

.form .track-card-top-accent {
  height: 5px;
  background: linear-gradient(90deg, #cb5f00 0%, #ff9933 50%, #cb5f00 100%);
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: 28px;
}

.login-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 8px 0;
}

.login-or-divider::before,
.login-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.login-or-divider span {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1px;
}

/* 
.registration-frm {
  max-width: 780px !important;
} */

/* .form-group {
  margin-bottom: 16px !important;
} */

.form-group label,
.form-horizontal label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px;
}

.form-control-plaintext,
.form-control {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  width: 100% !important;
  transition: var(--transition);
  outline: none;
  min-height: 44px;
}

.form-control-plaintext:focus,
.form-control:focus {
  border-color: #cb5f00 !important;
  box-shadow: 0 0 0 3px rgba(203, 95, 0, 0.15) !important;
  background-color: #ffffff !important;
}

.captcha-area {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  /* margin-bottom: 8px; */
}

.captcha-img {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  user-select: none;
}

.captcha-img img {
  height: 38px;
  border-radius: 4px;
}

.captcha {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Courier New', monospace;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 5px !important;
  color: #0b1f44 !important;
}

.reload-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--radius-sm) !important;
  background: #cb5f00 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer;
  transition: var(--transition);
}

.reload-btn:hover {
  background: #8a3e00 !important;
}

/* Modern Accessible Captcha Component */
.modern-captcha-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 6px;
  transition: all 0.25s ease;
}

.modern-captcha-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.modern-captcha-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  flex-wrap: nowrap !important;
  width: 100%;
}

.modern-captcha-display {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  flex: 1 1 auto;
  min-width: 0;
  max-width: 200px;
  height: 46px;
}

.modern-captcha-display img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease;
}

.captcha-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #c25e00;
  z-index: 2;
}

.modern-captcha-btns {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  flex-shrink: 0 !important;
}

.modern-captcha-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 0;
  outline: none;
  flex-shrink: 0 !important;
}

@media (max-width: 576px) {
  .modern-captcha-card {
    padding: 8px 10px !important;
  }
  .modern-captcha-row {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .modern-captcha-display {
    height: 40px !important;
    min-width: 0 !important;
  }
  .modern-captcha-display img {
    height: 100% !important;
    max-width: 100% !important;
  }
  .modern-captcha-btns {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .modern-captcha-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
  }
  .modern-captcha-hint {
    font-size: 11px !important;
    margin-top: 6px !important;
  }
}

.modern-captcha-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.modern-captcha-btn:active {
  transform: translateY(0);
}

.modern-captcha-btn.btn-refresh:hover {
  color: #c25e00;
  border-color: rgba(194, 94, 0, 0.4);
  background: #fff7ed;
}

.modern-captcha-btn.btn-audio:hover {
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.4);
  background: #f0f9ff;
}

.modern-captcha-btn.btn-audio.playing {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  animation: pulse-audio 1.2s infinite;
}

@keyframes pulse-audio {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.spin-icon {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-captcha-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-captcha-hint i {
  color: #c25e00;
  font-size: 13px;
}

.captcha-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.captcha-input-wrapper input {
  padding-right: 40px !important;
  font-weight: 700 !important;
  letter-spacing: 5px !important;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

.captcha-validation-icon {
  position: absolute;
  right: 14px;
  font-size: 16px;
  display: none;
  pointer-events: none;
}

.captcha-validation-icon.valid {
  display: inline-block;
  color: #10b981;
}

.captcha-validation-icon.invalid {
  display: inline-block;
  color: #ef4444;
}

.login-btn-sec {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.login-btn,
input[type="submit"].login-btn {
  background: #cb5f00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 11px 24px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: var(--shadow-btn) !important;
  transition: var(--transition) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-btn:hover,
input[type="submit"].login-btn:hover {
  background: #8a3e00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.45) !important;
  color: #ffffff !important;
}

#resetBtn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-full) !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#resetBtn:hover {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

.alert-danger {
  background-color: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.alert-success {
  background-color: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.sign-up {
  text-align: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.sign-up a {
  color: #cb5f00 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.sign-up a:hover {
  color: #8a3e00 !important;
}

/* ==========================================================
   Tables — Solid Header (NO gradient, solid #cb5f00)
   ========================================================== */
.table {
  background: #ffffff !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
  border: 1px solid var(--border-light) !important;
}

.table thead th {
  background: #cb5f00 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 16px !important;
  border: none !important;
  letter-spacing: 0.3px;
}

.table td {
  padding: 14px 16px !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

.table tbody tr:hover td {
  background-color: #fff8f3 !important;
}

.table a {
  color: #cb5f00 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.table a:hover {
  color: var(--accent-amber) !important;
  text-decoration: underline !important;
}

/* ==========================================================
   Accordions (Knowledge Base & Portal FAQs)
   ========================================================== */
.knowledge-dropdown label {
  color: #cb5f00 !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
}

.knowledge-dropdown select.form-control {
  height: 48px !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 10px !important;
  background: #fffcf9 !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  padding: 8px 16px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.04) !important;
}

.knowledge-dropdown select.form-control:focus {
  border-color: #cb5f00 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(203, 95, 0, 0.12) !important;
}

/* ==========================================================
   Creative Knowledge Base & FAQ Center
   ========================================================== */
.kb-page-section {
  padding: 30px 0 70px !important;
  background: #fbfcfe !important;
}

/* Banner Content Enhancements */
.kb-banner-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.kb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 16px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.kb-hero-badge i {
  color: #fde047;
}

.kb-banner-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  max-width: 600px;
  margin: 8px auto 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Interactive Control Bar */
.kb-control-panel {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.06);
  position: relative;
}

.kb-control-box {
  display: flex;
  flex-direction: column;
}

.kb-control-label {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #cb5f00 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.kb-select-wrapper,
.kb-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.kb-custom-select {
  height: 44px !important;
  background: #fffaf5 !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 10px !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 0 36px 0 14px !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.kb-custom-select:hover,
.kb-custom-select:focus {
  background: #ffffff !important;
  border-color: #cb5f00 !important;
  box-shadow: 0 0 0 3px rgba(203, 95, 0, 0.12) !important;
}

.kb-select-arrow {
  position: absolute;
  right: 14px;
  color: #cb5f00;
  font-size: 13px;
  pointer-events: none;
}

.kb-search-input {
  height: 44px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 0 36px 0 36px !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.kb-search-input:focus {
  border-color: #cb5f00 !important;
  box-shadow: 0 0 0 3px rgba(203, 95, 0, 0.12) !important;
}

.kb-search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.kb-search-clear {
  position: absolute;
  right: 10px;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kb-search-clear:hover {
  background: #fee2e2;
  color: #dc2626;
}

.kb-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 18px;
}

.kb-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3eb;
  border: 1px solid #fed7aa;
  color: #cb5f00;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
}

.btn-kb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-kb-toggle:hover {
  background: #fff3eb;
  border-color: #cb5f00;
  color: #cb5f00;
}

/* Active Sector Header */
.kb-sector-header {
  background: linear-gradient(135deg, #fffaf5 0%, #fff3eb 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.04);
}

.kb-sector-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kb-sector-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(203, 95, 0, 0.25);
}

.kb-sector-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 2px 0 !important;
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: 0.3px !important;
}

.kb-sector-subtitle {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
  display: block;
}

/* Accordion FAQ Cards */
.kb-faq-card {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  background: #ffffff !important;
  transition: all 0.25s ease !important;
}

.kb-faq-card:hover {
  border-color: #fba462 !important;
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.08) !important;
  transform: translateY(-1px);
}

.kb-card-header {
  background: #ffffff !important;
  padding: 0 !important;
  border-bottom: none !important;
}

.kb-accordion-trigger {
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  padding: 14px 18px !important;
  width: 100% !important;
  gap: 12px !important;
  transition: background 0.2s ease !important;
}

.kb-accordion-trigger:hover {
  background: #fffaf5 !important;
}

.kb-accordion-trigger[aria-expanded="true"] {
  background: #fff3eb !important;
  border-bottom: 1px solid #fed7aa !important;
}

.kb-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.kb-badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.kb-accordion-trigger:hover .kb-badge-number {
  background: #fff3eb;
  color: #cb5f00;
  border-color: #fed7aa;
}

.kb-accordion-trigger[aria-expanded="true"] .kb-badge-number {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.3);
}

.kb-question-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  line-height: 1.45 !important;
  transition: color 0.2s ease !important;
}

.kb-accordion-trigger:hover .kb-question-title,
.kb-accordion-trigger[aria-expanded="true"] .kb-question-title {
  color: #cb5f00 !important;
}

.kb-chevron-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.kb-accordion-trigger:hover .kb-chevron-wrap {
  background: #fff3eb;
  color: #cb5f00;
  border-color: #fed7aa;
}

.kb-accordion-trigger[aria-expanded="true"] .kb-chevron-wrap {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
  transform: rotate(180deg);
}

/* Answer Body & Content */
.kb-answer-card {
  padding: 18px 22px !important;
  background: #ffffff !important;
  border-top: none !important;
}

.kb-answer-content {
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.75 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.kb-answer-content a {
  color: #cb5f00 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  word-break: break-all !important;
}

/* Answer Footer with Feedback & Grievance Link */
.kb-answer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.kb-feedback-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kb-feedback-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.kb-feedback-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kb-feedback-btn:hover {
  background: #fff3eb;
  border-color: #cb5f00;
  color: #cb5f00;
}

.kb-thank-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #059669;
  font-size: 11.5px;
  font-weight: 700;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 6px;
}

.kb-help-action {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kb-lodge-link {
  color: #cb5f00 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.kb-lodge-link:hover {
  text-decoration: underline !important;
  transform: translateX(2px);
}

/* Empty State / No Results */
.kb-empty-sector,
.kb-search-empty-state {
  background: #ffffff;
  border: 1.5px dashed #fed7aa;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  margin-top: 14px;
}

.kb-empty-icon,
.kb-search-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff3eb;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.kb-empty-title,
.kb-search-empty-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin-bottom: 6px !important;
  font-family: 'Outfit', sans-serif !important;
}

.kb-empty-desc,
.kb-search-empty-desc {
  font-size: 13px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.btn-kb-empty-lodge,
.btn-kb-clear-search {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 9999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-kb-empty-lodge:hover,
.btn-kb-clear-search:hover {
  background: linear-gradient(135deg, #8a3e00 0%, #cb5f00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(203, 95, 0, 0.35);
}

.kb-loading-state {
  text-align: center;
  padding: 40px;
  color: #cb5f00;
}

.kb-loading-state p {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

/* ==========================================================
   Knowledge Base Support Sidebar Widgets
   ========================================================== */
.kb-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kb-support-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.kb-support-card:hover {
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.08);
  transform: translateY(-2px);
}

/* Helpline Widget */
.kb-card-helpline {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border: 1.5px solid #fed7aa;
}

.kb-card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #cb5f00 0%, #ea580c 50%, #cb5f00 100%);
}

.kb-helpline-mascot-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.kb-mascot-img {
  width: 58px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.kb-helpline-header-text {
  display: flex;
  flex-direction: column;
}

.kb-badge-govt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 4px;
}

.kb-helpline-heading {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
}

.kb-helpline-box {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.06);
}

.kb-helpline-subtext {
  font-size: 10px;
  font-weight: 800;
  color: #cb5f00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.kb-helpline-number {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  letter-spacing: 0.5px !important;
  font-family: 'Outfit', sans-serif !important;
  text-decoration: none !important;
  display: block;
  transition: color 0.2s ease;
}

.kb-helpline-number:hover {
  color: #cb5f00 !important;
}

.kb-helpline-hours {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

.btn-kb-helpline-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-kb-helpline-action:hover {
  background: linear-gradient(135deg, #8a3e00 0%, #cb5f00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(203, 95, 0, 0.4);
}

/* Grievance Action Card */
.kb-card-grievance {
  background: #ffffff;
  border-left: 4px solid #cb5f00;
}

.kb-grievance-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.kb-grievance-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff3eb;
  border: 1px solid #fed7aa;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.kb-grievance-title {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
}

.kb-grievance-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.kb-grievance-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 14px;
}

.kb-grievance-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-kb-action-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-kb-action-primary:hover {
  background: linear-gradient(135deg, #8a3e00 0%, #cb5f00 100%);
  transform: translateY(-1px);
}

.btn-kb-action-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ffffff;
  border: 1.5px solid #cb5f00;
  color: #cb5f00 !important;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-kb-action-secondary:hover {
  background: #fff3eb;
  transform: translateY(-1px);
}

/* 6 Consumer Rights Guide Card */
.kb-card-rights {
  background: #ffffff;
}

.kb-rights-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.kb-rights-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.kb-rights-title {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  font-family: 'Outfit', sans-serif !important;
}

.kb-rights-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.kb-rights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kb-rights-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.kb-right-bullet {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #fff3eb;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.kb-right-text {
  display: flex;
  flex-direction: column;
}

.kb-right-text strong {
  font-size: 12px;
  color: #1e293b;
  font-weight: 700;
  line-height: 1.3;
}

.kb-right-text span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.kb-rights-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #cb5f00 !important;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.kb-rights-footer-link:hover {
  background: #fff3eb;
  border-color: #fed7aa;
}

/* Responsive adjustments for Knowledge Base */
@media (max-width: 991.98px) {
  .kb-control-panel {
    padding: 14px 16px !important;
  }

  .kb-actions-bar {
    justify-content: space-between !important;
    padding-top: 6px !important;
  }

  .kb-sidebar-sticky {
    position: static !important;
  }

  .kb-sector-title {
    font-size: 15.5px !important;
  }

  .kb-question-title {
    font-size: 13.5px !important;
  }
}

/* ==========================================================
   Access Panel / App Dashboard
   ========================================================== */
.access-panel-sec {
  padding: 40px 0 60px;
}

.access-panel-sec .title-sec h5 {
  font-size: 24px;
  font-weight: 800;
  color: #cb5f00;
  margin-bottom: 30px;
  text-align: center;
}

.panel-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  margin-bottom: 24px;
}

.panel-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.panel-box .icon-box img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
}

.panel-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.access-panel-sec,
.registration-page.login-page {
  padding-top: 105px !important;
}

/* ==========================================================
   Inner Page Section Wrappers — Creative & Colourful
   ========================================================== */
.inner-page-sec {
  padding: 30px 0 70px;
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 60%);
  min-height: 60vh;
}

/* Section header for inner pages */
.inner-sec-header {
  text-align: center;
  margin-bottom: 32px;
}

.inner-sec-header .sec-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cb5f00, #e87320);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(203, 95, 0, 0.3);
}

.inner-sec-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #cb5f00;
  margin: 0 0 8px;
}

.inner-sec-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

/* Creative form card wrapper for inner forms */
.inner-form-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #fde0c8;
  box-shadow: 0 12px 40px rgba(203, 95, 0, 0.10);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.inner-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #cb5f00;
}

/* Info / callout box */
.info-callout-box {
  background: linear-gradient(135deg, #fff8f3, #ffe8d0);
  border: 1.5px solid #f5c9a0;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-callout-box .callout-icon {
  font-size: 24px;
  color: #cb5f00;
  flex-shrink: 0;
}

.info-callout-box .callout-text {
  font-size: 14px;
  font-weight: 600;
  color: #8a3e00;
}

.info-callout-box .callout-phone {
  font-size: 18px;
  font-weight: 900;
  color: #cb5f00;
  display: block;
}

/* Contact card for contact-details page */
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #fde0c8;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.08);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s ease;
  margin-bottom: 20px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(203, 95, 0, 0.16);
  border-color: #cb5f00;
}

.contact-card .contact-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cb5f00, #e87320);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.3);
}

.contact-card .contact-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.contact-card .contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #cb5f00;
  text-decoration: none;
  margin: 4px 0;
}

.contact-card .contact-link:hover {
  color: #8a3e00;
  text-decoration: underline;
}

/* ==========================================================
   Creative Important Links & Official Portal Directory
   ========================================================== */
.portal-directory-container {
  max-width: 1020px;
  margin: 0 auto;
}

.portal-directory-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
  border: 1px solid #fde0c8;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(203, 95, 0, 0.05);
}

.portal-intro-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portal-intro-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #cb5f00 0%, #8a3e00 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.3);
  flex-shrink: 0;
}

.portal-intro-title {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 2px 0;
}

.portal-intro-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.portal-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3eb;
  border: 1px solid #f5c9a0;
  color: #cb5f00;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
}

.portal-intro-badge i {
  color: #cb5f00;
}

/* Link Category Header */
.link-category-header {
  /* display: flex;
  align-items: center;
  justify-content: space-between; */
  margin: 32px 0 16px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #fff3eb 0%, #ffffff 85%, transparent 100%);
  border-left: 5px solid #cb5f00;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.04);
}

.link-category-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-category-icon {
  color: #cb5f00;
  font-size: 18px;
}

.link-category-header h4 {
  color: #8a3e00 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  border: none !important;
  padding: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.link-category-count {
  background: #cb5f00;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

/* Enhanced Portal Card */
.portal-card {
  border: 1.5px solid #f1e2d5 !important;
  border-radius: 16px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 3px 12px rgba(203, 95, 0, 0.04) !important;
  overflow: hidden !important;
  background: #ffffff !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(203, 95, 0, 0.12) !important;
  border-color: #f5c9a0 !important;
}

.portal-card-header {
  background: #ffffff !important;
  padding: 0 !important;
  border-bottom: none !important;
}

.portal-card-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  cursor: pointer !important;
  user-select: none !important;
  text-decoration: none !important;
  color: inherit !important;
  width: 100% !important;
  transition: background-color 0.2s ease !important;
}

.portal-card-trigger:hover,
.portal-card-trigger:focus {
  text-decoration: none !important;
  background-color: #fffaf6 !important;
}

.portal-header-content {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 1 !important;
}

.portal-icon-box {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 19px !important;
  flex-shrink: 0 !important;
  background: #fff3eb !important;
  color: #cb5f00 !important;
  border: 1px solid #fbd8bc !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.08) !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.portal-card:hover .portal-icon-box {
  transform: scale(1.05);
  background: #cb5f00 !important;
  color: #ffffff !important;
  border-color: #cb5f00 !important;
}

.portal-icon-gold {
  background: #fef8eb !important;
  color: #d97706 !important;
  border-color: #fde68a !important;
}

.portal-card:hover .portal-icon-gold {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}

.portal-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  transition: color 0.2s ease !important;
}

.portal-card-trigger:hover .portal-title,
.portal-card-trigger[aria-expanded="true"] .portal-title {
  color: #cb5f00 !important;
}

.portal-expand-chevron {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748b !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}

.portal-card-trigger[aria-expanded="true"] .portal-expand-chevron {
  background: #cb5f00 !important;
  color: #ffffff !important;
  border-color: #cb5f00 !important;
}

.portal-card-trigger[aria-expanded="true"] .portal-expand-chevron i {
  transform: rotate(180deg);
}

/* Collapsible Details Body */
.portal-details-body {
  padding: 16px 20px !important;
  background: #fffaf6 !important;
  border-top: 1px solid #fde0c8 !important;
}

.portal-link-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.portal-link-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.portal-link-label i {
  color: #cb5f00 !important;
}

.portal-url-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1.5px solid #f5c9a0 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  color: #cb5f00 !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', monospace !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  word-break: break-all !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.06) !important;
  transition: all 0.2s ease !important;
}

.portal-url-link:hover {
  background: #cb5f00 !important;
  color: #ffffff !important;
  border-color: #cb5f00 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.25) !important;
}

/* Portal Collapse Body */
.portal-collapse-body {
  display: none;
}

/* Status badge colours */
.badge-status-open {
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #f5c9a0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-status-closed {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-status-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* btn-outline-primary override to orange */
.btn-outline-primary {
  color: #cb5f00 !important;
  border-color: #cb5f00 !important;
  background: transparent !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: #cb5f00 !important;
  color: #ffffff !important;
  border-color: #cb5f00 !important;
}

.btn-primary {
  background: #cb5f00 !important;
  border-color: #cb5f00 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
}

.btn-primary:hover {
  background: #8a3e00 !important;
  border-color: #8a3e00 !important;
  color: #ffffff !important;
}

/* text-primary override */
.text-primary {
  color: #cb5f00 !important;
}

/* Title and divider line colours */
.title {
  color: #cb5f00 !important;
}

.divider {
  background: #cb5f00 !important;
}

.sign-up a {
  color: #cb5f00 !important;
  font-weight: 700 !important;
}

/* title-heading bottom border */
.title-heading-sec {
  border-bottom: 2px solid #fde0c8;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

/* ==========================================================
   Mobile Responsive for inner pages
   ========================================================== */
@media (max-width: 768px) {
  .inner-form-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .form {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }

  .inner-page-sec {
    padding: 20px 0 50px;
  }

  .table thead th {
    font-size: 12.5px !important;
    padding: 11px 10px !important;
  }

  .table td {
    padding: 10px !important;
    font-size: 12.5px !important;
  }

  .accordian-sec .card-header {
    padding: 12px 14px !important;
  }

  .ac-text {
    font-size: 13.5px !important;
  }

  .imp-link-ac h4 {
    font-size: 15px !important;
  }

  .login-btn-sec {
    flex-direction: column;
  }

  .login-btn,
  input[type="submit"].login-btn {
    width: 100% !important;
    text-align: center;
  }

  #resetBtn {
    width: 100% !important;
    text-align: center;
  }

  .title-heading-sec h5 {
    font-size: 17px !important;
  }

  .contact-card {
    padding: 18px 14px;
  }

  .info-callout-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .innerbanner-sec .text-title {
    font-size: 20px !important;
  }

  .inner-sec-header h3 {
    font-size: 20px;
  }

  .form {
    padding: 20px 14px !important;
  }

  .table thead th {
    font-size: 11.5px !important;
    padding: 9px 8px !important;
  }

  .table td {
    padding: 9px 8px !important;
    font-size: 11.5px !important;
  }

  .innerbanner-sec {
    min-height: 120px !important;
    padding: 28px 14px !important;
  }
}

/* ==========================================================
   Comprehensive Mobile & Tablet Responsive Rules
   Placed at end of file to guarantee correct CSS cascade
   ========================================================== */
@media (max-width: 991.98px) {

  /* Header & Navigation */
  .top-nav-desktop {
    display: none !important;
  }

  .sidebarIconToggle {
    display: flex !important;
    position: fixed !important;
    top: 13px !important;
    right: 16px !important;
    z-index: 1010 !important;
  }

  .header {
    height: 68px !important;
    padding: 0 16px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #ffffff !important;
  }

  .header-brand-titles,
  .brand-divider {
    display: none !important;
  }

  /* 
  .logo-img {
    height: 42px !important;
  }

  .logo-img1 {
    height: 38px !important;
  } */

  /* Desktop banner must be hidden on mobile */
  .banner-sec {
    display: none !important;
  }

  /* Inner banner on mobile starts flush below 68px mobile header */
  .innerbanner-sec {
    margin-top: 68px !important;
    min-height: 140px !important;
    padding: 30px 16px 26px !important;
    margin-bottom: 24px !important;
  }

  /* Mobile Hero Banner */
  .banner-secmob {
    display: flex !important;
    margin-top: 68px !important;
    padding: 30px 16px 44px !important;
    min-height: auto !important;
    position: relative !important;
    background-size: cover !important;
    background-position: center !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  .banner-secmob::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(80, 30, 0, 0.95) 0%, rgba(160, 70, 0, 0.90) 100%) !important;
    z-index: 1 !important;
  }

  .hero-content-wrapper-mob {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 540px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .hero-govt-badge-mob {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    padding: 4px 12px !important;
    border-radius: var(--radius-full) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
  }

  .hero-govt-badge-mob i {
    color: #ffbe0b !important;
  }

  .hero-main-title-mob {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 6px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  }

  .hero-dept-subtitle-mob {
    color: #ffbe0b !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.4px !important;
    line-height: 1.35 !important;
  }

  .hero-ornament-mob {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    max-width: 200px !important;
    margin: 6px auto 12px !important;
  }

  .hero-ornament-mob .ornament-line {
    flex: 1 !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 190, 11, 0.8), transparent) !important;
  }

  .hero-ornament-mob .ornament-badge {
    color: #ffbe0b !important;
    font-size: 15px !important;
  }

  .hero-mission-tagline-mob {
    color: rgba(241, 245, 249, 0.95) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin: 0 auto 16px !important;
    max-width: 480px !important;
  }

  .hero-action-pills-mob {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin-top: 4px !important;
  }

  .hero-pill-btn-mob {
    padding: 8px 14px !important;
    border-radius: var(--radius-full) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
  }

  .hero-pill-mob-pri {
    background: #ffbe0b !important;
    color: #0b2545 !important;
    border-color: #ffbe0b !important;
    box-shadow: 0 3px 10px rgba(255, 190, 11, 0.35) !important;
  }

  .hero-pill-mob-track {
    background: rgba(255, 190, 11, 0.22) !important;
    border-color: rgba(255, 190, 11, 0.6) !important;
    color: #ffbe0b !important;
  }

  /* Executive Helpline Mobile Overrides */
  .consumer-helpline {
    margin: -22px 14px 26px !important;
    padding: 16px 14px !important;
    border-radius: 18px !important;
    width: calc(100% - 28px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .helpline-card-inner {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .helpline-col-left {
    display: flex !important;
    justify-content: center !important;
    flex: none !important;
    text-align: center !important;
  }

  .helpline-info-group {
    text-align: center !important;
  }

  .helpline-status-row {
    justify-content: center !important;
  }

  .helpline-icon-badge {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  .helpline-col-center {
    flex: none !important;
    text-align: center !important;
  }

  .number-digits {
    font-size: 28px !important;
    letter-spacing: 1px !important;
  }

  .helpline-col-right {
    display: flex !important;
    justify-content: center !important;
    flex: none !important;
    width: 100% !important;
  }

  .helpline-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 18px !important;
  }

  /* Hide desktop-only trust pillars on mobile */
  .hero-trust-pillars {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .banner-secmob {
    padding: 24px 12px 38px !important;
  }

  .hero-main-title-mob {
    font-size: 20px !important;
  }

  .hero-dept-subtitle-mob {
    font-size: 11.5px !important;
  }

  .hero-mission-tagline-mob {
    font-size: 11.5px !important;
  }

  .hero-pill-btn-mob {
    padding: 7px 11px !important;
    font-size: 11px !important;
  }

  .consumer-helpline {
    margin: -18px 10px 22px !important;
    width: calc(100% - 20px) !important;
    padding: 14px 12px !important;
  }

  .number-digits {
    font-size: 25px !important;
  }
}

/* Important Links Mobile Styles */
@media (max-width: 768px) {
  .portal-directory-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .portal-card-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .portal-actions {
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #f1e2d5;
    margin-top: 4px;
  }

  .portal-visit-btn {
    flex: 1;
    justify-content: center;
  }

  .portal-meta-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .meta-link {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   Creative Inner Pages: Track Grievance, Contact Details, Knowledge Base
   ========================================================== */

/* --- Track Grievance Page Styles --- */
.track-page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 15px 60px;
}

.track-main-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #fce8db;
  box-shadow: 0 12px 36px rgba(203, 95, 0, 0.08);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.track-card-top-accent {
  height: 5px;
  background: linear-gradient(90deg, #cb5f00 0%, #ff9933 50%, #cb5f00 100%);
  width: 100%;
}

.track-card-header {
  padding: 30px 32px 20px;
  text-align: center;
  border-bottom: 1px solid #fff1e6;
  background: linear-gradient(180deg, #fffcf9 0%, #ffffff 100%);
}

.track-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff3eb;
  border: 1px solid #fcd9c0;
  color: #cb5f00;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.track-card-title {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
  font-family: 'Outfit', sans-serif;
}

.track-card-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.track-form-body {
  padding: 32px;
}

.track-form-group {
  margin-bottom: 22px;
}

.track-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #cb5f00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.track-form-label i {
  color: #cb5f00;
  font-size: 14px;
}

.track-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.track-input-icon {
  position: absolute;
  left: 14px;
  color: #cb5f00;
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}

.track-form-control {
  width: 100%;
  height: 50px;
  padding: 10px 16px 10px 42px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background: #fffcf9 !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 12px !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
}

.track-form-control:focus {
  background: #ffffff !important;
  border-color: #cb5f00 !important;
  box-shadow: 0 0 0 4px rgba(203, 95, 0, 0.12) !important;
  outline: none !important;
}

.btn-track-submit {
  width: 100%;
  height: 52px;
  background: #cb5f00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.28) !important;
  transition: all 0.25s ease !important;
}

.btn-track-submit:hover {
  background: #9d4600 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(203, 95, 0, 0.38) !important;
  color: #ffffff !important;
}

/* Track Search Result Card */
.track-result-card {
  margin-top: 30px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #fce8db;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.08);
  overflow: hidden;
}

.track-result-header {
  padding: 18px 24px;
  background: #fff8f3;
  border-bottom: 1px solid #fee2d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-result-header h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Solid Table Header - STRICT RULE: One Solid Color, No Gradient, No Blue */
.solid-table-header th {
  background-color: #cb5f00 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  border: none !important;
  padding: 14px 18px !important;
  vertical-align: middle !important;
}

.track-table-custom tbody tr {
  transition: background-color 0.2s ease;
}

.track-table-custom tbody tr:hover {
  background-color: #fffaf5;
}

.track-table-custom td {
  padding: 15px 18px !important;
  vertical-align: middle !important;
  font-size: 14px;
  border-bottom: 1px solid #f8e8dc !important;
}

.btn-track-view {
  background: #cb5f00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 7px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-track-view:hover {
  background: #9d4600 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Track Grievance Help Box */
.track-help-banner {
  margin-top: 35px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px dashed #f97316;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.track-help-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-help-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #cb5f00;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.25);
}

.track-help-title {
  font-size: 13px;
  font-weight: 800;
  color: #cb5f00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.track-help-subtitle {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
}

.track-help-number {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.track-help-number:hover {
  border-color: #cb5f00;
  color: #cb5f00;
  transform: translateY(-2px);
}

/* --- Contact Details Page Styles --- */
/* .contact-page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 15px 60px;
} */

.contact-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 35px;
}

.contact-stat-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #fde4d2;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.06);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(203, 95, 0, 0.14);
  border-color: #fca565;
}

.contact-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #cb5f00;
}

.contact-stat-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff3eb;
  border: 1.5px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #cb5f00;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(203, 95, 0, 0.08);
}

.contact-stat-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #cb5f00;
  margin-bottom: 6px;
}

.contact-stat-val {
  font-size: 19px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.contact-stat-sub {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.4;
}

.contact-stat-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #fcd9c0;
}

.contact-stat-btn:hover {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
}

/* Contact Details Officers Table */
.contact-table-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #fde4d2;
  box-shadow: 0 10px 30px rgba(203, 95, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.contact-table-header-title {
  padding: 20px 24px;
  background: #fff8f3;
  border-bottom: 1px solid #fee2d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-table-header-title h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
}

.contact-officer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff3eb;
  color: #cb5f00;
  font-weight: 800;
  font-size: 13px;
}

.contact-action-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-contact-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-contact-call:hover {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
}

.btn-contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-contact-mail:hover {
  background: #f8fafc;
  color: #cb5f00;
  border-color: #cbd5e1;
}

/* Contact Guidance Card */
.contact-notice-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #fed7aa;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(203, 95, 0, 0.05);
}

.contact-notice-icon {
  font-size: 26px;
  color: #cb5f00;
  flex-shrink: 0;
}

.contact-notice-text {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

.contact-notice-text b {
  color: #1e293b;
}

/* --- Knowledge Base Page Styles --- */
.kb-page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 15px 60px;
}

.kb-filter-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #fde4d2;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.06);
  padding: 24px 28px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.kb-filter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #cb5f00, #ff9933);
}

.kb-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.kb-filter-title {
  font-size: 16px;
  font-weight: 800;
  color: #cb5f00;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.kb-filter-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 14px;
}

.kb-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.kb-select-icon {
  position: absolute;
  left: 16px;
  color: #cb5f00;
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

.kb-select-control {
  width: 100%;
  height: 52px;
  padding: 10px 42px 10px 46px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  background: #fffcf9 !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 12px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.kb-select-control:focus {
  background: #ffffff !important;
  border-color: #cb5f00 !important;
  box-shadow: 0 0 0 4px rgba(203, 95, 0, 0.12) !important;
  outline: none !important;
}

.kb-select-arrow {
  position: absolute;
  right: 18px;
  color: #cb5f00;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}

/* Knowledge Base FAQ Cards */
.kb-faq-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #fde4d2;
  box-shadow: 0 4px 14px rgba(203, 95, 0, 0.05);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.kb-faq-card:hover {
  border-color: #fba462;
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.1);
}

.kb-faq-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  user-select: none !important;
  text-decoration: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  transition: background 0.2s ease !important;
}

.kb-faq-trigger:hover {
  background: #fffaf5 !important;
}

.kb-faq-trigger[aria-expanded="true"] {
  background: #fff3eb !important;
  border-bottom: 1px solid #fed7aa !important;
}

.kb-faq-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.kb-faq-q-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.kb-faq-trigger[aria-expanded="true"] .kb-faq-q-badge {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
}

.kb-faq-question {
  font-size: 15.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.45;
  font-family: 'Outfit', sans-serif;
  transition: color 0.2s ease;
}

.kb-faq-trigger[aria-expanded="true"] .kb-faq-question {
  color: #cb5f00;
}

.kb-faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  color: #cb5f00;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.25s ease;
}

.kb-faq-trigger[aria-expanded="true"] .kb-faq-chevron {
  background: #cb5f00;
  color: #ffffff;
  border-color: #cb5f00;
  transform: rotate(180deg);
}

.kb-faq-body {
  display: none;
  padding: 22px 26px;
  background: #fffcf9;
  border-top: 1px solid #fde4d2;
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
}

.kb-faq-body.show {
  display: block;
}

.kb-faq-body a {
  color: #cb5f00 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* Responsive adjustments for inner pages */
@media (max-width: 991.98px) {
  .contact-stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .track-form-body {
    padding: 22px 18px;
  }

  .track-card-header {
    padding: 24px 18px 16px;
  }

  .track-card-title {
    font-size: 21px;
  }

  .track-help-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .track-help-left {
    flex-direction: column;
    text-align: center;
  }

  .track-help-number {
    font-size: 20px;
    width: 100%;
    justify-content: center;
  }

  .contact-table-header-title {
    padding: 16px 18px;
  }

  .kb-filter-card {
    padding: 18px 16px;
  }

  .kb-faq-trigger {
    padding: 14px 16px !important;
  }

  .kb-faq-body {
    padding: 16px 18px;
  }
}

/* ==========================================================
   CITIZEN PORTAL DESIGN SYSTEM
   Dashboard, Grievance Status, New Grievance, Profile Update
   ========================================================== */

/* Back Button Pill */
.portal-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background: #ffffff !important;
  color: #cb5f00 !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(203, 95, 0, 0.08) !important;
  transition: all 0.22s ease !important;
  margin-bottom: 22px !important;
}

.portal-back-btn:hover {
  background: #fff3eb !important;
  border-color: #cb5f00 !important;
  color: #8a3e00 !important;
  transform: translateX(-3px) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.16) !important;
}

.portal-back-btn i {
  font-size: 13px !important;
  transition: transform 0.2s ease !important;
}

.portal-back-btn:hover i {
  transform: translateX(-2px) !important;
}

/* Page Section Wrapper for Citizen Pages */
.citizen-page-sec {
  padding: 30px 0 70px !important;
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 70%) !important;
  min-height: calc(100vh - 70px) !important;
}

/* Dashboard Welcome & Identity Bar */
.cdash-welcome-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 8px 24px rgba(203, 95, 0, 0.08);
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.cdash-welcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #cb5f00 0%, #ea580c 50%, #f59e0b 100%);
}

.cdash-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cdash-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #cb5f00 0%, #8a3e00 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(203, 95, 0, 0.3);
  flex-shrink: 0;
}

.cdash-user-meta h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 4px 0 !important;
}

.cdash-user-meta p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cdash-citizen-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cdash-welcome-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cdash-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s ease;
}

.cdash-quick-btn-orange {
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(203, 95, 0, 0.25);
}

.cdash-quick-btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(203, 95, 0, 0.35);
}

.cdash-quick-btn-outline {
  background: #ffffff;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1;
}

.cdash-quick-btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

/* Dashboard Metrics / Counter Row */
.cdash-metrics-row {
  margin-bottom: 30px;
}

.cdash-metric-box {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  height: 100%;
}

.cdash-metric-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(203, 95, 0, 0.1);
  border-color: #fed7aa;
}

.cdash-metric-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cdash-metric-value {
  font-size: 28px;
  font-weight: 900;
  color: #1e293b;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.cdash-metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cdash-metric-icon.orange {
  background: #fff3eb;
  color: #cb5f00;
  border: 1.5px solid #fed7aa;
}

.cdash-metric-icon.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1.5px solid #fde68a;
}

.cdash-metric-icon.green {
  background: #ecfdf5;
  color: #059669;
  border: 1.5px solid #a7f3d0;
}

.cdash-metric-icon.blue {
  background: #eff6ff;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
}

/* Dashboard Creative Action Cards */
.cdash-action-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1.5px solid #f1f5f9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 32px 26px 26px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
}

.cdash-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  transition: height 0.25s ease;
}

.cdash-card-orange::before {
  background: linear-gradient(90deg, #cb5f00, #f59e0b);
}

.cdash-card-cyan::before {
  background: linear-gradient(90deg, #0284c7, #06b6d4);
}

.cdash-card-teal::before {
  background: linear-gradient(90deg, #0d9488, #10b981);
}

.cdash-action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(203, 95, 0, 0.16);
  border-color: #fde0c8;
}

.cdash-action-card:hover::before {
  height: 7px;
}

.cdash-card-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cdash-card-orange .cdash-card-badge {
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #fed7aa;
}

.cdash-card-cyan .cdash-card-badge {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.cdash-card-teal .cdash-card-badge {
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
}

.cdash-card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 20px;
  transition: transform 0.3s ease;
}

.cdash-card-orange .cdash-card-icon-wrap {
  background: linear-gradient(135deg, #fff3eb 0%, #fee6d5 100%);
  border: 1.5px solid #fed7aa;
}

.cdash-card-cyan .cdash-card-icon-wrap {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #bae6fd;
}

.cdash-card-teal .cdash-card-icon-wrap {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border: 1.5px solid #99f6e4;
}

.cdash-action-card:hover .cdash-card-icon-wrap {
  transform: scale(1.08);
}

.cdash-card-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.cdash-card-icon-wrap i {
  font-size: 36px;
}

.cdash-card-orange .cdash-card-icon-wrap i {
  color: #cb5f00;
}

.cdash-card-cyan .cdash-card-icon-wrap i {
  color: #0284c7;
}

.cdash-card-teal .cdash-card-icon-wrap i {
  color: #0d9488;
}

.cdash-card-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.2px;
}

.cdash-card-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 22px 0;
  line-height: 1.5;
  max-width: 280px;
}

.cdash-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: all 0.22s ease;
  width: 100%;
  justify-content: center;
}

.cdash-card-orange .cdash-card-btn {
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(203, 95, 0, 0.25);
}

.cdash-card-orange:hover .cdash-card-btn {
  background: linear-gradient(135deg, #a84700 0%, #cb5f00 100%);
  box-shadow: 0 6px 18px rgba(203, 95, 0, 0.4);
}

.cdash-card-cyan .cdash-card-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.cdash-card-cyan:hover .cdash-card-btn {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.cdash-card-teal .cdash-card-btn {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.cdash-card-teal:hover .cdash-card-btn {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

/* Citizen Advisory & Helpline Strip */
.cdash-help-strip {
  background: linear-gradient(135deg, #0b2545 0%, #133a68 100%);
  border-radius: 20px;
  padding: 24px 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.2);
}

.cdash-help-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cdash-help-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #f59e0b;
  flex-shrink: 0;
}

.cdash-help-text h4 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
}

.cdash-help-text p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

.cdash-help-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cdash-tollfree-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cdash-tollfree-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

.cdash-tollfree-badge strong {
  font-size: 18px;
  letter-spacing: 0.8px;
  color: #fbbf24;
}

/* ==========================================================
   GRIEVANCE STATUS & HISTORY TABLE (posted-grievance)
   ========================================================== */
.cstatus-table-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #f1e2d5;
  box-shadow: 0 10px 30px rgba(203, 95, 0, 0.06);
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.cstatus-table-header {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
  padding: 22px 28px;
  border-bottom: 1.5px solid #fde0c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cstatus-header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cstatus-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #cb5f00 0%, #8a3e00 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(203, 95, 0, 0.25);
}

.cstatus-header-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
}

.cstatus-header-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 2px 0 0 0;
  padding: 0;
}

.cstatus-count-badge {
  background: #fff3eb;
  color: #cb5f00;
  border: 1.5px solid #fed7aa;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cstatus-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cstatus-modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.cstatus-modern-table thead th {
  background-color: #cb5f00 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 14px 18px !important;
  border-top: none !important;
  border-bottom: 2px solid #a84700 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.22) !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.cstatus-modern-table thead th:last-child {
  border-right: none !important;
}

.cstatus-modern-table tbody tr {
  transition: background-color 0.18s ease;
}

.cstatus-modern-table tbody tr:hover {
  background-color: #fffbf7;
}

.cstatus-modern-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 13.5px;
  color: #334155;
}

.cstatus-modern-table tbody td:last-child {
  border-right: none;
}

.cstatus-modern-table tbody tr:last-child td {
  border-bottom: none;
}

/* Ticket Pill */
.cstatus-ticket-code {
  font-family: 'Consolas', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0b2545;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cstatus-ticket-code i {
  color: #64748b;
  font-size: 11px;
}

/* Status Badges */
.cstatus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.cstatus-badge-resolved {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.cstatus-badge-pending {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.cstatus-badge-process {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.cstatus-badge-dropped {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.cstatus-badge-default {
  background: #fff3eb;
  color: #cb5f00;
  border: 1px solid #fed7aa;
}

.cstatus-opname {
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cstatus-opname i {
  color: #94a3b8;
  font-size: 13px;
}

.cstatus-subject-link {
  color: #1e293b !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  max-width: 320px;
  transition: color 0.2s ease !important;
}

.cstatus-subject-link:hover {
  color: #cb5f00 !important;
  text-decoration: underline !important;
}

.cstatus-date {
  font-size: 12.5px;
  color: #64748b;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cstatus-date i {
  color: #94a3b8;
}

/* Action Buttons */
.cstatus-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cstatus-btn-view {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1.5px solid #bae6fd;
  color: #0284c7 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cstatus-btn-view:hover {
  background: #0284c7;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.cstatus-btn-print {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff3eb;
  border: 1.5px solid #fed7aa;
  color: #cb5f00 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.cstatus-btn-print:hover {
  background: #cb5f00;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(203, 95, 0, 0.3);
}

/* Empty State Card */
.cstatus-empty-state {
  text-align: center;
  padding: 60px 24px;
}

.cstatus-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff3eb;
  border: 2px solid #fed7aa;
  color: #cb5f00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 20px;
}

.cstatus-empty-state h4 {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.cstatus-empty-state p {
  font-size: 14px;
  color: #64748b;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ==========================================================
   NEW GRIEVANCE MULTI-SECTION FORM (new-grievance)
   ========================================================== */
.cgrievance-form-wrapper {
  max-width: 1060px;
  margin: 0 auto;
}

.cgrievance-step-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #f1e2d5;
  box-shadow: 0 8px 26px rgba(203, 95, 0, 0.06);
  padding: 28px 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cgrievance-step-card:hover {
  border-color: #fed7aa;
  box-shadow: 0 12px 32px rgba(203, 95, 0, 0.09);
}

.cgrievance-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #cb5f00, #ea580c);
}

.cgrievance-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: none !important;
  flex-wrap: wrap;
  gap: 12px;
}

/* .cgrievance-step-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
} */

.cgrievance-step-badge {
  background: linear-gradient(135deg, #cb5f00 0%, #8a3e00 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(203, 95, 0, 0.25);
}

.cgrievance-step-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgrievance-step-title i {
  color: #cb5f00;
  font-size: 17px;
}

.cgrievance-step-hint {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

/* Modern Form Controls */
.cgrievance-form-group {
  margin-bottom: 8px;
}

.cgrievance-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 7px !important;
  display: block !important;
}

.cgrievance-label .req-star {
  color: #dc2626 !important;
  font-weight: 800;
  margin-left: 2px;
}

.cgrievance-input,
.cgrievance-select,
.cgrievance-textarea {
  width: 100% !important;
  padding: 11px 16px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  font-size: 14px !important;
  color: #1e293b !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  outline: none !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.cgrievance-input:focus,
.cgrievance-select:focus,
.cgrievance-textarea:focus {
  border-color: #cb5f00 !important;
  background: #fffcf9 !important;
  box-shadow: 0 0 0 3.5px rgba(203, 95, 0, 0.15) !important;
}

.cgrievance-textarea {
  resize: vertical !important;
  min-height: 110px !important;
  line-height: 1.5 !important;
}

/* Custom Styled File Attachment Area */
.cgrievance-attach-box {
  background: #fffbf7;
  border: 2px dashed #f5c9a0;
  border-radius: 16px;
  padding: 24px;
  margin-top: 8px;
}

.cgrievance-attach-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cgrievance-attach-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff3eb;
  color: #cb5f00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cgrievance-attach-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px 0;
}

.cgrievance-attach-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.cgrievance-format-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.cgrievance-format-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Attachment input row generated dynamically */
#attached_div .form-group.row {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px !important;
  align-items: center;
  transition: all 0.2s ease;
}

#attached_div .form-group.row:hover {
  border-color: #cb5f00;
  box-shadow: 0 3px 10px rgba(203, 95, 0, 0.08);
}

#attached_div label.col-form-label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  padding: 0 !important;
}

#attached_div input[type="file"] {
  font-size: 13px !important;
  color: #475569 !important;
  padding: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  width: 100% !important;
}

/* Citizen Checklist Card */
.cgrievance-checklist-card {
  background: linear-gradient(135deg, #fffbf5 0%, #fff6ed 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 26px;
}

.cgrievance-checklist-title {
  font-size: 15px;
  font-weight: 800;
  color: #8a3e00;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgrievance-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.cgrievance-checklist-list li {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cgrievance-checklist-list li i {
  color: #16a34a;
  font-size: 14px;
  flex-shrink: 0;
}

/* Actions Bar */
.cgrievance-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cgrievance-btn-submit {
  background: linear-gradient(135deg, #cb5f00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 13px 36px !important;
  border-radius: var(--radius-full) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 16px rgba(203, 95, 0, 0.32) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cgrievance-btn-submit:hover {
  background: linear-gradient(135deg, #a84700 0%, #cb5f00 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(203, 95, 0, 0.45) !important;
  color: #ffffff !important;
}

.cgrievance-btn-reset {
  background: #ffffff !important;
  color: #64748b !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-full) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  text-decoration: none !important;
}

.cgrievance-btn-reset:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
}

/* Mandatory notice */
.cgrievance-mandatory-note {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cgrievance-mandatory-note strong {
  color: #dc2626;
}

/* ==========================================================
   PROFILE & ADDRESS UPDATE (address-update)
   ========================================================== */
.cprofile-layout {
  max-width: 1060px;
  margin: 0 auto;
}

.cprofile-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #f1e2d5;
  box-shadow: 0 8px 26px rgba(203, 95, 0, 0.06);
  padding: 28px 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.cprofile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.cprofile-card-contact::before {
  background: linear-gradient(90deg, #cb5f00, #ea580c);
}

.cprofile-card-security::before {
  background: linear-gradient(90deg, #0284c7, #0d9488);
}

.cprofile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  /* margin-bottom: 24px; */
  padding-bottom: 7px;
  border-bottom: none !important;
}

.cprofile-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cprofile-card-contact .cprofile-card-icon {
  background: #fff3eb;
  color: #cb5f00;
  border: 1.5px solid #fed7aa;
}

.cprofile-card-security .cprofile-card-icon {
  background: #eff6ff;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
}

.cprofile-card-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 0 0 2px 0 !important;
}

.cprofile-card-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.cprofile-pwd-wrapper {
  position: relative;
}

.cprofile-pwd-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  font-size: 15px;
  transition: color 0.2s ease;
}

.cprofile-pwd-toggle:hover {
  color: #cb5f00;
}

.cprofile-pwd-status {
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cprofile-pwd-status.error {
  color: #dc2626;
}

.cprofile-pwd-status.success {
  color: #16a34a;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
  .cdash-welcome-card {
    padding: 20px;
  }

  .cdash-help-strip {
    padding: 20px;
  }

  .cstatus-table-header {
    padding: 18px 20px;
  }

  .cgrievance-step-card,
  .cprofile-card {
    padding: 22px 20px;
  }
}

@media (max-width: 768px) {
  .cdash-metrics-row {
    margin-bottom: 20px;
  }

  .cdash-metric-box {
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 0;
  }

  .cdash-metric-label {
    font-size: 11.5px;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .cdash-metric-value {
    font-size: 24px;
  }

  .cdash-metric-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 11px;
    margin-left: 6px;
  }

  .cdash-action-card {
    margin-bottom: 16px;
  }

  .cstatus-modern-table thead th,
  .cstatus-modern-table tbody td {
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .cgrievance-action-bar {
    flex-direction: column-reverse;
    width: 100%;
  }

  .cgrievance-btn-submit,
  .cgrievance-btn-reset {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .cdash-metrics-row {
    margin-left: -6px;
    margin-right: -6px;
    margin-bottom: 16px;
  }

  .cdash-metrics-row>[class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px !important;
  }

  .cdash-metric-box {
    padding: 13px 12px;
    border-radius: 14px;
  }

  .cdash-metric-label {
    font-size: 10.5px;
    letter-spacing: 0.2px;
    margin-bottom: 3px;
    line-height: 1.2;
  }

  .cdash-metric-value {
    font-size: 22px;
  }

  .cdash-metric-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
    margin-left: 6px;
  }
}

@media (max-width: 380px) {
  .cdash-metric-box {
    padding: 11px 9px;
  }

  .cdash-metric-label {
    font-size: 9.5px;
  }

  .cdash-metric-value {
    font-size: 19px;
  }

  .cdash-metric-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
}