 .header-image {
      width: 100%;
      height: auto;
      max-height: 217px;
      object-fit: contain;
      display: block;
  }

  @media (max-width: 768px) {
      .header-image {
          max-height: 120px; /* adjust for mobile */
      }
  }
  
 /* Rounded Navbar */
 .navbar {
    background-color: #0e71b3;
    color: black;
}

.rounded-navbar {
    border-radius: 30px; /* Adjust the rounding as needed */
    margin: 20px auto; /* Center it with margin */
    width: 90%; /* Keep it responsive */
    max-width: 1400px; /* Limit max width */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Ensure menu takes full width on mobile */
@media (max-width: 991px) {
    .rounded-navbar {
        width: 100%;
        border-radius: 0; /* Remove rounded corners on mobile */
    }
}
/* ****************************************************************/
.icon-button {
    background: none; /* No background color */
    border: none; /* No border */
    padding: 0; /* Remove extra space */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20vw; /* Adjusts with screen size */
    max-width: 240px; /* Prevents it from getting too big */
    min-width: 240px; /* Prevents it from getting too small */
}

.icon-button img {
    width: 100%; /* Makes the image adapt to the button */
    height: auto; /* Maintains aspect ratio */
    transition: opacity 0.3s ease-in-out; /* Smooth transition */
}

/* .icon-button.qr:hover img {
  width: 280px;
  content: url('../img/assets/buttons/Escanear.svg');
} */

@media (max-width: 600px) {
    .icon-button {
        width: 40vw; /* Increase size on smaller screens */
    }
}
/* ****************************************************************/
.icon-min-button {
  background: none; /* No background color */
  border: none; /* No border */
  padding: 0; /* Remove extra space */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20vw; /* Adjusts with screen size */
  max-width: 220px; /* Prevents it from getting too big */
  min-width: 220px; /* Prevents it from getting too small */
}

.icon-min-button img {
  width: 100%; /* Makes the image adapt to the button */
  height: auto; /* Maintains aspect ratio */
  transition: opacity 0.3s ease-in-out; /* Smooth transition */
}

/* .icon-min-button.attach:hover img {
  width: 220px;
  content: url('../img/assets/Adjuntar.svg');
}

.icon-min-button.footer:hover img {
  width: 220px;
  content: url('../img/assets/footer/footer.png');
} */

@media (max-width: 600px) {
  .icon-min-button {
      width: 40vw; /* Increase size on smaller screens */
  }
}
/* ****************************************************************/
.icon-table-button {
  background: none; /* No background color */
  border: none; /* No border */
  padding: 0; /* Remove extra space */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20vw; /* Adjusts with screen size */
  max-width: 180px; /* Prevents it from getting too big */
  min-width: 180px; /* Prevents it from getting too small */
}

.icon-table-button img {
  width: 100%; /* Makes the image adapt to the button */
  height: auto; /* Maintains aspect ratio */
  transition: opacity 0.3s ease-in-out; /* Smooth transition */
}

/* .icon-table-button.seeimage:hover img {
  width: 120px;
  content: url('../img/assets/Ver.svg');
}

.icon-table-button.update:hover img {
  width: 350px;
  content: url('../img/assets/Actualizar.svg');
} */

@media (max-width: 600px) {
  .icon-table-button {
      width: 20vw; /* Increase size on smaller screens */
  }
}
/* ****************************************************************/

.input-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 25px; /* Rounded corners */
  border: 1px solid #ccc; /* Light gray border */
  padding: 10px 15px;
  width: 100%; /* Responsive width */
  max-width: 640px; /* Prevents it from getting too big */
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.input-container img {
  width: 40px; /* Adjust image size */
  height: 40px;
  margin-right: 10px; /* Space between image and input */
}

.input-container input {
  border: none;
  outline: none;
  width: 100%; /* Takes available space */
  font-size: 16px;
  color: #3c4858; /* Soft text color */
  background: transparent;
}

@media (max-width: 600px) {
  .input-container {
    max-width: 100%; /* Full width on small screens */
    padding: 8px 12px;
  }

  .input-container img {
    width: 25px;
    height: 25px;
  }

  .input-container input {
    font-size: 14px;
  }
}

/* ************************************************************************ */

.input-login-container {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 25px; /* Rounded corners */
  border: 4px solid #ccc; /* Light gray border */
  padding: 10px 15px;
  width: 100%; /* Responsive width */
  max-width: 640px; /* Prevents it from getting too big */
}

.input-login-container img {
  width: 35px; /* Adjust image size */
  height: 40px;
  margin-right: 10px; /* Space between image and input */
}

.input-login-container input {
  border: none;
  outline: none;
  width: 100%; /* Takes available space */
  font-size: 18px;
  color: #ffffff; /* Soft text color */
  background: transparent;
}

@media (max-width: 600px) {
  .input-login-container {
    max-width: 100%; /* Full width on small screens */
    padding: 8px 12px;
  }

  .input-login-container img {
    width: 20px;
    height: 20px;
  }

  .input-login-container input {
    font-size: 14px;
  }
}

/* ************************************************************************ */

.canvas-container {
  max-width: 520px;
  width: 100%;
  aspect-ratio: 1 / 1;                /* Keep square ratio */
  border: 6px solid #d2c509;
  border-radius: 50px;
  display: block;
  margin: 0 auto;                     /* Center horizontally */
}


#loadingOverlay 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    cursor: progress; /* Show loading cursor */
}

.loading-text 
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.my-table {
  border-radius: 10px; /* Adjust the value as needed */
  overflow: hidden; /* Ensures corners are properly rounded */
  border-collapse: separate;
  border-spacing: 1px;
}

.my-table td {
  padding: 10px; /* Adds space inside the cell */
}

.my-table thead {
  background-color: #d2c509; /* Blue background */
  color: black; /* White text */
  font-size: 1.2rem; /* Bigger text */
  font-weight: bold;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds a soft shadow */
}

.my-table th {
  padding: 15px; /* Adds more spacing for a better look */
}

.my-table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.my-table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

.my-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.my-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.card-header {
  background-color: #0c4266; /* Blue background */
  color: white; /* White text */
  border-top-left-radius: 10px; /* Rounded corners */
  border-top-right-radius: 10px;
  padding: 10px 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  border-radius: 30px;
}

.card-body {
  padding-top: 20px; /* Extra padding for separation */
  background-color: white; /* Ensures a clean separation */
  border-top: 2px solid #ddd; /* Optional: Creates a visual separator */
}

.card {
  border-radius: 20px; /* Rounded corners for the card */
  overflow: hidden; /* Ensures the rounded corners apply properly */
}

.row-active
{
    background-color: #0eb34d !important;
    color: white !important;
}

.row-inactive
{
    background-color:rgb(255, 255, 255) !important;
    color: black !important;
}

.scan-chofer {
  width: 50px; 
  height: auto; 
}
  