/* Viewport RBC — cursor, ripple de clique e overlay de acção pendente */

/* position/display vêm de rbc-dock-log.css — só cursor e overlay aqui */

.rbc-viewport-img {
  cursor: pointer !important;
}

.cursor-text .rbc-viewport-img,
[class*='cursor-text'] .rbc-viewport-img {
  cursor: text !important;
}

.rbc-vp-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(1px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.rbc-vp-overlay.is-visible {
  opacity: 1;
}

.rbc-vp-overlay__spinner {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(34, 211, 238, 0.25);
  border-top-color: rgba(34, 211, 238, 0.95);
  animation: rbc-vp-spin 0.75s linear infinite;
}

.rbc-vp-overlay__label {
  max-width: min(92%, 22rem);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(8, 47, 73, 0.72);
  color: #a5f3fc;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.rbc-vp-overlay__hint {
  font-size: 0.6875rem;
  color: rgba(165, 243, 252, 0.72);
}

.rbc-vp-ripple {
  position: absolute;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 9999px;
  border: 2px solid rgba(34, 211, 238, 0.95);
  background: rgba(34, 211, 238, 0.18);
  pointer-events: none;
  z-index: 25;
  animation: rbc-vp-ripple 0.55s ease-out forwards;
}

.rbc-vp-overlay.is-error .rbc-vp-overlay__spinner {
  border-top-color: rgba(248, 113, 113, 0.95);
  border-color: rgba(248, 113, 113, 0.25);
}

.rbc-vp-overlay.is-error .rbc-vp-overlay__label {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(69, 10, 10, 0.72);
  color: #fecaca;
}

.rbc-vp-overlay.is-error .rbc-vp-overlay__hint {
  color: rgba(254, 202, 202, 0.82);
}

@keyframes rbc-vp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rbc-vp-ripple {
  0% {
    transform: scale(0.35);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
