/* ==============================================================================
   NRC SYSTEM - MODERN DESIGN SYSTEM & AESTHETIC REFRESH
   Ultra-modern typography, sleek dark navy gradients, glassmorphism & cards
   ============================================================================== */

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

:root {
  --nrc-primary: #010c5b;
  --nrc-primary-dark: #00083a;
  --nrc-accent: #2563eb;
  --nrc-accent-light: #38bdf8;
  --nrc-bg-main: #f8fafc;
  --nrc-card-bg: #ffffff;
  --nrc-border: #e2e8f0;
  --nrc-text-main: #0f172a;
  --nrc-text-muted: #64748b;
  --nrc-radius-sm: 8px;
  --nrc-radius-md: 12px;
  --nrc-radius-lg: 16px;
  --nrc-radius-xl: 22px;
  --nrc-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --nrc-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --nrc-shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--nrc-text-main) !important;
  background-color: var(--nrc-bg-main) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. MODERN SIDEBAR STYLING - EXPANDED & TOGGLED PROPORTIONALITY FIX
   ========================================================================== */

/* --- EXPANDED SIDEBAR (DEFAULT DESKTOP) --- */
.sidebar,
.sidebar.sidebar-light,
#accordionSidebar {
  width: 15.5rem !important;
  min-width: 15.5rem !important;
  min-height: 100vh !important;
  background: linear-gradient(180deg, #010c5b 0%, #031379 60%, #010838 100%) !important;
  box-shadow: 4px 0 24px rgba(1, 12, 91, 0.18) !important;
  border-right: none !important;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 100 !important;
}

.sidebar .sidebar-brand {
  height: 4.5rem !important;
  padding: 0.75rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.15) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-decoration: none !important;
}

.sidebar .sidebar-brand-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sidebar .sidebar-brand-icon img,
.sidebar #logoSidebar {
  max-height: 38px !important;
  max-width: 155px !important;
  object-fit: contain !important;
  background: #ffffff !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease !important;
}

/* Nav Item Spacing - KILL the legacy -15px negative margin */
.sidebar .nav-item {
  position: relative !important;
  margin: 3px 10px !important;
  margin-bottom: 3px !important;
  width: auto !important;
}

.sidebar .nav-item:last-child {
  margin-bottom: 0.75rem !important;
}

/* Nav Link in Expanded State */
.sidebar:not(.toggled) .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar:not(.toggled) .nav-item .nav-link i {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.95rem !important;
  width: 1.5rem !important;
  min-width: 1.5rem !important;
  margin-right: 0.75rem !important;
  margin-left: 0 !important;
  float: none !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}

.sidebar:not(.toggled) .nav-item .nav-link span {
  font-size: 0.86rem !important;
  display: inline-block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: inherit !important;
}

.sidebar:not(.toggled) .nav-item:hover .nav-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(2px) !important;
}

.sidebar:not(.toggled) .nav-item:hover .nav-link i {
  color: #38bdf8 !important;
}

.sidebar:not(.toggled) .nav-item.active .nav-link {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
  border-left: 3.5px solid #38bdf8 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.sidebar:not(.toggled) .nav-item.active .nav-link i {
  color: #38bdf8 !important;
}

.sidebar .sidebar-heading {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 1rem 1.25rem 0.35rem !important;
}

.sidebar hr.sidebar-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 0.5rem 1rem !important;
}

/* --- COLLAPSED / TOGGLED MINI-SIDEBAR --- */
.sidebar.toggled {
  width: 4.75rem !important;
  min-width: 4.75rem !important;
  overflow: visible !important;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar.toggled .sidebar-brand {
  height: 4.5rem !important;
  padding: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sidebar.toggled .sidebar-brand-icon {
  margin: 0 !important;
}

.sidebar.toggled .sidebar-brand-icon img,
.sidebar.toggled #logoSidebar {
  display: block !important;
  visibility: visible !important;
  max-height: 32px !important;
  max-width: 32px !important;
  padding: 3px !important;
  border-radius: 6px !important;
  object-fit: contain !important;
}

.sidebar.toggled .nav-item {
  margin: 4px 6px !important;
  margin-bottom: 4px !important;
  width: auto !important;
  text-align: center !important;
}

.sidebar.toggled .nav-item .nav-link {
  width: 100% !important;
  height: 3rem !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  text-align: center !important;
  background-color: transparent !important;
  transition: all 0.2s ease !important;
}

.sidebar.toggled .nav-item .nav-link i {
  font-size: 1.2rem !important;
  margin: 0 !important;
  float: none !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.75) !important;
  width: auto !important;
  min-width: auto !important;
}

/* Hide text and badges cleanly when collapsed */
.sidebar.toggled .nav-item .nav-link span,
.sidebar.toggled .nav-item .nav-link .badge,
.sidebar.toggled .sidebar-badge-config,
.sidebar.toggled .sidebar-heading,
.sidebar.toggled .sidebar-brand-text,
.sidebar.toggled .version {
  display: none !important;
}

.sidebar.toggled .nav-item:hover .nav-link {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: scale(1.05) !important;
}

.sidebar.toggled .nav-item:hover .nav-link i {
  color: #38bdf8 !important;
}

.sidebar.toggled .nav-item.active .nav-link {
  background: rgba(37, 99, 235, 0.35) !important;
  border-left: 3px solid #38bdf8 !important;
}

.sidebar.toggled .nav-item.active .nav-link i {
  color: #38bdf8 !important;
}

.sidebar.toggled hr.sidebar-divider {
  margin: 0.5rem 0.5rem !important;
}

/* ==========================================================================
   2. MODERN TOPBAR STYLING
   ========================================================================== */
.topbar.navbar-light.bg-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--nrc-border) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
  height: 4.25rem !important;
}

.topbar #sidebarToggleTop {
  color: var(--nrc-primary) !important;
  background: #f1f5f9 !important;
  border: 1px solid var(--nrc-border) !important;
  transition: all 0.2s ease !important;
}

.topbar #sidebarToggleTop:hover {
  background: var(--nrc-primary) !important;
  color: #ffffff !important;
}

.topbar-badge-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nrc-primary);
}

.topbar-badge-project i {
  color: var(--nrc-accent);
}

.topbar #userDropdown {
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  background: #f8fafc !important;
  border: 1px solid var(--nrc-border) !important;
  transition: all 0.2s ease !important;
}

.topbar #userDropdown:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.topbar #userDropdown .img-profile {
  border: 2px solid var(--nrc-accent-light) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.topbar #userDropdown .text-name {
  color: var(--nrc-text-main) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}

/* ==========================================================================
   3. MODERN CARDS & CONTAINERS
   ========================================================================== */
.card {
  border: 1px solid var(--nrc-border) !important;
  border-radius: var(--nrc-radius-md) !important;
  box-shadow: var(--nrc-shadow-sm) !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
}

.card:hover {
  box-shadow: var(--nrc-shadow-md) !important;
}

.card .card-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--nrc-border) !important;
  padding: 1.1rem 1.4rem !important;
  border-top-left-radius: var(--nrc-radius-md) !important;
  border-top-right-radius: var(--nrc-radius-md) !important;
}

.card .card-header h6,
.card .card-header h5 {
  font-weight: 700 !important;
  color: var(--nrc-primary) !important;
  letter-spacing: -0.01em !important;
}

.card-body {
  padding: 1.4rem !important;
}

/* ==========================================================================
   4. MODERN BUTTONS & BADGES
   ========================================================================== */
.btn {
  font-family: inherit !important;
  font-weight: 600 !important;
  border-radius: var(--nrc-radius-sm) !important;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.875rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--nrc-primary) 0%, #031c94 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(1, 12, 91, 0.25) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #021487 0%, #0526bd 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(1, 12, 91, 0.35) !important;
}

.btn-sm {
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8rem !important;
}

/* Status Pill Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1.2;
}

.badge-status-approved {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.badge-status-waiting {
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.badge-status-rejected {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

.badge-status-revised {
  background-color: #f5f3ff !important;
  color: #6d28d9 !important;
  border: 1px solid #ddd6fe !important;
}

/* ==========================================================================
   5. ULTRA-MODERN LOGIN SCREEN
   ========================================================================== */
.modern-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 2rem 1rem;
}

.modern-login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(1, 12, 91, 0.88) 0%, rgba(15, 23, 42, 0.94) 100%);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.modern-login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
}

.modern-login-card {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: var(--nrc-radius-xl) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  padding: 2.5rem 2.25rem !important;
  overflow: hidden;
}

.modern-login-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 1.1rem 1.5rem;
  border-radius: var(--nrc-radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--nrc-border);
}

.modern-login-logos.single-logo {
  padding: 1.25rem 2rem;
}

.modern-login-logos img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.2s ease;
}

.modern-login-logos.single-logo img {
  max-height: 54px;
  max-width: 220px;
}

.modern-login-logos .logo-divider {
  width: 1px;
  height: 34px;
  background: #cbd5e1;
}

.modern-login-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nrc-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  text-align: center;
}

.modern-login-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nrc-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  text-align: center;
}

.modern-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.modern-input-group i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.2s ease;
  pointer-events: none;
}

.modern-input-group input {
  padding-left: 2.85rem !important;
  height: 3.1rem !important;
  border-radius: var(--nrc-radius-md) !important;
  border: 1.5px solid var(--nrc-border) !important;
  font-size: 0.92rem !important;
  transition: all 0.2s ease !important;
  background: #f8fafc !important;
}

.modern-input-group input:focus {
  background: #ffffff !important;
  border-color: var(--nrc-accent) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}

.modern-input-group input:focus + i {
  color: var(--nrc-accent);
}

.btn-modern-login {
  height: 3.1rem;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: var(--nrc-radius-md) !important;
  background: linear-gradient(135deg, var(--nrc-primary) 0%, #1e3a8a 100%) !important;
  box-shadow: 0 4px 16px rgba(1, 12, 91, 0.35) !important;
  letter-spacing: 0.02em;
}

.btn-modern-login:hover {
  background: linear-gradient(135deg, #021487 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 20px rgba(1, 12, 91, 0.45) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   6. MODERN SETTINGS UI STYLING
   ========================================================================== */
.settings-nav-tabs .nav-link {
  border-radius: var(--nrc-radius-sm) !important;
  font-weight: 600 !important;
  color: var(--nrc-text-muted) !important;
  padding: 0.75rem 1.25rem !important;
  border: 1px solid transparent !important;
  margin-right: 0.5rem !important;
}

.settings-nav-tabs .nav-link.active {
  background: var(--nrc-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(1, 12, 91, 0.2) !important;
}

.settings-preview-card {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--nrc-radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.settings-preview-img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--nrc-radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   7. MODERN TABLES & DATATABLES (ELIMINATE OLD-SCHOOL THEME)
   ========================================================================== */
.table-responsive {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
}

.table {
  color: #1e293b !important;
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Kill pitch-black thead-dark with modern clean slate header */
.table thead.thead-dark th,
.table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-top: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-left: none !important;
  border-right: none !important;
  padding: 0.95rem 1.15rem !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.table tbody tr {
  transition: background-color 0.15s ease !important;
}

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

.table td {
  padding: 0.9rem 1.15rem !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 0.865rem !important;
  color: #1e293b !important;
}

/* Modern DataTables search & pagination */
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0.75rem !important;
}

.dataTables_wrapper .dataTables_filter label {
  font-weight: 600 !important;
  color: #475569 !important;
  font-size: 0.85rem !important;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0.45rem 0.85rem !important;
  font-size: 0.85rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  background-color: #ffffff !important;
  margin-left: 0.5rem !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.dataTables_wrapper .dataTables_length label {
  font-weight: 600 !important;
  color: #475569 !important;
  font-size: 0.85rem !important;
}

.dataTables_wrapper .dataTables_length select {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0.35rem 0.6rem !important;
  font-size: 0.85rem !important;
  margin: 0 0.4rem !important;
}

.dataTables_wrapper .dataTables_info {
  font-size: 0.82rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  padding-top: 0.85rem !important;
}

.dataTables_wrapper .dataTables_paginate {
  padding-top: 0.75rem !important;
}

.dataTables_wrapper .dataTables_paginate .pagination .page-item .page-link {
  border-radius: 8px !important;
  margin: 0 2px !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0.4rem 0.75rem !important;
}

.dataTables_wrapper .dataTables_paginate .pagination .page-item.active .page-link {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

/* ==========================================================================
   8. MODERN DASHBOARD STAT CARDS & METRIC WIDGETS
   ========================================================================== */
.card .col.mr-2 hr {
  display: none !important;
}

.card .text-xs.font-weight-bold.text-uppercase {
  color: #64748b !important;
  letter-spacing: 0.05em !important;
  font-size: 0.75rem !important;
  margin-bottom: 0.65rem !important;
}

.card .h4.font-weight-bold.text-gray-800 {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

.card .col-auto i.fa-2x {
  font-size: 1.35rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  transition: all 0.25s ease !important;
}

.card .col-auto i.fa-folder {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
}

.card .col-auto i.fa-exchange-alt {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0284c7 !important;
}

.card .col-auto i.fa-check-circle {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
}

.card .col-auto i.fa-times-circle {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
}

/* ==========================================================================
   9. MODERN BREADCRUMBS & BADGES
   ========================================================================== */
.breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 0.5rem !important;
}

.breadcrumb-item {
  font-size: 0.82rem !important;
}

.breadcrumb-item a {
  color: #64748b !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.breadcrumb-item a:hover {
  color: #2563eb !important;
}

.breadcrumb-item.active {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8 !important;
  content: "›" !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Soft Pastel Status Badges */
.badge {
  font-weight: 600 !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 9999px !important;
  letter-spacing: 0.02em !important;
}

.badge.badge-primary {
  background-color: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.badge.badge-success {
  background-color: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

.badge.badge-warning {
  background-color: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.badge.badge-danger {
  background-color: #fee2e2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}

.badge.badge-info {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

.badge.badge-secondary {
  background-color: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

.badge.badge-light {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

/* ==========================================================================
   10. MODERN FORM CONTROLS & LAYOUT SPACING
   ========================================================================== */
.form-control {
  border-radius: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0.55rem 0.95rem !important;
  font-size: 0.88rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

#content-wrapper {
  background-color: #f8fafc !important;
}

#content {
  background-color: #f8fafc !important;
}

#container-wrapper {
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
  padding-bottom: 2.5rem !important;
}

