/* Notificación de actualización */
.update-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.update-notification.visible {
  transform: translateY(0);
}

.update-notification.hidden {
  transform: translateY(100%);
}

.update-notification__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.update-notification__icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.update-notification__text {
  flex: 1;
  min-width: 0;
}

.update-notification__text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.update-notification__text p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.update-notification__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.update-notification__actions button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-update {
  background: white;
  color: #667eea;
}

.btn-update:hover:not(:disabled) {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn-update:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-dismiss {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-dismiss:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 600px) {
  .update-notification__content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .update-notification__icon {
    align-self: center;
  }

  .update-notification__actions {
    justify-content: center;
  }
}
