/* ****************************************************************/
.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.footer:hover img {
  width: 240px;
  content: url('../img/footer.png');
}

@media (max-width: 600px) {
    .icon-button {
        width: 40vw; /* Increase size on smaller screens */
    }
}

.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 */
}

/* ****************************************************************/
.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/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: 120px; /* Prevents it from getting too big */
  min-width: 120px; /* 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;
  }
}

.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: #323333; /* 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;
}

  