/* Live ping dot animation */
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.live-dot {
  position: relative;
}

.live-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Background Styles */
.bg-grid {
  background-image:
    linear-gradient(rgba(0, 255, 106, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 106, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* .dark .bg-grid { } */

/* Helper to merge different grid styles found across files if needed */
.bg-grid-pattern {
  /* Some files used this specific class name */
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center,
      black 40%,
      transparent 100%);
}

.scanlines {
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.1));
  background-size: 100% 4px;
}

.dark .scanlines {
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.2));
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0c0e16;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Utilities */
.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-black\/40 {
  background-color: rgba(0, 0, 0, 0.4);
}

.site-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
      transparent 0%,
      transparent 60%,
      rgba(var(--color-primary), 0.15) 100%);
  box-shadow: inset 0 0 150px rgba(var(--color-primary), 0.2);
  z-index: 0;
}

/* Primary Color Utilities (Missing from output.css) */
.bg-primary {
  background-color: rgb(var(--color-primary));
}

.text-primary {
  color: rgb(var(--color-primary));
}

.border-primary {
  border-color: rgb(var(--color-primary));
}

/* Opacity modifiers support (approximate) */
.bg-primary\/20 {
  background-color: rgba(var(--color-primary), 0.2);
}

.bg-primary\/10 {
  background-color: rgba(var(--color-primary), 0.1);
}

.bg-primary\/5 {
  background-color: rgba(var(--color-primary), 0.05);
}

.bg-primary\/50 {
  background-color: rgba(var(--color-primary), 0.5);
}

.border-primary\/20 {
  border-color: rgba(var(--color-primary), 0.2);
}

.border-primary\/30 {
  border-color: rgba(var(--color-primary), 0.3);
}

.border-primary\/50 {
  border-color: rgba(var(--color-primary), 0.5);
}

/* reCAPTCHA Widget Styles */
.rc-anchor {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  color: #000;
  width: 300px;
  height: 74px;
  border-radius: 3px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
  cursor: pointer;
}

.rc-anchor:hover {
  background: #fdfdfd;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.12);
}

/* .dark .rc-anchor {
  background: #222;
  border-color: #555;
  color: #fff;
} */

.rc-content {
  display: flex;
  align-items: center;
}

.rc-checkbox {
  width: 28px;
  height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background-color: #fff;
  margin-right: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.rc-anchor:hover .rc-checkbox {
  border-color: #b2b2b2;
}

/* .dark .rc-checkbox {
  background-color: #333;
  border-color: #666;
} */

.rc-text {
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.rc-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: 10px;
}

.rc-logo-img {
  width: 32px;
  height: 32px;
  background-image: url('https://www.gstatic.com/recaptcha/api2/logo_48.png');
  background-size: 32px;
  background-repeat: no-repeat;
  opacity: 0.55;
}

.rc-logo-text {
  color: #555;
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 10px;
  margin-top: 4px;
  cursor: default;
}

/* .dark .rc-logo-text {
  color: #aaa;
} */

.rc-links {
  color: #555;
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 8px;
  font-weight: 400;
  line-height: 10px;
  margin-top: 2px;
  opacity: 0.7;
}

/* .dark .rc-links {
  color: #999;
} */

.rc-links a {
  text-decoration: none;
  color: inherit;
  margin: 0 2px;
}

.rc-links a:hover {
  text-decoration: underline;
}

/* Spinner & Checkmark Overrides for reCAPTCHA box */
.rc-checkbox .rc-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #4a90e2;
  /* Google blueish */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* .dark .rc-checkbox .rc-spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #4a90e2;
} */

.rc-checkbox .material-symbols-outlined {
  font-size: 24px;
  color: #009688;
  /* Success green */
  display: none;
  /* Initially hidden */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}