/* ========================================
   African Spots v2 - Main CSS
   Tailwind CSS + Custom Styles
   ======================================== */

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

/* Base typography */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  padding-top: 120px; /* Account for fixed header */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1.125rem;
  font-weight: 500;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
  line-height: 1.625;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

/* a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
} */

/* ========================================
   LAYOUT UTILITIES
   ======================================== */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ========================================
   SPACING UTILITIES - Use Bootstrap Instead
   ======================================== */

/* Note: Bootstrap provides comprehensive spacing utilities (p-*, m-*, etc.) */
/* These custom utilities are removed to avoid conflicts with Bootstrap */

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

/* Hide/Show utilities */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
}

/* ========================================
   COMPONENT BASE STYLES
   ======================================== */

/* Buttons (will be enhanced in components.css) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

/* Cards (will be enhanced in components.css) */
.card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* ========================================
   FONT AWESOME ICON STYLING
   ======================================== */

/* Ensure Font Awesome icons are visible */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .fa-classic {
  font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro", "Font Awesome 7 Brands", "Font Awesome 7 Duotone" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
}

/* Font Awesome 6 Solid */
.fa-solid, .fas {
  font-weight: 900 !important;
}

/* Font Awesome 6 Regular */
.fa-regular, .far {
  font-weight: 400 !important;
}

/* Font Awesome 6 Brands */
.fa-brands, .fab {
  font-weight: 400 !important;
}

/* Font Awesome 6 Duotone */
.fa-duotone, .fad {
  font-weight: 900 !important;
}

/* Icon sizing */
.fa-xs { font-size: 0.75em !important; }
.fa-sm { font-size: 0.875em !important; }
.fa-lg { font-size: 1.33em !important; }
.fa-xl { font-size: 1.5em !important; }
.fa-2xl { font-size: 2em !important; }

/* Icon colors */
.fa-primary { color: var(--color-primary) !important; }
.fa-secondary { color: var(--color-secondary) !important; }
.fa-accent { color: var(--color-accent) !important; }
.fa-white { color: #ffffff !important; }
.fa-black { color: #000000 !important; }

/* Force icon display - override any conflicting styles */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .fa-classic {
  font-family: "Font Awesome 7 Free", "Font Awesome 7 Pro", "Font Awesome 7 Brands", "Font Awesome 7 Duotone" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  width: 1.25em !important;
  text-align: center !important;
}

/* Specific icon fixes */
.fa-solid, .fas {
  font-weight: 900 !important;
  font-family: "Font Awesome 7 Free" !important;
}

.fa-regular, .far {
  font-weight: 400 !important;
  font-family: "Font Awesome 7 Free" !important;
}

.fa-brands, .fab {
  font-weight: 400 !important;
  font-family: "Font Awesome 7 Brands" !important;
}

/* Mobile button icon fixes */
#mobile-sort-btn i,
#mobile-filter-btn i {
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  width: 1.25em !important;
  text-align: center !important;
  line-height: 1 !important;
}

/* Force Font Awesome 7 icon content display */
.fa-solid.fa-arrow-up-wide-short::before {
  content: "\f161" !important;
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
}

.fas.fa-filter::before {
  content: "\f0b0" !important;
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
}

/* Close button icon enhancement */
.fas.fa-times {
  color: #1a1a1a !important; /* Dark color for better visibility */
  font-size: 1.5rem !important; /* Larger size */
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.fas.fa-times::before {
  content: "\f00d" !important;
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
}

/* Specific fix for close button in mobile dropdowns */
#close-sort-btn .fas.fa-times,
#close-filter-btn .fas.fa-times {
  color: #1a1a1a !important; /* Dark color for better visibility */
  font-size: 1.5rem !important; /* Larger size */
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* General Font Awesome 7 content fixes */
.fa-solid::before,
.fas::before {
  content: var(--fa) !important;
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
}

.fa-regular::before,
.far::before {
  content: var(--fa) !important;
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 400 !important;
}

.fa-brands::before,
.fab::before {
  content: var(--fa) !important;
  font-family: "Font Awesome 7 Brands" !important;
  font-weight: 400 !important;
}

/* ========================================
   DEFAULT STYLE FIXES
   ======================================== */

/* List styles */
ul, ol {
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

/* Reset list styles for specific cases */
ul.list-style-disc {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
}

ol.list-style-decimal {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
}

/* Button resets */
button, input[type="button"], input[type="submit"], input[type="reset"] {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  outline: none !important;
}

/* Form element resets */
input, textarea, select {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Image resets */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Table resets */
table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--color-primary) !important;
  outline-offset: 2px !important;
}

/* Remove focus outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none !important;
}

/* ========================================
   BOOTSTRAP COLOR OVERRIDES
   ======================================== */

/* Override Bootstrap CSS variables with design system colors */
:root {
  /* Override Bootstrap primary colors */
  --bs-primary: var(--primary);
  --bs-primary-rgb: 255, 102, 0; /* RGB values for #FF6600 */
  --bs-primary-text-emphasis: var(--primary-dark);
  --bs-primary-bg-subtle: var(--primary-50);
  --bs-primary-border-subtle: var(--primary-light);
  
  /* Override Bootstrap secondary colors */
  --bs-secondary: var(--text-muted);
  --bs-secondary-rgb: 115, 115, 115; /* RGB values for #737373 */
  --bs-secondary-text-emphasis: var(--text-secondary);
  --bs-secondary-bg-subtle: var(--bg-gray-50);
  --bs-secondary-border-subtle: var(--border-light);
  
  /* Override Bootstrap success colors */
  --bs-success: var(--success);
  --bs-success-rgb: 16, 185, 129;
  --bs-success-text-emphasis: #064e3b;
  --bs-success-bg-subtle: #d1fae5;
  --bs-success-border-subtle: #a7f3d0;
  
  /* Override Bootstrap info colors */
  --bs-info: var(--info);
  --bs-info-rgb: 59, 130, 246;
  --bs-info-text-emphasis: #1e40af;
  --bs-info-bg-subtle: #dbeafe;
  --bs-info-border-subtle: #bfdbfe;
  
  /* Override Bootstrap warning colors */
  --bs-warning: var(--warning);
  --bs-warning-rgb: 245, 158, 11;
  --bs-warning-text-emphasis: #92400e;
  --bs-warning-bg-subtle: #fef3c7;
  --bs-warning-border-subtle: #fde68a;
  
  /* Override Bootstrap danger colors */
  --bs-danger: var(--error);
  --bs-danger-rgb: 239, 68, 68;
  --bs-danger-text-emphasis: #991b1b;
  --bs-danger-bg-subtle: #fee2e2;
  --bs-danger-border-subtle: #fecaca;
  
  /* Override Bootstrap light colors */
  --bs-light: var(--bg-gray-50);
  --bs-light-rgb: 250, 250, 250;
  --bs-light-text-emphasis: var(--text-secondary);
  --bs-light-bg-subtle: var(--bg-white);
  --bs-light-border-subtle: var(--border-light);
  
  /* Override Bootstrap dark colors */
  --bs-dark: var(--text-primary);
  --bs-dark-rgb: 0, 0, 0;
  --bs-dark-text-emphasis: var(--text-primary);
  --bs-dark-bg-subtle: var(--bg-gray-100);
  --bs-dark-border-subtle: var(--border-medium);
  
  /* Override Bootstrap link colors */
  --bs-link-color: var(--primary);
  --bs-link-color-rgb: 255, 102, 0;
  --bs-link-hover-color: var(--primary-dark);
  --bs-link-hover-color-rgb: 229, 90, 0;
  
  /* Override Bootstrap body colors */
  --bs-body-color: var(--text-secondary);
  --bs-body-color-rgb: 26, 26, 26;
  --bs-body-bg: var(--bg-white);
  --bs-body-bg-rgb: 255, 255, 255;
  
  /* Override Bootstrap border colors */
  --bs-border-color: var(--border-light);
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
}

/* Override Bootstrap button colors to match buttons.css */
.btn-primary {
  --bs-btn-color: var(--text-white);
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: var(--text-white);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-focus-shadow-rgb: 255, 102, 0;
  --bs-btn-active-color: var(--text-white);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-disabled-color: var(--text-white);
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
}

.btn-secondary {
  --bs-btn-color: var(--text-white);
  --bs-btn-bg: var(--bg-black);
  --bs-btn-border-color: var(--bg-black);
  --bs-btn-hover-color: var(--text-white);
  --bs-btn-hover-bg: var(--text-primary);
  --bs-btn-hover-border-color: var(--text-primary);
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: var(--text-white);
  --bs-btn-active-bg: var(--text-primary);
  --bs-btn-active-border-color: var(--text-primary);
  --bs-btn-disabled-color: var(--text-white);
  --bs-btn-disabled-bg: var(--bg-black);
  --bs-btn-disabled-border-color: var(--bg-black);
}

.btn-link {
  --bs-btn-color: var(--primary);
  --bs-btn-hover-color: var(--primary-dark);
  --bs-btn-active-color: var(--primary-dark);
  --bs-btn-disabled-color: var(--text-muted);
}

/* Base button styles - minimal and clean */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  white-space: nowrap !important;
  user-select: none !important;
  background: transparent !important;
  color: inherit !important;
}

.btn:focus {
  outline: none !important;
}

.btn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Remove CTA button hover effects from regular .btn */

/* Button size variants for base buttons */
.btn-sm {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.btn-lg {
  padding: 12px 24px !important;
  font-size: 16px !important;
}

/* Ensure custom button classes take precedence over Bootstrap */
.cta-button,
.cta-button-orange,
.cta-button-black,
.cta-button-white,
.cta-button-pagination,
.cta-button-pagination-orange,
.cta-button-pagination-black,
.cta-button-pagination-white,
.cta-button-pagination-no-icon,
.cta-button-pagination-no-icon-orange,
.cta-button-pagination-no-icon-black,
.cta-button-pagination-no-icon-white,
.cta-button-page-number {
  /* These classes from buttons.css should not be overridden by Bootstrap */
  /* They have higher specificity and should take precedence */
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 32px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.03em !important;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
  user-select: none !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 158px !important;
}

/* Specific overrides for pagination buttons */
.cta-button-pagination-no-icon-black {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  min-width: 120px !important;
  height: 40px !important;
}

.cta-button-pagination-no-icon-black:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Ensure equal width for Previous/Next buttons on desktop */
.pagination-btn-prev,
.pagination-btn-next {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
}

/* Mobile pagination buttons - icon only */
@media (max-width: 640px) {
  .cta-button-pagination-no-icon-black {
    padding: 8px !important;
    min-width: 36px !important;
    height: 36px !important;
    font-size: 12px !important;
    width: 36px !important;
    max-width: 36px !important;
  }
  
  .cta-button-pagination-no-icon-black span {
    display: none !important;
  }
  
  .pagination-btn-prev,
  .pagination-btn-next {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
  }
}

/* Pagination number buttons - override the unset */
.pagination-number {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid #d1d5db !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  background-color: #f9fafb !important; /* Gray when not current */
  color: #6b7280 !important;
}

.pagination-number:hover {
  background-color: #e5e7eb !important;
  border-color: #9ca3af !important;
  color: #374151 !important;
}

.pagination-number.active {
  background-color: var(--primary, #FF6600) !important; /* Orange when current page */
  border-color: var(--primary, #FF6600) !important;
  color: #ffffff !important;
}

.pagination-number.active:hover {
  background-color: var(--primary-dark, #E55A00) !important;
  border-color: var(--primary-dark, #E55A00) !important;
  color: #ffffff !important;
}

/* CTA Button Arrow Icon - Afri Style Hover Animation */
.cta-button::before {
  content: "" !important;
  position: absolute !important;
  right: 20px !important;
  top: 0 !important;
  bottom: 0 !important;
  margin: auto 0 !important;
  width: 14px !important;
  height: 15px !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' fill='none' viewBox='0 0 15 14'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1.5 7h12m0 0-6-6m6 6-6 6'/%3E%3C/svg%3E") !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
  opacity: 0 !important;
  transform: translateX(-32px) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
}

.cta-button:hover::before {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Text sliding effect - Afri Style */
.cta-button:hover {
  padding-left: 16px !important; /* Reduce left padding on hover */
  padding-right: 56px !important; /* Increase right padding on hover for more space */
}

/* Force hover styles with higher specificity */
a.cta-button:hover::before {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

a.cta-button:hover {
  padding-left: 16px !important;
  padding-right: 56px !important;
}

/* Full width CTA buttons */
.cta-button.w-100 {
  width: 100% !important;
  min-width: auto !important;
  max-width: 100% !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
}

/* CTA Button Color Variants */
.cta-button-orange {
  background-color: #FF6600 !important;
  color: #ffffff !important;
}

.cta-button-orange:hover {
  background-color: #E55A00 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.cta-button-orange::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' fill='none' viewBox='0 0 15 14'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1.5 7h12m0 0-6-6m6 6-6 6'/%3E%3C/svg%3E") !important;
}

.cta-button-black {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.cta-button-black:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.cta-button-black::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' fill='none' viewBox='0 0 15 14'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1.5 7h12m0 0-6-6m6 6-6 6'/%3E%3C/svg%3E") !important;
}

.cta-button-white {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border: 1px solid #e5e5e5 !important;
}

.cta-button-white:hover {
  background-color: #f5f5f5 !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  border-color: #d5d5d5 !important;
}

.cta-button-white::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='14' fill='none' viewBox='0 0 15 14'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1.5 7h12m0 0-6-6m6 6-6 6'/%3E%3C/svg%3E") !important;
}

/* Override any Bootstrap button styles that might conflict */


/* Override Bootstrap text colors */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* Override Bootstrap background colors */
.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--text-muted);
}

.bg-light {
  background-color: var(--bg-gray-50);
}

.bg-dark {
  background-color: var(--text-primary);
}

/* Override Bootstrap border colors */
.border-primary {
  border-color: var(--primary);
}

.border-secondary {
  border-color: var(--text-muted);
}

/* Override Bootstrap form colors */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 102, 0, 0.25);
}

/* Override Bootstrap alert colors */
.alert-primary {
  --bs-alert-color: var(--primary-dark);
  --bs-alert-bg: var(--primary-50);
  --bs-alert-border-color: var(--primary-light);
}

.alert-secondary {
  --bs-alert-color: var(--text-secondary);
  --bs-alert-bg: var(--bg-gray-50);
  --bs-alert-border-color: var(--border-light);
}

/* Override Bootstrap badge colors */
.badge-primary {
  background-color: var(--primary);
}

.badge-secondary {
  background-color: var(--text-muted);
}

/* Override Bootstrap progress colors */
.progress-bar {
  background-color: var(--primary);
}

/* Override Bootstrap list group colors */
.list-group-item-primary {
  color: var(--primary-dark);
  background-color: var(--primary-50);
}

.list-group-item-secondary {
  color: var(--text-secondary);
  background-color: var(--bg-gray-50);
}

/* Override Bootstrap table colors */
.table-primary {
  --bs-table-color: var(--primary-dark);
  --bs-table-bg: var(--primary-50);
  --bs-table-border-color: var(--primary-light);
}

.table-secondary {
  --bs-table-color: var(--text-secondary);
  --bs-table-bg: var(--bg-gray-50);
  --bs-table-border-color: var(--border-light);
}

/* Override Bootstrap dropdown colors */
.dropdown-item:focus {
  background-color: var(--primary-50);
  color: var(--primary-dark);
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Override Bootstrap pagination colors */
.page-link {
  color: var(--primary);
}

.page-link:hover {
  color: var(--primary-dark);
  background-color: var(--primary-50);
  border-color: var(--primary);
}

.page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Override Bootstrap nav colors */
.nav-link {
  color: var(--text-primary);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

/* Override Bootstrap breadcrumb colors */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
}

/* ========================================
   HEADER LOGO SIZE OVERRIDE
   ======================================== */

/* Force header logo to match footer logo size */
.afri-header .logo-link img {
  height: 5rem !important;
  width: auto !important;
}

/* Mobile responsive logo size */
@media (max-width: 768px) {
  .afri-header .logo-link img {
    height: 5rem !important;
  }
}

@media (max-width: 640px) {
  .afri-header .logo-link img {
    height: 5rem !important;
  }
}

/* ========================================
   GLOBAL CHECKBOX STYLING
   ======================================== */

/* Custom Checkbox Base Styles */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-secondary); /* #1A1A1A */
  border-radius: var(--radius-sm);
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Checkbox Hover State */
.custom-checkbox:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.1);
}

/* Checkbox Focus State */
.custom-checkbox:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.25);
}

/* Checkbox Checked State */
.custom-checkbox:checked {
  background-color: var(--primary); /* Orange background */
  border-color: var(--primary);
}

/* Checkbox Checkmark */
.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid var(--text-white); /* White checkmark */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Checkbox Disabled State */
.custom-checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border-medium);
}

.custom-checkbox:disabled:checked {
  background-color: var(--border-medium);
  border-color: var(--border-medium);
}

/* Checkbox Size Variants */
.custom-checkbox.custom-checkbox-sm {
  width: 14px;
  height: 14px;
}

.custom-checkbox.custom-checkbox-sm:checked::after {
  left: 2px;
  top: -1px;
  width: 5px;
  height: 8px;
}

.custom-checkbox.custom-checkbox-lg {
  width: 20px;
  height: 20px;
}

.custom-checkbox.custom-checkbox-lg:checked::after {
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
}

/* Override Bootstrap custom checkbox styles */
.custom-checkbox.border-light {
  border-color: var(--text-secondary) !important;
}

.custom-checkbox.rounded {
  border-radius: var(--radius-sm) !important;
}