/* Modal de actualización de versión */
.version-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.version-modal-overlay.is-visible {
  opacity: 1;
}

.version-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.version-modal-overlay.is-visible .version-modal {
  transform: scale(1);
}

.version-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #0b8484 0%, #0a7070 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 3s linear infinite;
}

.version-modal__icon svg {
  color: white;
}

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

.version-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
}

.version-modal__message {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.version-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.version-modal__button {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.version-modal__button--primary {
  background: linear-gradient(135deg, #0b8484 0%, #0a7070 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(11, 132, 132, 0.3);
}

.version-modal__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 132, 132, 0.4);
}

.version-modal__button--primary:active {
  transform: translateY(0);
}

.version-modal__button--secondary {
  background: #f3f4f6;
  color: #666;
}

.version-modal__button--secondary:hover {
  background: #e5e7eb;
}

@media (max-width: 768px) {
  .version-modal {
    padding: 1.5rem;
  }

  .version-modal__title {
    font-size: 1.25rem;
  }

  .version-modal__message {
    font-size: 0.9375rem;
  }
}
