
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header {
    background: linear-gradient(to right, #007bff, #00bfff);
}
.card {
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}

.details-button {
  cursor: pointer;
  color: #0d6efd;
  text-decoration: underline;
}
.service-details {
  display: none;
  background-color: #fff;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: 56px; /* height of navbar */
    left: 0;
    height: calc(100vh - 56px);
    width: 270px;
    background: #0d6efd;
    z-index: 1040;
    transform: translateX(-100%);
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  }
  .sidebar.show {
    transform: translateX(0);
  }

  main.container {
    margin-left: 0 !important;
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  #sidebarMenu.collapse {
    display: block !important;
  }
}


/* Add to your existing <style> block */

/* New Mobile Menu Styles */
.sidebar {
  /* Existing styles */
  background: #1e1e2d;
  color: #c4c4d1;
  padding: 1rem;
  
  /* New mobile styles */
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: -250px; /* Hide off-screen by default */
  width: 250px;
  z-index: 1050;
  transition: left 0.3s ease-in-out;
}
.sidebar.show {
  left: 0; /* Show on screen */
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}
.menu-overlay.show {
  display: block;
}
.menu-content {
  flex-grow: 1;
}

/* Updated Responsive Layout */
@media (min-width: 768px) {
  body {
    flex-direction: row;
  }
  .sidebar {
    position: static;
    left: 0;
    width: 250px;
    transition: none;
  }
}

html, body {
  height: 100%;
  margin: 0;
}
body {
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.form-label {
  font-weight: 600;
}
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-float img {
  height: 60px;
  width: 60px;
}
.sidebar {
  background: #1e1e2d; /* Dark theme color */
  color: #c4c4d1;
  min-height: 100vh;
  padding: 1rem;
}
.sidebar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  text-align: center;
}
.sidebar .balance-card {
  background: #2b2b3b;
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.sidebar .balance-card .balance-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffc8; /* Bright green for balance */
}
.sidebar .menu-item {
  color: #c4c4d1;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar .menu-item i {
  font-size: 1.25rem;
  margin-right: 1rem;
}
.sidebar .menu-item:hover {
  background: #2b2b3b;
  color: #fff;
}
.sidebar .menu-item.active {
  background: #00ffc8;
  color: #1e1e2d;
  font-weight: 600;
}
.sidebar .menu-item.active i {
  color: #1e1e2d;
}
/* DataTables Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #00ffc8 !important;
    border-color: #00ffc8 !important;
    color: #1e1e2d !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #00e0b0 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #2b2b3b !important;
    border-color: #2b2b3b !important;
    color: #fff !important;
}
.dataTables_filter input {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}
.dataTables_length select {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
}
/* Responsive layout adjustments */
@media (min-width: 768px) {
  body {
    flex-direction: row;
  }
}

