/* ===== SHARED NAVIGATION AND FOOTER COMPONENTS ===== */

/* Breadcrumb Navigation Styling */
.breadcrumb-nav {
  padding: var(--spacing-sm, 0.5rem) var(--spacing-lg, 1.5rem);
  background: var(--bg-secondary, #f8f9fa);
  border-bottom: 1px solid var(--border-color, #dee2e6);
  font-size: 0.875rem;
  color: var(--text-secondary, #6c757d);
  margin: 0;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: var(--accent, #660000);
  text-decoration: none;
  transition: var(--transition-fast, all 0.15s ease);
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  color: var(--primary, #880000);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted, #95a5a6);
  font-weight: normal;
  margin: 0 8px;
}

/* Enhanced Footer Styling */
.footer {
  margin-top: 40px;
  padding: 28px 20px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.1);
  color: #666;
  font-size: 0.9em;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-crest {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-text p {
  margin: 0;
  line-height: 1.4;
}

.footer-credits {
  font-size: 0.85em;
  color: #888;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent, #660000);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition, all 0.3s ease);
}

.footer-links a:hover {
  color: var(--primary, #880000);
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.footer-links .version {
  color: #999;
  font-size: 0.85em;
}

/* Dark mode footer styling */
.dark-mode .footer {
  background: rgba(45,45,45,0.8);
  border-top-color: rgba(255,255,255,0.1);
  color: #ccc;
}

.dark-mode .footer-links a {
  color: #ff6b6b;
}

.dark-mode .footer-links a:hover {
  color: #fff;
}

.dark-mode .footer-credits {
  color: #888;
}

.dark-mode .footer-links .version {
  color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: var(--spacing-xs, 0.25rem) var(--spacing-md, 1rem);
    font-size: 0.8rem;
  }
  
  .footer {
    padding: 20px 12px;
    font-size: 0.8em;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-left {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links {
    justify-content: center;
    gap: 15px;
  }
  
  .footer-crest {
    height: 32px;
  }
}

/* ===== BULK ACTIONS BAR COMPONENT ===== */

.bulk-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,250,0.95));
  border: 1px solid rgba(102,0,0,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    0 1px 3px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  animation: slideInDown 0.3s ease-out;
  transform-origin: top;
  transition: all 0.3s ease;
}

.bulk-actions-bar.show {
  transform: translateY(0);
  opacity: 1;
}

.bulk-info {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary, #660000);
  font-size: 0.95rem;
  background: rgba(102,0,0,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(102,0,0,0.2);
}

.bulk-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bulk-buttons .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bulk-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.bulk-buttons .btn-secondary {
  background: #6c757d;
  color: white;
  border-color: #6c757d;
}

.bulk-buttons .btn-secondary:hover {
  background: #5a6268;
  border-color: #545b62;
}

.bulk-buttons .btn-warning {
  background: #ffc107;
  color: #212529;
  border-color: #ffc107;
}

.bulk-buttons .btn-warning:hover {
  background: #e0a800;
  border-color: #d39e00;
}

.bulk-buttons .btn-danger {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.bulk-buttons .btn-danger:hover {
  background: #c82333;
  border-color: #bd2130;
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive bulk actions */
@media (max-width: 768px) {
  .bulk-actions-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .bulk-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .bulk-buttons .btn {
    flex: 1;
    min-width: 120px;
  }
}
