/* Estilos personalizados para PUG Uniformes */

/* Mejoras de accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animaciones suaves */
.transition-all {
  transition: all 0.3s ease;
}

/* Estilos para formularios */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  ring: 2px;
  ring-color: #3b82f6;
  ring-offset: 2px;
}

/* Estilos para botones */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Estilos para archivos */
.file-upload-area {
  transition: border-color 0.3s ease;
}

.file-upload-area:hover {
  border-color: #6b7280;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Loading spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Estilos para mensajes de estado */
.status-message {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras para móviles */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Estilos para el header sticky */
.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Estilos para hover effects */
.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Estilos para el logo */
.logo {
  max-height: 3.5rem;
  width: auto;
}
