/* Google Calendar OAuth — unverified app walkthrough (Studio) */

.oauth-help-intro {
  border-left: 4px solid #fbbc05;
  background: #fffdf5;
}

.oauth-help-step {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8eaed;
}

.oauth-help-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.oauth-help-step-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.oauth-help-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.oauth-screenshot-wrap {
  position: relative;
  max-width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.15rem 0.75rem rgba(60, 64, 67, 0.15);
  border: 1px solid #dadce0;
  background: #fff;
}

.oauth-screenshot-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.oauth-hotspot {
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid #4285f4;
  border-radius: 0.35rem;
  pointer-events: none;
  z-index: 2;
  animation: oauth-hotspot-pulse 1.6s ease-in-out infinite;
}

.oauth-hotspot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 0.45rem;
  border: 2px solid rgba(66, 133, 244, 0.35);
  animation: oauth-hotspot-ring 1.6s ease-in-out infinite;
}

.oauth-click-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  background: #4285f4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.35);
  animation: oauth-label-bob 1.6s ease-in-out infinite;
}

@keyframes oauth-hotspot-pulse {
  0%,
  100% {
    background: rgba(66, 133, 244, 0.08);
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.45);
  }
  50% {
    background: rgba(66, 133, 244, 0.18);
    box-shadow: 0 0 0 6px rgba(66, 133, 244, 0);
  }
}

@keyframes oauth-hotspot-ring {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes oauth-label-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 576px) {
  .oauth-click-label {
    font-size: 0.62rem;
    padding: 0.15rem 0.35rem;
  }
}
