/* Age restriction modal for FR Ligne Best */

.frlb-age {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.frlb-age__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.85);
  backdrop-filter: blur(10px);
}

.frlb-age__dialog {
  position: relative;
  max-width: 480px;
  width: calc(100% - 2.5rem);
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 24px 60px rgba(3, 13, 30, 0.4);
}

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

.frlb-age__badge {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #d12929, #f0713c);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.frlb-age__title {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #071f3f;
}

.frlb-age__body {
  margin-bottom: 1.25rem;
}

.frlb-age__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334563;
}

.frlb-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.frlb-age__btn {
  min-width: 9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.frlb-age__btn--primary {
  background: #0b3c72;
  border-color: #0b3c72;
  color: #ffffff;
}

.frlb-age__btn--primary:hover,
.frlb-age__btn--primary:focus-visible {
  background: #1b72b8;
  border-color: #1b72b8;
}

.frlb-age__btn--secondary {
  background: #f5f2f2;
  border-color: #e2d8d8;
  color: #623030;
}

.frlb-age__btn--secondary:hover,
.frlb-age__btn--secondary:focus-visible {
  background: #f0e4e4;
  border-color: #e0b6b6;
}

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

@media (max-width: 480px) {
  .frlb-age__dialog {
    width: calc(100% - 1.5rem);
    padding: 1.25rem 1.1rem 1.1rem;
  }

  .frlb-age__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .frlb-age__backdrop {
    backdrop-filter: none;
  }
}
