.form-control {
  background-color: #AFAFAF1A;
  border-color: #DCDCDC;
  color: #000000;
}

.input-filled {
  background-color: #AFAFAF1A;
  border-color: #FF681D;
  color: #000000;
}

.form-control:focus {
  border-color: #FF681D !important;
  color: #000000;
}

.content-wrapper {
  padding: 10px;
}

.card {
  overflow-x: auto;
}

.table {
  min-width: 600px;
}

.table th,
.table td {
  font-size: 14px;
  padding: 8px;
}

.profile-image-detail {
  width: 40px !important;
  height: 40px !important;
}

.profile-user-img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover !important;
}

.card-tools .input-group {
  width: 100% !important;
  max-width: 250px;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.pagination li {
  margin: 0 5px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
  border: 1px solid #FF681D;
  border-radius: 4px;
  font-size: 14px;
}

.pagination a.active-page {
  background-color: #FF681D;
  color: #fff;
  font-weight: bold;
}

.pagination a:hover:not(.active-page) {
  background-color: #FF681D;
  color: white;
}

.pagination .prev-btn,
.pagination .next-btn {
  background-color: #FF681D;
  color: #fff;
}

.table-loading {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.table-loading::after {
  content: 'Loading...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #fff;
  z-index: 10;
}

.status-btn {
  width: 100px;
  margin: 2px 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.status-btn.enable-btn {
  background-color: #28a745 !important;
  color: #fff !important;
  border: 1px solid #28a745 !important;
}

.status-btn.enable-btn:hover {
  background-color: #218838 !important;
  color: #fff !important;
}

.status-btn.disable-btn {
  background-color: #dc3545 !important;
  color: #fff !important;
  border: 1px solid #dc3545 !important;
}

.status-btn.disable-btn:hover {
  background-color: #c82333 !important;
  color: #fff !important;
}

.btn-secondary {
  width: 100px;
  margin: 2px 0;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

.modal-dialog {
  max-width: 90%;
}

@media (max-width: 576px) {
  .content-header h1 {
    font-size: 1.5rem;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .card-tools .input-group {
    max-width: 100%;
  }

  .status-btn,
  .btn-secondary {
    width: 80px;
    font-size: 0.8rem;
  }


  .pagination {
    justify-content: center;
  }

  .table th,
  .table td {
    font-size: 12px;
    padding: 6px;
  }

  .quote-text {
    font-style: italic;
    max-height: 100px;
    overflow: hidden;
    line-height: 1.5;
  }


  .custom-file-label::after {
    content: "Browse";
  }

  .user-panel .image img {
    width: 50px;
    /* adjust size as needed */
    height: 50px;
    /* keeps it square */
    object-fit: cover;
    /* crops the image to fit the square without distortion */
    border-radius: 50%;
    /* circular shape */
  }

  @media (max-width: 768px) {
    .user-panel .image img {
      width: 40px;
      height: 40px;
    }
  }

  .btn-group .btn {
    margin-right: 2px;
  }

  .table th {
    white-space: nowrap;
  }

  .table-wrapper {
    position: relative;
  }

  .table-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .table-loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #fff;
    z-index: 10;
  }

  #quotesTableBody {
    transition: opacity 0.2s ease-in-out;
  }

  .loading-overlay {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
  }

  .loading-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #FF681D;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  .toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 200px;
  }

  /* Pagination styles */
  #pagination {
    display: none;
    justify-content: flex-end;
    margin-top: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    min-height: 40px;
  }

  #pagination.pagination {
    display: flex !important;
  }

  .content-wrapper #pagination ul.pagination {
    display: flex;
    justify-content: flex-end;
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
  }

  .content-wrapper #pagination ul.pagination li {
    margin: 0 3px;
  }

  .content-wrapper #pagination ul.pagination a,
  .content-wrapper #pagination ul.pagination span {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #FF681D;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .content-wrapper #pagination ul.pagination a.active-page {
    background-color: #FF681D;
    color: #fff;
    font-weight: bold;
  }

  .content-wrapper #pagination ul.pagination a:hover:not(.active-page) {
    background-color: #FF681D;
  }

  .content-wrapper #pagination ul.pagination .prev-btn,
  .content-wrapper #pagination ul.pagination .next-btn {
    background-color: #FF681D;
    color: #fff;
  }

  .content-wrapper #pagination .page-item .page-link {
    color: #333;
    border: 1px solid #FF681D;
    background: white;
  }

  .content-wrapper #pagination .page-item.active .page-link {
    background-color: #FF681D;
    color: #fff;
    border-color: #FF681D;
  }

  .content-wrapper #pagination .page-item .page-link:hover {
    background-color: #FF681D;
  }



  .table-container.table-loading {
    opacity: 0.5;
    pointer-events: none;
  }

  .form-loading {
    opacity: 0.5;
    pointer-events: none;
  }

}


/* GLOBAL MODAL STYLING — Works on ALL modals */

/* Modal box */
.modal-content {
  border-radius: 10px !important;
  overflow: hidden;
  border: none !important;
}

/* Header */
.modal-header {
  background-color: #FF681D !important;
  color: #fff !important;
  border-bottom: none !important;
}

/* Title + close icon */
.modal-header .modal-title{
    color: #000000 !important;
}

.modal-header .close span {
  color: #000000 !important;
  background-color: #AFAFAF1A;
  border-color: #DCDCDC;
}

/* Body */
.modal-body {
  font-size: 1rem;
}

/* Footer buttons */
.modal-footer .btn-light {
  background-color: #AFAFAF1A !important;
  border-color: #DCDCDC !important;
  color: #000000 !important;
  border-radius: 6px !important;
}

/* Hover effect */
.modal-footer .btn-warning:hover {
  opacity: 0.9 !important;
}

/* Footer buttons */
.modal-footer .btn-warning {
  background-color: #FF681D!important;
  border-color: #FF681D !important;
  color: white !important;
  border-radius: 6px !important;
}

/* Hover effect */
.modal-footer .btn-light:hover {
  opacity: 0.9 !important;
}

.modal-footer .btn-warning:hover {
  opacity: 0.9 !important;
}

/* Space between Cancel and the confirm button in the action-confirm modal.
   AdminLTE only gives each footer child .25rem of margin — 8px between the
   two — which reads as one merged control whenever both buttons land on the
   same colour, as they do for Deactivate (confirmModal sets the confirm
   button to btn-secondary, the same grey as Cancel). */
.modal-footer {
  gap: 0.75rem;
}

/* Extra: modal max width */
.modal-dialog {
  max-width: 50% !important;
}

@media (max-width: 576px) {
  .modal-body {
    font-size: 0.9rem;
  }

  .modal-footer  .btn-light .btn-warning {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}


Change the heading color

/* change heading color on normal state */
.card-header .h1 {
  color: #111111 !important;
}

/* change color when user hovers the title */
.card-header .h1:hover {
  color: #FF681D !important;
}


/* Change the top outline color of card */
.card-primary.card-outline {
  border-top: 3px solid #FF681D !important;
}

/* Change primary button color */
.btn-primary {
  background-color: #FF681D !important;
  border-color: #FF681D !important;
}

.main-footer a {
  color: #FF681D !important;
  /* your pink color */
  font-weight: 600;
  /* optional */
}

.main-footer a:hover {
  color: #FF681D !important;
  /* darker hover shade */
}

.sidebar-header {
  color: #A9A9B6 !important;
}

.sidebar-header:hover {
  color: white !important;
}



.nav-sidebar .nav-link {
  color: #d1d1d1 !important;
  /* Text color */
}


.nav-sidebar .nav-link:hover {
  background-color: #FF681D !important;
  color: white !important;
}

.nav-sidebar .nav-link:hover i {
  color: white !important;
}

/* ACTIVE LINK FIX */
.sidebar-dark-primary .nav-sidebar .nav-item>.nav-link.active {
  background-color: #FF681D !important;
  color: white !important;
  font-weight: 600 !important;
}

.sidebar-dark-primary .nav-sidebar .nav-item>.nav-link.active i {
  color: white !important;
}

.nav-sidebar .nav-link {
  color: #A9A9B6 transparent !important;
  /* Soft baby pink */
}

.nav-sidebar .nav-link i {
  color: #A9A9B6 transparent !important;
}




@media (max-width: 576px) {
  .search-container {
    max-width: 100%;
  }

  .content-header h1 {
    font-size: 1.5rem;
  }

  .table-responsive {
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .content-wrapper #pagination ul.pagination {
    justify-content: center;
  }

  .content-wrapper #pagination ul.pagination a,
  .content-wrapper #pagination ul.pagination span {
    padding: 5px 10px;
    font-size: 13px;
  }
}

.search-container {
  max-width: 300px;
  margin-left: auto;
  margin-bottom: 1rem;
}

.success-message {
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.success-message.error {
  background-color: #f8d7da;
  color: #721c24;
}

.success-message.success {
  background-color: #d4edda;
  color: #155724;
}

.custom-btn {
  background-color: #3e50ae !important;
  border-color: #3e50ae !important;
  color: white !important;
  transition: all 0.2s ease;
}

.custom-btn:hover,
.custom-btn:focus,
.custom-btn:active {
  background-color: #FF681D !important;
  border-color: #FF681D !important;
  color: white !important;
  box-shadow: none !important;
  /* Removes Bootstrap hover glow */
}

.no-hover {
  background-color: #FF681D !important;
  /* or any color you prefer */
  border-color: #FF681D !important;
  color: white !important;
}

.no-hover:hover,
.no-hover:focus,
.no-hover:active,
.no-hover:not(:disabled):not(.disabled).active,
.show>.no-hover.dropdown-toggle {
  background-color: #FF681D !important;
  border-color: #FF681D !important;
  color: white !important;
  box-shadow: none !important;
}

.custom-modal-header {
  background-color: #FF681D !important;
  color: white !important;
}

.custom-modal-header .modal-title,
.custom-modal-header .close {
  color: white !important;
}

.custom-alert {
  border: none !important;
  background-color: #FF681D !important;
  /* Optional: to match your modal theme */
  color: white !important;
}

.custom-alert .alert-link {
  color: white !important;
  font-weight: 600;
  text-decoration: underline;
}

.custom-alert .alert-link:hover {
  text-decoration: none;
}

.custom-edit-btn {
  background-color: #FF681D !important;
  /* New background color */
  border-color: #FF681D !important;
  /* Match border with background */
  color: white !important;
  /* Icon color */
}

.custom-edit-btn:hover,
.custom-edit-btn:focus,
.custom-edit-btn:active {
  background-color: #FF681D !important;
  /* Keep same color on hover/focus */
  border-color: #FF681D !important;
  color: white !important;
  box-shadow: none !important;
  /* Remove Bootstrap hover shadow */
}

.modal-backdrop.show {
  z-index: revert-layer;
}

.input-group-append .btn,
.input-group-prepend .btn,
.main-header {
  z-index: 0 !important;
}

.card-tools .input-group.searchmanage-width {
  width: 300px !important;
  max-width: 100% !important;
}

.input-group.search-column-width {
  width: 300px !important;
  /* fixed width */
  max-width: 100% !important;
  /* responsive limit */
}

/* Increase table header (th) font size */
.table thead th {
  font-size: 18px;   /* adjust: 17px / 18px / 19px */
  font-weight: 600;  /* optional, keeps it clean */
}
/* Increase Role badge font size */
.table .badge {
  font-size: 13px;   /* try 14px / 15px */
  padding: 6px 10px;
  font-weight: 600;
}

.table_user_img img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    object-fit: cover;
}

/* Greyed-out row actions on Drivers / Customers / Businesses.
   An action already satisfied by the row's current status (Suspend on a
   suspended user, Activate on an active one, etc.) renders with `disabled`
   so it cannot be clicked — these rules make that state visible instead of
   leaving a full-colour button that silently ignores clicks. Bootstrap's
   default :disabled only drops opacity, which still reads as clickable on
   the coloured btn-warning / btn-success variants. */
.btn-group .act-btn.is-disabled,
.btn-group .act-btn.is-disabled:hover,
.btn-group .act-btn.is-disabled:focus {
  background-color: #e4e6ea !important;
  border-color: #d4d7dd !important;
  color: #8a8f98 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Sidebar brand logo.
   The @shot mark is a wide wordmark. It previously carried AdminLTE's
   .img-circle (border-radius: 50%), which masks a rectangle into an ellipse
   and clips the left and right ends — that was the "cropped logo". It also
   carried .brand-image, whose float:left + max-height:33px existed to leave
   room for the app name text alongside; that text has been removed, so the
   logo now gets the whole brand row.
   object-fit: contain guarantees the full mark is always visible whatever
   the image's aspect ratio. */
.brand-link.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
}

.brand-logo-img {
  max-width: 85%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Collapsed sidebar (sidebar-mini) leaves ~4.6rem of width — keep the mark
   inside it rather than letting it overflow or force the rail wider. */
.sidebar-collapse .brand-logo-img {
  max-width: 100%;
  max-height: 34px;
}

/* Show/hide password toggles (.toggle-eye on Add Admin and Change Password).
   The cursor lives here rather than in a style="cursor:pointer" attribute
   because the CSP in app.js sets styleSrc without 'unsafe-inline' — a nonce
   authorises <style> blocks but never inline style attributes, so those are
   dropped by the browser and the control looks unclickable. */
.toggle-eye {
  cursor: pointer;
  user-select: none;
}
