@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --navbar-height: 4rem;

  /* Brand Colors - Enhanced palette */
  --brand-red: #c8102e;
  --brand-red-dark: #9a0c23;
  --brand-red-light: #e63950;
  --brand-red-glow: rgba(200, 16, 46, 0.15);
  --brand-navy: #0f2a4a;
  --brand-navy-dark: #081a2f;
  --brand-navy-light: #1a4270;
  --brand-navy-muted: #2d4a6a;
  --brand-navy-glow: rgba(15, 42, 74, 0.12);
  --brand-gold: #d4af37;
  --brand-gold-dark: #b8962e;
  --brand-gold-light: #e6c960;
  --brand-white: #ffffff;
  --brand-off-white: #f8f9fa;
  --brand-light-gray: #e9ecef;
  --brand-gray: #6c757d;
  --brand-dark-gray: #343a40;
  --brand-black: #1a1a1a;

  /* NEW: Primary = Navy, Secondary = Red */
  --primary-color: var(--brand-navy);
  --primary-rgb: 15, 42, 74;
  --primary-hover: var(--brand-navy-light);
  --primary-dark: var(--brand-navy-dark);

  --secondary-color: var(--brand-red);
  --secondary-rgb: 200, 16, 46;
  --secondary-hover: var(--brand-red-dark);
  --secondary-light: var(--brand-red-light);

  --accent-color: var(--brand-gold);
  --accent-hover: var(--brand-gold-light);

  --sidebar-bg: var(--brand-off-white);
  --text-dark: var(--brand-navy);
  --text-muted: var(--brand-navy-muted);
  --text-light: var(--brand-gray);
  --bs-border-color: var(--brand-light-gray);
  --primary-font: "Inter", sans-serif;
  font-family: var(--primary-font);
  --sidebar-width: 15.625rem;

  /* Enhanced shadows */
  --shadow-sm: 0 2px 8px rgba(15, 42, 74, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 42, 74, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 42, 74, 0.16);
  --shadow-glow-primary: 0 4px 20px rgba(15, 42, 74, 0.25);
  --shadow-glow-secondary: 0 4px 20px rgba(200, 16, 46, 0.25);
}

.btn-light {
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-active-color: var(--brand-white);
}

body {
  background-color: var(--brand-off-white);
  color: var(--text-dark);
}

.secondary-bg {
  background-color: var(--secondary-color);
}

.primary-bg {
  background-color: var(--primary-color);
}

.primary-text {
  color: var(--primary-color);
}

.secondary-text {
  color: var(--secondary-color);
}

/* Enhanced Primary Button - Navy with stunning hover */
.primary-btn {
  background-color: var(--primary-color);
  color: var(--brand-white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.primary-btn:hover {
  background-color: var(--primary-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-2px);
}
.primary-btn:active {
  transform: translateY(0);
  background-color: var(--primary-dark);
}

/* NEW: Secondary Button - Red accent */
.secondary-btn {
  background-color: var(--secondary-color);
  color: var(--brand-white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.secondary-btn:hover {
  background-color: var(--secondary-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-glow-secondary);
  transform: translateY(-2px);
}

/* Enhanced Gray Button */
.gray-btn {
  background-color: var(--brand-light-gray);
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gray-btn:hover {
  background-color: var(--brand-white);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* Enhanced Add New Button */
.btn-add-new {
  background-color: var(--brand-light-gray);
  width: 30px;
  height: 30px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-add-new:hover,
.btn-add-new:focus {
  background-color: var(--primary-color);
  color: var(--brand-white);
  box-shadow: var(--shadow-sm);
}

/* Enhanced Breadcrumb */
.breadcrumb li {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}
.breadcrumb li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.breadcrumb li a:hover {
  color: var(--secondary-color);
}
.breadcrumb li.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Enhanced Accordion */
.drive-accordion {
  --bs-accordion-btn-icon-width: 1rem;
}
.drive-accordion .accordion-item {
  padding: 0;
  border: 0;
  margin-bottom: 1.5rem;
}
.drive-accordion .accordion-item .accordion-button {
  padding: 0;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 0 !important;
  box-shadow: none;
  background-color: transparent;
  position: relative;
  z-index: 0;
}
.drive-accordion .accordion-item .accordion-button span {
  background-color: #fff;
}
.drive-accordion .accordion-item .accordion-button span + span {
  padding: 0 6px;
}
.drive-accordion .accordion-item .accordion-button:before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  opacity: 0.2;
  z-index: -1;
}
.drive-accordion .accordion-item .accordion-button::after {
  background-color: #fff;
  z-index: 1;
  position: relative;
}
.drive-accordion .accordion-body {
  padding: 1rem 0 0 0;
}

/* Enhanced Form Controls - Stunning inputs */
.form-control {
  box-shadow: none;
  font-size: 15px;
  height: 44px;
  border: 2px solid var(--brand-light-gray);
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--brand-white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-control:hover {
  border-color: var(--brand-navy-muted);
}
.form-control:focus-visible,
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(15, 42, 74, 0.1);
  background-color: var(--brand-white);
}
.form-control::placeholder {
  opacity: 0.5;
  font-size: 14px;
  color: var(--text-muted);
}

/* Enhanced Form Select */
.form-select {
  font-size: 15px;
  height: 44px;
  border: 2px solid var(--brand-light-gray);
  border-radius: 0.5rem;
  color: var(--text-dark);
  background-color: var(--brand-white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-select:hover {
  border-color: var(--brand-navy-muted);
}
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(15, 42, 74, 0.1);
}

/* File Attachment */
.file-attachment {
  position: relative;
  cursor: pointer;
}
.file-attachment input {
  position: absolute;
  font-size: 50px;
  opacity: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Enhanced Header/Nav */
header nav {
  background-color: var(--brand-off-white);
  border-bottom: 1px solid rgba(15, 42, 74, 0.08);
}
header .search-wrapper {
  width: 50%;
}
@media (min-width: 992px) {
  header .search-wrapper {
    flex-basis: 450px;
  }
}
@media (min-width: 1200px) {
  header .search-wrapper {
    flex-basis: 600px;
  }
}
header .search-wrapper .form-control {
  caret-color: var(--primary-color);
  background-color: var(--brand-white);
  border-color: var(--brand-light-gray);
}
header .search-wrapper .form-control:focus {
  background-color: var(--brand-white);
  border-color: var(--primary-color);
}
header .search-wrapper .form-control::placeholder {
  color: var(--text-muted);
}
header .search-wrapper .icon {
  color: var(--primary-color);
}

/* Enhanced Sidebar */
aside {
  z-index: 2;
  margin-top: var(--navbar-height);
  width: var(--sidebar-width);
  height: calc(100vh - var(--navbar-height));
  background-color: var(--sidebar-bg);
  transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96);
  border-right: 1px solid rgba(15, 42, 74, 0.06);
}
@media (min-width: 992px) {
  aside {
    height: 100vh;
    margin-top: 0;
  }
}
aside ::-webkit-scrollbar {
  width: 5px;
}
aside ::-webkit-scrollbar-track {
  background: var(--sidebar-bg);
}
aside ::-webkit-scrollbar-thumb {
  background: var(--brand-navy-muted);
  border-radius: 10px;
}
aside ::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}
aside .logo-wrapper {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
aside .logo-wrapper img {
  max-height: 54px;
}
aside .sidebar-menu-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
}
aside .sidebar-listing .menu-heading-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Sidebar Nav Links */
aside .sidebar-listing .nav-item .nav-link {
  padding: 0.6rem 1rem;
  font-size: 15px;
  color: var(--text-dark);
  text-wrap: nowrap;
  font-weight: 500;
  border-radius: 0.5rem;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
aside .sidebar-listing .nav-item .nav-link .icon {
  font-size: 18px;
  transition: color 0.25s ease;
}
aside .sidebar-listing .nav-item .nav-link .icon > i:last-of-type {
  display: none;
}
aside .sidebar-listing .nav-item .nav-link:hover {
  background-color: rgba(15, 42, 74, 0.08);
  color: var(--primary-color);
}
aside .sidebar-listing .nav-item .nav-link.active {
  color: var(--brand-white);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-navy-light) 100%);
  box-shadow: var(--shadow-md);
}
aside .sidebar-listing .nav-item .nav-link.active .icon > i:first-of-type {
  display: none;
}
aside .sidebar-listing .nav-item .nav-link.active .icon > i:last-of-type {
  display: block;
}
aside .sidebar-listing .nav-item .nav-link.collapsed .sidebar-arrow {
  transform: rotate(90deg) !important;
  transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96);
}
aside .sidebar-listing .nav-item ul .nav-link {
  opacity: 0.6;
  font-size: 0.875rem;
  transform: translateX(-5px);
}
aside .sidebar-listing .nav-item ul .nav-link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.sidebar-toggle {
  --sidebar-width: 0rem;
}
@media (min-width: 992px) {
  .sidebar-toggle {
    --sidebar-width: 15.625rem;
  }
}
.sidebar-toggle .btn-hamburger span,
.sidebar-toggle .btn-hamburger:hover span {
  transform: translate3d(0, 0, 0) rotate(0deg);
  transition-duration: 0.13s;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.sidebar-toggle .btn-hamburger span:before,
.sidebar-toggle .btn-hamburger:hover span:before {
  top: -6px;
  transform: rotate(0deg);
  transition: top 0.1s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, transform 0.13s
    cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.sidebar-toggle .btn-hamburger span:after,
.sidebar-toggle .btn-hamburger:hover span:after {
  top: -12px;
  bottom: -6px;
  opacity: 1;
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, opacity 0.1s linear;
}

/* Enhanced Navigation Bar */
nav {
  z-index: 1;
  width: 100%;
  height: var(--navbar-height);
  transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96);
}
@media (min-width: 992px) {
  nav {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }
}
nav .btn-hamburger {
  cursor: pointer;
}
nav .btn-hamburger span {
  display: block;
  margin-top: 0.6rem;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  top: auto;
  bottom: 0;
  transform: translate3d(0, -6px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
nav .btn-hamburger span:before,
nav .btn-hamburger span:after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 4px;
  position: absolute;
}
nav .btn-hamburger span:before {
  top: 0;
  transform: rotate(-90deg);
  transition: top 0.1s cubic-bezier(0.33333, 0, 0.66667, 0.33333) 0.16s, transform 0.13s
    cubic-bezier(0.215, 0.61, 0.355, 1) 0.25s;
}
nav .btn-hamburger span:after {
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1) 0.2s, opacity 0.1s linear;
}

/* Enhanced Nav Icons */
nav .nav-icons-wrapper span,
nav .nav-icons-wrapper .profile {
  cursor: pointer;
  color: var(--primary-color);
  transition: all 0.25s ease;
}
nav .nav-icons-wrapper span:hover,
nav .nav-icons-wrapper .profile:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}
nav .nav-icons-wrapper .profile-bio h6 {
  font-size: 14px;
  color: var(--brand-gold);
}
nav .nav-icons-wrapper .profile-bio p {
  font-size: 12px;
  color: var(--text-muted);
}
nav .nav-icons-wrapper .unread-badge {
  width: 8px;
  height: 8px;
  border-radius: 10rem;
  background-color: var(--secondary-color);
  top: -2px;
  right: -2px;
  box-shadow: 0 0 0 2px var(--brand-white);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Enhanced Profile Avatar */
nav .profile {
  width: 48px;
  height: 48px;
  border: 3px solid var(--brand-light-gray);
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-navy-light) 100%);
  transition: all 0.3s ease;
}
nav .profile:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.15);
}

/* Enhanced Dropdowns */
nav .dropdown {
  height: 100%;
  display: flex;
}
nav .dropdown .dropdown-menu {
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 42, 74, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}
nav .dropdown .dropdown-menu .dropdown-item {
  font-size: 14px;
  color: var(--text-dark);
  padding: 12px 16px;
  transition: all 0.2s ease;
}
nav .dropdown .dropdown-menu .dropdown-item span {
  color: currentColor;
}
nav .dropdown .dropdown-menu .dropdown-item:hover {
  color: var(--primary-color);
  background-color: rgba(15, 42, 74, 0.06);
}
nav .dropdown .dropdown-item {
  position: relative;
  transition: all 0.2s cubic-bezier(0.9, 0.03, 0, 0.96);
}
nav .dropdown .dropdown-item:hover,
nav .dropdown .dropdown-item:active {
  color: var(--primary-color);
  background-color: transparent !important;
}
nav .dropdown .dropdown-item:hover span,
nav .dropdown .dropdown-item:active span {
  color: var(--primary-color);
}
nav .dropdown .dropdown-item:hover:before,
nav .dropdown .dropdown-item:active:before {
  opacity: 0.06;
}
nav .dropdown .dropdown-item:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background-color: var(--primary-color);
  z-index: -1;
  transition: all 0.2s cubic-bezier(0.9, 0.03, 0, 0.96);
}

/* Enhanced Notifications Dropdown */
nav .dropdown.notifications-dropdown .dropdown-menu {
  width: 320px;
}
nav .dropdown.notifications-dropdown .dropdown-menu li:nth-child(1) {
  --secondary-color: var(--brand-red);
}
nav .dropdown.notifications-dropdown .dropdown-menu li:nth-child(2) {
  --secondary-color: var(--brand-navy);
}
nav .dropdown.notifications-dropdown .dropdown-menu li:nth-child(3) {
  --secondary-color: var(--brand-gold);
}
nav .dropdown.notifications-dropdown .dropdown-menu li:nth-child(4) {
  --secondary-color: #059669;
}
nav .dropdown.notifications-dropdown h4 {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 600;
}
nav .dropdown.notifications-dropdown .badge {
  font-weight: 600;
  color: var(--secondary-color);
  background-color: transparent;
}
nav .dropdown.notifications-dropdown .badge:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-color: var(--secondary-color);
  border-radius: 6px;
  z-index: -1;
}
nav .dropdown.notifications-dropdown .btn {
  color: var(--brand-white);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-navy-light) 100%);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
nav .dropdown.notifications-dropdown .btn:hover {
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-1px);
}
nav .dropdown.notifications-dropdown .notification-logo {
  color: var(--secondary-color);
  width: 44px;
  height: 44px;
}
nav .dropdown.notifications-dropdown .notification-logo:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-color: var(--secondary-color);
  border-radius: 10rem;
  z-index: -1;
}
nav .dropdown.notifications-dropdown .notification-content h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
nav .dropdown.notifications-dropdown .notification-content h6 span {
  color: var(--secondary-color);
}
nav .dropdown.notifications-dropdown .notification-content p {
  font-size: 12px;
  color: var(--text-muted);
}
nav .dropdown.notifications-dropdown .text-muted {
  color: var(--text-light) !important;
}

/* Enhanced Page Content */
.page-content {
  width: 100%;
  margin-top: var(--navbar-height);
  transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96);
  height: calc(100vh - var(--navbar-height)) !important;
  overflow-y: auto;
  background-color: var(--brand-white);
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -4px 20px rgba(15, 42, 74, 0.06);
}
@media (min-width: 992px) {
  .page-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }
}

/* Enhanced Dropdown Items */
.dropdown .dropdown-menu .dropdown-item {
  font-size: 14px;
  color: var(--text-dark);
  padding: 10px 14px;
  transition: all 0.2s ease;
}
.dropdown .dropdown-menu .dropdown-item:hover {
  color: var(--primary-color);
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-color);
  color: var(--brand-white);
}

/* Enhanced Upload Dropdown */
.upload-dropdown .dropdown-menu {
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 42, 74, 0.08);
  border-radius: 0.75rem;
  --bs-dropdown-divider-margin-y: 0.25rem;
}
.upload-dropdown .dropdown-menu li a {
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 14px !important;
  display: inline-flex;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.upload-dropdown .dropdown-menu li a:hover {
  color: var(--primary-color);
}
.upload-dropdown .dropdown-menu li a .icon {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.upload-dropdown .dropdown-menu li a:hover .icon {
  color: var(--secondary-color);
}

/* Enhanced Listing Items */
.listing-item {
  background-color: var(--brand-off-white);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-item:hover {
  background-color: var(--brand-white);
  border-color: rgba(15, 42, 74, 0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-item .icon-wrapper .icon {
  font-size: 20px;
  color: var(--primary-color);
  opacity: 0.8;
  transition: all 0.2s ease;
}
.listing-item:hover .icon-wrapper .icon {
  color: var(--secondary-color);
  opacity: 1;
}
.listing-item .item-text {
  flex: 1;
}
.listing-item .item-text > * {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}
.listing-item .item-action {
  margin-left: auto;
}
.listing-item .item-action a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.listing-item .item-action a:hover {
  color: var(--primary-color);
}
.listing-item .dropdown-menu li:not(:last-of-type) {
  border-bottom: 1px solid var(--brand-light-gray);
}
.listing-item .dropdown-menu .dropdown-item {
  display: flex;
  gap: 8px;
  font-weight: 400;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  border: none;
  opacity: 0.5;
}

.page-header:has(.page-navigator) {
  padding-top: 2rem;
}

/* Enhanced Page Navigator */
.page-navigator {
  position: absolute;
  top: 0;
  left: 0;
}
.page-navigator .btn {
  --bs-btn-disabled-opacity: 0.35;
  font-size: 1.5rem;
  color: var(--text-muted);
  display: inline-flex;
  border: none;
  transition: all 0.25s ease;
}
.page-navigator .btn i {
  display: inline-flex;
}
.page-navigator .btn:hover,
.page-navigator .btn:focus {
  color: var(--primary-color);
  border: none;
  transform: scale(1.1);
}

/* Enhanced Profile Image */
.profile-img {
  color: transparent;
  transition: all 0.3s ease;
  display: flex;
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-navy-light) 100%);
  box-shadow: var(--shadow-md);
}

.profile-img input {
  display: none;
}

.profile-img img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.35);
  z-index: 0;
}

.profile-img .label-overlay {
  cursor: pointer;
  height: 90px;
  width: 90px;
}

.profile-img:hover .label-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(15, 42, 74, 0.85);
  z-index: 10000;
  color: var(--brand-white);
  transition: background-color 0.2s ease-in-out;
  border-radius: 100px;
  margin-bottom: 0;
}

.profile-img span {
  display: inline-flex;
  padding: 0.2em;
  height: 2em;
}

.profile-img .overylay-txt {
  font-size: 14px;
  font-weight: 500;
}

.user-name-txt {
  color: var(--brand-white);
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  padding: 0;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 600;
}
nav .profile .user-name-txt {
  font-size: 1rem;
}

/* Enhanced Sign In Page */
.sign-in {
  background: linear-gradient(135deg, var(--brand-off-white) 0%, var(--brand-white) 50%, rgba(15, 42, 74, 0.03) 100%);
}
.sign-in .form-control {
  padding: 1rem 1.25rem;
  border: 2px solid var(--brand-light-gray);
  background-color: var(--brand-white);
  color: var(--text-dark);
  font-weight: 500;
}
.sign-in .form-control:hover {
  border-color: var(--brand-navy-muted);
}
.sign-in .form-control:focus-visible,
.sign-in .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(15, 42, 74, 0.1);
}
.sign-in ::placeholder {
  opacity: 0.5;
  color: var(--text-muted);
}

/* Enhanced Dark Background */
.dark-bg {
  background-color: var(--brand-navy-dark);
}

/* Enhanced Admin Portal */
body.admin-portal {
  background-color: var(--brand-navy-dark);
}
body.admin-portal aside {
  background: linear-gradient(180deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  --text-dark: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
body.admin-portal header nav {
  background-color: var(--brand-navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.admin-portal nav .nav-icons-wrapper span,
body.admin-portal nav .nav-icons-wrapper .profile {
  color: var(--brand-white);
}
body.admin-portal nav .nav-icons-wrapper span:hover {
  color: var(--secondary-color);
}
body.admin-portal aside .sidebar-listing .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.75);
}
body.admin-portal aside .sidebar-listing .nav-item .nav-link:hover {
  color: var(--brand-white);
  background-color: rgba(255, 255, 255, 0.1);
}
body.admin-portal aside .sidebar-listing .nav-item .nav-link.active {
  color: var(--brand-white);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--brand-red-light) 100%);
  box-shadow: var(--shadow-glow-secondary);
}
body.admin-portal nav .btn-hamburger span,
body.admin-portal nav .btn-hamburger span:before,
body.admin-portal nav .btn-hamburger span:after {
  background-color: var(--brand-white);
}
body.admin-portal aside .sidebar-listing .menu-heading-label {
  color: rgba(255, 255, 255, 0.5);
}

/* Enhanced Search Form */
.search-form .search-box-icon {
  right: 1.2rem;
  top: 9px;
  opacity: 0.6;
  color: var(--primary-color);
  transition: opacity 0.2s ease;
}
.search-form:focus-within .search-box-icon {
  opacity: 1;
}

/* Enhanced Upload File Input */
.upload-file-input {
  display: block;
  padding: 1rem 1rem;
  border: 2px dashed var(--brand-light-gray);
  border-radius: 0.75rem;
  cursor: pointer;
  color: var(--text-dark);
  background-color: var(--brand-off-white);
  transition: all 0.3s ease;
}
.upload-file-input:hover {
  border-color: var(--primary-color);
  background-color: rgba(15, 42, 74, 0.03);
}

/* Enhanced Table */
.table {
  --bs-table-hover-bg: rgba(15, 42, 74, 0.03);
}
.table tr th {
  padding: 1rem 0.75rem;
  position: relative;
  z-index: 0;
  font-size: 13px;
  text-wrap: nowrap;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.table tr th:before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--brand-off-white);
  opacity: 1;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
.table tr td {
  font-size: 14px;
  padding: 0.875rem 0.75rem;
  text-wrap: nowrap;
  vertical-align: middle;
  color: var(--text-dark);
  border-bottom: 1px solid var(--brand-light-gray);
}
.table tr:hover td {
  background-color: rgba(15, 42, 74, 0.02);
}
.table .badge {
  font-weight: 600;
  padding: 0.4em 0.8em;
  border-radius: 0.375rem;
}
.table .badge.green-col {
  background-color: #10b981;
}
.table .badge.red-col {
  background-color: var(--secondary-color);
}
.table .badge.blue-col {
  background-color: var(--primary-color);
}
.table .tb-action {
  background-color: transparent;
  border: none;
  transition: all 0.2s ease;
}
.table .tb-action.edit {
  color: var(--primary-color);
}
.table .tb-action.edit:hover {
  color: var(--brand-navy-light);
  transform: scale(1.1);
}
.table .tb-action.delete {
  color: var(--secondary-color);
}
.table .tb-action.delete:hover {
  color: var(--brand-red-dark);
  transform: scale(1.1);
}
.table .add-tag-action {
  transition: all 0.3s ease;
  border: none;
  color: var(--text-muted);
}
.table .add-tag-action:active {
  color: var(--primary-color);
  border: none;
}
.table .add-tag-action:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}
.table.table-header-white tr th:before {
  display: none;
}
.table .table-img {
  height: 46px;
  width: 46px;
  border-radius: 100px;
  border: 3px solid var(--brand-light-gray);
  transition: border-color 0.2s ease;
}
.table tr:hover .table-img {
  border-color: var(--primary-color);
}

/* Enhanced Pagination */
ul.pagination li a.page-link {
  font-size: 14px;
  border: none;
  color: var(--text-dark);
  opacity: 0.6;
  border-radius: 100px !important;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all 0.25s ease;
}
ul.pagination li a.page-link.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand-navy-light) 100%);
  color: var(--brand-white);
  opacity: 1;
  box-shadow: var(--shadow-sm);
}
ul.pagination li a.page-link:hover:not(.active) {
  opacity: 1;
  background-color: rgba(15, 42, 74, 0.08);
  color: var(--primary-color);
}

/* Enhanced Access List */
.p-access-list {
  max-height: 270px;
  overflow-y: auto;
}
.p-access-list .form-select {
  font-size: 14px;
}
.p-access-list .img-wrapper {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
.p-access-list li {
  transition: all 0.3s ease;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
}
.p-access-list li:hover {
  background-color: rgba(15, 42, 74, 0.06);
}

/* Enhanced 404 Page */
.oms-404 h1 {
  font-size: calc(3rem + 4.5vw);
  font-weight: 200;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 0 4px 20px rgba(15, 42, 74, 0.15);
}
@media (min-width: 1200px) {
  .oms-404 h1 {
    font-size: 10rem;
  }
}

/* Enhanced User Avatar */
.user-avator-order {
  height: 46px;
  width: 46px;
  flex: 0 0 auto;
  border-radius: 100px;
  border: 3px solid var(--brand-light-gray);
  transition: all 0.3s ease;
}
.user-avator-order:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

/* NEW: Link Styles */
a {
  color: var(--primary-color);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--secondary-color);
}

/* NEW: Focus States for Accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* NEW: Selection Color */
::selection {
  background-color: rgba(15, 42, 74, 0.2);
  color: var(--primary-color);
}

/* NEW: Label Styles */
label {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
}

/* NEW: Small/Helper Text */
.text-muted,
small {
  color: var(--text-light) !important;
}

/* NEW: Headings Enhancement */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
}
