/* Custom CSS for Importer Financing Management System */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary-blue: #1e55a8; /* Sidebar Blue approx */
  --sidebar-bg: var(--primary-blue);
  --active-menu: rgba(255, 255, 255, 0.15);
  --main-bg: #f8f9fa;
  --text-dark: #333;
  --text-muted: #888;
  --border-light: #e9ecef;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  
  /* Status Colors */
  --status-warning-bg: #fffbf0;
  --status-warning-border: #e6c05a;
  --status-warning-text: #b89230;

  --status-success-bg: #f0fdf4;
  --status-success-border: #72cc94;
  --status-success-text: #2a9d56;

  --status-danger-bg: #fef2f2;
  --status-danger-border: #f87171;
  --status-danger-text: #dc2626;
}

body {
  background-color: #ffffff; /* Main white bg for content, gray for potential outer */
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
  background-color: var(--sidebar-bg);
  color: #fff;
  width: 260px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 0;
  transition: transform 0.3s ease;
}

.sidebar-header {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.sidebar-menu {
  padding-top: 1rem;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: #fff;
  background-color: var(--active-menu);
  border-left: 4px solid #fff; /* Active indicator */
}

.sidebar .nav-link i {
  font-size: 1.1rem;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
  margin-left: 260px;
  padding: 2rem 3rem;
  background-color: #fff;
  min-height: 100vh;
}

/* Header Sections */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  
  /* Added for full-width border */
  border-bottom: 1px solid #eaeaea;
  margin-left: -3rem;
  margin-right: -3rem;
  margin-top: -2rem;
  padding: 0 3rem;
  height: 90px;
  background: white;
}

.search-bar {
  position: relative;
  width: 450px;
}

.search-bar input {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.75rem 1rem 0.75rem 2.8rem; /* Space for icon */
  font-size: 0.9rem;
  color: #666;
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.notification-bell {
  position: relative;
  font-size: 1.4rem;
  color: #c4c4c4;
  background: #f5f5f5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 6px;
  height: 6px;
  background-color: #ff4d4f;
  border-radius: 50%;
}

/* Page Title Section */
.page-title-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.page-title h1 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: #999;
  font-size: 0.85rem;
  font-weight: 300;
}

.badge-info-pill {
  background-color: var(--status-warning-bg);
  border: 1px solid var(--status-warning-border);
  color: var(--status-warning-text);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-info-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #e6c05a;
  border-radius: 50%;
}

/* Data Table Card */
.content-card {
  background: #fff;
  border: 1px solid #e9ecf1;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  padding: 0;
  margin-bottom: 3rem;
  overflow: hidden;
}

.custom-table {
  width: 100%;
  margin-bottom: 0;
}

.custom-table thead th {
  background-color: #fcfcfc;
  color: #888;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid #eaeaea;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.custom-table tbody td {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
  border-bottom: 1px solid #f0f0f0;
}

.ref-text {
  font-weight: 600;
  color: #222;
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.sub-link {
  color: var(--primary-blue);
  font-size: 0.8rem;
  text-decoration: none;
}

.importer-name {
  font-weight: 600;
  color: #222;
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.importer-loc {
  color: #999;
  font-size: 0.8rem;
}

.finance-amount {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
}

.currency {
  font-size: 0.75rem;
  color: #999;
  display: block;
  text-align: right;
  margin-top: -2px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  width: 100px;
  justify-content: center;
}

.status-attente {
  background-color: var(--status-warning-bg);
  border-color: var(--status-warning-border);
  color: var(--status-warning-text);
}

.status-approuve {
  background-color: var(--status-success-bg);
  border-color: var(--status-success-border);
  color: var(--status-success-text);
}

.status-rejete {
  background-color: var(--status-danger-bg);
  border-color: var(--status-danger-border);
  color: var(--status-danger-text);
}

/* Action Icons */
.actions-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-action {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1.5px solid #ddd;
  background: transparent;
  color: #666;
  transition: all 0.2s;
  padding: 0;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-action-check {
  border-color: #2a9d56;
  color: #2a9d56;
}
.btn-action-check:hover { background-color: #f0fdf4; }

.btn-action-add {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.btn-action-add:hover { background-color: #eef4fc; }

.btn-action-close {
  border-color: #dc2626;
  color: #dc2626;
}
.btn-action-close:hover { background-color: #fef2f2; }

.btn-action-view {
  border: none;
  color: #999;
  font-size: 1.2rem;
}
.btn-action-view:hover { color: #666; }

/* Action Dropdown */
.btn-dots {
  background: none;
  border: none;
  color: #999;
  font-size: 1.4rem;
  padding: 0 10px;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-dots:hover { color: var(--primary-blue); }

.dropdown-menu-soft {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 0.5rem;
  min-width: 180px;
}

.dropdown-item-soft {
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  transition: all 0.2s;
}

.dropdown-item-soft:hover {
  background-color: #f5f7f9;
  color: var(--primary-blue);
}

.dropdown-item-soft i {
  font-size: 1.1rem;
}

.dropdown-item-soft.text-danger:hover {
  background-color: #fef2f2;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.page-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dae1e7;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.page-item.active {
  background-color: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.page-item:hover:not(.active) {
  background-color: #f1f1f1;
}

.page-nav-arrow {
  font-size: 1.2rem;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/* --- Detail View Specific Styles --- */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-back-square {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  color: #333;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.btn-back-square:hover { background: #f5f5f5; color: #111; }

.detail-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.detail-subtitle {
  color: #888;
  font-size: 0.85rem;
}

.total-amount-label {
  text-align: right;
}
.total-amount-label span {
  display: block;
  font-size: 0.85rem;
  color: #888;
}
.total-amount-label strong {
  display: block;
  font-size: 1.5rem;
  color: #111;
  font-weight: 700;
}

/* Custom Tabs */
.custom-tabs {
  border-bottom: 2px solid #eaecf0;
  margin-bottom: 1.5rem;
}
.custom-tabs .nav-link {
  border: none;
  background: transparent;
  color: #888;
  font-weight: 600;
  padding: 1rem 1.5rem;
  position: relative;
  font-size: 1rem;
}
.custom-tabs .nav-link.active {
  color: var(--primary-blue);
}
.custom-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 3px 3px 0 0;
}

/* Action Cards */
.action-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.action-card:hover, .action-card.active { 
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px rgba(30, 85, 168, 0.15);
  transform: translateY(-2px);
}

.action-card.active {
    background-color: #f8faff;
}

.action-card-icon {
  width: 44px;
  height: 44px;
  background: #f1f3f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.action-card.active .action-card-icon {
    background-color: #f1f3f5;
    color: var(--primary-blue);
}

.action-card-content h5 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.action-card-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #888;
  line-height: 1.4;
}

.action-card-arrow {
  margin-left: auto;
  color: #ddd;
  font-size: 1rem;
}

.action-card.active .action-card-arrow {
    color: var(--primary-blue);
}

/* Inventory Section Styles */
.inventory-container {
    animation: slideDown 0.4s ease-out;
}

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

.inventory-section {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.inventory-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-header h5 {
    font-size: 1rem;
    font-weight: 500;
}

.btn-close-inventory {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.btn-close-inventory:hover { color: #fff; }

.inventory-body {
    padding: 2rem;
}

.sub-action-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s;
    cursor: pointer;
}

.sub-action-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.sub-action-card-icon {
    width: 44px;
    height: 44px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sub-action-card-content h6 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}

.sub-action-card-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.sub-action-card-arrow {
    margin-left: auto;
    color: #ddd;
    font-size: 0.9rem;
}

/* List Items Container */
.flux-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}
.flux-section-title i { color: #2a9d56; } /* Green check-like icon */

.list-item-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.list-item-card:hover { border-color: #ccc; }

.list-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.list-item-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a9d56; /* Greenish */
}

.list-item-details h6 {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 1rem;
  color: #222;
}

.list-item-details span {
  font-size: 0.8rem;
  color: #999;
}

.list-item-actions {
  display: flex;
  gap: 15px;
}
/* Flux View Navigation */
.flux-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.view-toggle-group {
    display: flex;
    background: #f1f3f5;
    padding: 0.35rem;
    border-radius: 50px;
}

.btn-toggle-view {
    border: none;
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    transition: all 0.2s;
}

.btn-toggle-view.active {
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-toggle-view:hover:not(.active) {
    color: #222;
}

/* Warehouse Tiles */
.warehouse-tile {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.warehouse-tile:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(30, 85, 168, 0.06);
    transform: translateY(-4px);
}

.warehouse-tile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.warehouse-icon {
    width: 48px;
    height: 48px;
    background: #eef4fc;
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.warehouse-icon.warning { background: #fff8eb; color: #f39c12; }

.warehouse-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.warehouse-info span {
    font-size: 0.8rem;
    color: #888;
}

.warehouse-occupancy .label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.warehouse-occupancy .value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
}

.warehouse-occupancy .progress {
    height: 6px;
    border-radius: 10px;
    background-color: #f1f3f5;
}

.btn-send-entrepot {
    margin-top: auto;
    border-radius: 10px;
    padding: 0.65rem;
    font-weight: 600;
    text-transform: none;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 576px) {
    .flux-view-header { flex-direction: column; align-items: flex-start; }
    .view-toggle-group { width: 100%; }
    .btn-toggle-view { flex: 1; text-align: center; }
}


/* Responsive Overrides */
/* Tablet View: Mini Sidebar (Icons Only) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sidebar { 
    width: 80px; 
    transform: none; /* Ensure it's visible */
  }
  
  .sidebar-header {
    padding: 0;
    justify-content: center;
    font-size: 0; /* Hide text */
  }
  
  .sidebar-header::before {
    content: '\F3FC'; /* Bootstrap Icon 'grid' or similar as logo placeholder if needed, or just blank */
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
    color: white;
  }
  
  .sidebar .nav-link {
    justify-content: center;
    padding: 1rem 0;
  }
  
  .sidebar .nav-link span {
    display: none; /* Hide text */
  }
  
  .sidebar .nav-link i {
    font-size: 1.5rem;
    margin: 0;
  }
  
  .main-content {
    margin-left: 80px; /* Adjust content margin */
    padding: 1.5rem;
  }
  
  /* Hide specific elements that don't fit */
  .search-bar { width: 300px; }
}

/* Mobile View: Off-canvas (< 768px) */
@media (max-width: 767.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 1.5rem; }
  .search-bar { display: none; }
  .top-header { margin-bottom: 1.5rem; }
  .page-title-section { flex-direction: column; gap: 15px; }
  .badge-info-pill { align-self: flex-start; }
  
  /* Additional mobile styles for Detail view */
  .detail-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .total-amount-label { text-align: left; }
}

/* Simulation Modal Styles */
.simulation-modal-content {
    border-radius: 16px;
}

.simulation-modal-header {
    background-color: var(--primary-blue);
}

.toggle-container-small {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 10px;
    display: flex;
    gap: 2px;
}

.btn-toggle-sm {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.btn-toggle-sm.active {
    background-color: #fff;
    color: var(--primary-blue);
}

.simulation-input-card {
    border: 2px solid #e0e6ed;
    border-radius: 14px;
    min-height: 140px;
    display: flex;
    align-items: center;
}

.simulation-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #00215e;
}

/* Selection View Specifics */
.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.article-info h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.stock-status {
    font-size: 0.75rem;
    color: #999;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.btn-qty {
    border: none;
    background: transparent;
    color: #ccc;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.btn-qty.active {
    color: #00215e;
}

.btn-qty i { vertical-align: middle; }

.qty-value {
    font-weight: 800;
    font-size: 1rem;
    color: #111;
    min-width: 15px;
    text-align: center;
}

.selection-result-card {
    background-color: #ced9e8; /* Light blue-greyish */
    border: 2px solid #aebfd4;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.result-title {
    color: #00215e;
    font-size: 1rem;
}

.selection-result-card .label {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.selection-result-card .value {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.text-warning-amount {
    color: #ffcc29;
    font-weight: 800;
    font-size: 1.6rem;
}

.simulation-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
}

.simulation-info-card {
    background-color: #00215e;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 33, 94, 0.15);
}

.text-warning {
    color: #ffcc29 !important;
}

.btn-warning-custom {
    background-color: #ffcc29;
    color: #00215e;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-warning-custom:hover {
    background-color: #f7b500;
    transform: translateY(-2px);
    color: #00215e;
}

/* Encaissement Modal Styles */
.encaissement-modal-content {
    border-radius: 20px;
}

.encaissement-modal-header {
    background-color: #2a9d56; /* Vibrant green from image */
}

.encaissement-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

.encaissement-amount-input {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 2.5rem;
    font-weight: 800;
    color: #6c757d;
    width: 100%;
}

.encaissement-amount-input:focus {
    box-shadow: none;
    background: transparent;
}

.encaissement-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6c757d;
    margin-left: 1rem;
}

.encaissement-ref-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.95rem;
    color: #333;
}

.encaissement-ref-input:focus {
    border-color: #2a9d56;
    box-shadow: 0 0 0 0.2rem rgba(42, 157, 86, 0.1);
}

.btn-confirm-encaissement {
    background-color: #ffcc29;
    color: #00215e;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-confirm-encaissement:hover {
    background-color: #f7b500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 41, 0.2);
    color: #00215e;
}

/* Liberer Page Styles */
.bg-primary-blue {
    background-color: #1e55a8 !important;
}

.border-primary-blue {
    border: 2px solid #1e55a8 !important;
}

.btn-primary-blue {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-primary-blue:hover {
    background-color: #1a4a94;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 85, 168, 0.2);
    color: #fff;
}

.extra-small {
    font-size: 0.75rem;
}

.qty-selector-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.btn-qty-mod {
    border: none;
    background: transparent;
    color: #bbb;
    font-size: 1rem;
    padding: 0 4px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-qty-mod:hover {
    color: #1e55a8;
}

.qty-value-mod {
    font-weight: 800;
    font-size: 1.2rem;
    color: #333;
    min-width: 20px;
    text-align: center;
}

.liberer-summary-card {
    background-color: #f1f4f9;
    border: 1px solid #ddecff;
    border-radius: 12px;
}

.summary-box {
    background: #fff;
    border: 1px solid #ccd9ea;
    border-radius: 12px;
    min-height: 120px;
}
/* Financement Page Styles */
.finance-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.finance-card {
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
    background: #fff;
    min-height: 120px;
}

.finance-card.blue {
    border: 1px solid #1e55a8;
    background-color: #f0f7ff;
}

.finance-card.green {
    border: 1px solid #2a9d56;
    background-color: #e6f9ed;
}

.finance-card.yellow {
    border: 1px solid #ffcc29;
    background-color: #fff9e6;
}

.finance-card h6 {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.finance-card .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111;
    margin-top: 10px;
    display: block;
}

.finance-card .currency {
    font-size: 0.8rem;
    color: #6c757d;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-weight: 600;
}

.finance-card .card-icon-top {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #6c757d;
}

/* Table Styles */
.finance-table-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
}

.finance-table th {
    background-color: #fdfdfd;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #888;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.finance-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.finance-table td .amount-main {
    display: block;
    font-weight: 700;
    color: #111;
    font-size: 1.05rem;
}

.finance-table td .date-sub {
    font-size: 0.75rem;
    color: #888;
}

.action-btns {
    display: flex;
    gap: 15px;
    color: #888;
}

.action-btns i {
    cursor: pointer;
    transition: color 0.2s;
}

.action-btns i:hover {
    color: var(--primary-blue);
}

/* Action Modal/Dropdown */
.btn-action-trigger {
    background: none;
    border: none;
    padding: 5px;
    color: #888;
}

.dropdown-menu-custom {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
/* Installment Details Page */
.installment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.installment-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.installment-header-row h4 {
    color: #111;
    font-weight: 700;
    margin-bottom: 5px;
}

.btn-quit-edit {
    background-color: #fce4e4;
    color: #cc2b2b;
    border: 1px solid #f5c2c2;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-quit-edit:hover {
    background-color: #f8d7da;
    color: #cc2b2b;
}

.tranche-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    background: #fff;
}

.tranche-number {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
    flex-shrink: 0;
}

.tranche-field {
    flex: 1;
}

.tranche-field label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 8px;
    font-weight: 500;
}

.tranche-input-static {
    background: #f1f3f7;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #111;
}

.btn-delete-tranche {
    color: #ccc;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.btn-delete-tranche:hover {
    color: #dc3545;
}

.installment-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.btn-add-custom-tranche {
    border: 2px dashed #ccd9ea;
    background: none;
    padding: 1.25rem;
    border-radius: 20px;
    color: #6c757d;
    font-weight: 600;
    font-size: 1rem;
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-add-custom-tranche:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f8fbff;
}

.btn-save-installment {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(30, 85, 168, 0.2);
}

.btn-save-installment:hover {
    background-color: #1a4a94;
    color: #fff;
}

/* Marchandise Page Styles */
.logistics-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
}

.logistics-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.logistics-icon {
    width: 45px;
    height: 45px;
    background: #1e55a8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.logistics-title-group h6 {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.logistics-title-group h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0;
}

.logistics-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-item label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}

.info-item span {
    display: block;
    font-weight: 700;
    color: #111;
    font-size: 0.85rem;
}

.info-item span.highlight-blue {
    color: #1e55a8;
}

.consolidated-value-card {
    background: #1e55a8;
    background: linear-gradient(135deg, #1e55a8 0%, #15428a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.consolidated-value-card h6 {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 15px;
}

.consolidated-amount-wrapper {
    margin-bottom: 20px;
}

.consolidated-amount {
    font-size: 1.75rem;
    font-weight: 800;
}

.consolidated-currency {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 10px;
}

.distinct-articles-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.distinct-articles-tag i {
    font-size: 1rem;
}

.btn-add-article {
    background: #1e55a8;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-add-article:hover {
    background: #15428a;
    color: #fff;
}

.merchandise-table-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.merchandise-table {
    width: 100%;
    border-collapse: collapse;
}

.merchandise-table th {
    background: #fdfdfd;
    padding: 1rem 1.5rem;
    text-align: left;
    color: #888;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

.merchandise-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

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

.merchandise-name {
    display: block;
    font-weight: 700;
    color: #111;
    font-size: 1rem;
    margin-bottom: 2px;
}

.merchandise-category {
    font-size: 0.75rem;
    color: #aaa;
}

.merchandise-qty, .merchandise-unit-price, .merchandise-total-price {
    font-weight: 700;
    color: #333;
}

.merchandise-total-price {
    color: #1e55a8;
}

.btn-delete-article {
    color: #ccc;
    background: none;
    border: none;
    transition: color 0.2s;
}

.btn-delete-article:hover {
    color: #dc3545;
}

/* Add Article Modal Styles */
.custom-modal-header {
    background-color: #1e55a8;
    color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.custom-modal-content {
    border-radius: 14px;
    border: none;
    overflow: hidden;
}

.modal-form-label {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 8px;
}

.modal-input-custom {
    background-color: #f1f3f7;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.modal-input-custom:focus {
    background-color: #fff;
    border-color: #1e55a8;
    box-shadow: none;
}

.modal-select-custom {
    background-color: #f1f3f7;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.btn-save-article-modal {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-top: 1rem;
}

.btn-save-article-modal:hover {
    background-color: #15428a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 85, 168, 0.2);
}


/* Documents Page Styles */
.docs-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.docs-side-buttons {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-doc-filter {
    border: none;
    border-radius: 12px;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s;
    width: 100%;
}

.btn-doc-filter.blue {
    background-color: #1e55a8;
    color: #fff;
}

.btn-doc-filter.green {
    background-color: #27ae60;
    color: #fff;
}

.btn-doc-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.docs-list-card {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.docs-list-header {
    padding: 1rem 1.5rem;
    background-color: #fdfdfd;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.docs-list-header span {
    color: #888;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-download-all {
    color: #1e55a8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.doc-item-row {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.doc-item-row:last-child {
    border-bottom: none;
}

.doc-item-row:hover {
    background-color: #f8fbff;
}

.doc-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
}

.doc-icon-box.green {
    background-color: #e6f7ef;
    color: #27ae60;
}

.doc-icon-box.orange {
    background-color: #fff4e6;
    color: #f39c12;
}

.doc-details {
    flex: 1;
}

.doc-name {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.doc-date {
    font-size: 0.7rem;
    color: #aaa;
}

.doc-actions {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 1rem;
}

.doc-actions i {
    cursor: pointer;
    transition: color 0.2s;
}

.doc-actions i:hover {
    color: #1e55a8;
}

.btn-new-doc {
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-new-doc:hover {
    background-color: #219150;
    color: #fff;
}

.btn-doc-filter {
    opacity: 0.5; /* Default inactive */
}

.btn-doc-filter.active {
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Importateurs Page Styles */
.page-title-group {
    margin-bottom: 2rem;
}

.page-title-group h2 {
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.page-title-group p {
    color: #888;
    font-size: 0.9rem;
}

.importer-table-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.importer-table {
    width: 100%;
}

.importer-table th {
    background: #fdfdfd;
    padding: 1.25rem 1.5rem;
    color: #888;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.importer-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.client-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: #f1f4f9;
    color: #1e55a8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.client-info h6 {
    margin-bottom: 2px;
    font-weight: 700;
    color: #111;
}

.client-info span {
    font-size: 0.75rem;
    color: #1e55a8;
    text-decoration: underline;
}

.niu-text {
    color: #6c757d;
    font-weight: 500;
}

.encours-main {
    display: block;
    font-weight: 700;
    color: #333;
}

.encours-sub {
    font-size: 0.7rem;
    color: #aaa;
}

.grade-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.grade-a {
    background-color: #f0fdf4;
    color: #27ae60;
    border-color: #27ae60;
}

.grade-b {
    background-color: #fff9e6;
    color: #f39c12;
    border-color: #f39c12;
}

.btn-fiche-client {
    background-color: #f1f3f7;
    color: #888;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-fiche-client:hover {
    background-color: #e9ecef;
    color: #111;
}

.btn-add-importer {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-add-importer:hover {
    background-color: #15428a;
    color: #fff;
}

/* Client Profile Page (Fiche Client) */
.client-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.client-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-header-text h3 {
    margin-bottom: 0px;
    font-weight: 800;
    color: #111;
}

.client-header-text p {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 0;
}

.client-action-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon-outline {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    background: #fff;
    transition: all 0.2s;
}

.btn-icon-outline:hover {
    border-color: #1e55a8;
    color: #1e55a8;
}

.btn-new-dossier {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.metric-icon-small {
    width: 32px;
    height: 32px;
    background: #f1f3f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
}

.metric-card p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
}

.metric-currency {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
    margin-left: 5px;
}

.profile-tabs-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 2rem;
}

.list-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
}

.container-dossier-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.container-dossier-card:hover {
    border-color: #1e55a8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    color: inherit;
}

.box-icon-wrapper {
    width: 50px;
    height: 50px;
    background: #f8fbff;
    border: 1px solid #eef3f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e55a8;
    font-size: 1.25rem;
}

.card-main-info {
    flex: 1;
}

.card-main-info h5 {
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
    font-size: 1.15rem;
}

.dossier-tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dossier-id-sub {
    font-size: 0.75rem;
    color: #aaa;
}

.badge-location {
    background-color: #f1f3f7;
    color: #888;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.card-right-metrics {
    text-align: right;
    margin-right: 3rem;
}

.card-right-metrics label {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 2px;
}

.card-right-metrics span {
    display: block;
    font-weight: 700;
    color: #111;
    font-size: 1.1rem;
}

.status-pills {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-status-blue {
    background-color: #eef3fe;
    color: #1e55a8;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.badge-status-green-light {
    background-color: #e6f7ef;
    color: #27ae60;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.chevron-link {
    color: #ccc;
    font-size: 1rem;
}

/* Permanent Documents Styles */
.doc-permanent-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0.75rem;
}

.doc-perm-icon {
    width: 40px;
    height: 40px;
    background: #f8fbff;
    border: 1px solid #eef3f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.1rem;
}

.doc-perm-info {
    flex: 1;
}

.doc-perm-info h6 {
    margin-bottom: 2px;
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

.doc-perm-info span {
    font-size: 0.65rem;
    color: #aaa;
}

.doc-perm-actions {
    display: flex;
    gap: 15px;
    color: #bbb;
    font-size: 1.1rem;
}

.doc-perm-actions i {
    cursor: pointer;
    transition: color 0.2s;
}

.doc-perm-actions i:hover {
    color: #1e55a8;
}

.btn-update-docs-dotted {
    width: 100%;
    margin-top: 1.5rem;
    border: 2px dashed #ddd;
    background: transparent;
    border-radius: 12px;
    padding: 1.25rem;
    color: #888;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-update-docs-dotted:hover {
    border-color: #1e55a8;
    color: #1e55a8;
    background: #f8fbff;
}

/* Modal Option Styles */
.modal-option-card {
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-option-card:hover {
    border-color: #1e55a8;
    background-color: #f8fbff;
    transform: translateY(-5px);
}

.modal-option-icon {
    font-size: 2rem;
    color: #1e55a8;
}

.modal-option-title {
    font-weight: 700;
    color: #333;
}

/* Risk & Analysis Page Styles */
.risk-card-white {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #333;
}

.risk-row-item {
    background: #f8fbff;
    border: 1px solid #eef3f9;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.risk-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.risk-value-text {
    font-weight: 700;
    font-size: 0.95rem;
}

.risk-value-text.green { color: #27ae60; }
.risk-value-text.yellow { color: #f39c12; }

.risk-card-dark {
    background: #00225d;
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.diagnostic-title-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.diagnostic-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.diagnostic-text {
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.diagnostic-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.last-analysis-date {
    color: #f39c12;
    font-size: 0.85rem;
    font-weight: 600;
}

.ai-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ai-status-badge i {
    color: #f39c12;
}

.ai-impact-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Warehouse Page Styles */
.wh-summary-card {
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid #eee;
}

.wh-summary-card.blue {
    background: #1e55a8;
    color: #fff;
    border: none;
}

.wh-summary-card.white {
    background: #fff;
}

.wh-summary-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wh-summary-value {
    font-size: 2rem;
    font-weight: 800;
}

.wh-summary-sub {
    font-size: 0.85rem;
    opacity: 0.8;
}

.wh-summary-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.wh-summary-icon-box.yellow { background: #fff9e6; color: #f39c12; }
.wh-summary-icon-box.green { background: #e6f7ef; color: #27ae60; }

.wh-filter-container {
    background: #f1f3f7;
    padding: 5px;
    border-radius: 10px;
    display: inline-flex;
    gap: 5px;
    margin-bottom: 2rem;
}

.wh-filter-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    color: #888;
    transition: all 0.2s;
    text-transform: uppercase;
}

.wh-filter-btn.active {
    background: #fff;
    color: #1e55a8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Specific Warehouse Card */
.warehouse-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.wh-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.wh-card-icon {
    width: 48px;
    height: 48px;
    background: #fff9e6;
    color: #f39c12;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.wh-card-title-area {
    flex: 1;
}

.wh-card-title-area h5 {
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
    font-size: 1.15rem;
}

.wh-card-location {
    font-size: 0.85rem;
    color: #aaa;
}

.wh-status-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.wh-status-badge.green { background: #e6f7ef; color: #27ae60; border: 1px solid #27ae60; }
.wh-status-badge.red { background: #fee2e2; color: #ef4444; border: 1px solid #ef4444; }

.wh-progress-section {
    margin-bottom: 1.5rem;
}

.wh-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.wh-progress-labels .label-text { color: #ccc; }
.wh-progress-labels .percent-text { color: #f39c12; }
.wh-progress-labels .percent-text.red { color: #ef4444; }

.wh-progress-rail {
    height: 8px;
    background: #f1f3f7;
    border-radius: 10px;
    overflow: hidden;
}

.wh-progress-bar {
    height: 100%;
    border-radius: 10px;
}

.wh-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.wh-stat-item {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 8px;
}

.wh-stat-item label {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 2px;
}

.wh-stat-item span {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
}

.wh-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #f1f3f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.wh-inspection-text {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wh-inspection-text i { color: #27ae60; }

.wh-manage-link {
    color: #1e55a8;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wh-outline {
    border: 1px solid #ddd;
    background: #fff;
    color: #888;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Authentication Pages Styles */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eef3fe 100%);
    padding: 2rem;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 480px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #1e55a8;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    font-weight: 800;
    color: #1e55a8;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    display: inline-block;
}

.auth-title {
    font-weight: 800;
    color: #111;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #888;
    font-size: 0.95rem;
}

.auth-btn-google {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    color: #444;
    font-size: 0.95rem;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}

.auth-btn-google:hover {
    background: #fdfdfd;
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.auth-divider:not(:empty)::before { margin-right: 1.5rem; }
.auth-divider:not(:empty)::after { margin-left: 1.5rem; }

.form-label-custom {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control-auth {
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fdfdfd;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control-auth:focus {
    border-color: #1e55a8;
    box-shadow: 0 0 0 4px rgba(30, 85, 168, 0.05);
    background: #fff;
}

.auth-primary-btn {
    width: 100%;
    background: #1e55a8;
    color: #fff;
    padding: 0.85rem;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    margin-top: 1rem;
}

.auth-primary-btn:hover {
    background: #15428a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 85, 168, 0.2);
}

.auth-footer-text {
    text-align: center;
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.auth-link {
    color: #1e55a8;
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-back-home {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #888;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.btn-back-home:hover {
    color: #1e55a8;
}

/* OTP Input Styles */
.otp-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fdfdfd;
    transition: all 0.2s;
}

.otp-input:focus {
    border-color: #1e55a8;
    box-shadow: 0 0 0 4px rgba(30, 85, 168, 0.05);
    background: #fff;
    outline: none;
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
    animation: fadeInAuth 0.4s ease-out;
}

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








/* Warehouse Modal Styles */
.custom-modal-header-blue {
    background-color: #1e55a8;
    color: #fff;
    padding: 1.5rem 2rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-logo-box {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e55a8;
    font-size: 1.5rem;
    margin-right: 15px;
}

.custom-modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-label-custom {
    color: #aaa;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.modal-form-control {
    background-color: #f5f6f8;
    border: 1px solid #e0e2e6;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: #333;
    font-weight: 500;
}

.modal-form-control::placeholder {
    color: #999;
}

.unit-pills-row {
    display: flex;
    gap: 10px;
}

.unit-pill {
    flex: 1;
    background: #f5f6f8;
    border: 1px solid #e0e2e6;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
}

.unit-pill.active {
    background: #fff;
    border-color: #ddd;
    color: #888;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-confirm-warehouse {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-weight: 800;
    width: 100%;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-confirm-warehouse:hover {
    background-color: #15428a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 85, 168, 0.2);
}

.input-with-suffix {
    position: relative;
}

.input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-weight: 700;
    pointer-events: none;
}
/* Document Upload Modal Styles */
.upload-zone {
    border: 2px dashed #e0e2e6;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #fdfdfd;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}

.upload-zone:hover {
    border-color: #1e55a8;
    background: #f8fbff;
}

.upload-icon {
    width: 60px;
    height: 60px;
    background: #eef3fe;
    color: #1e55a8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.upload-text-main {
    font-weight: 700;
    color: #333;
    display: block;
}

.upload-text-sub {
    font-size: 0.85rem;
    color: #aaa;
}

.doc-type-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.doc-type-pill {
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-align: center;
    cursor: pointer;
}

.doc-type-pill.active {
    background: #1e55a8;
    color: #fff;
    border-color: #1e55a8;
}

.btn-save-doc {
    background: #1e55a8;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-save-doc:hover {
    background: #15428a;
    box-shadow: 0 5px 15px rgba(30, 85, 168, 0.2);
}
/* Importer Modal Styles */
.importer-info-alert {
    background-color: #eef3fe;
    border: 1px solid #1e55a8;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.importer-info-alert i {
    color: #1e55a8;
    font-size: 1.25rem;
}

.importer-info-alert p {
    color: #1e55a8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

.modal-input-group {
    position: relative;
    width: 100%;
}

.modal-input-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23aaa' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.btn-create-profile {
    background-color: #2458a8;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 15px;
    font-weight: 800;
    width: 100%;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-create-profile:hover {
    background-color: #1a4282;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 85, 168, 0.2);
}

/* Modal Multi-step styles */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.status-badge.status-initiee {
    background-color: #e3f2fd !important;
    color: #1976d2 !important;
}

.status-badge.status-soumise {
    background-color: #fff3e0 !important;
    color: #f57c00 !important;
}

.status-badge.status-en_cours_d_analyse {
    background-color: #e8eaf6 !important;
    color: #3f51b5 !important;
}

.status-badge.status-favorable {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.status-badge.status-rejetee {
    background-color: #ffebee !important;
    color: #c62828 !important;
}

.status-badge.status-non_conforme {
    background-color: #fff8e1 !important;
    color: #ff8f00 !important;
}

.status-badge.status-archivee {
    background-color: #eceff1 !important;
    color: #546e7a !important;
}
.modal-step-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.modal-step-header::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ccc;
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
}

.step-indicator.active {
    border-color: #1e55a8;
    background: #1e55a8;
    color: #fff;
}

.step-indicator.completed {
    border-color: #27ae60;
    background: #27ae60;
    color: #fff;
}

.modal-step-content {
    display: none;
}

.modal-step-content.active {
    display: block;
    animation: fadeInStep 0.3s ease-in-out;
}

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

.btn-step-next, .btn-step-save {
    background-color: #1e55a8;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-weight: 700;
}

.btn-step-prev {
    background-color: #f1f3f7;
    color: #666;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-weight: 700;
}

/* Goods List Table Styles */
.goods-mini-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.goods-mini-table th {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0 10px;
}

.goods-row {
    background: #f8fbff;
    border-radius: 12px;
    transition: all 0.2s;
}

.goods-row:hover {
    background: #eef3fe;
}

.goods-row td {
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.goods-row td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.goods-row td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

.btn-remove-goods {
    color: #ff4d4d;
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 0;
    cursor: pointer;
}

.goods-summary-box {
    background: #f1f3f7;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-weight: 700;
    color: #666;
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e55a8;
}


/* Detail View Card Themes */
.detail-card {
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid transparent;
    transition: transform 0.2s;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card-blue {
    background-color: #edf2ff;
    border-color: #c3d1ff;
}

.detail-card-green {
    background-color: #e5faf0;
    border-color: #b3ebd1;
}

.detail-card-yellow {
    background-color: #fff9e6;
    border-color: #ffecb3;
}

.detail-card h6 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-card .amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
}

.detail-card .currency {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-left: 5px;
}

.custom-detail-tabs {
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.custom-detail-tabs .nav-link {
    border: none;
    color: #aaa;
    font-weight: 700;
    padding: 1rem 2rem;
    position: relative;
}

.custom-detail-tabs .nav-link.active {
    color: #1e55a8;
    background: none;
}

.custom-detail-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #1e55a8;
    border-radius: 3px;
}

.btn-back-square {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.btn-back-square:hover {
    background: #f8fbff;
    color: #1e55a8;
    border-color: #1e55a8;
}

/* Logistics info card in details */
.logistics-banner-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 1.25rem;
    height: 100%;
}

.logistics-icon-box {
    width: 48px;
    height: 48px;
    background: #1e55a8;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logistics-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

.logistics-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #333;
}

/* Summary blue card */
.summary-blue-card {
    background: #2458a8;
    color: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-blue-card .label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.summary-blue-card .value {
    font-size: 1.75rem;
    font-weight: 800;
}

.summary-blue-card .footer-info {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Refined Goods Table for details */
.details-goods-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.details-goods-table th {
    padding: 15px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    border-bottom: 2px solid #f5f5f5;
}

.details-goods-table td {
    padding: 20px 15px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.goods-name-main {
    font-weight: 800;
    color: #333;
    font-size: 1rem;
    display: block;
}

.goods-name-sub {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
}

.val-total-highlight {
    color: #1e55a8;
    font-weight: 800;
}

/* Documents tab styles */
.doc-side-menu {
    width: 200px;
}

.btn-doc-pill {
    background-color: #2458a8;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
}

.doc-list-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.doc-list-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-list-title {
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
}

.doc-download-all {
    color: #2458a8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.doc-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.doc-icon-green { background-color: #e5f6ed; color: #2ecc71; }
.doc-icon-yellow { background-color: #fff9e6; color: #f1c40f; }

.doc-info {
    flex-grow: 1;
}

.doc-name {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.doc-date {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
}

.doc-actions {
    display: flex;
    gap: 15px;
    color: #aaa;
}

.doc-actions i {
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.doc-actions i:hover {
    color: #2458a8;
}

/* Dossier Card Styles */
.dossier-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}

.dossier-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dossier-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
}

.dossier-card-blue::before { background-color: #1e55a8; }
.dossier-card-yellow::before { background-color: #f1c40f; }
.dossier-card-green::before { background-color: #2ecc71; }

.dossier-icon-box {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ecc71;
    font-size: 1.25rem;
    margin-right: 20px;
}

.dossier-info-main .title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 2px;
}

.dossier-info-main .subinfo {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 600;
}

.dossier-badge {
    background: #f1f3f7;
    color: #666;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.dossier-amount-section {
    text-align: right;
    margin-right: 40px;
}

.dossier-amount-section .label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 4px;
}

.dossier-amount-section .value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #333;
}

.btn-open-dossier {
    background-color: #edf2ff;
    color: #1e55a8;
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-open-dossier:hover {
    background-color: #1e55a8;
    color: #fff;
}

/* Custom Pagination */
.custom-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 3rem;
}

.page-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #1e55a8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e55a8;
    text-decoration: none;
    transition: all 0.2s;
}

.page-num.active {
    background: #1e55a8;
    color: #fff;
}

.page-num:hover:not(.active) {
    background: #f0f4ff;
}

.page-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #1e55a8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e55a8;
    transition: all 0.2s;
}

.page-arrow:hover {
    background: #f0f4ff;
}

/* KYC Page Styles */
.kyc-status-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.progress-circle-box {
    position: relative;
    width: 60px;
    height: 60px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 3.8;
    stroke-linecap: round;
    stroke: #8e44ad; /* Default Brand color */
}

.percentage {
    fill: #333;
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: 800;
}

.kyc-status-info .status-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2px;
}

.kyc-badge-pending {
    background: #fff9e6;
    color: #f1c40f;
    border: 1px solid #f9e79f;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.kyc-main-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.kyc-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.kyc-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2ff;
    color: #2458a8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.kyc-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 6px;
    display: block;
}

.kyc-input {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #666 !important;
    font-weight: 600 !important;
    height: 48px;
    border-radius: 10px !important;
}

.kyc-info-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
}

/* Documents card (Dark) */
.kyc-docs-card {
    background: #001f5c;
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.kyc-doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.kyc-doc-item:last-child {
    border-bottom: none;
}

.doc-status-text {
    font-size: 0.7rem;
    font-weight: 700;
    display: block;
}

.doc-status-verified { color: #2ecc71; }
.doc-status-pending { color: #f1c40f; }

.btn-upload-dashed {
    background: transparent;
    border: 2px dashed rgba(255,255,255,0.4);
    color: #fff;
    border-radius: 50px;
    width: 100%;
    padding: 12px;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    vertical-align: middle;
    transition: all 0.2s;
}

.btn-upload-dashed:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

/* Mandataire card */
.kyc-mandataire-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 1.5rem;
}

.mandataire-box {
    background: #f8f9fa;
    border: 1px solid #2458a8;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mandataire-avatar {
    width: 44px;
    height: 44px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #555;
}

.btn-save-kyc {
    background-color: #e0e0e0;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 800;
    width: 100%;
    text-transform: uppercase;
}





/* --- Dashboard Specific Styles --- */
.dashboard-kpi-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-label {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.25rem;
    display: block;
}

.kpi-subtext {
    color: #b0b0b0;
    font-size: 0.8rem;
    font-style: italic;
}

.kpi-status-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.kpi-icon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.critical-card-container {
    background-color: #001f5c; 
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    height: 100%;
}

.critical-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.critical-title-warehouse { color: #f1c40f; }
.critical-title-delay { color: #f87171; }

.critical-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.critical-item-left .name {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.critical-item-left .sub {
    font-size: 0.8rem;
    opacity: 0.6;
}

.critical-item-right {
    font-weight: 800;
    font-size: 1.1rem;
}

.critical-footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    transition: opacity 0.2s;
}

.critical-footer-link:hover {
    opacity: 0.8;
    color: #fff;
}

.concentration-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.concentration-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 2.5rem;
}

.port-bar-item {
    margin-bottom: 2rem;
}

.port-bar-label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #444;
}

.port-progress-container {
    height: 32px;
    background: #f1f3f7;
    border-radius: 8px;
    overflow: hidden;
}

.port-progress-fill {
    height: 100%;
    transition: width 1s ease-in-out;
}

.port-progress-pad { background-color: #1e55a8; }
.port-progress-pak { background-color: #27ae60; }

.port-legend {
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.legend-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.legend-name { color: #888; }
.legend-val-pad { color: #1e55a8; }
.legend-val-pak { color: #27ae60; }

@media (min-width: 992px) { .doc-side-menu { width: 220px !important; display: flex; flex-direction: column; gap: 12px; } } .btn-doc-pill { background-color: #2458a8 !important; color: #fff !important; border: 1px solid #2458a8 !important; border-radius: 50px !important; padding: 10px 25px !important; font-size: 0.85rem !important; font-weight: 700 !important; width: 100% !important; text-transform: uppercase !important; text-align: center !important; transition: all 0.2s !important; } .btn-doc-pill-outline { background-color: transparent !important; color: #888 !important; border: 1px solid #ddd !important; border-radius: 50px !important; padding: 10px 25px !important; font-size: 0.85rem !important; font-weight: 700 !important; width: 100% !important; text-transform: uppercase !important; text-align: center !important; transition: all 0.2s !important; } .btn-doc-pill-outline:hover { background-color: #f8f9fa !important; color: #2458a8 !important; border-color: #2458a8 !important; } .btn-add-doc-dashed { background-color: transparent !important; border: 2px dashed #ddd !important; color: #888 !important; border-radius: 12px !important; padding: 15px !important; width: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 8px !important; font-weight: 600 !important; transition: all 0.2s !important; margin-top: 1.5rem !important; } .btn-add-doc-dashed:hover { border-color: #2458a8 !important; color: #2458a8 !important; background-color: #f8faff !important; }

/* Landing Page Specific Styles */
.landing-navbar {
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.landing-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #1a3a6c;
}
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a3a6c;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}
.hero-image-wrapper img {
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.feature-card-landing {
    padding: 2.5rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
}
.feature-card-landing:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.feature-icon-landing {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.stat-item-landing {
    text-align: center;
}
.stat-value-landing {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a3a6c;
    display: block;
}
.stat-label-landing {
    color: #64748b;
    font-weight: 500;
}
.how-it-works-step {
    position: relative;
    padding-left: 3rem;
}
.how-it-works-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    background: #1e55a8;
    border-radius: 50%;
}
.how-it-works-step::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 30px;
    width: 2px;
    height: calc(100% - 10px);
    background: #e2e8f0;
}
.how-it-works-step:last-child::after {
    display: none;
}


/* Premium Landing Page Styles - Inspired by AirLume */
:root {
    --landing-primary: #1e55a8;
    --landing-dark: #0a192f;
    --landing-glass: rgba(255, 255, 255, 0.1);
    --landing-glass-border: rgba(255, 255, 255, 0.2);
}

.premium-hero {
    background: radial-gradient(circle at top right, #2458a8, #0a192f);
    padding: 140px 0 180px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;
}

.hero-badge-premium {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--landing-glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.hero-h1-premium {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-p-premium {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.glass-card-floating {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.4), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.glass-card-floating:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.01);
}

.feature-box-premium {
    padding: 3rem 2rem;
    border-radius: 32px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    background: white;
}

.feature-box-premium:hover {
    box-shadow: 0 30px 60px rgba(30, 85, 168, 0.1);
    transform: translateY(-10px);
}

.faq-section {
    padding: 100px 0;
    background: #f8faff;
}

.contact-section {
    padding: 100px 0;
    background: white;
}

.form-premium {
    background: #f8faff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 1rem 1.5rem;
}

.btn-premium-cta {
    background: #fff;
    color: var(--landing-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-premium-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.accordion-landing .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 16px !important;
    overflow: hidden;
}

.accordion-landing .accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    background: white;
    box-shadow: none !important;
}

.accordion-landing .accordion-button:not(.collapsed) {
    color: var(--landing-primary);
    background: #f0f7ff;
}


/* How it Works - Premium Style */
.step-number-pill {
    background: #f0f7ff;
    color: var(--landing-primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
}
.step-title-premium {
    font-weight: 800;
    color: var(--landing-dark);
    margin: 1rem 0;
}
.step-desc-premium {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}
.step-graphic-premium {
    background: #f8faff;
    border-radius: 40px;
    padding: 3rem;
    border: 1px solid #eef2f6;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.step-card-active {
    border-left: 4px solid var(--landing-primary);
    background: white;
    padding: 2rem;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}


/* Glass Navbar Style */
.navbar-premium-glass {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 1.5rem 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-scrolled {
    background: rgba(10, 25, 47, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


/* Profile Page Styles */
.profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}
.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, #1e55a8 0%, #2458a8 100%);
}
.profile-content-wrapper {
    padding: 0 2rem 2rem;
    margin-top: -60px;
}
.profile-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 5px solid #fff;
    object-fit: cover;
    background: #f8f9fa;
}
.profile-avatar-edit {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: #1e55a8;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    transition: all 0.2s;
}
.profile-avatar-edit:hover {
    transform: scale(1.1);
}
.settings-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-field-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.info-field-value {
    font-weight: 600;
    color: #1e293b;
    background: #f8faff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #eef2f6;
}
.id-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}
.id-badge-verified {
    background: #e5f6ed;
    color: #2ecc71;
}
.user-dropdown-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e55a8;
    text-decoration: none;
    transition: all 0.2s;
}
.user-dropdown-link:hover {
    background: #1e55a8;
    color: #fff;
}


/* Global Filter Section Styles - Glass Edition */
.filter-section-admin {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}
.filter-label-admin {
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    display: block;
}
.filter-control-admin {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    padding: 0.6rem 0.95rem;
    font-size: 0.85rem;
    color: #334155;
    width: 100%;
    background-color: rgba(248, 250, 252, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-control-admin:focus {
    border-color: #1e55a8;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 85, 168, 0.1);
    transform: translateY(-1px);
}
.search-wrapper-admin {
    position: relative;
}
.search-wrapper-admin i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
}
.search-wrapper-admin .filter-control-admin {
    padding-left: 40px;
}
