  /* Modern CSS Color Palette based on #A47864 */
  :root {
    /* Main palette colors */
    --taupe: #A47864;
    --soft-rose: #CEB5AA;
    --deep-brown: #6B4C3E;
    --cream: #E0D3C8;
    --muted-teal: #3F5E5A;
    --light-gold: #D9BC91;
    
    /* Text colors */
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --text-muted: #707070;
    
    /* Functional colors */
    --primary: var(--taupe);
    --secondary: var(--muted-teal);
    --accent: var(--light-gold);
    --background: var(--cream);
    --background-alt: #FFFFFF;
    --success: #4A7B58;
    --error: #A64F48;
    --warning: #D9A648;
    
    /* Spacing variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
  }

  /* Base styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    padding: 0;
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-brown);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.25rem;
  }

  h6 {
    font-size: 1rem;
  }

  p {
    margin-bottom: var(--spacing-md);
  }

  a {
    color: var(--muted-teal);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  a:hover {
    color: var(--deep-brown);
    text-decoration: underline;
  }

  /* Container */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
  }
  
    .wrapper {
        max-width: 400px;
        margin: 80px auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    } 

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
  }

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

  .btn-primary:hover {
    background-color: var(--deep-brown);
  }

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

  .btn-secondary:hover {
    background-color: #334F4B;
  }

  .btn-accent {
    background-color: var(--accent);
    color: var(--deep-brown);
  }

  .btn-accent:hover {
    background-color: #CAAD84;
  }

  .btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
  }

  .btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
  }
  
  /* Ensure form buttons align properly */
form .btn {
  margin-right: var(--spacing-sm);
}

/* Match styles for button and anchor when used as buttons */
button.btn, 
a.btn {
  line-height: 1.5;
  height: auto;
  box-sizing: border-box;
}

  /* Cards */
  .card {
    background-color: var(--background-alt);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-lg);
    /* height: 100%;
    display: flex;
    flex-direction: column; */
  }

  .card-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--soft-rose);
  }

  .card-title {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
  }

  .card-body {
    /* flex-grow: 1; */
    padding: 0;
  }
  
 
  .card-wide {
  max-width: 100%;
  width: 100%;
}

  .metric {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--deep-brown);
  }

  .metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .metric-change {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    margin-top: var(--spacing-xs);
  }

  .metric-change.positive {
    color: var(--success);
  }

  .metric-change.negative {
    color: var(--error);
  }

  .metric-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
  }

  /* Form elements */
  input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--soft-rose);
    border-radius: 4px;
    background-color: var(--background-alt);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(164, 120, 100, 0.2);
  }

  label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--deep-brown);
  }
  
  /* Make select elements match input styling */
select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--soft-rose);
  border-radius: 4px;
  background-color: var(--background-alt);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  appearance: none; /* Removes default browser styling */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B4C3E' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(164, 120, 100, 0.2);
}

/* Checkbox container to group checkbox and label */
.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

/* Style for checkboxes */
input[type="checkbox"] {
  width: auto; /* Override the 100% width from general input styling */
  margin-right: var(--spacing-sm);
  margin-bottom: 0; /* Override the margin-bottom from general input styling */
}

/* Style for checkbox labels */
.checkbox-label {
  display: inline; /* Keep the label inline */
  margin-bottom: 0; /* Override the margin-bottom from general label styling */
}

  /* Navigation */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--deep-brown);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-xl);
  }

/* Add these styles to your existing base.css file */

/* Update your existing .navbar-brand class */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--light-gold);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--light-gold);
  text-decoration: none;
}

/* Logo styling options */
.navbar-logo {
  height: 40px;           /* Fixed height - adjust as needed (32px-50px recommended) */
  width: auto;            /* Auto width maintains aspect ratio */
  object-fit: contain;    /* Prevents image distortion */
  vertical-align: middle; /* Ensures proper alignment */
}

/* Alternative: Logo in a container for consistent sizing */
.logo-container {
  width: 40px;
  height: 40px;
  background-color: var(--light-gold);
  border-radius: 6px;     /* Use 50% for circular container */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;         /* Prevents container from shrinking */
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
  .navbar-logo {
    height: 35px;         /* Smaller on mobile */
  }
  
  .logo-container {
    width: 35px;
    height: 35px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;    /* Smaller text on mobile */
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    height: 30px;         /* Even smaller on very small screens */
  }
  
  .logo-container {
    width: 30px;
    height: 30px;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
}

  .navbar-nav {
    display: flex;
    list-style: none;
  }

  .navbar-nav li {
    margin-left: var(--spacing-lg);
  }

  .navbar-nav a {
    color: var(--cream);
    font-weight: 500;
  }

  .navbar-nav a:hover {
    color: var(--light-gold);
    text-decoration: none;
  }

  .active {
    color: var(--light-gold) !important;
    border-bottom: 2px solid var(--light-gold);
    padding-bottom: 3px;
  }

  .navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--cream);
  }
  
/* Skill Tags Styling */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.skill-tag {
  display: inline-block;
  background-color: var(--soft-rose);
  color: var(--deep-brown);
  border-radius: 16px;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background-color: var(--light-gold);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}  

  /* Grid system */
  .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -var(--spacing-md);
  }

  .col {
    flex: 1;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  /* Dashboard specific styles */
  .dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
  }

  .dashboard-title {
    margin-bottom: 0;
  }

  .dashboard-actions {
    display: flex;
    gap: var(--spacing-sm);
  }

  /* Utility classes */
  .text-primary { color: var(--primary); }
  .text-secondary { color: var(--secondary); }
  .text-accent { color: var(--accent); }
  .text-dark { color: var(--text-dark); }
  .text-light { color: var(--text-light); }
  .text-muted { color: var(--text-muted); }

  .bg-primary { background-color: var(--primary); }
  .bg-secondary { background-color: var(--secondary); }
  .bg-accent { background-color: var(--accent); }
  .bg-light { background-color: var(--background-alt); }
  .bg-dark { background-color: var(--deep-brown); }
  .bg-muted { background-color: var(--soft-rose); }

  .mt-1 { margin-top: var(--spacing-xs); }
  .mt-2 { margin-top: var(--spacing-sm); }
  .mt-3 { margin-top: var(--spacing-md); }
  .mt-4 { margin-top: var(--spacing-lg); }
  .mt-5 { margin-top: var(--spacing-xl); }

  .mb-1 { margin-bottom: var(--spacing-xs); }
  .mb-2 { margin-bottom: var(--spacing-sm); }
  .mb-3 { margin-bottom: var(--spacing-md); }
  .mb-4 { margin-bottom: var(--spacing-lg); }
  .mb-5 { margin-bottom: var(--spacing-xl); }

  .p-1 { padding: var(--spacing-xs); }
  .p-2 { padding: var(--spacing-sm); }
  .p-3 { padding: var(--spacing-md); }
  .p-4 { padding: var(--spacing-lg); }
  .p-5 { padding: var(--spacing-xl); }

  .text-center { text-align: center; }
  .text-right { text-align: right; }
  .text-left { text-align: left; }

  .rounded { border-radius: 4px; }
  .rounded-lg { border-radius: 8px; }
  .rounded-full { border-radius: 50%; }

  .shadow { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
  .shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
  


    /* Table styles */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
    background-color: var(--background-alt);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  thead {
    background-color: var(--deep-brown);
    color: var(--text-light);
  }

  th {
    text-align: left;
    padding: var(--spacing-md);
    font-weight: 600;
    border-bottom: 2px solid var(--taupe);
  }

  td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--soft-rose);
  }

  tr:last-child td {
    border-bottom: none;
  }

  tbody tr:hover {
    background-color: var(--cream);
  }

  /* Striped tables */
  .table-striped tbody tr:nth-child(odd) {
    background-color: rgba(164, 120, 100, 0.05);
  }

  /* Bordered tables */
  .table-bordered th,
  .table-bordered td {
    border: 1px solid var(--soft-rose);
  }

  /* Compact tables */
  .table-compact th,
  .table-compact td {
    padding: var(--spacing-sm);
  }

    /* Responsive tables */
    @media (max-width: 768px) {
      .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
    }

    /* Table captions */
    caption {
      padding: var(--spacing-sm);
      caption-side: bottom;
      color: var(--text-muted);
      font-style: italic;
      text-align: left;
    }

    /* Table sorting indicators */
    th.sortable {
      cursor: pointer;
      position: relative;
    }

    th.sortable:after {
      content: "↕";
      position: absolute;
      right: var(--spacing-sm);
      color: var(--light-gold);
      opacity: 0.5;
    }

    th.sorted-asc:after {
      content: "↑";
      opacity: 1;
    }

    th.sorted-desc:after {
      content: "↓";
      opacity: 1;
    }
    
    
    /* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(43, 37, 35, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--background-alt);
  border-radius: var(--spacing-sm);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--soft-rose);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  margin-bottom: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--error);
}

.modal-body {
  padding: var(--spacing-lg);
}

.modal-footer {
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--soft-rose);
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
}

/* Modal sizes */
.modal-sm {
  max-width: 400px;
}

.modal-lg {
  max-width: 800px;
}

.modal-xl {
  max-width: 1000px;
}

/* Modal animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); }
  to { transform: translateY(0); }
}

.modal-fade {
  animation: fadeIn 0.3s ease;
}

.modal-slide {
  animation: slideIn 0.3s ease;
}

/* Form groups specifically for modals */
.modal-form-group {
  margin-bottom: var(--spacing-md);
}

.modal-form-group:last-child {
  margin-bottom: 0;
}

/* Modal form grid layout */
.modal-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -var(--spacing-xs);
}

.modal-form-col {
  flex: 1 0 0%;
  padding: 0 var(--spacing-xs);
}

.modal-form-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 var(--spacing-xs);
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
  .modal {
    width: 95%;
  }
  
  .modal-form-row {
    flex-direction: column;
  }
  
  .modal-form-col, 
  .modal-form-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* Support for scrollable modal content */
.modal-body.scrollable {
  max-height: 60vh;
  overflow-y: auto;
}

/* Modal backdrop blur effect (optional) */
.modal-backdrop-blur .modal-overlay {
  backdrop-filter: blur(4px);
}

/* Sidebar styles */
.content-wrapper {
  display: flex;
  flex-direction: row;
  min-height: calc(100vh - 73px); /* Adjust based on your navbar height */
}

.sidebar {
  width: 250px;
  background-color: var(--background-alt);
  border-right: 1px solid var(--soft-rose);
  padding: var(--spacing-md) 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 0 var(--spacing-md) var(--spacing-md);
  border-bottom: 1px solid var(--soft-rose);
  margin-bottom: var(--spacing-md);
}

.sidebar-title {
  color: var(--deep-brown);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--deep-brown);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background-color: var(--cream);
  border-left: 3px solid var(--primary);
  text-decoration: none;
}

.sidebar-nav a.active {
  background-color: var(--cream);
  border-left: 3px solid var(--primary);
  font-weight: 500;
  color: var(--primary);
}

.sidebar-nav i {
  margin-right: var(--spacing-sm);
  width: 20px;
  text-align: center;
}

.sidebar-content {
  flex-grow: 1;
  padding: var(--spacing-md);
  overflow-y: auto;
}

.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Responsive sidebar */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100%;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .sidebar-toggle {
    display: flex;
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
}
    

  /* Mobile responsiveness */
  @media (max-width: 768px) {
    html {
      font-size: 14px;
    }
    
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .navbar-nav {
      display: none;
      flex-direction: column;
      width: 100%;
      margin-top: var(--spacing-md);
    }
    
    .navbar-nav.show {
      display: flex;
    }
    
    .navbar-nav li {
      margin: var(--spacing-xs) 0;
      margin-left: 0;
    }
    
    .navbar-toggle {
      display: block;
      position: absolute;
      right: var(--spacing-md);
      top: var(--spacing-md);
    }
    
    .col {
      flex: 0 0 100%;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    h2 {
      font-size: 1.75rem;
    }
    
    h3 {
      font-size: 1.5rem;
    }
    
    .card {
      padding: var(--spacing-md);
    }

    .dashboard-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .dashboard-actions {
      margin-top: var(--spacing-sm);
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 1.75rem;
    }
    
    h2 {
      font-size: 1.5rem;
    }
    
    h3 {
      font-size: 1.25rem;
    }
    
    .btn {
      display: block;
      width: 100%;
      margin-bottom: var(--spacing-sm);
    }

    .dashboard-actions .btn {
      margin-right: 0;
    }
  }

  /* Dark mode (optional) */
  @media (prefers-color-scheme: dark) {
    :root {
      --background: #2D2825;
      --background-alt: #3D3630;
      --text-dark: #E0D3C8;
      --text-light: #FFFFFF;
      --text-muted: #B8AAA2;
    }
    
    .card {
      background-color: #3D3630;
    }
    
    input, textarea, select {
      background-color: #4D4640;
      border-color: #6B4C3E;
      color: var(--text-light);
    }
    
    .navbar {
      background-color: #3D3630;
    }
  }
  
  /* Add these styles to your existing base.css file */

/* Bottom Tab Navigation for Mobile */
.bottom-nav {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-brown);
  border-top: 1px solid var(--taupe);
  padding: var(--spacing-xs) 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xs);
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.2s ease;
  min-width: 60px;
}

.bottom-nav-item:hover {
  text-decoration: none;
  color: var(--primary);
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-icon {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.bottom-nav-text {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Adjust body padding for bottom nav on mobile */
@media (max-width: 768px) {
  /* Hide top navigation on mobile */
  .navbar {
    display: none;
  }
  
  /* Show bottom navigation on mobile */
  .bottom-nav {
    display: block;
  }
  
  /* Add padding to body to account for bottom nav */
  body {
    padding-bottom: 70px; /* Adjust based on your bottom nav height */
  }
  
  /* Optional: Add a mobile header if you want a simple top bar */
  .mobile-header {
    display: block;
    background-color: var(--deep-brown);
    color: var(--text-light);
    padding: var(--spacing-md);
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .mobile-header-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
  }
}

/* Desktop - hide mobile elements */
@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
  
  .mobile-header {
    display: none;
  }
}

/* Accessibility improvements */
.bottom-nav-item:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Animation for active state */
.bottom-nav-item.active .bottom-nav-icon {
  transform: scale(1.1);
}

/* Optional: Badge support for notifications */
.bottom-nav-item {
  position: relative;
}

.bottom-nav-badge {
  position: absolute;
  top: -2px;
  right: 8px;
  background-color: var(--error);
  color: var(--text-light);
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 0.6rem;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
  
/* Enhanced Mobile Header Styles */
.mobile-header {
  display: none; /* Hidden on desktop */
  background-color: var(--deep-brown);
  color: var(--text-light);
  padding: var(--spacing-sm) var(--spacing-md);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(164, 120, 100, 0.3);
}

.mobile-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.mobile-header-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--light-gold);
}

.mobile-header-brand:hover {
  color: var(--light-gold);
  text-decoration: none;
}

.mobile-header-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Alternative: Logo container for consistent sizing */
.mobile-header-logo-container {
  width: 32px;
  height: 32px;
  background-color: var(--light-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.mobile-header-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-header-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}

/* Optional: Menu button for additional functionality */
.mobile-header-menu {
  position: absolute;
  right: var(--spacing-md);
  background: none;
  border: none;
  color: var(--light-gold);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-header-menu:hover {
  background-color: rgba(217, 188, 145, 0.1);
}

/* Page title variant - for when you want to show current page */
.mobile-header-page-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-left: var(--spacing-sm);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Hide desktop navigation on mobile */
  .navbar {
    display: none;
  }
  
  /* Show mobile header */
  .mobile-header {
    display: block;
  }
  
  /* Show bottom navigation on mobile */
  .bottom-nav {
    display: block;
  }
  
  /* Adjust body padding for both top and bottom nav */
  body {
    padding-bottom: 70px; /* For bottom nav */
  }
  
  /* Adjust container top margin if needed */
  .container {
    margin-top: 0; /* Remove any extra top margin since we have sticky header */
  }
}

/* Desktop - hide mobile elements */
@media (min-width: 769px) {
  .mobile-header {
    display: none;
  }
  
  .bottom-nav {
    display: none;
  }
}

/* Accessibility improvements */
.mobile-header-brand:focus,
.mobile-header-menu:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Animation for smooth transitions */
.mobile-header {
  transition: box-shadow 0.3s ease;
}

/* Variant for different header styles */
.mobile-header.transparent {
  background-color: rgba(107, 76, 62, 0.95);
  backdrop-filter: blur(10px);
}

.mobile-header.minimal {
  padding: var(--spacing-xs) var(--spacing-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Small screen adjustments */
@media (max-width: 480px) {
  .mobile-header-title {
    font-size: 1rem;
  }
  
  .mobile-header-logo {
    height: 28px;
  }
  
  .mobile-header-logo-container {
    width: 28px;
    height: 28px;
  }
}

.payment-card {
      display: flex;
      align-items: center;
      gap: var(--spacing-sm);
      padding: var(--spacing-sm);
      background-color: var(--cream);
      border-radius: 4px;
      border: 1px solid var(--soft-rose);
    }
    
    .payment-card i {
      font-size: 1.5rem;
      color: var(--primary);
    }
    
    .badge {
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 12px;
      font-weight: 500;
    }
    
    .badge.bg-primary {
      background-color: var(--primary);
      color: var(--text-light);
    }
    
/* Option 1: Overlapping bubble using relative positioning */
.navbar-nav li a {
    position: relative;
}

.message-bubble {
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    line-height: 12px;
    text-align: center;
    display: inline-block;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

   