/* clientes.css */

.titulo-clientes {
  text-align: center;
  color: #5A0088;
  font-size: 2rem;
  margin: 20px 0;
}

.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.cliente-item {
  flex: 1 1 calc(25% - 20px);
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.3s ease;
  max-width: 200px;
}

.cliente-item:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.cliente-logo {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

.cliente-nombre {
  margin-top: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 768px) {
  .cliente-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .cliente-item {
    flex: 1 1 100%;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-logo {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.modal-title {
  font-size: 1.5rem;
  color: #1d1d1d;
  margin-bottom: 10px;
}

.modal-message {
  font-size: 1rem;
  color: #444;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
