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

/* View Details Button - Dashboard Style */
.view-details-btn {
    background: #6B6ADE;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.view-details-btn:hover {
    background-color: #5A5ACF;
    color: white;
    text-decoration: none;
}

body,
html {
  height: 100%;
  margin: 0;
  background: #f4f7fe;
  font-family: 'Poppins', sans-serif;
}
h1 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 0px;
}
h2 {
  color: #263238;
}
p {
  color: #555555;
}

/* Date Input Styling - Make entire field clickable */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  cursor: pointer;
  position: relative;
}

/* Ensure date inputs are fully clickable */
input[type="date"]:not(:disabled),
input[type="datetime-local"]:not(:disabled),
input[type="time"]:not(:disabled) {
  cursor: pointer;
}

/* Style the calendar picker indicator */
/* Note: We can't make it cover 100% width reliably, so JavaScript handles the click */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  padding: 4px;
  margin-left: 4px;
}

/* Remove spinner buttons for date inputs */
input[type="date"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button {
  display: none;
}

/* For Firefox - make date inputs clickable */
input[type="date"]::-moz-calendar-picker-indicator,
input[type="datetime-local"]::-moz-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
}
.title_uptext {
  color: #ffffffa8;
}
/* Sidebar */
.sidebar {
  zoom: 0.9;
  background-color: #ffffff;
  width: 250px;
  box-shadow: -6px 5px 14px 3px #0000002e;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  color: white;
  padding: 0px 15px 15px 15px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 999;
  overflow-y: auto;
  max-width: 250px; /* Ensure fixed width on zoom */
}

.sidebar-nav-links {
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav-links::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav-links::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav-links::-webkit-scrollbar-thumb {
  background: #6B6ADE;
  border-radius: 2px;
}
.search_sec {
  position: relative;
  display: flex;
  gap: 16px;
  width: 80%;
  margin-top: 20px;
}
.search_sec svg {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 10;
}
.search_sec .Search_input {
  padding-left: 45px;
  border: 1px solid #dfeaf2;
  border-radius: 8px;
  padding: 12px 15px 12px 45px;
  font-size: 14px;
  width: 300px;
  background: #fff;
}
.search_btn {
  background: #6B6ADE;
  border: none;
  border-radius: 7px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.search_btn:hover {
  background: #5a5ac7;
}
.add_btn {
  border: 2px solid #6B6ADE;
  background: #fff;
  box-shadow: 0px 1px 1px 0px #00000024;
  padding: 10px 20px;
  border-radius: 8px;
  color: #6B6ADE;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.add_btn:hover {
  color: #fff;
  background-color: #6B6ADE;
  border-color: #6B6ADE;
}

/* Unified action buttons (vehicles/vendors forms) */
.nxz-action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.nxz-btn-primary {
  background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}
.nxz-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107,106,222,0.35);
}
.nxz-btn-primary:disabled { opacity: .7; cursor: not-allowed; }

.nxz-btn-secondary {
  background: #fff;
  border: 1px solid #6c757d;
  color: #6c757d;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
.nxz-btn-secondary:hover { background: #6c757d; color: #fff; }

/* Shared section containers and titles (forms) */
.form-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 18px 18px 8px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Link styles used inside form headers or helpers */
.nxz-link {
  color: #6B6ADE;
  text-decoration: none;
}
.nxz-link:hover { text-decoration: underline; }
.head_left {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header_title {
  margin-bottom: 20px;
}
/* Default title_uptext for all pages except vehicle/vendor/customer table pages */
.title_uptext {
  color: #ffffffa8;
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
  margin-left: 290px !important; /* Aligned with sidebar */
  margin-bottom: 5px;
}
.header_title h1 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}
.record-count {
  color: #6c7a91;
  font-size: 14px;
  margin-top: 10px;
}
/* Pagination Wrapper - Common Styling for All Pages */
.pagination-wrapper {
    padding: 16px 0;
    flex-shrink: 0;
}

.pagination-wrapper .pagination-info {
    font-size: 14px;
    flex-shrink: 0;
}

.pagination-wrapper .pagination {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-wrapper .pagination .page-item {
    margin: 0;
}

.pagination-wrapper .pagination .page-item .page-link {
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    color: #6B7280;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .pagination .page-item .page-link:hover {
    background: #F3F4F6;
    border-color: #6B6ADE;
    color: #6B6ADE;
    transform: translateY(-1px);
}

.pagination-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    border-color: #6B6ADE;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(107, 106, 222, 0.3);
}

.pagination-wrapper .pagination .page-item.disabled .page-link {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #D1D5DB;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-wrapper .pagination .page-item.disabled .page-link:hover {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #D1D5DB;
    transform: none;
}

/* Previous/Next Button Styling */
.pagination-wrapper .pagination .page-item:first-child .page-link,
.pagination-wrapper .pagination .page-item:last-child .page-link {
    font-weight: 600;
    padding: 8px 16px;
}

/* Remove any default Bootstrap pagination icons/symbols that might cause overlap */
.pagination-wrapper .pagination .page-item .page-link::before,
.pagination-wrapper .pagination .page-item .page-link::after {
    display: none !important;
    content: none !important;
}

/* Ensure no icon fonts interfere */
.pagination-wrapper .pagination .page-item .page-link i,
.pagination-wrapper .pagination .page-item .page-link svg {
    display: none;
}

/* Ensure pagination spans are properly styled */
.pagination-wrapper .pagination .page-item span.page-link {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #6B7280;
    cursor: default;
}

.pagination-wrapper .pagination .page-item span.page-link:hover {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #6B7280;
    transform: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 12px;
    }
    .pagination-wrapper .pagination-info {
        text-align: center;
        width: 100%;
    }
    .pagination-wrapper .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    .pagination-wrapper .pagination .page-item .page-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 36px;
    }
}

.sidebar .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  gap: 20px;
  margin-bottom: 25px;
}
.head_right {
  display: grid;
  justify-content: right;
  gap: 41px;
  padding: 5px 0px;
}
.add_btn {
  border: none;
  background: #fff;
  box-shadow: 0px 1px 1px 0px #00000024;
  padding: 10px 20px;
  border-radius: 4px;
  color: #6b6ade;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-decoration: none;
}
.AddBranch:hover {
  color: #fff;
  background-color: #5d5fef;
  border-color: none;
}
.Cancel_Btn {
  background: #e8e8e8;
  border: none;
  color: #000;
  font-size: 14px;
  padding: 10px 30px;
  margin-bottom: 15px;
  font-weight: 600;
}
.AddBranch {
  background: #5d5fef;
  border: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  color: #fff !important;
}

.profile .scan {
  margin-left: 15px;
}
/* .profile #globalRecordsFilter {
  padding: 8px 12px;
} */
/* Header Layout */
.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Common Header Icons Styling */
.header-icon {
  cursor: pointer;
  position: relative;
  margin: 0px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.header-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.header-icon i {
  font-size: 16px;
  color: white;
}

.scan {
  cursor: pointer;
  position: relative;
  margin: 0px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.scan:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Default header h1 for all pages except vehicle/vendor/customer table pages */
.header h1 {
  font-size: 20px;
  font-weight: 400;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 0 0 276px !important;
  text-wrap: nowrap;
  padding: 0;
}
.profileCol {
  padding-right: 0px !important;
}
.sidebar .logo img {
  width: 25%;
  border-radius: 14px;
}
.sidebar .logo h3 {
  color: #333;
  font-weight: 600;
  font-family: "Poppins", sans-serif !important;
  font-style: italic;
  font-size: 18px;
}
.sidebar .logo .border_logo {
  width: 100%;
}

.sidebar .nav-link {
  color: #444444;
  font-size: 13px;
  margin-bottom: 8px;
  gap: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 8px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.sidebar .nav-link:hover {
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #6b6ade;
}

.sidebar .nav-link.menuActive {
  background-color: #6B6ADE;
  border-radius: 8px;
  color: white;
  box-shadow: 0px 5px 14px 0px rgba(107, 106, 222, 0.3);
}

.sidebar .nav-link.menuActive .sidebar-nav-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.sidebar .nav-link.menuActive .sidebar-nav-icon i {
  color: white;
}

/* Pending Booking Badge */
.pending-booking-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background-color: #ef4444;
  color: #ffffff !important;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  margin-left: auto;
  margin-right: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.sidebar .nav-link {
  position: relative;
}

.sidebar .nav-link .nav-link-text {
  flex: 1;
  white-space: nowrap;
}

.sidebar-nav-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  flex-shrink: 0;
}

.sidebar-nav-icon i {
  font-size: 16px;
  color: #6B6ADE;
}

/* Header */
/* Default header for all pages except vehicle/vendor/customer table pages */
.header {
  height: 80px !important;
  width: 100%;
  zoom: 0.9;
  object-fit: cover;
  background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
  box-shadow: 0 4px 20px rgba(107, 106, 222, 0.3);
  padding: 20px 15px;
  position: fixed;
  top: 0;
  left: 0px;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head_lddeft {
  display: flex;
  align-items: center;
  height: 100%;
}

.header_tdditle {
  display: flex;
  align-items: center;
  height: 100%;
}

.head_right {
  display: grid;
  justify-content: right;
  gap: 41px;
  padding: 5px 0px;
}
.profileCol {
  padding-right: 0px !important;
}
.filter-options {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.VehicleSearch {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}
.vechileRow {
  margin: 0;
}
.header-section.addVehicle {
  display: flex;
  align-items: end;
}
.innerPage {
  background: #fff;
  border: 2px solid #6B6ADE;
  border-radius: 8px;
  padding: 8px 16px;
  color: #6B6ADE;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.innerPage:hover {
  background: #6B6ADE;
  color: #fff;
}
.btn-custom {
  background: #fff;
  border: 2px solid #6B6ADE;
  border-radius: 8px;
  padding: 8px 16px;
  color: #6B6ADE;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: #6B6ADE;
  color: #fff;
}
.filter-section {
  box-shadow: 6px 6px 54px 0px #0000000d;
  background: #fff;
  padding: 15px 15px;
  border-radius: 12px;
  border: none;
}
.form-control {
  border: 1px solid #dfeaf2;
  color: #101010;
  font-size: 14px;
}

/* Input Placeholder Styles */
::placeholder {
    color: #909090 !important;
    opacity: 1;
}

::-webkit-input-placeholder {
    color: #909090 !important;
}

::-moz-placeholder {
    color: #909090 !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #909090 !important;
}

:-moz-placeholder {
    color: #909090 !important;
    opacity: 1;
}
.form-group label {
  color: #555;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}
.upload-section label {
  color: #555555;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

/* Header Dropdown Styling */
.select-container {
  position: relative;
  display: inline-block;
}

.select-button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.select-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.select-container .select-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  min-width: 150px;
  z-index: 1000;
  display: none;
}

.select-container .select-dropdown.show {
  display: block;
}

.select-container .option {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s ease;
}

.select-container .option:hover {
  background-color: #f8f9fa;
}

.select-container .option.selected {
  background-color: #6B6ADE;
  color: white;
}

/* Profile Dropdown */
.profile_menu {
  position: relative;
  display: inline-block;
}

.profile_img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile_img i {
  font-size: 16px;
  color: white;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  width: 100%;
  max-height: 400px;
  z-index: 1;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.menu-item {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.menu-item:hover {
  background-color: #f8f9fa;
}

/* Notification Styling */
.notify {
  position: relative;
  cursor: pointer;
}

.notification-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.notifications-container {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  min-width: 300px;
  z-index: 1000;
  display: none;
}

.notifications-container.show {
  display: block;
}

.notifications-header h2 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #333;
}

.notifications-count {
  font-size: 12px;
  color: #666;
}

.tabs {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.tab {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab.active {
  color: #6B6ADE;
  border-bottom-color: #6B6ADE;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.notification-list {
  min-height: 100px;
  max-height: 400px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

/* Main Content */
/* Default main content for all pages except vehicle/vendor/customer table pages */
.main-content {
  margin-top: 0 !important; /* Removed margin-top */
  margin-left: 265px; /* Aligned with header h1, accounting for padding */
  padding: 20px; /* Add proper padding for content */
  padding-top: 100px; /* Start below header (80px) + 20px padding from header bottom */
  overflow-x: auto; /* Allow horizontal scrolling when needed */
  background: #f8f9fa;
  min-height: calc(100vh - 100px); /* Adjust min-height: header (80px) + padding-top (20px) */
  box-sizing: border-box; /* Include padding in width calculation */
  zoom: 0.9; /* Match dashboard zoom */
  position: relative;  
  width: calc(100% - 276px); /* Fit window minus sidebar */
}

/* Default header icon spacing for all pages except vehicle/vendor/customer table pages */
.head_right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: end;
}

.scan,
.notify,
.profile_menu {
  margin: 0 5px;
}

/* Common Search and Add Button Styles */
.common-header-controls {
  position: absolute;
  top: 50px;
  left: 276px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.common-search-container {
  display: flex;
  margin-top: 10px;
  gap: 10px;
}

.common-search-container .input-group {
  width: 300px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.common-search-container .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #6c757d;
}

.common-search-container .form-control {
  border: 1px solid #dee2e6;
  border-left: none;
}

.common-search-container .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.common-add-container .btn {
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.common-add-container .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.common-search-container .btn-outline-secondary {
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-color: #6c757d;
  color: #6c757d;
}

.common-search-container .btn-outline-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
}


/* Responsive Design */
@media (max-width: 1200px) {
  .main-content {
    margin-top: 0 !important;
    margin-left: calc(20% - 20px); /* Account for left padding (20px) */
    padding: 15px 20px; /* Reduce padding on smaller screens */
    padding-top: 100px; /* Start below header (80px) + 20px padding from header bottom */
    width: calc(100vw - 20%); /* Ensure responsive width */
    max-width: calc(100vw - 20%); /* Prevent overflow */
  }
}

@media (max-width: 768px) {
  /* Mobile Menu Toggle Button */
  .mobile-menu-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    height:100%;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 20px;
  }
  
  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* Sidebar - Mobile */
  .sidebar {
    width: 0 !important;
    overflow: hidden;
    transition: width 0.3s ease, padding 0.3s ease;
    position: fixed !important;
    left: 0 !important;
    z-index: 999 !important;
    padding: 0 !important;
    height: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .sidebar.active {
    width: 250px !important;
    padding: 0px 15px 15px 15px !important;
  }
  
  /* Overlay for mobile sidebar */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
  
  .main-content {
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding: 10px 15px !important;
    padding-top: 90px !important; /* Header (70px) + 20px padding from header bottom */
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    left: 0 !important;
  }
  
  /* Header - Mobile */
  .header {
    padding: 12px 15px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
  }
  
  .header:hover {
    height: 70px !important;
  }
  
  .header .row {
    margin: 0 !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative;
    height: 100%;
    display: flex !important;
  }
  
  .header .row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  
  .head_lddeft {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    z-index: 10;
  }
  
  .header_tdditle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1;
    flex-wrap: wrap;
    gap: 8px;
    height: 100%;
  }
  
  .header h1 {
    font-size: 16px !important;
    margin: 0 !important;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }
  
  .head_right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: auto !important;
    z-index: 10;
  }
  
  .profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
  }
  
  .mobile-menu-toggle {
    z-index: 1001;
    font-size: 24px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  
  /* Ensure all header children are vertically centered */
  .header .col-md-6,
  .header .profileCol {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
  }
  
  /* Header icons - Mobile */
  .header-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .header-icon i {
    font-size: 16px !important;
  }
  
  /* Hide fullscreen button in mobile */
  #viewFullScreen {
    display: none !important;
  }
  
  /* Global filter in header - Mobile */
  .header_tdditle .select-container {
    margin-left: 20px !important;
    margin-right: 0 !important;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
  }
  
  .select-button {
    font-size: 12px !important;
    padding: 6px 12px !important;
    height: 36px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px !important;
  }
  
  .dropdown {
    font-size: 13px !important;
    right: -10px !important;
    left: auto !important;
    min-width: 160px !important;
  }
  
  .dropdown .option {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
  
  /* Dashboard - Mobile */
  .stats-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-card {
    width: 100%;
    margin-bottom: 15px;
  }
  
  /* Responsive Icons */
  .header-icon {
    width: 36px;
    height: 36px;
    margin: 0 5px;
  }
  
  /* Search and Filters - Mobile */
  .vehicle-search-container,
  .customer-search-container,
  .vendor-search-container {
    width: 100%;
    margin-bottom: 12px;
    height: 40px;
  }
  
  .search-input {
    height: 40px !important;
    font-size: 14px !important;
  }
  
  .search-icon {
    font-size: 14px !important;
  }
  
  .filter-row {
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
  }
  
  .filter-row .col-md-2,
  .filter-row .col-md-4,
  .filter-row .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin-bottom: 8px;
  }
  
  .filter-row .form-select {
    width: 100% !important;
    font-size: 14px !important;
    height: 40px !important;
  }
  
  .filter-row .btn {
    width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  /* Tables - Mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .sidebar-overlay {
    display: none !important;
  }
}

/* Zoom-friendly styles */
@media (min-resolution: 1.5dppx) {
  .main-content {
    overflow-x: auto; /* Ensure scrolling is available on high DPI displays */
  }
}

/* Handle very wide content */
.main-content * {
  max-width: 100%; /* Prevent any child element from exceeding container width */
  box-sizing: border-box;
  border: none; /* Include padding/borders in width calculations */
}

/* Ensure tables and wide content are scrollable */
.main-content table {
  min-width: 100%; /* Ensure tables take full width */
  table-layout: auto; /* Allow table to adjust column widths */
}

.main-content .table-responsive {
  overflow-x: auto; /* Allow horizontal scrolling for tables */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
.logout-btn {
  color: #fff;
  background-color: #dc3545;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}

.logout-btn:hover {
  background-color: #c82333;
}

.loader-container {
  display: none; /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999; /* Ensure it's on top */
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  border: 16px solid #f3f3f3; /* Light grey border */
  border-top: 16px solid #3498db; /* Blue top border */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* table css */
/* Global Table Styles - Vehicle Table Design Applied to All Tables */
.table-striped tr {
  border: none;
  border-radius: 13px;
}
.table-striped tr td {
  border: none;
  background: #fff;
  color: #263238 !important;
  font-size: 14px !important;
  vertical-align: middle;
  padding: 15px 8px;
}
.table-striped tr th {
  border: none;
  background: #f3f6f9 !important;
  color: #464e5f !important;
  font-weight: 600;
  font-size: 12px;
  vertical-align: middle;
  padding: 15px 8px;
}
/* Ensure all table headers use the vehicle table design */
.table thead th,
.table-striped thead th,
.table-bordered thead th {
  background: #f3f6f9 !important;
  color: #464e5f !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  border: none !important;
  vertical-align: middle;
  padding: 15px 8px;
}
/* Ensure all table cells use the vehicle table design */
.table tbody td,
.table-striped tbody td,
.table-bordered tbody td {
  color: #263238 !important;
  font-size: 14px !important;
  border: none !important;
  background: #fff !important;
  vertical-align: middle;
  padding: 15px 8px;
}

/* Vehicle Table Specific Elements - Global Styles */
/* Brand icon in tables */
.table .brand-icon-placeholder img,
.table .vehicle-brand-logo img {
  width: 30px;
  height: 30px;
}

/* Vehicle/Customer color badge in tables */
.table .vehicle-color-badge,
.table .customer-color-badge,
.table .vendor-color-badge {
  width: 30px;
  height: 30px;
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* Rental info icon in tables */
.table .rental-info-icon {
  cursor: pointer;
}

.table .rental-info-icon:hover {
  color: #6B6ADE !important;
}

/* Vehicle status badge in tables */
.table .vehicle-status-badge {
  color: #FFFFFF;
  border-radius: 9999px;
  font-weight: 500;
  padding: 4px 12px;
  display: inline-block;
  transition: background-color 0.2s ease;
  font-size: 12px;
}

/* Table action links (View, Edit, etc.) */
.table tbody td a.text-primary.text-decoration-none {
  font-weight: 500;
}

/* Custom Dropdown Design - Global Styles */
.form-select {
  position: relative;
  display: none; /* Hide the original select */
}
.card{
 
  background-color: transparent;  
  background-clip: border-box;
  border: none;
  border-radius: var(--bs-card-border-radius);

}

.card-header {background:transparent; }

/* Vehicle View Page - Override global card styles */
.vehicle-view-page .card {
  background-color: #FFFFFF !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.vehicle-view-page .card-header {
  background: #FFFFFF !important;
  border-bottom: 1px solid #e9ecef !important;
  padding: 16px 20px !important;
}

.vehicle-view-page .card-body {
  background: #FFFFFF !important;
  padding: 20px !important;
}
/* Reports common utilities */
.btn-pill { border-radius: 999px; padding-left: 16px; padding-right: 16px; }
.report-table { border: 1px solid rgba(17,24,39,.08); border-radius: 12px; overflow: hidden; }
.report-table thead th { background: #fff; color: #111827; font-weight: 600; border:none; }
.report-table td, .report-table th { padding: 14px 16px; vertical-align: middle; }
.report-table tbody tr + tr td { border-top-color: rgba(17,24,39,.06); }
.no-bottom-borders > :not(caption) > * > * { border-bottom-width: 0 !important; }
.no-bottom-borders tbody td { border-bottom: 0 !important; }
.no-bottom-borders thead th { background: #F1F4F9 !important; border-bottom: 0 !important; }

/* Custom dropdown wrapper */
.form-select-wrapper {
  position: relative;
  width: 100%;
}

.form-select-wrapper .dropdown-toggle {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: white;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select-wrapper .dropdown-toggle:focus,
.form-select-wrapper .dropdown-toggle.dropdown-toggle-focused {
  border-color: #6B6ADE;
  
}

.form-select-wrapper .dropdown-toggle:hover {
  border-color: #6B6ADE;
}

.form-select-wrapper .dropdown-toggle .selected-text {
  flex: 1;
  color: black;
  font-size:12px;
}

.form-select-wrapper .dropdown-toggle .dropdown-arrow {
  color: black;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.form-select-wrapper.open .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}

.form-select-wrapper .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 4px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.form-select-wrapper.open .dropdown-menu {
  display: block;
}

/* Flip upwards when wrapper has drop-up */
.form-select-wrapper.drop-up .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.form-select-wrapper .dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
  font-size: 12px;
  color: #495057;
}

.form-select-wrapper .dropdown-option:last-child {
  border-bottom: none;
}

.form-select-wrapper .dropdown-option:hover {
  background-color: #f8f9fa;
}

.form-select-wrapper .dropdown-option.selected {
  background-color: #e3f2fd;
  color: #1976d2;
  font-weight: 500;
}

.form-select-wrapper .dropdown-option:first-child {
  border-radius: 8px 8px 0 0;
}

.form-select-wrapper .dropdown-option:last-child {
  border-radius: 0 0 8px 8px;
}

/* Error states */
.form-select-wrapper.is-invalid .dropdown-toggle {
  border-color: #dc3545;
}

.form-select-wrapper.is-invalid .dropdown-toggle:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #fff;
  vertical-align: middle;
  padding: 15px 8px;
}
.table-striped > tbody > tr:nth-of-type(even) > * {
  --bs-table-accent-bg: #fff;
  vertical-align: middle;
  padding: 15px 8px;
}
thead th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

thead th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

tbody tr {
  border-bottom: 1px solid #ddd;
}
.Mandatory_Star {
  color: #ff3a4d;
  margin-left: 2px;
}
.card-title {
  color: #5d5fef;
  font-size: 18px !important;
  font-weight: 600;
  margin-bottom: 20px;
}

/* profile dropdown css */
.profile-container {
  position: relative;
  display: inline-block;
}

/* Profile button styles */
.profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: white;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dropdown menu styles */
.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 15px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 4px 4px 0px #00000040;
  display: none;
  overflow: hidden;
  z-index: 1;
  padding: 10px 10px;
  max-height: 400px;
}

.dropdown-menu.show {
  display: block;
}

/* Menu items styles */
.menu-item {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #212121;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background-color: #dbe4ff;
  border-radius: 6px;
  font-weight: 600 !important;
  color: #5252e0;
}

.menu-item.manage-account {
  font-weight: 500;
}

.menu-item.manage-account:hover {
  background-color: #e5edff;
}

/* notifications */

/* Notification Icon Styles */
.notification-trigger {
  cursor: pointer;
}
.notify {
  cursor: pointer;
  position: relative !important;
  margin: 0px 15px;
}

.notification-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #ffc107;
  color: white;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notifications-container {
  position: absolute;
  z-index: 999;
  top: 50px;
  right: 0px;
  width: 320px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.notifications-container.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.notifications-header {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.notifications-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #263238;
}

.notifications-count {
  font-size: 12px;
  color: #666;
}

.tabs {
  display: flex;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
  gap: 0;
}

.tab {
  padding: 8px 0;
  margin-right: 16px;
  border-bottom: 2px solid transparent;
  color: #666;
  cursor: pointer;
  font-size: 13px;
}

.tab.active {
  color: #4f46e5;
  border-bottom-color: #4f46e5;
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}



.notification-item {
  padding: 8px 12px;
  display: flex;
  align-items: start;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.notification-item:last-child {
  border-bottom: 0px;
}
.notification-actions .view-btn:hover {
  background: #6366f1 !important;
  color: #fff;
}
.notification-actions .mark-read-btn {
  background: #f3f4f6 !important;
  color: #374151;
}
.notification-actions .mark-read-btn:hover {
  background: #e5e7eb !important;
  color: #374151;
}
.notification-actions .snooze-btn:hover {
  background: #f3f4f6 !important;
  color: #374151;
}
.notification-actions button {
  padding: 3px 10px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.notification-item:hover {
  background: #f9fafb;
}

.snooze-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 150px;
  margin-top: 4px;
}

.snooze-option-btn {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background: white;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.snooze-option-btn:last-child {
  border-bottom: none;
}

.snooze-option-btn:hover {
  background: #f3f4f6;
}

.custom-date-container {
  padding: 10px;
  border-top: 1px solid #e5e7eb;
}

.custom-date-input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 12px;
}

.view-all-notifications-container {
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  background: #f9fafb;
}

.view-all-notifications-link {
  display: inline-block;
  color: #4f46e5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.view-all-notifications-link:hover {
  color: #4338ca;
  text-decoration: underline;
}

.snoozed-badge {
  display: inline-block;
  padding: 3px 8px;
  background: #ffc107;
  color: #212529;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.car-icon {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.3;
}

.notification-message {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.4;
}

.notification-actions {
  position: relative;
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.notification-actions .btn {
  position: relative;
}



.btn-primary {
  background: #4f46e5;
  color: white;
}

.btn-primary:hover {
  background: #4338ca;
}

.btn-secondary {
  background: #f3f4f6;
  color: #333;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.notification-time {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.empty-state {
  padding: 40px 20px;
  text-align: center;
  color: #666;
}
/* notifications */

.snooze-card {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 10px;
  top: 35px;
  right: 0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  background-color: white;
}
.snooze-card select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
.snooze-card-btn {
  color: #6200e8;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  background: none;
}
.snooze-card h3 {
  font-size: 18px;
  font-weight: 600;
}
.snooze-card.show {
  display: flex;
}
.error-message {
  color: red;
  font-size: 12px;
}
#viewFullScreen {
  cursor: pointer;
}
.copyToClipBoard {
  cursor: pointer;
}
/* right popup */
/* Styles for the right-half popup */
.popup-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1000;
  overflow-y: auto;
  padding: 10px;
  text-align: center;
}

.popup-content {
  border-radius: 8px;
  text-align: center;
  max-height: 80%;
  overflow: auto;
  margin-bottom: 10px;
}

.popup-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.popup-embed {
  width: 100%;
  height: 80vh;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration:none;
  text-wrap: nowrap;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Global Button Hover Effects */
.btn:hover {
  border-color: var(--bs-btn-hover-border-color);
  transform: translateY(-2px);
  text-decoration:none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
  
}

.close-btn {
  background: red;
  color: white;
}

.download-btn {
  background: green;
  color: white;
  text-decoration: none;
  display: none;
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

.popup-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.popup-content {
  width: 100%;
  height: 80%;
  /* background-color: #fff; */
  border-radius: 8px;
  overflow: hidden;
}

.popup-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popup-footer {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

.download-btn {
  color: white;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
/* end */
/* header date picker options */
#globalRecordsFilterDiv {
  display: none;
}

.select-container {
  position: relative;
  width: 230px;
}

.select-button {
  width: 100%;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #fff;
}

.select-button:after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.select-button.active:after {
  transform: rotate(-135deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1;
}

.dropdown.active {
  display: block;
}

.option {
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin: 8px 8px;
  border-radius: 6px;
}

.option:hover {
  background: #dbe4ff;
  color: #5252e0;
  font-weight: 600;
}

.option.selected {
  background-color: #f0f1ff;
  color: #5252e0;
  font-weight: 600;
}

.date-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px 15px;
  position: absolute;
  background: #fff;
  width: 100%;
  box-shadow: 0px 0px 5px #7e7474;
  border-radius: 10px;
  top: -12px;
  left: -102%;
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-input-group label {
  font-size: 14px;
  color: #64748b;
}

.date-input-group input {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
}

.date-input-group input:focus {
  outline: none;
  border-color: #6366f1;
}

.apply-button {
  margin-top: 12px;
  padding: 8px 16px;
  background-color: #6366f1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

.apply-button:hover {
  background-color: #4f46e5;
}

.imageBoxView {
  width: -webkit-fill-available;
  height: -webkit-fill-available;
}
.innerPage {
  background: #fff;
  color: #6c63ff;
  font-weight: 600;
  box-shadow: 0px 0px 5px #00000033;
  padding: 10px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
}
.mandatoryFieldSpan {
  color: red;
  font-weight: bold;
}
#rows-per-page {
  position: relative;
}
#rows-per-page::after {
  content: "\f078";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  color: #000;
  font-size: 18px;
  padding-right: 0.5em;
  position: absolute;
  top: 10px;
  left: 0;
  position: absolute;
}
.document-icon {
  width: 85px;
  height: 85px;
}
.imageBoxView {
  width: 40px;
  height: auto;
}
.Doc_View .small {
  margin-top: 10px;
}
.Doc_View {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.frontImg,
.backImg {
  color: #ff5722;
  font-size: 14px;
  text-decoration: none;
}
label {
  color: #555;
  font-weight: 500;
}

.popup-container::after {
  content: ("");
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
}
.tooltripText {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tooltripTitle {
  font-size: 14px;
  color: #555;
  font-weight: 500;
  font-style: italic;
}
.tooltripValue {
  font-size: 16px;
  color: #212121;
  font-weight: 600;
}
.price-tooltip {
  box-shadow: 0px 0px 1px 0px #435a6f78 !important;
  box-shadow: 0px 4px 4px 0px #00000040 !important;
  border-radius: 10px !important;
}
.price-tooltip h4 {
  font-size: 16px !important;
}
.snooze-btn {
  background: #f3f4f6;
  color: #374151;
}
.view-btn {
  background: #6366f1;
  color: white;
}
.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #28a745;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  display: none;
}
.saveBtn,
.saveBtn:hover {
  background: #5d5fef;
  border: none;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
}
.cancelBtn,
.cancelBtn:hover {
  color: #5d5fef;
  border: 1px solid #5d5fef;
  background: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
}
.hideElement {
  display: none;
}
.datepicker-dropdown {
  z-index: 999 !important;
}
.document-icon {
  cursor: pointer;
  transition: transform 0.2s;
}

/* Vehicle Management Search Bar */

 /* Filter dropdowns styling */
 #vehicleTypeFilter,
 #statusFilter,
 #fuelTypeFilter {
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 12px;
 }

 /* Make first option visible and style it properly */
 #vehicleTypeFilter option:first-child,
 #statusFilter option:first-child,
 #fuelTypeFilter option:first-child {
    color: #909090 !important;
    display: block !important;
    font-weight: 500;
 }

 /* Style the select when no value is selected */
 #vehicleTypeFilter option[value=""],
 #statusFilter option[value=""],
 #fuelTypeFilter option[value=""] {
    color: #909090 !important;
    background-color: transparent !important;
 }

 /* Style the select element when default option is selected */
 #vehicleTypeFilter:invalid,
 #statusFilter:invalid,
 #fuelTypeFilter:invalid {
    color: #909090 !important;
 }

 #vehicleTypeFilter option:not([value=""]),
 #statusFilter option:not([value=""]),
 #fuelTypeFilter option:not([value=""]) {
    color: #495057 !important;
 }

/* Profile Dropdown Styles */
.profile-dropdown-menu {
  min-width: 200px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
}

.profile-dropdown-menu .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  transition: background-color 0.2s ease;
}

.profile-dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #6B6ADE;
}

.profile-dropdown-menu .dropdown-item i {
  width: 16px;
  margin-right: 8px;
  color: #6c757d;
}

.profile-dropdown-menu .dropdown-divider {
  margin: 8px 0;
  border-color: #e9ecef;
}

/* Global Filter Styles */
.filter-row {
    margin-bottom: 20px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.filter-row .col-md-2 {
    background: none !important;
}

.filter-row .col-md-4 {
  background: none !important;
}
/* Custom dropdown styles for filter rows - vehicles/customers/vendors */
.filter-row .form-select-wrapper .dropdown-toggle {
    border: none;
    border-radius: 8px;
    background:transparent;
    box-shadow: none;
}

/* Filter selected text - Gray (before selection) */
.filter-row .form-select-wrapper .dropdown-toggle .selected-text {
    color: #919191 !important;
    font-weight: 500 !important;
}

/* Filter selected text - Purple (after selection) */
.filter-row .form-select-wrapper .dropdown-toggle.has-selection .selected-text {
    color: #6B6ADE !important;
    font-weight: 500 !important;
}

.filter-row .form-select {
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-row .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(107, 106, 222, 0.25);
    outline: none;
}

/* Content Wrapper - Remove borders and backgrounds */
.content-wrapper {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
}

/* Customer/Vendor Header Card */
.customer-header-card,
.vendor-header-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px 28px;
    margin-bottom: 24px;
}

/* White Header Style for Customer */
.customer-header-card.white-header {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px 28px;
    margin-bottom: 24px;
}

.customer-header-card.white-header .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.customer-header-card.white-header h2 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.customer-header-card.white-header .text-muted,
.customer-header-card.white-header .small.text-muted {
    color: #9ca3af !important;
}

.customer-header-card.white-header .btn-link {
    color: #2563eb !important;
    text-decoration: none;
    font-weight: 500;
}

.customer-header-card.white-header .btn-link.text-danger {
    color: #EF4444 !important;
}

.customer-header-card.white-header .btn-link:hover {
    opacity: 0.8;
}

/* Vendor Header Card - White Background Style */
.vendor-header-card.white-header {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    margin-bottom: 24px;
}

.vendor-header-card.white-header .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vendor-header-card.white-header h2 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.vendor-header-card.white-header .text-muted,
.vendor-header-card.white-header .small.text-muted {
    color: #9ca3af !important;
}

.vendor-header-card.white-header .btn-link {
    color: #2563eb !important;
    text-decoration: none;
    font-weight: 500;
}

.vendor-header-card.white-header .btn-link.text-danger {
    color: #EF4444 !important;
}

.vendor-header-card.white-header .btn-link:hover {
    opacity: 0.8;
}

.vendor-header-card.white-header .vendor-details-group {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.vendor-header-card.white-header .vendor-details-group-horizontal {
    display: flex;
    gap: 60px;
    align-items: center;
}

.vendor-header-card.white-header .vendor-detail-item {
    min-width: 0;
}

.vendor-header-card.white-header .vendor-detail-label {
    color: #9ca3af;
    font-size: 11px;
    margin-bottom: 2px;
    display: block;
}

.vendor-header-card.white-header .vendor-detail-value {
    color: #2c3e50;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .vendor-header-card.white-header .vendor-details-group {
        flex-direction: column;
        gap: 16px;
    }
}

.customer-header-card .status-dot,
.vendor-header-card .status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.customer-header-card h2,
.vendor-header-card h2 {
    font-size: 24px;
    color: #2c3e50;
}

/* Remove card styling from show pages */
.content-wrapper .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

.content-wrapper .card-header {
    background: #f1f4f9;
    border-bottom: 2px solid #dee2e6;
    border-radius: 12px 12px 0 0 !important;
    padding: 16px 24px;
}

.content-wrapper .card-header h6 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.content-wrapper .card-body {
    padding: 20px 24px;
}

.content-wrapper .card .table-responsive {
    background: transparent;
}

.content-wrapper .card .table {
    border: none !important;
    background: white;
}

.content-wrapper .card .table thead th {
    background: #f3f6f9 !important;
    border: none;
    font-weight: 600;
    color: #464e5f !important;
    font-size: 12px !important;
    padding: 15px 8px;
}

.content-wrapper .card .table tbody td {
    border: none !important;
    background: #fff !important;
    color: #263238 !important;
    font-size: 14px !important;
    padding: 15px 8px;
    vertical-align: middle;
}

.content-wrapper .card .table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Unified Search Bar Container */
.vehicle-search-container,
.customer-search-container,
.vendor-search-container,
.booking-search-container {
    position: relative;
    border-radius: 8px;
    border: 0.5px solid #dee2e6;
    background: white;
    overflow: hidden;
}

.vehicle-search-container .search-icon,
.customer-search-container .search-icon,
.vendor-search-container .search-icon,
.booking-search-container .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.vehicle-search-container .search-input,
.customer-search-container .search-input,
.vendor-search-container .search-input,
.booking-search-container .search-input {
    width: 100% !important;
    height: 44px !important;
    padding: 0 15px 0 45px !important;
    border: none !important;
    font-size: 14px !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 44px !important;
}

.vehicle-search-container .search-input:focus,
.customer-search-container .search-input:focus,
.vendor-search-container .search-input:focus,
.booking-search-container .search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.filter-row .btn-primary {
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(107, 106, 222, 0.3);
    transition: all 0.3s ease;
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
}

.filter-row .btn-primary:hover {
    transform: translateY(-1px);
    color:white;
    box-shadow: 0 4px 12px rgba(107, 106, 222, 0.4);
}

.vehicle-color-badge {
    transition: transform 0.2s ease;
}

.vehicle-color-badge:hover {
    transform: scale(1.1);
}

/* Need Help Section */
.need-help-section {
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.need-help-content {
    max-width: 600px;
    margin: 0 auto;
}

.need-help-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.need-help-icon i.fa-folder {
    font-size: 80px;
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 2;
}

.need-help-docs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.need-help-docs i {
    position: absolute;
    font-size: 30px;
    color: #E5E7EB;
    opacity: 0.7;
}

.need-help-docs i.fa-file-alt {
    top: -20px;
    right: -20px;
    transform: rotate(-15deg);
}

.need-help-docs i.fa-file-pdf {
    bottom: -20px;
    left: -30px;
    transform: rotate(15deg);
}

.need-help-docs i.fa-chart-pie {
    top: -10px;
    left: -25px;
    transform: rotate(-25deg);
}

.need-help-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.need-help-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn-documentation {
    background: white;
    color: #6B6ADE;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-documentation:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sidebar Need Help Section */
.sidebar-need-help {
    margin-top: auto;
    padding: 0px;
    text-align: center;
    background: transparent;
    border: 2px solid rgba(107, 106, 222, 0.2);
    border:none;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 20px;
}

.need-help-icon-sidebar {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.need-help-icon-sidebar i.fa-folder {
    font-size: 50px;
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.need-help-docs-sidebar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.need-help-docs-sidebar i {
    position: absolute;
    font-size: 18px;
    color: rgba(107, 106, 222, 0.5);
}

.need-help-docs-sidebar i.fa-file-alt {
    top: -12px;
    right: -15px;
    transform: rotate(-15deg);
}

.need-help-docs-sidebar i.fa-file-pdf {
    bottom: -12px;
    left: -20px;
    transform: rotate(15deg);
}

.need-help-docs-sidebar i.fa-chart-pie {
    top: -8px;
    left: -18px;
    transform: rotate(-25deg);
}

.need-help-title-sidebar {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.need-help-subtitle-sidebar {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 15px;
}

.btn-documentation-sidebar {
    background: linear-gradient(135deg, #6B6ADE 0%, #3C3CE1 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-documentation-sidebar:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 106, 222, 0.3);
}

/* Booking Flow UI polish */
.booking-flow .progress-steps { display:flex; align-items:center; gap:14px; margin-bottom:12px; }
.booking-flow .progress-steps .step { color:#6b7280; font-weight:500; user-select:none; }
.booking-flow .progress-steps .step.active { color:#6B6ADE; font-weight:600; }
.booking-flow .progress-steps .step.clickable-step { cursor:pointer !important; transition:color 0.2s ease, opacity 0.2s ease; }
.booking-flow .progress-steps .step.clickable-step:hover { color:#6B6ADE !important; opacity:0.9; }
.booking-flow .progress-steps .step.completed { color:#10b981; cursor:pointer !important; }
.booking-flow .progress-steps .step.completed:hover { color:#10b981; opacity:0.9; }
.booking-flow .progress-steps .dot { width:24px; height:24px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#e9e9ff; color:#6B6ADE; font-weight:700; margin-right:6px; }
.booking-flow .progress-steps .step.active .dot { background:#6B6ADE; color:#fff; }
.booking-flow .progress-steps .step.completed .dot { background:#10b981; color:#fff; }

.vehicle-card { border:1px solid rgba(17,24,39,.08); border-radius:12px; background:#fff; }
.vehicle-card .card-body { padding:16px 18px; }

/* Right summary sticky */
@media (min-width: 992px){
  .booking-flow .col-lg-4 > .card { position: sticky; top: 96px; }
}

/* Inputs alignment */
.booking-flow .form-control, .booking-flow .form-select { height: 40px; font-size:14px; }
.booking-flow .btn-pill { height: 40px; }

/* Filters row spacing */
#step-2 .d-flex.align-items-center.gap-2 .form-select { min-width: 150px; }
#step-2 .nxz-link { color:#6B6ADE; font-weight:600; }

/* Modal compact spacing */
.modal .form-control.form-control-sm { height: 36px; }

/* Vendor Details Container Styles - White Background */
.vendor-details-dark-container {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vendor-details-dark-container .card-header {
    background: transparent !important;
    border: none !important;
    padding: 0 0 20px 0 !important;
    margin-bottom: 0;
}

.vendor-details-dark-container .card-header h5 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.vendor-details-dark-container .card-header h5 i {
    color: #2563eb;
}

.vendor-details-dark-container .card-body {
    padding: 0 !important;
    background: transparent !important;
}

.vendor-details-dark-container .row {
    margin-bottom: 20px;
}

.vendor-details-dark-container .row:last-child {
    margin-bottom: 0;
}

.vendor-details-dark-container .text-muted {
    color: #6c757d !important;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 6px;
    display: block;
}

.vendor-details-dark-container strong {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    display: block;
    line-height: 1.5;
}

.vendor-details-dark-container ol {
    margin: 0;
    padding-left: 20px;
}

.vendor-details-dark-container ol li {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.vendor-details-dark-container .btn-link {
    color: #6c757d !important;
    padding: 2px 4px !important;
}

.vendor-details-dark-container .btn-link:hover {
    color: #2563eb !important;
}

/* Two-column layout for mobile numbers */
.vendor-details-dark-container .mobile-numbers-row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.vendor-details-dark-container .mobile-numbers-row > div {
    flex: 1;
}

.vendor-details-dark-container .mobile-numbers-row .text-muted {
    color: #6c757d !important;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}

.vendor-details-dark-container .mobile-numbers-row strong {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
}

/* Single column fields */
.vendor-details-dark-container .single-field {
    margin-bottom: 24px;
}

.vendor-details-dark-container .single-field:last-child {
    margin-bottom: 0;
}

/* Branches section */
.vendor-details-dark-container .branches-section {
    margin-top: 24px;
}

/* Email with copy icon */
.vendor-details-dark-container .email-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vendor-details-dark-container .email-field strong {
    flex: 1;
}

/* Documents section within container */
.vendor-details-dark-container .document-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6 !important;
}

.vendor-details-dark-container .document-card .text-truncate,
.vendor-details-dark-container .document-card .small {
    color: #6c757d !important;
}

.vendor-details-dark-container .document-card .btn-outline-primary {
    border-color: #2563eb;
    color: #2563eb;
}

.vendor-details-dark-container .document-card .btn-outline-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #FFFFFF;
}

.vendor-details-dark-container .text-center.text-muted {
    color: #6c757d !important;
}

.vendor-details-dark-container .text-center.text-muted i {
    color: #2563eb !important;
}

/* Responsive adjustments for mobile numbers */
@media (max-width: 768px) {
    .vendor-details-dark-container .mobile-numbers-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* Document Item Styling - Matches Vehicle View Page */
.document-item {
    padding: 1.25rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.document-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.document-item p {
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    padding: 0 0.5rem;
}

.document-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Booking Status Badge Styles */
.booking-status-badge {
    background-color: #6B7280;
    color: #FFFFFF;
    border-radius: 9999px;
    font-weight: 500;
    padding: 4px 12px;
    display: inline-block;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Individual status colors are handled inline via component */

/* ============================================
   MOBILE RESPONSIVE TABLE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Table Responsive Container */
    .table-responsive {
        overflow-x: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Hide table headers on mobile */
    .table-responsive table thead {
        display: none;
    }
    
    /* Convert table structure to block layout */
    .table-responsive table,
    .table-responsive table tbody,
    .table-responsive table tr {
        display: block;
        width: 100%;
    }
    
    /* Convert table rows to cards on mobile */
    .table-responsive table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        position: relative;
        transition: all 0.3s ease;
    }
    
    .table-responsive table tbody tr:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
    
    .table-responsive table tbody tr:last-child {
        margin-bottom: 0;
    }
    
    /* Convert table cells to card items */
    .table-responsive table td {
        display: block;
        border: none;
        padding: 12px 0;
        text-align: left !important;
        position: relative;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .table-responsive table td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* Add labels before each cell using data-label attribute */
    .table-responsive table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #6b7280;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    /* If no data-label, try to get from header */
    .table-responsive table td:not([data-label])::before {
        content: attr(data-header);
    }
    
    /* Special handling for action buttons column - use class instead of :has() */
    .table-responsive table td.actions,
    .table-responsive table td:last-child {
        padding-top: 16px;
        margin-top: 8px;
        border-top: 2px solid #f3f4f6;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .table-responsive table td.actions::before,
    .table-responsive table td:last-child::before {
        display: none;
    }
    
    /* Hide label for cells containing only buttons/links */
    .table-responsive table td:last-child:not([data-label])::before {
        display: none;
    }
    
    /* Style buttons in mobile view */
    .table-responsive table td .btn {
        width: 100%;
        margin-bottom: 8px;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .table-responsive table td .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Style action links */
    .table-responsive table td a:not(.btn) {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 8px 16px;
        background: #f3f4f6;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .table-responsive table td a:not(.btn):hover {
        background: #e5e7eb;
    }
    
    /* Hide empty cells */
    .table-responsive table td:empty {
        display: none;
    }
    
    /* Special styling for badges in mobile */
    .table-responsive table td .badge {
        display: inline-block;
        margin-top: 4px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Customer/Vehicle title column styling */
    .table-responsive table td.customer_title,
    .table-responsive table td.vechicle_title {
        padding-bottom: 16px;
        border-bottom: 2px solid #f3f4f6;
    }
    
    .table-responsive table td.customer_title::before,
    .table-responsive table td.vechicle_title::before {
        display: none;
    }
    
    /* Status badges styling */
    .table-responsive table td .badge.rounded-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    
    /* Icon badges (customer/vehicle color badges) */
    .table-responsive table td .customer-color-badge,
    .table-responsive table td .vehicle-color-badge {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    /* Nested divs in cells */
    .table-responsive table td > div {
        margin-bottom: 4px;
    }
    
    .table-responsive table td > div:last-child {
        margin-bottom: 0;
    }
    
    /* Small text in cells */
    .table-responsive table td small {
        display: block;
        margin-top: 4px;
    }
    
    /* Strong/bold text in cells */
    .table-responsive table td strong {
        display: block;
        margin-bottom: 4px;
    }
    
    /* Empty state styling */
    .table-responsive table tbody tr td[colspan] {
        text-align: center;
        padding: 40px 20px;
        border: none;
    }
    
    .table-responsive table tbody tr td[colspan]::before {
        display: none;
    }
    
    /* Handle tables without table-responsive wrapper */
    .table-container table,
    .bookings-table-card table,
    .filter-section table {
        display: block;
    }
    
    .table-container table thead,
    .bookings-table-card table thead,
    .filter-section table thead {
        display: none;
    }
    
    .table-container table tbody,
    .bookings-table-card table tbody,
    .filter-section table tbody {
        display: block;
    }
    
    .table-container table tbody tr,
    .bookings-table-card table tbody tr,
    .filter-section table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .table-container table tbody td,
    .bookings-table-card table tbody td,
    .filter-section table tbody td {
        display: block;
        border: none;
        padding: 12px 0;
        text-align: left !important;
        position: relative;
        padding-left: 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .table-container table tbody td::before,
    .bookings-table-card table tbody td::before,
    .filter-section table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #6b7280;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }
    
    .table-container table tbody td:last-child,
    .bookings-table-card table tbody td:last-child,
    .filter-section table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .table-responsive table tbody tr {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .table-responsive table td {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .table-responsive table td::before {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .table-responsive table td .btn {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    /* Make filter row stack on very small screens */
    .filter-row {
        flex-direction: column;
        gap: 12px !important;
    }
    
    .filter-row > div {
        max-width: 100% !important;
        width: 100%;
    }
    
    .filter-row .btn {
        width: 100%;
    }
}

/* Password Toggle Eye Button Styles */
.password-toggle-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
    padding-right: 40px !important;
    width: 100%;
    box-sizing: border-box;
}
.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    margin: 0;
    z-index: 10;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    pointer-events: auto;
    transition: color 0.2s ease;
}
.password-toggle-btn i {
    display: flex;
    align-items: center;
    line-height: 1;
    font-size: 14px;
    width: 100%;
    height: 100%;
}
.password-toggle-btn:hover {
    color: #495057;
}
.password-toggle-btn:focus {
    outline: none;
    box-shadow: none;
}
.password-toggle-btn:active {
    color: #212529;
}
/* Ensure button is inside for different input styles */
.password-toggle-wrapper .loginInput,
.password-toggle-wrapper .form-control,
.password-toggle-wrapper input[type="password"],
.password-toggle-wrapper input[type="text"] {
    padding-right: 40px !important;
    box-sizing: border-box;
}
/* For login input style specifically */
.loginInput.password-toggle-wrapper {
    position: relative;
}
/* Ensure proper positioning for form-control inputs */
.password-toggle-wrapper .form-control {
    padding-right: 40px !important;
    box-sizing: border-box;
}

/* Make external link icons black */
.fa-external-link-alt,
.fas.fa-external-link-alt {
    color: #000000 !important;
}

/* Override: Show Day of Week and Day of Month selects when their container is visible */
/* This overrides the global .form-select { display: none; } rule */
#payoutDayOfWeekDiv[style*="display: block"] .form-select,
#payoutDayOfMonthDiv[style*="display: block"] .form-select,
#payoutDayOfWeekDiv:not([style*="display: none"]) .form-select,
#payoutDayOfMonthDiv:not([style*="display: none"]) .form-select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure the select element is always visible when parent is shown */
#payout_day_of_week,
#payout_day_of_month {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
