/* Age restriction modal styles for Guide FR Best */
.gfb-age {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gfb-age--visible {
  display: flex;
}

.gfb-age__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.gfb-age__dialog {
  position: relative;
  max-width: 480px;
  width: calc(100% - 2rem);
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
  padding: 1.4rem 1.5rem 1.3rem;
}

.gfb-age__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gfb-age__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.gfb-age__title {
  font-family: "Source Serif 4", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.gfb-age__body {
  margin-bottom: 1rem;
}

.gfb-age__text {
  font-size: 0.95rem;
  color: #1f2933;
  margin-bottom: 0.4rem;
}

.gfb-age__note {
  font-size: 0.8rem;
  color: #dc2626;
}

.gfb-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.gfb-age__btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.gfb-age__btn--outline {
  background: transparent;
  color: #0f172a;
  border-color: #cbd5e1;
}

.gfb-age__btn--outline:hover {
  background: #f1f5f9;
}

.gfb-age__btn--primary {
  background: #0b3d91;
  color: #ffffff;
}

.gfb-age__btn--primary:hover {
  background: #1e88e5;
}

.gfb-age__btn:focus-visible {
  outline: 2px solid #1e88e5;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .gfb-age__dialog {
    padding: 1.25rem 1rem 1.1rem;
  }

  .gfb-age__actions {
    flex-direction: column-reverse;
  }

  .gfb-age__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gfb-age__backdrop,
  .gfb-age__dialog {
    scroll-behavior: auto;
    transition: none !important;
  }
}
