.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b6b 0%, #a31f1f 100%);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card-header {
    background: transparent;
    border-bottom: none;
    padding: 20px;
}

.logo-img {
    max-width: 200px;
    height: auto;
    margin: 20px auto;
}

.form-control {
    border-radius: 25px;
    padding: 12px 20px;
    height: auto;
    background-color: #f8f9fa;
    border: 2px solid #eee;
    margin-top: 8px;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: #764ba2;
    box-shadow: none;
}

.btn-login {
    border-radius: 25px;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #a31f1f 100%);
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.input-group-text {
    border-radius: 25px 0 0 25px;
    background-color: #f8f9fa;
    border: 2px solid #eee;
    border-right: none;
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
}

.wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: #ED3236;
  color: white;
  transition: all 0.3s ease;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
}

.sidebar.closed {
  left: -250px;
}

.sidebar-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
  max-width: 120px;
  height: auto;
}

.sidebar-menu {
  padding: 20px 0;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
  -webkit-overflow-scrolling: touch;
}

.menu-item {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 5px;
}

.menu-item:hover {
  background: rgba(255,255,255,0.1);
}

.menu-item i {
  margin-right: 10px;
}

.content {
  flex: 1;
  margin-left: 250px;
  padding: 20px;
  transition: all 0.3s ease;
}

.content.full {
  margin-left: 0;
}

.toggle-btn {
  position: fixed;
  left: 20px;
  top: 20px;
  background: #ED3236;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
  display: block;
  transition: left 0.3s ease;
}

.sidebar:not(.closed) ~ .toggle-btn {
  left: 270px;
}

@media (max-width: 768px) {
  .sidebar {
      left: -250px;
  }

  .sidebar.active {
      left: 0;
  }

  .content {
      margin-left: 0;
      padding-top: 70px;
  }

  .toggle-btn {
      left: 20px !important;
  }

  .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      z-index: 999;
  }

  .overlay.active {
      display: block;
  }
}

.menu-title {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-title:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-title .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.menu-title[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.menu-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 8px 15px;
}

/* Opcional: efecto hover para los elementos del menú */
.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.category-title {
    font-size: 0.65em;
    color: #d4d4d4;
    text-transform: uppercase;
    padding: 12px 15px 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-top: 5px;
}

.sidebar-menu .menu-item {
  font-size: 0.9em;  /* Reduce el tamaño del texto */
}

.sidebar-menu .menu-item i {
  font-size: 0.95em;  /* Reduce el tamaño de los iconos */
}

.menu-item.dropdown {
    flex-direction: column;
    width: 100%;
}

.menu-item-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
}

.menu-item-header .arrow {
    margin-left: auto;
}

.submenu {
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.menu-item.dropdown.active .submenu {
    display: block;
}

.submenu-item {
    padding: 10px 20px 10px 40px;
    display: flex;
    align-items: center;
    width: 100%;
}

.submenu-item i {
    margin-right: 10px;
}

.submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dashboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-card {
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
              -5px -5px 15px rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #ED3236, #ff4b4f);
}

.dashboard-card:hover i,
.dashboard-card:hover h3,
.dashboard-card:hover p {
  color: white;
}

.dashboard-card i {
  font-size: 3.5em;
  color: #ED3236;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.dashboard-card h3 {
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.dashboard-card p {
  color: #666;
  font-size: 1em;
  line-height: 1.6;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

/* Efecto de brillo al hover */
.dashboard-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
  );
  transform: rotate(45deg);
  transition: 0.5s;
  opacity: 0;
}

.dashboard-card:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
  .dashboard-container {
      grid-template-columns: 1fr; /* Una columna en móviles */
      padding: 10px;
  }
  
  .dashboard-card {
      margin-bottom: 15px;
  }
}


/* Estilos para el formulario */
.form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
  color: #333;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  color: #666;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #4a90e2;
  color: white;
}

.btn-secondary {
  background: #f0f0f0;
  color: #666;
}

.btn-primary:hover {
  background: #357abd;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .form-container {
      margin: 1rem;
      padding: 1rem;
  }

  .form-row {
      grid-template-columns: 1fr;
  }

  .form-actions {
      flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
      width: 100%;
      justify-content: center;
  }
}

.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.table-container {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.custom-table th,
.custom-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.custom-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.btn-edit {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-edit:hover {
    background-color: #0056b3;
}


.btn-delete {
  background-color: #dc3545;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 5px;
}

.btn-delete:hover {
  background-color: #c82333;
  color: white;
}


/* Estilos base de la tabla */
.table-responsive {
  overflow-x: auto;
  padding: 1rem;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

/* Estilos responsive */
@media screen and (max-width: 768px) {
  .custom-table thead {
      display: none;
  }
  
  .custom-table, 
  .custom-table tbody, 
  .custom-table tr, 
  .custom-table td {
      display: block;
      width: 100%;
  }
  
  .custom-table tr {
      margin-bottom: 1rem;
      border: 1px solid #ddd;
      padding: 0.5rem;
      border-radius: 8px;
      background: #fff;
  }
  
  .custom-table td {
      text-align: right;
      padding: 0.5rem;
      position: relative;
      border-bottom: 1px solid #eee;
  }
  
  .custom-table td:last-child {
      border-bottom: none;
  }
  
  .custom-table td::before {
      content: attr(data-label);
      position: absolute;
      left: 0.5rem;
      font-weight: bold;
  }
  
  /* Ajustes para los botones en móvil */
  .btn-edit,
  .btn-delete {
      display: inline-block;
      margin: 0.25rem;
      width: calc(50% - 0.5rem);
      text-align: center;
  }
}

/* Mejoras adicionales para dispositivos muy pequeños */
@media screen and (max-width: 480px) {
  .custom-table thead th[data-label="Acciones"] {
      display: none; /* Oculta el encabezado "Acciones" */
  }

  .custom-table thead th[data-label="Formulario"] {
    display: none; /* Oculta el encabezado "Acciones" */
}

  .custom-table tbody td[data-label="Acciones"]::before {
      display: none; /* Oculta el prefijo "Acciones" en el contenido */
  }

  .custom-table tbody td[data-label="Formulario"]::before {
    display: none; /* Oculta el prefijo "Acciones" en el contenido */
}

  .table-responsive {
      padding: 0.5rem;
  }
  
  .custom-table td {
      font-size: 0.9rem;
  }
  
  .btn-edit,
  .btn-delete {
      width: 100%;
      margin: 0.25rem 0;
  }
}


.formulario-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.pregunta-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pregunta-texto {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}

.complemento {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2px;
  margin-top: 10px;
}

.respuesta-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 10px;
}

.respuesta-input:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-header {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.empresa-select {
  width: 40%;
  padding: 10px;
  margin-top: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

.proyecto-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 8px;
}

.btn-submit {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background: #0056b3;
}

@media (max-width: 768px) {
  .formulario-container {
      padding: 10px;
  }

  .pregunta-card {
      padding: 15px;
  }
}

/* Empresa View */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.btn-submit {
    background: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .form-container {
        padding: 10px;
    }
}

/* END Empresa View */

/*Editar empresa*/

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}


.btn-submit {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
}

.btn-submit:hover {
  background: #0056b3;
}

@media (max-width: 768px) {
  .form-container {
      padding: 10px;
  }
}
/* END */

/* Listar empresas */

.table-responsive {
  overflow-x: auto;
  padding: 1rem;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.custom-table th,
.custom-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.custom-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.btn-edit,
.btn-delete {
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 5px;
  display: inline-block;
}

.btn-edit {
  background-color: #007bff;
  color: white;
}

.btn-delete {
  background-color: #dc3545;
  color: white;
}

.btn-edit:hover {
  background-color: #0056b3;
}

.btn-delete:hover {
  background-color: #c82333;
}

.header-actions {
  margin-bottom: 20px;
}

.btn-create {
  background-color: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.btn-create:hover {
  background-color: #218838;
}

/* Estilos responsive */
@media screen and (max-width: 768px) 
{
  .custom-table thead th[data-label="Acciones"] {
      display: none; /* Oculta el encabezado "Acciones" */
  }

  .custom-table thead th[data-label="Formulario"] {
    display: none; /* Oculta el encabezado "Acciones" */
}

  .custom-table tbody td[data-label="Acciones"]::before {
      display: none; /* Oculta el prefijo "Acciones" en el contenido */
  }

  .custom-table tbody td[data-label="Formulario"]::before {
    display: none; /* Oculta el prefijo "Acciones" en el contenido */
}

  .custom-table thead {
      display: none;
  }
  
  .custom-table, 
  .custom-table tbody, 
  .custom-table tr, 
  .custom-table td {
      display: block;
      width: 100%;
  }
  
  .custom-table tr {
      margin-bottom: 1rem;
      border: 1px solid #ddd;
      padding: 0.5rem;
      border-radius: 8px;
      background: #fff;
  }
  
  .custom-table td {
      text-align: right;
      padding: 0.5rem;
      position: relative;
      border-bottom: 1px solid #eee;
  }
  
  .custom-table td:last-child {
      border-bottom: none;
  }
  
  .custom-table td::before {
      content: attr(data-label);
      position: absolute;
      left: 0.5rem;
      font-weight: bold;
  }
  
  .btn-edit,
  .btn-delete {
      display: inline-block;
      margin: 0.25rem;
      width: calc(50% - 0.5rem);
      text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .table-responsive {
      padding: 0.5rem;
  }
  
  .custom-table td {
      font-size: 0.9rem;
  }
  
  .btn-edit,
  .btn-delete {
      width: 100%;
      margin: 0.25rem 0;
  }
}
/* END */

/* Responder formulario Date section*/
.fecha-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.proyecto-input:focus,
.fecha-input:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.fecha-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

/* Estilizar el selector de fecha para diferentes navegadores */
.fecha-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 0.2rem;
}

/* Estilos responsivos */
@media screen and (min-width: 768px) {
  .form-header {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: flex-end;
  }

  .proyecto-input,
  .fecha-input {
      width: auto;
      min-width: 315px;
  }
  
  .fecha-label {
      margin-left: 1rem;
  }
}
/* End Responder formulario Date section*/


/* Reportes */

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-item {
  margin: 0 2px;
}

.page-link {
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.page-item.active .page-link {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.page-link:hover {
  background-color: #f8f9fa;
}

.filters-container {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .filters-container .col-md-4 {
      margin-bottom: 15px;
  }
}
/* END reportes */

.form-section-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 15px;
}


/*Signature pad*/
.signature-pad-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: transparent; /* Cambiado de #fff a transparent */
  border: 1px solid #ccc;
  touch-action: none;
}

.signature-pad {
  width: 100%;
  height: 200px;
  border: none;
  touch-action: none;
  background-color: transparent; /* Añadido */
}

.signatures-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.signature-section {
  flex: 1;
  min-width: 300px;
}

.signature-actions {
  margin-top: 10px;
  text-align: center;
}

.btn-clear {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.firma-actual {
  max-width: 100%;
  margin-top: 10px;
  border: 1px solid #eee;
}
/* END Signature pad*/

/* Opcional: Personalización de la barra de desplazamiento */
.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Prevenir zoom en inputs para dispositivos móviles */
.proyecto-input,
.empresa-select,
.fecha-input,
.respuesta-input,
.observaciones-textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

/* Si tienes otros inputs personalizados, agrégalos aquí */
input[type="text"],
input[type="date"],
select,
textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
}

/* Media query para dispositivos móviles para Signature pad */
@media screen and (max-width: 768px) {
    .signatures-container {
        flex-direction: column;
    }

    .signature-section {
        width: 100%;
        margin-bottom: 20px;
    }

    .signature-pad-container {
        width: 100%;
        max-width: 100%;
    }
    .signature-pad {
      height: 150px; /* Altura más pequeña para móviles */
  }
}

/*Fotos*/
.fotos-section {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.foto-upload {
    margin-bottom: 15px;
}

.foto-input {
    display: none;
}

.btn-add-foto {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.fotos-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.foto-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.foto-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.foto-comentario {
    margin-top: 10px;
    width: 100%;
}

.foto-eliminar {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .fotos-preview {
        grid-template-columns: 1fr;
    }
}
/* END Fotos*/

/* Loader Formulario imagen*/
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* END Loader Formulario imagen*/

.search-container {
  position: relative;
  margin-right: 15px;
}

.search-input {
  padding: 8px 35px 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 250px;
  font-size: 14px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.header-actions-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}