.navbar.custom-navbar {
  background: linear-gradient(90deg,#9f1e28 0%, #b83a3f 100%) !important;
}

.btn-primary {
  background-color: #b83a3f !important;
  border-color: #b83a3f !important;
  border-radius: 8px !important;
  padding: .5rem 1rem !important;
  box-shadow: 0 4px 12px rgba(184, 58, 63, 0.15);
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: #a13337 !important;
  border-color: #a13337 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 58, 63, 0.25);
}

/* Brand button utility */
.btn-brand {
  background-color: #b83a3f !important;
  border-color: #b83a3f !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(184, 58, 63, 0.15);
  transition: all 0.2s ease;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: #a13337 !important;
  border-color: #a13337 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 58, 63, 0.25);
}

.btn-outline-light {
  color: #fff !important;
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 10px !important;
  padding: .35rem .7rem !important;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  margin: 0;
  padding: 0;
  /* Page background image: replace the URL below with your preferred image or keep it in /static/ */
  background-image: url('/static/assets/lpu.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Fallback color */
  background-color: #f5f7fa;
}

.card-mac-style {
  border-radius: 12px;
  /* Make cards slightly translucent so the background shows through subtly */
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  /* Apple-like subtle border and shadow */
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 20px rgba(60,64,67,0.06);
}

.placeholder {
  background: #fbfbfd;
  border: 1px dashed #e6e9ef;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

/* Tables: slightly softer look */
.table thead th {
  background: #fafafa;
  border-bottom: 2px solid #eef2f7;
}
.table td, .table th {
  vertical-align: middle;
}

/* Responsive notification dropdown */
/* General rules for all screen sizes */
#notificationDropdownMenu {
  overflow-x: hidden !important;
  word-wrap: break-word !important;
}

#notificationDropdownMenu * {
  word-wrap: break-word !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

#notificationDropdownMenu .dropdown-item,
#notificationDropdownMenu .dropdown-item-text {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

#notificationDropdownMenu .text-truncate {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
}

#notificationDropdownMenu .d-flex {
  flex-wrap: wrap !important;
}

#notificationDropdownMenu .btn {
  flex-shrink: 0 !important;
}
/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  #notificationDropdownMenu {
    position: fixed !important;
    top: 70px !important;
    right: 10px !important;
    left: 10px !important;
    min-width: auto !important;
    max-width: none !important;
    width: auto !important;
    z-index: 1050 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    font-size: 0.85rem !important;
    padding: 0.5rem !important;
  }
  
  /* Compress notification content on mobile */
  #notificationDropdownMenu .dropdown-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
  }
  
  #notificationDropdownMenu .dropdown-item {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }
  
  #notificationDropdownMenu .dropdown-item-text {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
  }
  
  #notificationDropdownMenu .btn {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  
  #notificationDropdownMenu .btn-sm {
    padding: 0.2rem 0.4rem !important;
    font-size: 0.7rem !important;
  }
  
  #notificationDropdownMenu .d-flex {
    gap: 0.5rem !important;
  }
  
  #notificationDropdownMenu .me-2 {
    margin-right: 0.5rem !important;
  }
  
  #notificationDropdownMenu .me-3 {
    margin-right: 0.5rem !important;
  }
  
  #notificationDropdownMenu .mb-2 {
    margin-bottom: 0.5rem !important;
  }
  
  #notificationDropdownMenu .mb-3 {
    margin-bottom: 0.5rem !important;
  }
  
  #notificationDropdownMenu .py-3 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  #notificationDropdownMenu .text-muted {
    font-size: 0.8rem !important;
  }
  
  #notificationDropdownMenu .small {
    font-size: 0.75rem !important;
  }
  
  #notificationDropdownMenu .fw-medium {
    font-weight: 500 !important;
  }
  
  #notificationDropdownMenu .fw-bold {
    font-weight: 600 !important;
  }
  
  /* Prevent horizontal scrolling */
  #notificationDropdownMenu * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  
  #notificationDropdownMenu .text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
  }
  
  /* Fix "New" badge display */
  #notificationDropdownMenu .badge {
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  
  /* Specific fix for "New" badge text */
  #notificationDropdownMenu .badge span,
  #notificationDropdownMenu .badge {
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #notificationDropdownMenu {
    position: fixed !important;
    top: 80px !important;
    right: 15px !important;
    left: 15px !important;
    min-width: auto !important;
    max-width: none !important;
    width: auto !important;
    z-index: 1050 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    font-size: 0.9rem !important;
    padding: 0.6rem !important;
  }
  
  /* Compress notification content on small screens */
  #notificationDropdownMenu .dropdown-header {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.95rem !important;
  }
  
  #notificationDropdownMenu .dropdown-item {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  
  #notificationDropdownMenu .dropdown-item-text {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.9rem !important;
  }
  
  #notificationDropdownMenu .btn {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.8rem !important;
  }
  
  #notificationDropdownMenu .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
  
  #notificationDropdownMenu .d-flex {
    gap: 0.6rem !important;
  }
  
  #notificationDropdownMenu .me-2 {
    margin-right: 0.6rem !important;
  }
  
  #notificationDropdownMenu .me-3 {
    margin-right: 0.6rem !important;
  }
  
  #notificationDropdownMenu .mb-2 {
    margin-bottom: 0.6rem !important;
  }
  
  #notificationDropdownMenu .mb-3 {
    margin-bottom: 0.6rem !important;
  }
  
  #notificationDropdownMenu .py-3 {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }
  
  #notificationDropdownMenu .text-muted {
    font-size: 0.85rem !important;
  }
  
  #notificationDropdownMenu .small {
    font-size: 0.8rem !important;
  }
  
  /* Prevent horizontal scrolling */
  #notificationDropdownMenu * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  
  #notificationDropdownMenu .text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
  }
  
  /* Fix "New" badge display */
  #notificationDropdownMenu .badge {
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  
  /* Specific fix for "New" badge text */
  #notificationDropdownMenu .badge span,
  #notificationDropdownMenu .badge {
    white-space: nowrap !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #notificationDropdownMenu {
    min-width: 350px !important;
    max-width: 450px !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    word-wrap: break-word !important;
  }
  
  /* Prevent horizontal scrolling on tablets */
  #notificationDropdownMenu * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
  }
  
  #notificationDropdownMenu .dropdown-item {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #notificationDropdownMenu .dropdown-item-text {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #notificationDropdownMenu .text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
  }
  
  #notificationDropdownMenu .d-flex {
    flex-wrap: wrap !important;
  }
  
  #notificationDropdownMenu .btn {
    flex-shrink: 0 !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  #notificationDropdownMenu {
    min-width: 450px !important;
    max-width: 600px !important;
    max-height: 500px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    word-wrap: break-word !important;
  }
  
  /* Prevent horizontal scrolling on desktop */
  #notificationDropdownMenu * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
  }
  
  #notificationDropdownMenu .dropdown-item {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #notificationDropdownMenu .dropdown-item-text {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  #notificationDropdownMenu .text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
  }
  
  #notificationDropdownMenu .d-flex {
    flex-wrap: wrap !important;
  }
  
  #notificationDropdownMenu .btn {
    flex-shrink: 0 !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #notificationDropdownMenu {
    min-width: 500px !important;
    max-width: 700px !important;
    max-height: 600px !important;
  }
}

/* Filter inputs consistency */
#yearFilter, #sectionFilter, #roomFilter, #viewMode {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Ensure all form controls in filter row have same height */
.row.g-3 .form-select, .row.g-3 .form-control {
  height: 38px !important;
  line-height: 1.5 !important;
}

/* Ensure filter inputs are same size */
.row.g-3 .col-12.col-md-3 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
}

/* Small responsive tweaks */
@media (max-width: 767px) {
  .card-mac-style { padding: 1rem; }
  .navbar .navbar-brand .fs-5 { font-size: 1rem; }
  
  /* Ensure notification button stays visible */
  .navbar .d-flex.align-items-center {
    position: relative;
    z-index: 1051;
  }
  
  /* On mobile, make filter inputs full width */
  .row.g-3 .col-12.col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Tabs customization for Data Management */
.nav-tabs {
  border-bottom: none;
}
.nav-tabs .nav-link {
  color: #6c757d; /* muted grey for inactive */
  border: none;
  background: rgba(11,15,29,0.03);
  padding: .45rem .85rem;
  margin-right: .5rem;
  border-radius: 999px; /* pill-shaped like Apple buttons */
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.nav-tabs .nav-link:hover {
  background: rgba(11,15,29,0.06);
  color: #b83a3f;
  transform: translateY(-1px);
}
.nav-tabs .nav-link.active {
  color: #b83a3f;
  background: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(11,15,29,0.06);
  font-weight: 700;
}
.tab-pane { padding-top: .6rem; }

/* Data Management section: Apple-style controls */
#data-management-section .btn-outline-secondary,
#data-management-section .btn-outline-primary,
#data-management-section .btn-sm.btn-outline-secondary,
#data-management-section .btn-sm.btn-outline-primary {
  border-radius: 10px;
  padding: .35rem .65rem;
  background: transparent;
  border: 1px solid rgba(60,64,67,0.08);
  color: #475259;
  box-shadow: none;
}

#data-management-section .form-control {
  border-radius: 10px;
  border: 1px solid rgba(60,64,67,0.08);
  padding: .45rem .65rem;
  box-shadow: none;
}

#data-management-section .input-group .form-control {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

#data-management-section .input-group .btn {
  border-radius: 10px;
  margin-left: .25rem;
}

/* Make small refresh/upload buttons match Apple-style */
#data-management-section .btn-sm {
  border-radius: 8px;
  padding: .35rem .6rem;
}

/* Slightly soften tables inside Data Management */
#data-management-section .table {
  border-radius: .6rem;
  overflow: hidden;
}

/* Mac-style select dropdowns globally */
select.form-select, .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid rgba(60,64,67,0.08);
  padding: .45rem .9rem .45rem .65rem;
  background-image: linear-gradient(45deg, transparent 50%, #bfbfc4 50%), linear-gradient(135deg, #bfbfc4 50%, transparent 50%), linear-gradient(to right, rgba(0,0,0,0.02), rgba(0,0,0,0.02));
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px), 100% 0;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

/* Right padding to account for custom arrow */
select.form-select { padding-right: 2.4rem; }

/* Focus state */
select.form-select:focus { box-shadow: 0 6px 20px rgba(11,15,29,0.06); outline: none; }

/* On smaller devices keep rounded but compact */
@media (max-width: 767px) {
  select.form-select { border-radius: 8px; padding-right: 2rem; }
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 -2px 10px rgba(60,64,67,0.06);
  margin-top: auto;
}

.footer p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.footer .bi-c-circle {
  color: #b83a3f;
}

/* Ensure footer stays at bottom */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}

/* ===== CONSISTENT DESIGN IMPROVEMENTS ===== */

/* Admin page specific improvements */
.admin-dashboard .card-mac-style {
  background: rgba(255,255,255,0.95);
}

/* Consistent button styling across all pages */
.btn-outline-primary {
  border-color: #b83a3f;
  color: #b83a3f;
}

.btn-outline-primary:hover {
  background-color: #b83a3f;
  border-color: #b83a3f;
  color: white;
}

/* Responsive stacking for control cluster on small screens */
@media (max-width: 575.98px) {
  .controls-stack > * {
    width: 100% !important;
  }
}

/* Consistent modal styling */
.modal-content.card-mac-style {
  border-radius: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Consistent alert styling */
.alert {
  border-radius: 12px;
  border: none;
  font-weight: 500;
}

/* Consistent form styling across all pages */
.form-control, .form-select {
  border-radius: 12px;
  border: 2px solid rgba(60, 64, 67, 0.08);
  padding: 0.65rem 1rem;
  font-size: 1rem;
  background-color: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.form-control:focus, .form-select:focus {
  border-color: #b83a3f;
  box-shadow: 0 0 0 4px rgba(184, 58, 63, 0.1);
  outline: none;
}

/* Consistent spacing for all cards */
.card-mac-style {
  margin-bottom: 2rem;
}

/* Enhanced form controls for better UX */
.form-check-input:checked {
  background-color: #b83a3f;
  border-color: #b83a3f;
}

.form-check-input:focus {
  border-color: #b83a3f;
  box-shadow: 0 0 0 0.25rem rgba(184, 58, 63, 0.25);
}

/* Enhanced button hover effects */
.btn:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease-in-out;
}

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

/* Loading states */
.btn.loading {
  position: relative;
  color: transparent !important;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
  from { transform: rotate(0turn); }
  to { transform: rotate(1turn); }
}

/* Enhanced card hover effects */
.card:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 25px rgba(60,64,67,0.12);
}

/* Better focus states for accessibility */
.form-control:focus,
.form-select:focus,
.btn:focus {
  outline: 2px solid #b83a3f;
  outline-offset: 2px;
}

/* Enhanced badge styling */
.badge {
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* Tooltip enhancements */
.tooltip {
  font-size: 0.875rem;
}

/* Enhanced placeholder styling */
.placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  transition: all 0.3s ease;
}

.placeholder:hover {
  border-color: #b83a3f;
  background: linear-gradient(135deg, #fff5f5 0%, #f8f9fa 100%);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .card-mac-style {
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(100vw - 2rem) !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  /* Mobile-specific adjustments */
  .navbar-brand .fs-5 {
    font-size: 1.1rem !important;
  }
  
  .card-body {
    padding: 1rem !important;
  }
  
  /* Stack buttons vertically on mobile */
  .d-flex.gap-2 {
    flex-direction: column;
  }
  
  .d-flex.gap-2 > * {
    width: 100% !important;
    margin-bottom: 0.5rem;
  }
  
  /* Adjust icon sizes for mobile */
  .bi {
    font-size: 1rem;
  }
  
  .bi[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }
  
  .bi[style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }
  
  .bi[style*="font-size: 4rem"] {
    font-size: 2.5rem !important;
  }
}

/* Tablet adjustments */
@media (max-width: 992px) and (min-width: 769px) {
  .card-mac-style {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width: calc(100vw - 1rem) !important;
  }
  
  .row.g-4 {
    gap: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 576px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .card-mac-style {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    width: calc(100vw - 0.5rem) !important;
    border-radius: 0.75rem !important;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .form-control, .form-select {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  /* Make tooltips work better on small screens */
  .tooltip {
    font-size: 0.8rem;
  }
  
  /* Adjust spacing for very small screens */
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  
  .p-4 {
    padding: 1rem !important;
  }
  
  /* Stack form elements vertically */
  .row.g-3 > [class*="col-"] {
    margin-bottom: 1rem;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .card-mac-style {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .container.mt-4 {
    margin-top: 1rem !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card-mac-style {
    box-shadow: 0 8px 25px rgba(60,64,67,0.08);
  }
  
  .btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}

/* Animation for smooth transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Enhanced notification styling */
.alert {
  border: none;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
}

.alert-info {
  background: rgba(13, 202, 240, 0.2);
  color: #0c5460;
  border: 1px solid rgba(13, 202, 240, 0.3);
}

.alert-success {
  background: rgba(108, 117, 125, 0.15);
  color: #495057;
  border: 1px solid rgba(108, 117, 125, 0.25);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.2);
  color: #664d03;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.2);
  color: #721c24;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Enhanced form controls */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
  font-weight: 500;
}
.form-control:focus, .form-select:focus {
  border-color: #b83a3f;
  box-shadow: 0 0 0 0.2rem rgba(184, 58, 63, 0.25);
}

/* Enhanced labels */
.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

/* Enhanced badges */
.badge {
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

/* Enhanced card headers */
.card-header {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* Enhanced table styling */
.table {
  border-radius: 8px;
  overflow: hidden;
}
.table th {
  background: rgba(184, 58, 63, 0.05);
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

/* Enhanced dropdown styling */
.dropdown-menu {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Enhanced modal styling */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Enhanced spinner */
.spinner-border {
  width: 1.5rem;
  height: 1.5rem;
}

/* Enhanced tooltip styling */
.tooltip {
  font-size: 0.875rem;
}
.tooltip-inner {
  background-color: #212529;
  border-radius: 6px;
}

