.us_menu.horizontal.dark img {
  max-height: 100px;
}

.dataTables_wrapper {
  display: flex;
  flex-direction: column;
}

.table-responsive {
  overflow-x: visible !important;
  display: flex !important;
  justify-content: center;
}

.btn {
  color: white;
  background-color: #493149;
  border: 1px solid #493149;
}

.btn:hover {
  background-color: #5f325f;
  border: 1px solid #493149;
  transition: 0.5s all ease-in-out;
  color: white;
}

.btn-primary {
  background-color: #493149 !important;
  border: 1px solid #493149 !important;
}

.btn-primary:hover {
  background-color: #5f325f !important;
  border: 1px solid #493149 !important;
  transition: 0.5s all ease-in-out;
  color: white;
}

.banner {
  margin-top: 2rem;
}

tr.odd:hover {
  background-color: #4a314924;
}

tr.even:hover {
  background-color: #4a314924;
}

/* Advanced Search */
.search-tabs .active {
  /* background-color: #493149 !important;
  color: #ffffff !important; */
}

.nav-tabs .nav-link {
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
  padding: 15px 30px !important;
}

.tab-pane .card {
  border-radius: 0.75px !important;
}

/* Buttons Styling  */
/* Update Button */
.update-button {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}
.update-button:hover {
  background-color: #0056b3;
}

/* Cancel Button */
.cancel-button {
  background-color: #e20412;
  color: #ffffff;
  border: 1px solid #e20412;
}
.cancel-button:hover {
  background-color: #b8000c;
}

.hidden {
  display: none !important;
}

/* Confirm Button */
.edit-button {
  background-color: #28a745; /* Green for confirm */
  color: #fff;
  border-color: #28a745;
}
.confirm-button:hover {
  background-color: #218838; /* Darker green for hover */
}

/* .form-control:read-only {
  background-color: #49314917;
  border: 1px solid #4c0000;
} */

/* General table styling */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px; /* Space between rows */
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f9f9f9;
}

thead {
  background-color: #f1f1f1;
  border-bottom: 2px solid #e0e0e0;
}

thead th {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 15px;
  text-align: left;
  color: #493149;
}

tbody tr {
  background-color: #ffffff;
  transition: box-shadow 0.3s ease-in-out;
  border-radius: 8px;
}

tbody tr:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow on hover */
}

tbody td {
  padding: 15px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:last-child td {
  border-bottom: none; /* Remove border for the last row */
}

tbody td a {
  color: #493149;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

tbody td a:hover {
  color: #726180;
}

/* Row and cell separation */
tbody td {
  border-left: 2px solid #f9f9f9;
  border-right: 2px solid #f9f9f9;
}

tbody tr {
  margin-bottom: 10px;
  display: table-row;
}

/* Link styling inside table */
tbody td a:hover {
  text-decoration: underline;
}

/* Alternate row background */
tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* Hosted link column */
tbody td.toggle a {
  font-weight: 600;
}

.displayResults {
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 40px;
  border: 1px solid #dedede;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Basic styling for the pagination container */
.dataTables_paginate {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  padding: 10px;
}

.dataTables_paginate a.paginate_button {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  color: #493149;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link {
  color: #493149 !important;
  font-weight: 700 !important;
}

.dataTables_paginate a.paginate_button:hover {
  color: #ffffff;
  background-color: #493149;
  border-color: #2d1a2d;
  cursor: pointer;
}

/* Company Profile Page */

.company-overview .mb-0 {
  color: #ffffff !important;
}

.company-overview i {
  color: #ffffff !important;
}

.card-nav i {
  color: #ffffff;
}

/* Company Create */
.create .form-group {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.create .tags {
}

/* Styling for the active page button */
.dataTables_paginate a.paginate_button.current {
  color: #ffffff;
  background-color: #493149;
  border-color: #2d1a2d;
  font-weight: bold;
}

/* Disabled button style for previous/next when not clickable */
.dataTables_paginate a.paginate_button.disabled {
  color: #6c757d;
  background-color: #e9ecef;
  border-color: #dee2e6;
  cursor: not-allowed;
}

/* Styling for ellipsis */
.dataTables_paginate .ellipsis {
  color: #6c757d;
  font-size: 1.2em;
  padding: 0 8px;
}

/* Responsive styles for mobile */
@media (max-width: 576px) {
  .dataTables_paginate {
    font-size: 0.85em;
  }

  .dataTables_paginate a.paginate_button {
    padding: 6px 8px;
    margin: 0 2px;
  }
}

/* Mobile responsive table */
@media (max-width: 768px) {
  thead {
    display: none;
  }
  tbody tr {
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  tbody td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
  }
  tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left;
  }
}

/* General Card Styling */
.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.card-body {
  margin-top: 20px;
}

/* Form Styling */
.form-control {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-size: 16px;
  color: #333;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #493149;
  box-shadow: 0 0 8px rgba(73, 49, 73, 0.2);
}
r

/* Labels */
label {
  font-weight: bold;
  color: #493149;
}

/* Company Icon */

.card .fa-phone,
.card .fa-envelope-open {
  margin-right: 0.5rem;
}

a {
  /* color: #ffffff !important; */
  text-decoration: none;
}

.contacts-profiles .card .col-sm-10 {
  display: flex;
  flex-direction: column;
}

.company-contacts .contacts-profiles .card {
  margin: 10px;
}
