  .header-image {
      width: 100%;
      height: auto;
      max-height: 280px;
      object-fit: contain;
      display: block;
  }

  @media (max-width: 768px) {
      .header-image {
          max-height: 120px; /* adjust for 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.bodpaso:hover img {
width: 280px;
content: url('../img/assets/Agregar.svg');
}

.icon-button.bodjrz:hover img {
width: 280px;
content: url('../img/assets/Aceptar.svg');
}

.icon-button.search:hover img {
width: 280px;
content: url('../img/assets/Buscar.svg');
} */

@media (max-width: 600px) {
  .icon-button {
      width: 40vw; /* Increase size on smaller screens */
  }
}

 /* ****************************************************************/
.icon-oc-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: 85px; /* Prevents it from getting too big */
  min-width: 85px; /* Prevents it from getting too small */
  }

  .icon-oc-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');
  } */

  @media (max-width: 600px) {
    .icon-oc-button {
        width: 40vw; /* Increase size on smaller screens */
    }
  }

/******************************************************************/
.icon-tag-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: 100px; /* Prevents it from getting too big */
  min-width: 100px; /* Prevents it from getting too small */
  }

  .icon-tag-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');
  } */

  @media (max-width: 600px) {
    .icon-tag-button {
        width: 40vw; /* Increase size on smaller screens */
    }
  }
/* ****************************************************************/
.icon-seen-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: 40px; /* Prevents it from getting too big */
  min-width: 40px; /* Prevents it from getting too small */
  }

  .icon-seen-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');
  } */

  @media (max-width: 600px) {
    .icon-seen-button {
        width: 40vw; /* Increase size on smaller screens */
    }
  }
/* ****************************************************************/
.icon-validate-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: 30px; /* Prevents it from getting too big */
  min-width: 30px; /* Prevents it from getting too small */
  }

  .icon-validate-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');
  } */

  @media (max-width: 600px) {
    .icon-validate-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');
  } */

  @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: 130px; /* Prevents it from getting too big */
min-width: 130px; /* Prevents it from getting too small */
margin: 0 auto;
}

.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');
}

.icon-table-button.accept:hover img {
width: 350px;
content: url('../img/assets/Aceptar.svg');
} 

.icon-table-button.payment:hover img {
width: 350px;
content: url('../img/assets/Pagar.svg');
}*/

  @media (max-width: 600px) {
    .icon-table-button {
        width: 20vw; /* Increase size on smaller screens */
    }
  }
/* ****************************************************************/
.icon-menu-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: 225px; /* Prevents it from getting too big */
  min-width: 225px; /* Prevents it from getting too small */
}

.icon-menu-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 */
}

@media (max-width: 600px) {
    .icon-menu-button {
        width: 20vw; /* Increase size on smaller screens */
    }
  }

/* ****************************************************************/
.icon-min-menu-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;     /* ✅ Fixed width */
  height: 150px;    /* ✅ Fixed height */
}

.icon-min-menu-button img {
  width: 100%;     /* Fill the button */
  height: 100%;    /* Maintain square shape */
  object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}
/* ****************************************************************/

.icon-search-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-search-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 */
}
/* ****************************************************************/

.input-container {
display: flex;
align-items: center;
background: white;
border-radius: 25px; /* Rounded corners */
border: 3px solid #ccc; /* Light gray border */
padding: 10px 15px;
width: 100%; /* Responsive width */
max-width: 700px; /* 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: 90%; /* Takes available space */
font-size: 16px;
color: #000000; /* 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;
}
}

.canvas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%; /* Takes full width */
  max-width: 900px; /* Make it 50% of the viewport width */
  height: auto;
  aspect-ratio: 3 / 2; /* Maintain 3:2 ratio */
  overflow: hidden;
}

canvas {
  width: 100%; /* Ensure it fits within the container */
  height: 100%;
  border: 1px solid rgb(177, 177, 177);
}

#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: #0c4266; /* Blue background */
color: white; /* 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;
}

.row-delivery {
  background-color: #ebae9d !important; /* light green, Bootstrap success-like */
}

.sidebar-collapsed .sidebar {
    margin-left: -260px !important;
}

.sidebar {
    transition: margin-left .3s ease;
}

.notif-leida {
    background-color: #d7edda !important; /* verde tenue */
}

.bg-image {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../img/watermark.jpg') no-repeat center center fixed;
    background-size: cover;   /* fill screen, maintain aspect ratio */
    z-index: 0;
}

.bg-image-login 
{
    width: 100%;
    height: 100vh;                                          /* Full viewport height */
    background-image: url('../img/login/bg.jpg');
    background-size: cover;                                 /* Makes the image cover the whole screen */
    background-repeat: no-repeat;                           /* Prevents tiling */
    background-position: center;                            /* Keeps the image centered */
    background-attachment: fixed;                           /* Optional: image stays fixed on scroll */
}

.bg-image-prov 
{
    width: 100%;
    height: 100vh;                                          /* Full viewport height */
    background-image: url('../img/loginprov/bg.jpg');
    background-size: cover;                                 /* Makes the image cover the whole screen */
    background-repeat: no-repeat;                           /* Prevents tiling */
    background-position: center;                            /* Keeps the image centered */
    background-attachment: fixed;                           /* Optional: image stays fixed on scroll */
}

.navbar {
    position: relative;
    z-index: 99999 !important;
}

body.toggle-sidebar .sidebar {
    margin-left: 0px; /* o translateX algo similar */
}

.menu-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
}

#tagpreview .tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ffc107; /* amarillo bootstrap */
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
}

/* ERP */
/* ERP */
.erp-swal {
    background: #f4f6f9;
}

.erp-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.erp-card {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.erp-title {
    font-weight: 600;
    font-size: 15px;
    color: #3b3f5c;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
}

.erp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.erp-grid label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}

.erp-grid input,
.erp-card textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
    background: #f9fafb;
    font-size: 13px;
}

.erp-card textarea {
    min-height: 120px;
    resize: none;
}

.dataTables_filter {
    display: none !important;
}

#resultTable tbody tr {
    background-color: white !important;
}

.big-checkbox {
    transform: scale(1.5);
    margin-right: 10px;
}

