/* ================================================
   INSPACE APP - PROFESSIONAL UI DESIGN SYSTEM
   ================================================ */

/* CSS Custom Properties - Design Tokens */
:root {
  /* Color Palette */
  --app-primary: #2563eb;
  --app-primary-hover: #1d4ed8;
  --app-primary-light: #dbeafe;
  --app-secondary: #64748b;
  --app-accent: #f59e0b;
  --app-success: #10b981;
  --app-warning: #f59e0b;
  --app-danger: #ef4444;

  /* Neutral Colors */
  --app-white: #ffffff;
  --app-gray-50: #f8fafc;
  --app-gray-100: #f1f5f9;
  --app-gray-200: #e2e8f0;
  --app-gray-300: #cbd5e1;
  --app-gray-400: #94a3b8;
  --app-gray-500: #64748b;
  --app-gray-600: #475569;
  --app-gray-700: #334155;
  --app-gray-800: #1e293b;
  --app-gray-900: #0f172a;

  /* Typography */
  --app-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  --app-font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas,
    "Courier New", monospace;

  /* Spacing Scale */
  --app-space-1: 0.25rem;
  --app-space-2: 0.5rem;
  --app-space-3: 0.75rem;
  --app-space-4: 1rem;
  --app-space-5: 1.25rem;
  --app-space-6: 1.5rem;
  --app-space-8: 2rem;
  --app-space-10: 2.5rem;
  --app-space-12: 3rem;
  --app-space-16: 4rem;

  /* Border Radius */
  --app-radius-sm: 0.375rem;
  --app-radius: 0.5rem;
  --app-radius-lg: 0.625rem; /* 10px for modals */
  --app-radius-xl: 1rem;
  --app-radius-full: 9999px;

  /* Shadows */
  --app-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --app-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --app-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --app-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --app-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --app-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --app-transition-fast: all 0.1s ease-out;
  --app-transition-slow: all 0.3s ease-out;

  /* Z-index Scale */
  --app-z-dropdown: 1000;
  --app-z-modal: 1050;
  --app-z-toast: 1060;
  --app-z-navbar: 1040;
}

/* ================================================
   BASE STYLES
   ================================================ */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  /* Remove height: 100% to fix sticky positioning */
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  /* Use min-height instead of height to fix sticky */
  background-color: var(--app-gray-50);
  color: var(--app-gray-800);
  font-family: var(--app-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-body {
  font-family: var(--app-font-family);
  line-height: 1.6;
  color: var(--app-gray-800);
  background-color: var(--app-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

/* ================================================
   CONTENT CONTAINER SYSTEM
   ================================================ */

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  min-height: 90vh;
}

.content-container-fluid {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.container-fluid {
  max-width: 1200px;
}

@media (max-width: 1199.98px) {
  .content-container {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .content-container,
  .content-container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ================================================
   NAVIGATION SYSTEM
   ================================================ */
.app-navbar {
  background: var(--app-white);
  border-bottom: 1px solid var(--app-gray-200);
  box-shadow: var(--app-shadow-sm);
  padding: 0;
  min-height: 4rem;
  top: 0;
  z-index: var(--app-z-navbar);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Brand Design */
.app-brand {
  text-decoration: none;
  color: inherit;
  transition: var(--app-transition);
}

.app-brand:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
}

.brand-container {
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--app-primary), var(--app-accent));
  border-radius: var(--app-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-white);
  font-size: 1.25rem;
  box-shadow: var(--app-shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--app-gray-900);
  letter-spacing: -0.025em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--app-gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Toggle */
.app-navbar-toggler {
  border: none;
  padding: var(--app-space-2);
  border-radius: var(--app-radius);
  background: var(--app-gray-100);
  transition: var(--app-transition);
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 2rem;
  height: 2rem;
  justify-content: center;
  align-items: center;
}

.app-navbar-toggler:hover {
  background: var(--app-gray-200);
  transform: scale(1.05);
}

.app-navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--app-primary-light);
  outline: none;
}

.toggler-icon {
  width: 14px;
  height: 2px;
  background: var(--app-gray-700);
  border-radius: 1px;
  transition: var(--app-transition);
}

.app-navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.app-navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.app-navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Main Navigation */
.app-nav-main {
  gap: var(--app-space-2);
}

.app-nav-link {
  position: relative;
  padding: var(--app-space-3) var(--app-space-4);
  border-radius: var(--app-radius);
  transition: var(--app-transition);
  text-decoration: none;
  font-weight: 500;
  color: var(--app-gray-600);
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: var(--app-space-2);
  position: relative;
}

.nav-icon {
  font-size: 1.125rem;
  transition: var(--app-transition);
}

.nav-text {
  font-size: 0.9375rem;
}

.nav-indicator {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--app-primary);
  border-radius: 1px;
  transition: var(--app-transition);
}

.app-nav-link:hover {
  color: var(--app-primary);
  background: var(--app-primary-light);
  text-decoration: none;
  transform: translateY(-1px);
}

.app-nav-link:hover .nav-indicator {
  transform: translateX(-50%) scaleX(1);
}

.app-nav-link.active {
  color: var(--app-primary);
  background: var(--app-primary-light);
  font-weight: 600;
}

.app-nav-link.active .nav-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Secondary Navigation */
.app-nav-secondary {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-section {
  display: flex;
  align-items: center;
}

/* Button Components */
.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--app-space-2) var(--app-space-4);
  border-radius: var(--app-radius);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--app-transition);
  cursor: pointer;
  line-height: 1.5;
  min-height: 2.5rem;
}

.app-btn-sm {
  padding: var(--app-space-1) var(--app-space-3);
  font-size: 0.8125rem;
  min-height: 2rem;
}

.app-btn-primary {
  background: var(--app-primary);
  color: var(--app-white);
  box-shadow: var(--app-shadow-sm);
}

.app-btn-primary:hover {
  background: var(--app-primary-hover);
  color: var(--app-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--app-shadow);
}

.app-btn-outline {
  background: transparent;
  color: var(--app-gray-600);
  border-color: var(--app-gray-300);
}

.app-btn-outline:hover {
  background: var(--app-gray-100);
  color: var(--app-gray-800);
  text-decoration: none;
  border-color: var(--app-gray-400);
}

.app-btn-admin {
  background: linear-gradient(135deg, var(--app-accent), #f97316);
  color: var(--app-white);
  box-shadow: var(--app-shadow-sm);
  font-weight: 600;
}

.app-btn-admin:hover {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: var(--app-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--app-shadow);
}

.app-btn-dashboard {
  background: linear-gradient(135deg, var(--app-primary), #0056b3);
  color: var(--app-white);
  box-shadow: var(--app-shadow-sm);
  font-weight: 600;
}

.app-btn-dashboard:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  color: var(--app-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--app-shadow);
}

/* User Menu */
.app-user-menu {
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
  padding: var(--app-space-2) var(--app-space-3);
  border-radius: var(--app-radius-lg);
  background: var(--app-gray-100);
  border: 1px solid var(--app-gray-200);
  transition: var(--app-transition);
  text-decoration: none;
  color: inherit;
  min-width: 180px;
}

.app-user-menu:hover {
  background: var(--app-gray-200);
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  box-shadow: var(--app-shadow-sm);
}

.app-user-menu:after {
  display: none;
}

.user-avatar {
  font-size: 1.5rem;
  color: var(--app-primary);
}

.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-weight: 600;
  color: var(--app-gray-900);
  font-size: 0.875rem;
}

.user-role {
  font-size: 0.75rem;
  color: var(--app-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown-arrow {
  font-size: 0.75rem;
  color: var(--app-gray-400);
  transition: var(--app-transition);
}

.app-user-menu[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.app-dropdown-menu {
  border: 1px solid var(--app-gray-200);
  box-shadow: var(--app-shadow-lg);
  border-radius: var(--app-radius-lg);
  padding: var(--app-space-2);
  min-width: 300px;
  margin-top: var(--app-space-2);
  background: var(--app-white);
}

.dropdown-header {
  padding: var(--app-space-3) var(--app-space-4);
  margin-bottom: var(--app-space-2);
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
}

.user-avatar-lg {
  font-size: 2rem;
  color: var(--app-primary);
}

.user-name-lg {
  font-weight: 600;
  color: var(--app-gray-900);
  font-size: 0.9375rem;
}

.user-email {
  font-size: 0.8125rem;
  color: var(--app-gray-500);
}

.app-dropdown-item {
  display: flex;
  align-items: center;
  padding: var(--app-space-3) var(--app-space-4);
  border-radius: var(--app-radius);
  transition: var(--app-transition);
  text-decoration: none;
  color: var(--app-gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--app-space-1);
}

.app-dropdown-item:hover {
  background: var(--app-gray-100);
  color: var(--app-gray-900);
  text-decoration: none;
  transform: translateX(2px);
}

.app-dropdown-item.text-danger {
  color: var(--app-danger);
}

.app-dropdown-item.text-danger:hover {
  background: #fef2f2;
  color: var(--app-danger);
}

.dropdown-item.app-notification-item {
  padding: 0.5rem 0.5rem;
  border-radius: var(--app-radius-sm);
}

.dropdown-item.app-notification-item:focus {
  background-color: var(--app-primary);
}

/* Navigation State Management */
.guest-nav {
  display: flex;
}
.user-nav {
  display: none;
}
.admin-nav {
  display: none;
}

.auth-state-user .guest-nav {
  display: none;
}
.auth-state-user .user-nav {
  display: flex;
}

.auth-state-manager .guest-nav {
  display: none;
}
.auth-state-manager .user-nav {
  display: flex;
}

.auth-state-manufacturer .guest-nav {
  display: none;
}
.auth-state-manufacturer .user-nav {
  display: flex;
}

.auth-state-reseller .guest-nav {
  display: none;
}
.auth-state-reseller .user-nav {
  display: flex;
}

.auth-state-admin .guest-nav {
  display: none;
}
.auth-state-admin .user-nav {
  display: flex;
}
.auth-state-admin .admin-nav {
  display: flex;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 991.98px) {
  .app-navbar {
    padding: var(--app-space-2) 0;
  }

  .nav-item.dropdown {
    width: 100%;
  }

  .brand-tagline {
    display: none;
  }

  .app-nav-main {
    margin: var(--app-space-4) 0;
    flex-direction: column;
    gap: var(--app-space-1);
  }

  .app-nav-secondary {
    flex-direction: column;
    gap: var(--app-space-3);
    width: 100%;
    margin-top: var(--app-space-4);
    padding-top: var(--app-space-4);
    border-top: 1px solid var(--app-gray-200);
  }

  .nav-section {
    width: 100%;
    justify-content: center;
  }

  .app-user-menu {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }

  .app-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: var(--app-space-3);
    background: transparent;
  }

  .app-dropdown-item {
    background: var(--app-gray-100);
    margin-bottom: var(--app-space-2);
  }
}

@media (max-width: 575.98px) {
  .brand-container {
    gap: var(--app-space-2);
  }

  .brand-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .app-nav-secondary {
    gap: var(--app-space-2);
  }

  .app-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus Management */
.app-btn:focus,
.app-nav-link:focus,
.app-user-menu:focus,
.app-dropdown-item:focus {
  outline: 2px solid var(--app-primary);
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: var(--app-primary-light);
  color: var(--app-primary);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid var(--app-gray-300);
  border-top-color: var(--app-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Main Content */
.main-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  width: 1199.98px;
  margin: 0 auto;
}

.page-header {
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--bs-secondary);
  margin-bottom: 0;
}

/* Cards */
.card {
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: var(--bs-light);
  border-bottom: 1px solid var(--bs-border-color);
  font-weight: 600;
}

/* Thin Card Styles for Offers */
.offer-card-thin {
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.15s ease-in-out;
  margin-bottom: 0;
}

.offer-card-thin:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.offer-card-thin .card-body {
  padding: 1rem 1.25rem;
}

/* Project Group Styles */
.project-group {
  border-bottom: 1px solid var(--bs-border-color-translucent);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem !important;
}

.project-group:last-child {
  border-bottom: none;
  margin-bottom: 0 !important;
}

.project-group h5 {
  color: var(--bs-primary);
  font-weight: 600;
}

.offers-grouped {
  margin-top: 1rem;
}

/* Responsive adjustments for thin cards */
@media (max-width: 768px) {
  .offer-card-thin .card-body {
    padding: 0.75rem 1rem;
  }

  .offer-card-thin .row {
    --bs-gutter-x: 1rem;
  }

  .offer-card-thin .col-md-6,
  .offer-card-thin .col-md-3 {
    margin-bottom: 0.75rem;
  }

  .offer-card-thin .col-md-3:last-child {
    margin-bottom: 0;
  }
}

/* Forms */
.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.input-group .form-control:focus {
  z-index: 5;
}

/* Buttons */
.btn {
  font-weight: 500;
  transition: all 0.15s ease-in-out;
}

.btn-group .btn {
  border-radius: 0.375rem;
}

/* Tables */
.table-component {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
}

.table thead th {
  background-color: var(--bs-light);
  border-bottom: 2px solid var(--bs-border-color);
  font-weight: 600;
  padding: 1rem 0.75rem;
  vertical-align: middle;
}

.table tbody td {
  padding: 0.75rem;
  vertical-align: middle;
}

.table .sortable {
  cursor: pointer;
  user-select: none;
}

.table .sortable:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.table .sort-icon {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.table .sortable:hover .sort-icon,
.table .sortable.active .sort-icon {
  opacity: 1;
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  text-align: center;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
  margin-bottom: 0;
  width: 60%;
}

/* Toast Notifications */
.toast-container {
  z-index: 1060;
}

.toast {
  min-width: 300px;
  max-width: 400px;
}

.toast-header .btn-close {
  margin-left: auto;
}

/* Notification Badge */
.notification-bell {
  position: relative;
  display: inline-block;
}

.notification-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  padding: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  min-width: 25px;
  min-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  animation: pulse-notification 2s infinite;
}

.notification-badge:empty,
.notification-badge[data-count="0"] {
  display: none;
}

.notification-badge.has-notifications {
  display: flex;
}

@keyframes pulse-notification {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.notification-bell:hover .notification-badge {
  animation: none;
}

/* Modals */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  border: none;
  border-radius: var(--app-radius-lg);
  box-shadow: var(--app-shadow-xl);
  background: var(--app-white);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--app-gray-200);
  padding: var(--app-space-6) var(--app-space-6) var(--app-space-4);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
}

.modal-title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--app-primary) 0%,
    var(--app-primary-hover) 100%
  );
  border-radius: var(--app-radius-full);
}

.modal-body {
  padding: var(--app-space-6);
  background: var(--app-white);
}

.modal-footer {
  border-top: 1px solid var(--app-gray-200);
  padding: var(--app-space-4) var(--app-space-6) var(--app-space-6);
  background: var(--app-gray-50);
  display: flex;
  gap: var(--app-space-3);
  justify-content: flex-end;
}

/* Login Modal Specific Styles */
.login-modal .modal-dialog {
  max-width: 480px;
  margin: 2rem auto;
}

.login-modal .modal-content {
  position: relative;
}

.login-modal .modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--app-primary) 0%,
    var(--app-accent) 50%,
    var(--app-primary-hover) 100%
  );
}

.login-form-group {
  position: relative;
  margin-bottom: var(--app-space-5);
}

.login-form-label {
  font-weight: 600;
  color: var(--app-gray-700);
  margin-bottom: var(--app-space-2);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.login-form-control {
  width: 100%;
  padding: var(--app-space-4) var(--app-space-4) var(--app-space-4)
    var(--app-space-12);
  border: 2px solid var(--app-gray-200);
  border-radius: var(--app-radius);
  font-size: 1rem;
  transition: var(--app-transition);
  background: var(--app-white);
  position: relative;
}

.login-form-control:focus {
  outline: none;
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px var(--app-primary-light);
  background: var(--app-white);
}

.login-form-icon {
  position: absolute;
  left: var(--app-space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-gray-400);
  font-size: 1.125rem;
  pointer-events: none;
  transition: var(--app-transition);
}

.login-form-control:focus + .login-form-icon {
  color: var(--app-primary);
}

.login-checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
  margin: var(--app-space-5) 0;
  padding: var(--app-space-4);
  background: var(--app-gray-50);
  border-radius: var(--app-radius);
  border: 1px solid var(--app-gray-200);
}

.login-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--app-gray-300);
  border-radius: var(--app-radius-sm);
  position: relative;
  cursor: pointer;
  transition: var(--app-transition);
}

.login-checkbox:checked {
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.login-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.login-footer-links {
  text-align: center;
  margin-top: var(--app-space-4);
  padding-top: var(--app-space-4);
  border-top: 1px solid var(--app-gray-200);
}

.login-footer-links a {
  color: var(--app-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--app-transition);
}

.login-footer-links a:hover {
  color: var(--app-primary-hover);
  text-decoration: underline;
}

/* Login Modal Button Styles */
.login-modal .btn {
  font-weight: 600;
  border-radius: var(--app-radius);
  padding: var(--app-space-3) var(--app-space-6);
  transition: var(--app-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--app-space-2);
  position: relative;
  overflow: hidden;
}

.login-modal .btn-primary {
  background: linear-gradient(
    135deg,
    var(--app-primary) 0%,
    var(--app-primary-hover) 100%
  );
  border: 2px solid var(--app-primary);
  color: white;
  box-shadow: var(--app-shadow);
}

.login-modal .btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--app-primary-hover) 0%,
    var(--app-primary) 100%
  );
  border-color: var(--app-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--app-shadow-lg);
}

.login-modal .btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--app-shadow);
}

.login-modal .btn-outline-secondary {
  background: var(--app-white);
  border: 2px solid var(--app-gray-300);
  color: var(--app-gray-700);
}

.login-modal .btn-outline-secondary:hover {
  background: var(--app-gray-50);
  border-color: var(--app-gray-400);
  color: var(--app-gray-800);
  transform: translateY(-1px);
  box-shadow: var(--app-shadow);
}

.login-modal .btn-lg {
  padding: var(--app-space-4) var(--app-space-8);
  font-size: 1.125rem;
  font-weight: 700;
}

/* Animation for login form elements */
.login-modal .modal-content {
  animation: loginModalSlideIn 0.3s ease-out;
}

@keyframes loginModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Loading state for login button */
.login-modal .btn-primary.loading {
  position: relative;
  color: transparent;
}

.login-modal .btn-primary.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================================================
   REGISTRATION PAGE STYLES
   ================================================ */

.register-card {
  background: var(--app-white);
  border-radius: var(--app-radius-xl);
  box-shadow: var(--app-shadow-xl);
  overflow: hidden;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.register-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--app-primary) 0%,
    var(--app-accent) 50%,
    var(--app-primary-hover) 100%
  );
}

.register-header {
  padding: var(--app-space-8) var(--app-space-6) var(--app-space-6);
  background: linear-gradient(
    135deg,
    var(--app-gray-50) 0%,
    var(--app-white) 100%
  );
  border-bottom: 1px solid var(--app-gray-200);
  text-align: center;
}

.register-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--app-space-4);
}

.register-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}

.register-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--app-gray-900);
  margin: 0;
  line-height: 1.2;
}

.register-subtitle {
  font-size: 1.125rem;
  color: var(--app-gray-600);
  margin: 0;
  font-weight: 500;
}

.register-body {
  padding: var(--app-space-6);
}

.register-result {
  margin-bottom: var(--app-space-6);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: var(--app-space-5);
}

.register-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--app-space-2);
}

.register-form-label {
  font-weight: 600;
  color: var(--app-gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.register-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.register-form-control {
  width: 100%;
  padding: var(--app-space-4) var(--app-space-4) var(--app-space-4)
    var(--app-space-12);
  border: 2px solid var(--app-gray-200);
  border-radius: var(--app-radius);
  font-size: 1rem;
  transition: var(--app-transition);
  background: var(--app-white);
  color: var(--app-gray-800);
}

.register-form-control:focus {
  outline: none;
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px var(--app-primary-light);
  background: var(--app-white);
}

.register-form-control:invalid {
  border-color: var(--app-danger);
}

.register-form-control:valid {
  border-color: var(--app-success);
}

.register-form-icon {
  position: absolute;
  left: var(--app-space-4);
  color: var(--app-gray-400);
  font-size: 1.125rem;
  pointer-events: none;
  transition: var(--app-transition);
  z-index: 2;
}

.register-form-control:focus + .register-form-icon {
  color: var(--app-primary);
}

.register-password-toggle {
  position: absolute;
  right: var(--app-space-4);
  background: none;
  border: none;
  color: var(--app-gray-400);
  font-size: 1rem;
  cursor: pointer;
  padding: var(--app-space-2);
  border-radius: var(--app-radius-sm);
  transition: var(--app-transition);
  z-index: 3;
}

.register-password-toggle:hover {
  color: var(--app-gray-600);
  background: var(--app-gray-100);
}

.register-password-requirements {
  margin-top: var(--app-space-2);
}

.register-checkbox-group {
  padding: var(--app-space-4);
  background: var(--app-gray-50);
  border-radius: var(--app-radius);
  border: 1px solid var(--app-gray-200);
  display: flex;
  flex-direction: column;
  gap: var(--app-space-3);
}

.register-checkbox-group .form-check {
  margin: 0;
}

.register-checkbox-group .form-check-label {
  color: var(--app-gray-700);
  font-size: 0.9rem;
  line-height: 1.4;
}

.register-checkbox-group .form-check-label a {
  color: var(--app-primary);
  text-decoration: none;
  font-weight: 600;
}

.register-checkbox-group .form-check-label a:hover {
  text-decoration: underline;
}

.register-submit-btn {
  width: 100%;
  padding: var(--app-space-4) var(--app-space-6);
  background: linear-gradient(
    135deg,
    var(--app-primary) 0%,
    var(--app-primary-hover) 100%
  );
  border: 2px solid var(--app-primary);
  border-radius: var(--app-radius);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  transition: var(--app-transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.register-submit-btn:hover {
  background: linear-gradient(
    135deg,
    var(--app-primary-hover) 0%,
    var(--app-primary) 100%
  );
  border-color: var(--app-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--app-shadow-lg);
}

.register-submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--app-shadow);
}

.register-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.register-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--app-space-2);
  transition: var(--app-transition);
}

.register-submit-btn.loading .register-btn-content {
  opacity: 0;
}

.register-submit-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.register-footer {
  padding: var(--app-space-4) var(--app-space-6) var(--app-space-6);
  background: var(--app-gray-50);
  border-top: 1px solid var(--app-gray-200);
  text-align: center;
}

.register-login-link {
  margin-bottom: var(--app-space-4);
  color: var(--app-gray-600);
  font-size: 0.95rem;
}

.register-login-link a {
  color: var(--app-primary);
  text-decoration: none;
  transition: var(--app-transition);
}

.register-login-link a:hover {
  color: var(--app-primary-hover);
  text-decoration: underline;
}

.register-security-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--app-space-4);
}

.security-badge {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--app-gray-600);
}

/* Success States */
.register-success {
  background: var(--app-success);
  color: white;
  padding: var(--app-space-4);
  border-radius: var(--app-radius);
  margin-bottom: var(--app-space-4);
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
}

.register-error {
  background: var(--app-danger);
  color: white;
  padding: var(--app-space-4);
  border-radius: var(--app-radius);
  margin-bottom: var(--app-space-4);
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
}

/* Validation States */
.register-form-control.is-invalid {
  border-color: var(--app-danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.register-form-control.is-valid {
  border-color: var(--app-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .register-card {
    margin: 0px;
    border-radius: var(--app-radius-lg);
  }

  .register-header {
    padding: var(--app-space-6) var(--app-space-4) var(--app-space-4);
  }

  .register-body {
    padding: var(--app-space-4);
  }

  .register-title {
    font-size: 1.75rem;
  }

  .register-subtitle {
    font-size: 1rem;
  }

  .register-security-badges {
    flex-direction: column;
    gap: var(--app-space-2);
  }
}

/* Badges */
.badge {
  font-weight: 500;
  font-size: 0.75em;
}

/* Status indicators */
.status-draft {
  color: var(--bs-secondary);
}
.status-submitted {
  color: var(--bs-primary);
}
.status-received {
  color: var(--bs-info);
}
.status-accepted {
  color: var(--bs-success);
}
.status-rejected {
  color: var(--bs-danger);
}
.status-cancelled {
  color: var(--bs-dark);
}

.status-confirmed {
  color: var(--bs-success);
}
.status-in-production {
  color: var(--bs-warning);
}
.status-shipped {
  color: var(--bs-info);
}
.status-delivered {
  color: var(--bs-success);
}

/* Breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  text-decoration: none;
  color: var(--bs-primary);
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Space hierarchy */
.space-tree {
  list-style: none;
  padding-left: 0;
}

.space-tree .space-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bs-border-color-translucent);
}

.space-tree .space-item:last-child {
  border-bottom: none;
}

.space-tree .space-item.depth-1 {
  padding-left: 1rem;
}
.space-tree .space-item.depth-2 {
  padding-left: 2rem;
}
.space-tree .space-item.depth-3 {
  padding-left: 3rem;
}
.space-tree .space-item.depth-4 {
  padding-left: 4rem;
}
.space-tree .space-item.depth-5 {
  padding-left: 5rem;
}

.space-tree .space-item::before {
  content: "└─";
  margin-right: 0.5rem;
  color: var(--bs-secondary);
}

.space-tree .space-item.has-children::before {
  content: "├─";
}

/* Project cards */
.project-card {
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
}

.project-card .card-img-top {
  height: 200px;
  object-fit: cover;
  background-color: var(--bs-light);
}

.project-featured-image {
  position: relative;
  overflow: hidden;
}

.project-featured-image .card-img-top {
  transition: transform 0.3s ease;
}

.project-card:hover .project-featured-image .card-img-top {
  transform: scale(1.05);
}

/* Item cards */
.item-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.item-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 0.25rem 0.5rem rgba(var(--bs-primary-rgb), 0.1);
}

.item-card .item-image {
  height: 150px;
  background-color: var(--bs-light);
  background-image: url("data:image/svg+xml,%3csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='a' patternUnits='userSpaceOnUse' width='20' height='20' patternTransform='scale(2) rotate(0)'%3e%3crect x='0' y='0' width='100%25' height='100%25' fill='%23f8f9fa'/%3e%3cpath d='m0 10h20v10h-20z' fill='%23e9ecef'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23a)'/%3e%3c/svg%3e");
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary);
  font-size: 3rem;
}

/* Brand Grouping Styles */
.store-info-header .store-logo {
  border: 1px solid var(--bs-border-color);
}

.store-logo-placeholder {
  border: 1px solid var(--bs-border-color);
}

.brand-group {
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: var(--app-radius-lg);
  background: var(--bs-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--bs-light), var(--bs-gray-50));
  border-bottom: 1px solid var(--bs-border-color-translucent);
  border-radius: var(--app-radius-lg) var(--app-radius-lg) 0 0;
}

.brand-logo {
  background: var(--bs-white);
}

.brand-logo-placeholder {
  border: 1px solid var(--bs-border-color);
}

.brand-items {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
}

.brand-items .item-card {
  margin-bottom: 1rem;
  border: 1px solid var(--bs-border-color-translucent);
}

.brand-items .item-card:last-child {
  margin-bottom: 0;
}

/* Reseller Information Styles */
.reseller-info {
  padding: 0.5rem;
  background: var(--bs-gray-50);
  border-radius: var(--app-radius-sm);
  border-left: 3px solid var(--bs-success);
}

.reseller-logo {
  border: 1px solid var(--bs-border-color);
  background: var(--bs-white);
}

.reseller-logo-placeholder {
  border: 1px solid var(--bs-border-color);
}

/* Proposition Store Logo Styles */
.reseller-avatar .reseller-store-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--app-radius-sm);
  object-fit: contain;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-white);
}

.reseller-avatar .reseller-store-placeholder {
  width: 40px;
  height: 40px;
  border-radius: var(--app-radius-sm);
  border: 1px solid var(--bs-border-color);
  background: var(--bs-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bs-secondary);
}

/* Override circular avatar style when store logo is present */
.reseller-avatar:has(.reseller-store-logo),
.reseller-avatar:has(.reseller-store-placeholder) {
  background: transparent;
  border-radius: var(--app-radius-sm);
  padding: 4px;
}

/* Offer summary */
.offer-summary {
  background-color: var(--bs-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.offer-summary .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.offer-summary .summary-row:last-child {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.1rem;
  border-top: 1px solid var(--bs-border-color);
  padding-top: 0.5rem;
}

/* Search and filters */
.search-bar {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.filter-group {
  display: flex;
  gap: 1rem;
  align-items: end;
}

.filter-group .form-group {
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .main-content {
    padding: 0.75rem;
    width: 100vw;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    margin-right: 0;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem !important;
  }

  .btn-group .btn:last-child {
    margin-bottom: 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .modal,
  .toast-container {
    display: none !important;
  }

  .main-content {
    margin: 0;
    padding: 0;
    max-width: 1199.98px;
  }

  .card {
    border: 1px solid #000;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .skeleton {
    background: linear-gradient(90deg, #3a3a3a 25%, #2a2a2a 50%, #3a3a3a 75%);
  }

  .item-image {
    background-image: url("data:image/svg+xml,%3csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='a' patternUnits='userSpaceOnUse' width='20' height='20' patternTransform='scale(2) rotate(0)'%3e%3crect x='0' y='0' width='100%25' height='100%25' fill='%23212529'/%3e%3cpath d='m0 10h20v10h-20z' fill='%23495057'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23a)'/%3e%3c/svg%3e");
  }
}

/* Utility classes */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.border-dashed {
  border-style: dashed !important;
}

.cursor-pointer {
  cursor: pointer;
}

.user-select-none {
  user-select: none;
}

.min-height-400 {
  min-height: 400px;
}

.max-width-600 {
  max-width: 600px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
  }

  .btn {
    border-width: 2px;
  }
}

/* ================================================
   FOOTER SYSTEM
   ================================================ */

.app-footer {
  background: var(--app-white);
  border-top: 1px solid var(--app-gray-200);
  color: var(--app-gray-600);
  font-size: 0.875rem;
  margin-top: auto;
  position: relative;
  bottom: 0;
}

#footer-container {
  position: relative;
  bottom: 0;
}

.app-footer a {
  color: var(--app-gray-600);
  text-decoration: none;
  transition: var(--app-transition-fast);
}

.app-footer a:hover {
  color: var(--app-primary);
}

.app-footer .footer-brand {
  font-weight: 600;
  color: var(--app-gray-800);
}

.app-footer .footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
  transition: var(--app-transition-fast);
}

.app-footer .footer-logo:hover {
  opacity: 1;
}

.app-footer .logo-slogan {
  flex-direction: column;
}

.align-items-center {
  font-size: 0.875rem;
}

/* Admin Footer */
.admin-footer {
  background: var(--app-gray-800);
  border-top: 1px solid var(--app-gray-700);
  color: var(--app-gray-300);
  font-size: 0.875rem;
  margin-top: auto;
}

.admin-footer a {
  color: var(--app-gray-300);
  text-decoration: none;
  transition: var(--app-transition-fast);
}

.admin-footer a:hover {
  color: var(--app-white);
}

.admin-footer .footer-brand {
  color: var(--app-white);
  font-weight: 600;
}

.admin-footer .footer-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--app-transition-fast);
}

.admin-footer .footer-logo:hover {
  opacity: 1;
}

/* Simple Footer */
.simple-footer {
  background: var(--app-gray-50);
  border-top: 1px solid var(--app-gray-200);
  color: var(--app-gray-500);
  font-size: 0.875rem;
  margin-top: auto;
}

.simple-footer a {
  color: var(--app-gray-500);
  text-decoration: none;
  transition: var(--app-transition-fast);
}

.simple-footer a:hover {
  color: var(--app-primary);
}

.simple-footer .footer-logo {
  height: 20px;
  width: auto;
  opacity: 0.7;
  transition: var(--app-transition-fast);
}

.simple-footer .footer-logo:hover {
  opacity: 1;
}

/* Footer Layout Utilities */
.min-vh-100 {
  min-height: 100vh;
}

.d-flex.flex-column.min-vh-100 .app-footer,
.d-flex.flex-column.min-vh-100 .admin-footer,
.d-flex.flex-column.min-vh-100 .simple-footer {
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .app-footer .footer-links,
  .admin-footer .footer-links,
  .simple-footer .footer-links {
    text-align: center !important;
    margin-top: var(--app-space-3);
  }

  .app-footer .footer-links a,
  .admin-footer .footer-links a,
  .simple-footer .footer-links a {
    display: block;
    margin: var(--app-space-1) 0;
  }
}

/* ================================================
   EMAIL VERIFICATION PAGE STYLES
   ================================================ */

.verify-card {
  background: var(--app-white);
  border-radius: var(--app-radius-xl);
  box-shadow: var(--app-shadow-xl);
  overflow: hidden;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.verify-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--app-primary) 0%,
    var(--app-success) 50%,
    var(--app-primary-hover) 100%
  );
}

.verify-header {
  padding: var(--app-space-8) var(--app-space-6) var(--app-space-6);
  background: linear-gradient(
    135deg,
    var(--app-gray-50) 0%,
    var(--app-white) 100%
  );
  border-bottom: 1px solid var(--app-gray-200);
  text-align: center;
}

.verify-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--app-space-4);
}

.verify-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}

.verify-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--app-space-3);
}

.verify-spinner {
  margin-bottom: var(--app-space-2);
}

.verify-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--app-gray-900);
  margin: 0;
  line-height: 1.2;
}

.verify-subtitle {
  font-size: 1rem;
  color: var(--app-gray-600);
  margin: 0;
  font-weight: 500;
}

.verify-body {
  padding: var(--app-space-6);
}

.verify-content {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--app-space-4);
}

/* Verification States */
.verify-success {
  text-align: center;
  padding: var(--app-space-6);
}

.verify-success-icon {
  width: 80px;
  height: 80px;
  background: var(--app-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--app-space-4);
  color: white;
  font-size: 2rem;
  animation: verifyPulse 2s ease-in-out;
}

.verify-error {
  text-align: center;
  padding: var(--app-space-6);
}

.verify-error-icon {
  width: 80px;
  height: 80px;
  background: var(--app-danger);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--app-space-4);
  color: white;
  font-size: 2rem;
}

.verify-resend {
  background: var(--app-gray-50);
  border: 1px solid var(--app-gray-200);
  border-radius: var(--app-radius);
  padding: var(--app-space-5);
  text-align: center;
  margin-top: var(--app-space-4);
}

.verify-resend-form {
  display: flex;
  flex-direction: column;
  gap: var(--app-space-4);
  max-width: 320px;
  margin: 0 auto;
}

.verify-email-input {
  padding: var(--app-space-3) var(--app-space-4);
  border: 2px solid var(--app-gray-200);
  border-radius: var(--app-radius);
  font-size: 1rem;
  transition: var(--app-transition);
}

.verify-email-input:focus {
  outline: none;
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px var(--app-primary-light);
}

.verify-resend-btn {
  padding: var(--app-space-3) var(--app-space-6);
  background: var(--app-primary);
  border: 2px solid var(--app-primary);
  border-radius: var(--app-radius);
  color: white;
  font-weight: 600;
  transition: var(--app-transition);
  cursor: pointer;
  position: relative;
}

.verify-resend-btn:hover {
  background: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--app-shadow-lg);
}

.verify-resend-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.verify-resend-btn.loading {
  color: transparent;
}

.verify-resend-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.verify-countdown {
  color: var(--app-gray-600);
  font-size: 0.9rem;
  margin-top: var(--app-space-2);
}

.verify-action-buttons {
  display: flex;
  gap: var(--app-space-3);
  justify-content: center;
  margin-top: var(--app-space-5);
}

.verify-btn {
  padding: var(--app-space-3) var(--app-space-6);
  border-radius: var(--app-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--app-transition);
  display: inline-flex;
  align-items: center;
  gap: var(--app-space-2);
}

.verify-btn-primary {
  background: var(--app-primary);
  color: white;
  border: 2px solid var(--app-primary);
}

.verify-btn-primary:hover {
  background: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--app-shadow-lg);
}

.verify-btn-outline {
  background: var(--app-white);
  color: var(--app-gray-700);
  border: 2px solid var(--app-gray-300);
}

.verify-btn-outline:hover {
  background: var(--app-gray-50);
  border-color: var(--app-gray-400);
  color: var(--app-gray-800);
  transform: translateY(-1px);
  box-shadow: var(--app-shadow);
}

.verify-footer {
  padding: var(--app-space-4) var(--app-space-6) var(--app-space-6);
  background: var(--app-gray-50);
  border-top: 1px solid var(--app-gray-200);
}

.verify-help {
  margin-bottom: var(--app-space-4);
}

.verify-help p {
  color: var(--app-gray-700);
  font-size: 0.9rem;
  margin-bottom: var(--app-space-2);
}

.verify-help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.verify-help-list li {
  color: var(--app-gray-600);
  font-size: 0.85rem;
  padding: var(--app-space-1) 0;
  padding-left: var(--app-space-5);
  position: relative;
}

.verify-help-list li::before {
  content: "•";
  color: var(--app-primary);
  position: absolute;
  left: var(--app-space-2);
  font-weight: bold;
}

.verify-security-info {
  text-align: center;
}

.verify-security-info .security-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--app-gray-600);
}

/* Animations */
@keyframes verifyPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.verify-fade-in {
  animation: verifyFadeIn 0.5s ease-out;
}

@keyframes verifyFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design for Verification */
@media (max-width: 768px) {
  .verify-card {
    margin: var(--app-space-4);
    border-radius: var(--app-radius-lg);
  }

  .verify-header {
    padding: var(--app-space-6) var(--app-space-4) var(--app-space-4);
  }

  .verify-body {
    padding: var(--app-space-4);
  }

  .verify-title {
    font-size: 1.5rem;
  }

  .verify-subtitle {
    font-size: 0.9rem;
  }

  .verify-action-buttons {
    flex-direction: column;
  }

  .verify-btn {
    justify-content: center;
  }
}

/* ================================================
   ADMIN USER MANAGEMENT STYLES
   ================================================ */

/* User table enhancements */
.admin-section .table th {
  background-color: var(--app-gray-50);
  border-bottom: 2px solid var(--app-gray-200);
  font-weight: 600;
  color: var(--app-gray-700);
  font-size: 0.875rem;
}

.admin-section .user-checkbox {
  cursor: pointer;
}

.admin-section .avatar {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* User details modal enhancements */
#userDetailsModal .modal-body h6 {
  color: var(--app-gray-700);
  border-bottom: 1px solid var(--app-gray-200);
  padding-bottom: var(--app-space-2);
  margin-bottom: var(--app-space-3);
}

#userDetailsModal .table-sm td {
  padding: 0.375rem 0.5rem;
  border: none;
}

#userDetailsModal .table-sm td:first-child {
  width: 40%;
  color: var(--app-gray-600);
}

/* Bulk actions styling */
.admin-section .bulk-actions-container {
  background-color: var(--app-gray-50);
  border: 1px solid var(--app-gray-200);
  border-radius: var(--app-radius);
  padding: var(--app-space-3);
  margin-bottom: var(--app-space-4);
}

/* User stats cards */
.admin-section .user-stats-container {
  margin-bottom: var(--app-space-6);
}

.admin-section .stat-card {
  background: linear-gradient(
    135deg,
    var(--app-white) 0%,
    var(--app-gray-50) 100%
  );
  border: 1px solid var(--app-gray-200);
  border-radius: var(--app-radius-lg);
  padding: var(--app-space-4);
  transition: all 0.2s ease;
}

.admin-section .stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.admin-section .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--app-gray-900);
}

.admin-section .stat-label {
  font-size: 0.875rem;
  color: var(--app-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced dropdown menus */
.admin-section .dropdown-menu {
  border: 1px solid var(--app-gray-200);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: var(--app-radius);
}

.admin-section .dropdown-item {
  font-size: 0.875rem;
  padding: var(--app-space-2) var(--app-space-4);
}

.admin-section .dropdown-item:hover {
  background-color: var(--app-gray-50);
}

.admin-section .dropdown-header {
  font-size: 0.75rem;
  color: var(--app-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pagination improvements */
.admin-section .pagination .page-link {
  color: var(--app-gray-600);
  border: 1px solid var(--app-gray-300);
  padding: 0.375rem 0.75rem;
}

.admin-section .pagination .page-item.active .page-link {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
}

.admin-section .pagination .page-link:hover {
  background-color: var(--app-gray-50);
  border-color: var(--app-gray-400);
}

/* Loading states */
.admin-section .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .admin-section .btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .admin-section .avatar {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  #userDetailsModal .modal-dialog {
    margin: var(--app-space-4);
  }
}

/* ================================================
   PROJECT DETAIL PAGE STYLES
   ================================================ */

.nav-tabs-line {
  border-bottom: 2px solid var(--app-gray-200);
}

.nav-tabs-line .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--app-gray-600);
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.2s ease;
}

.nav-tabs-line .nav-link:hover {
  color: var(--app-primary);
  border-bottom-color: var(--app-primary-light);
  background: none;
}

.nav-tabs-line .nav-link.active {
  color: var(--app-primary);
  border-bottom-color: var(--app-primary);
  background: none;
  font-weight: 600;
}

/* ================================================
   LANDING PAGE ENHANCEMENTS
   ================================================ */

/* Navbar scroll effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Landing page hero animations */
.hero-section .btn-hero {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced card hover effects */
.category-card:hover .category-overlay {
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.8));
}

/* Process step hover animation */
.process-step .process-number {
  transition: transform 0.3s ease;
}

.process-step:hover .process-number {
  transform: scale(1.1);
}

/* Feature card enhanced animations */
.feature-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.feature-card .feature-icon {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
}

/* Stat animation */
.stat-number {
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--app-primary-hover);
}

/* Landing page responsive improvements */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .category-card {
    height: 250px;
  }

  .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .btn-hero {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .category-card {
    height: 220px;
  }
}

/* Improved accessibility focus styles for landing page */
.btn-hero:focus,
.category-card:focus {
  outline: 2px solid var(--app-primary);
  outline-offset: 2px;
}

/* Enhanced loading skeleton for landing page */
.landing-skeleton {
  background: linear-gradient(
    90deg,
    var(--app-gray-200) 25%,
    var(--app-gray-100) 50%,
    var(--app-gray-200) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ================================================
   LANDING PAGE CONTENT ENHANCEMENTS
   ================================================ */

/* Badge enhancements */
.badge {
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Hero section trust indicators */
.hero-section .badge {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Category card product count badges */
.category-card .badge {
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Feature card enhancements */
.feature-card ul li {
  margin-bottom: 0.25rem;
}

.feature-card .bi-check {
  font-size: 0.875rem;
}

/* Testimonial card styling */
.card {
  border: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Stats section background */
.stats-section.bg-primary {
  background: linear-gradient(
    135deg,
    var(--app-primary) 0%,
    #1e40af 100%
  ) !important;
}

/* Enhanced button styles */
.btn-hero.btn-light {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-hero.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

/* Social proof logo styling */
.social-proof img {
  transition: all 0.3s ease;
  opacity: 0.6;
}

.social-proof img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Process step connection lines (pseudo elements) */
.process-step::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--app-primary), transparent);
  opacity: 0.3;
  display: none;
}

@media (min-width: 992px) {
  .process-step::after {
    display: block;
  }

  .process-step:last-child::after {
    display: none;
  }
}

/* Enhanced category overlay hover effect */
.category-card:hover .category-overlay {
  background: linear-gradient(
    to bottom,
    rgba(99, 102, 241, 0.1),
    rgba(99, 102, 241, 0.8)
  ) !important;
}

/* Improved responsive spacing */
@media (max-width: 768px) {
  .hero-section {
    min-height: 85vh;
  }

  .display-4 {
    font-size: 2.25rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .process-section,
  .py-5 {
    padding: 60px 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .btn-hero {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* ================================================
   PROPOSITION SELECTION SYSTEM STYLES
   ================================================ */

.proposition-card {
  background: white;
  border: 2px solid var(--app-gray-200);
  border-radius: var(--app-radius-lg);
  padding: var(--app-space-6);
  margin-bottom: var(--app-space-4);
  transition: all 0.2s ease;
  position: relative;
}

.proposition-card:hover {
  border-color: var(--app-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.proposition-card.selected {
  border-color: var(--app-success);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, white 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.proposition-card.selected::before {
  content: "✓";
  position: absolute;
  top: var(--app-space-3);
  right: var(--app-space-3);
  width: 24px;
  height: 24px;
  background: var(--app-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.proposition-card.disabled {
  opacity: 0.6;
  background: var(--app-gray-50);
  border-color: var(--app-gray-300);
  pointer-events: none;
}

.proposition-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.proposition-card.rejected {
  opacity: 0.5;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.05) 0%,
    var(--app-gray-50) 100%
  );
  border-color: var(--app-danger);
  pointer-events: none;
  position: relative;
}

.proposition-card.rejected::before {
  content: "✗";
  position: absolute;
  top: var(--app-space-3);
  right: var(--app-space-3);
  width: 24px;
  height: 24px;
  background: var(--app-danger);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.proposition-card.rejected:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--app-danger);
}

.proposition-card.accepted {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, white 100%);
  border-color: var(--app-primary);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
  pointer-events: none;
  position: relative;
}

.proposition-card.accepted::before {
  content: "✓";
  position: absolute;
  top: var(--app-space-3);
  right: var(--app-space-3);
  width: 24px;
  height: 24px;
  background: var(--app-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.proposition-card.accepted:hover {
  transform: none;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
  border-color: var(--app-primary);
}

.proposition-header {
  display: flex;
  justify-content: between;
  align-items: flex-start;
  margin-bottom: var(--app-space-4);
}

.reseller-info {
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
  flex: 1;
}

.reseller-avatar {
  width: 48px;
  height: 48px;
  background: var(--app-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.proposition-actions {
  display: flex;
  gap: var(--app-space-2);
  flex-shrink: 0;
}

.btn-view-details {
  padding: var(--app-space-2) var(--app-space-3);
  background: transparent;
  border: 1px solid var(--app-gray-300);
  border-radius: var(--app-radius);
  color: var(--app-gray-600);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-details:hover {
  background: var(--app-gray-100);
  border-color: var(--app-gray-400);
}

.btn-select-proposition {
  padding: var(--app-space-2) var(--app-space-4);
  background: var(--app-primary);
  border: 1px solid var(--app-primary);
  border-radius: var(--app-radius);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.btn-select-proposition:hover {
  background: var(--app-primary-hover);
  transform: translateY(-1px);
}

.btn-select-proposition.selected {
  background: var(--app-success);
  border-color: var(--app-success);
}

.btn-select-proposition.accepted {
  background: var(--app-primary);
  border-color: var(--app-primary);
  cursor: not-allowed;
  transform: none;
}

.btn-select-proposition.accepted:hover {
  background: var(--app-primary);
  border-color: var(--app-primary);
  transform: none;
}

.btn-select-proposition.rejected {
  background: var(--app-danger);
  border-color: var(--app-danger);
  cursor: not-allowed;
  transform: none;
}

.btn-select-proposition.rejected:hover {
  background: var(--app-danger);
  border-color: var(--app-danger);
  transform: none;
}

.btn-select-proposition:disabled {
  background: var(--app-gray-400);
  border-color: var(--app-gray-400);
  cursor: not-allowed;
  transform: none;
}

/* Rollback Proposition Button */
.btn-rollback-proposition {
  padding: var(--app-space-2) var(--app-space-3);
  background: var(--app-warning);
  border: 1px solid var(--app-warning);
  border-radius: var(--app-radius);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 90px;
  margin-right: var(--app-space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-rollback-proposition:hover {
  background: #d97706;
  border-color: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

.btn-rollback-proposition:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(249, 115, 22, 0.3);
}

.btn-rollback-proposition i {
  font-size: 0.85rem;
}

.price-breakdown {
  background: var(--app-gray-50);
  border-radius: var(--app-radius);
  padding: var(--app-space-4);
  margin-bottom: var(--app-space-4);
}

.price-row {
  display: flex;
  justify-content: between;
  margin-bottom: var(--app-space-2);
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.total {
  border-top: 1px solid var(--app-gray-200);
  padding-top: var(--app-space-2);
  font-weight: 600;
  font-size: 1.1rem;
}

.savings-highlight {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--app-radius);
  padding: var(--app-space-3);
  margin-bottom: var(--app-space-4);
  color: var(--app-success);
  font-weight: 600;
  text-align: center;
}

.section-card {
  background: white;
  border: 1px solid var(--app-gray-200);
  border-radius: var(--app-radius-lg);
  margin-bottom: var(--app-space-6);
  overflow: hidden;
}

.section-header {
  background: var(--app-gray-50);
  border-bottom: 1px solid var(--app-gray-200);
  padding: var(--app-space-4) var(--app-space-6);
}

.section-body {
  padding: var(--app-space-6);
}

.empty-propositions {
  text-align: center;
  padding: var(--app-space-16);
  color: var(--app-gray-500);
}

.empty-propositions-icon {
  font-size: 4rem;
  margin-bottom: var(--app-space-4);
  color: var(--app-gray-300);
}

/* Loading and notification enhancements */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

/* ================================================
   OVERVIEW STATISTICS BADGES
   ================================================ */

.overview-badges {
  margin: var(--app-space-6) 0;
}

.overview-badges h6 {
  color: var(--app-gray-700);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.stat-badge {
  background: var(--app-white);
  border: 1px solid var(--app-gray-200);
  border-radius: var(--app-radius-lg);
  padding: var(--app-space-4);
  display: flex;
  align-items: center;
  gap: var(--app-space-3);
  transition: all 0.2s ease;
  height: 100%;
  min-height: 80px;
}

.stat-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-badge-primary {
  border-left: 4px solid var(--app-primary);
}

.stat-badge-primary .stat-icon {
  background: var(--app-primary-light);
  color: var(--app-primary);
}

.stat-badge-info {
  border-left: 4px solid #0ea5e9;
}

.stat-badge-info .stat-icon {
  background: #e0f2fe;
  color: #0ea5e9;
}

.stat-badge-success {
  border-left: 4px solid var(--app-success);
}

.stat-badge-success .stat-icon {
  background: #dcfce7;
  color: var(--app-success);
}

.stat-badge-warning {
  border-left: 4px solid var(--app-warning);
}

.stat-badge-warning .stat-icon {
  background: #fef3c7;
  color: var(--app-warning);
}

.stat-badge-danger {
  border-left: 4px solid var(--app-danger);
}

.stat-badge-danger .stat-icon {
  background: #fee2e2;
  color: var(--app-danger);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--app-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--app-gray-900);
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-label {
  color: var(--app-gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.stat-extra {
  color: var(--app-gray-500);
  font-size: 0.75rem;
  font-weight: 400;
}

/* Clickable stat badge navigation styles */
.stat-badge-clickable {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.stat-badge-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: currentColor;
}

.stat-badge-clickable:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-nav-hint {
  font-size: 0.7rem;
  color: var(--app-gray-500);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-badge-clickable:hover .stat-nav-hint {
  opacity: 1;
}

.stat-badge-clickable .stat-nav-hint i {
  transition: transform 0.2s ease;
  font-size: 0.7rem;
}

.stat-badge-clickable:hover .stat-nav-hint i {
  transform: translateX(2px);
}

/* Enhanced hover states for specific badge types */
.stat-badge-clickable.stat-badge-primary:hover {
  border-left-color: var(--app-primary);
  background: rgba(var(--app-primary-rgb), 0.02);
}

.stat-badge-clickable.stat-badge-info:hover {
  border-left-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.02);
}

.stat-badge-clickable.stat-badge-success:hover {
  border-left-color: var(--app-success);
  background: rgba(var(--app-success-rgb), 0.02);
}

.stat-badge-clickable.stat-badge-warning:hover {
  border-left-color: var(--app-warning);
  background: rgba(var(--app-warning-rgb), 0.02);
}

/* Responsive stat badges */
@media (max-width: 768px) {
  .stat-badge {
    min-height: 70px;
    padding: var(--app-space-3);
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

/* Animation for new badges */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-badge {
  animation: fadeInUp 0.3s ease forwards;
}

.stat-badge:nth-child(2) {
  animation-delay: 0.1s;
}
.stat-badge:nth-child(3) {
  animation-delay: 0.2s;
}
.stat-badge:nth-child(4) {
  animation-delay: 0.3s;
}
.stat-badge:nth-child(5) {
  animation-delay: 0.4s;
}
.stat-badge:nth-child(6) {
  animation-delay: 0.5s;
}
.stat-badge:nth-child(7) {
  animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .proposition-header {
    flex-direction: column;
    gap: var(--app-space-3);
  }

  .proposition-actions {
    align-self: stretch;
  }

  .btn-select-proposition,
  .btn-view-details {
    flex: 1;
  }
}

/* ================================================
   PROPOSITION INDICATORS - RESELLER AVATARS & BADGES
   ================================================ */

/* Proposition indicators container */
.proposition-indicators {
  padding: var(--app-space-2) 0;
  border-top: 1px solid var(--app-gray-200);
  margin-top: var(--app-space-2);
}

/* Reseller avatars container */
.reseller-avatars-container {
  margin-bottom: var(--app-space-2);
}

.reseller-avatars {
  gap: var(--app-space-1);
}

/* Individual reseller avatar */
.reseller-avatar {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--app-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reseller-avatar:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Reseller logo image */
.reseller-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reseller logo placeholder */
.reseller-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--app-primary),
    var(--app-primary-hover)
  );
  color: var(--app-white);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* More resellers indicator */
.reseller-more .reseller-logo-placeholder {
  background: var(--app-gray-400);
  font-size: 9px;
}

/* Proposition badges */
.proposition-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--app-space-1);
}

.proposition-badges .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.proposition-badges .badge i {
  font-size: 0.65rem;
}

/* Responsive adjustments for proposition indicators */
@media (max-width: 768px) {
  .proposition-indicators {
    padding: var(--app-space-2) 0;
    margin-top: var(--app-space-2);
  }

  .reseller-avatar {
    width: 20px;
    height: 20px;
  }

  .reseller-logo-placeholder {
    font-size: 8px;
  }

  .reseller-more .reseller-logo-placeholder {
    font-size: 7px;
  }

  .proposition-badges .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.35rem;
  }
}

/* Animation for proposition indicators */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.proposition-indicators {
  animation: slideInFromLeft 0.3s ease forwards;
}

/* Tooltips for reseller avatars */
.reseller-avatar[title] {
  position: relative;
}

.reseller-avatar:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--app-gray-900);
  color: var(--app-white);
  padding: var(--app-space-1) var(--app-space-2);
  border-radius: var(--app-radius-sm);
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Adjust offer card to accommodate indicators */
.offer-card-thin .proposition-indicators {
  background: var(--app-gray-50);
  border-radius: var(--app-radius-sm);
  padding: var(--app-space-2);
  margin-top: var(--app-space-2);
  border: none;
}

/* ================================================
   REQUEST ANIMATIONS - DECLINE EFFECTS
   ================================================ */

/* Decline animation keyframes */
@keyframes decline-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

@keyframes decline-pulse {
  0% {
    background-color: #ffebee;
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
  }
  50% {
    background-color: #ffcdd2;
    box-shadow: 0 0 0 8px rgba(244, 67, 54, 0.1);
  }
  100% {
    background-color: #ffebee;
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
  }
}

@keyframes slide-out {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
  }
}

/* Decline animation class */
.animate-decline {
  animation: decline-shake 0.3s ease-in-out, decline-pulse 0.5s ease-in-out 0.1s;
  transform-origin: center;
}

/* Request row transition styles */
.request-row-declining {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.request-row-declining.fade-out {
  animation: slide-out 0.3s ease-out forwards;
}

.request-row-declining.collapse {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-width: 0 !important;
  transition: all 0.2s ease-out;
}

/* Success message for declined requests */
.decline-success-message {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: var(--app-radius);
  padding: var(--app-space-3) var(--app-space-4);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  animation: slide-in-from-top 0.3s ease-out;
}

@keyframes slide-in-from-top {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for decline button */
.btn-outline-danger:hover {
  transform: scale(1.02);
  transition: transform 0.1s ease-in-out;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Empty state animation */
.empty-requests-state {
  animation: fade-in-up 0.5s ease-out;
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Counter update animations */
.requests-count-update {
  animation: count-pulse 0.3s ease-out;
}

@keyframes count-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* ================================================
   DYNAMIC BUTTON STATES & SECTION ACTIONS
   ================================================ */

/* Section Header Actions */
.section-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.section-actions .btn-sm {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--app-radius-sm);
}

/* Disabled Submit State */
.disabled-submit {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
}

.disabled-submit:hover {
  opacity: 0.6 !important;
  transform: none !important;
}

/* Dynamic Button States */
.floating-btn.status-draft {
  background: var(--app-success);
  color: white;
}

.floating-btn.status-submitted {
  background: var(--app-warning);
  color: white;
}

.floating-btn.status-received {
  background: var(--app-danger);
  color: white;
}

.floating-btn.status-accepted {
  background: var(--app-primary);
  color: white;
}

/* Button Loading State Enhancement */
.btn .spinner-border-sm {
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.375rem;
}

/* Status-Based Button Animations */
.floating-btn[onclick*="performSubmitOffer"] {
  animation: pulse-success 2s infinite;
}

.floating-btn[onclick*="performCancelRequest"] {
  animation: pulse-warning 2s infinite;
}

@keyframes pulse-success {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-warning {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
}

/* Action Button Groups */
.section-actions .btn + .btn {
  margin-left: 0.5rem;
}

.section-actions .btn-success {
  background: var(--app-success);
  border-color: var(--app-success);
}

.section-actions .btn-success:hover {
  background: #059669;
  border-color: #059669;
}

.section-actions .btn-danger {
  background: var(--app-danger);
  border-color: var(--app-danger);
}

.section-actions .btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.section-actions .btn-warning {
  background: var(--app-warning);
  border-color: var(--app-warning);
  color: white;
}

.section-actions .btn-warning:hover {
  background: #d97706;
  border-color: #d97706;
  color: white;
}

/* Responsive Section Actions */
@media (max-width: 768px) {
  .section-header-new {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .section-actions .btn-sm {
    flex: 1;
    min-width: 120px;
  }
}

/**
* Enterprise Notification System Styles
* Professional notification dropdown with modern design
*/

/* ===== PROFESSIONAL NOTIFICATION STYLES ===== */

/* Base notification styles */
.notification-base {
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  overflow: hidden;
}

/* ===== DROPDOWN NOTIFICATIONS (COMPACT) ===== */
.notification-dropdown {
  padding: 8px 12px;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  background: white;
  min-height: 85px;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}

.notification-dropdown:hover {
  background: #f8fafc;
}

.notification-dropdown.unread {
  background: #f7f8ff;
  border-left: 3px solid #3b82f6;
}

.notification-dropdown.unread:hover {
  background: #f0f4ff;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

/* Dropdown icon */
.notification-dropdown .notification-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 8px;
}

/* Dropdown content - 5 line vertical layout */
.notification-dropdown .notification-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Line 1: Badge */
.notification-dropdown .notification-badge-line {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1px;
}

/* Line 2: Title */
.notification-dropdown .notification-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: #1f2937;
}

/* Line 3: Description */
.notification-dropdown .notification-message {
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Line 4: Time and type */
.notification-dropdown .notification-time-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 400;
  margin: 0;
}

/* Line 5: Action buttons */
.notification-dropdown .notification-actions-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.notification-dropdown .notification-actions-line .btn {
  padding: 2px 6px;
  font-size: 9px;
  border-radius: 3px;
  line-height: 1;
}

.notification-dropdown .badge {
  font-size: 9px;
  padding: 1px 4px;
  font-weight: 500;
  border-radius: 3px;
  flex-shrink: 0;
}

.notification-dropdown .type-badge {
  font-size: 8px;
  padding: 1px 4px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 3px;
  text-transform: capitalize;
}

/* Remove old styles - actions now shown in 5-line layout */

/* ===== PAGE NOTIFICATIONS (DETAILED) ===== */
.notification-page {
  padding: 20px 24px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  cursor: pointer;
}

.notification-page:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

.notification-page.unread {
  background: linear-gradient(135deg, #fefbff 0%, #f8fafc 100%);
  border-color: #3b82f6;
}

/* Page icon */
.notification-page .notification-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Page content */
.notification-page .notification-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.notification-page .notification-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.notification-page .notification-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: #1f2937;
}

.notification-page .notification-message {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-page .notification-time {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-page .notification-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}

.notification-page .badge {
  font-size: 11px;
  padding: 4px 8px;
  font-weight: 500;
  border-radius: 6px;
  flex-shrink: 0;
}

.notification-page .notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.notification-page .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
}

/* ===== ICON COLOR THEMES ===== */
.notification-icon.info {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
}
.notification-icon.success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
}
.notification-icon.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}
.notification-icon.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}
.notification-icon.system {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #7c3aed;
}
.notification-icon.system_alert {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  color: #ea580c;
}
.notification-icon.project {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}
.notification-icon.project_invite {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  color: #2563eb;
}
.notification-icon.project_update {
  background: linear-gradient(135deg, #f3e8ff 0%, #c4b5fd 100%);
  color: #8b5cf6;
}
.notification-icon.offer {
  background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
  color: #ca8a04;
}
.notification-icon.offer_status {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  color: #0f766e;
}
.notification-icon.order {
  background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
  color: #16a34a;
}
.notification-icon.team_joined {
  background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);
  color: #2563eb;
}
.notification-icon.workflow {
  background: linear-gradient(135deg, #f3e8ff 0%, #c4b5fd 100%);
  color: #8b5cf6;
}
.notification-icon.invitation {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  color: #ea580c;
}
.notification-icon.urgent {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
  color: #dc2626;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
}

.filter-tab:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.filter-tab.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .notification-page {
    padding: 16px 18px;
  }

  .notification-page .notification-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .notification-page .notification-actions {
    flex-direction: column;
    gap: 6px;
  }

  .notification-page .btn-sm {
    width: 100%;
    text-align: center;
  }
}
