/* ================================================================
   fgo-cookie.css — Popup consentement cookies FGO
   ================================================================ */

.fgo-cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fgo-cookie-overlay--show {
  opacity: 1;
  visibility: visible;
}

.fgo-cookie-overlay--hide {
  opacity: 0;
  visibility: hidden;
}

.fgo-cookie-popup {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.fgo-cookie-overlay--show .fgo-cookie-popup {
  transform: translateY(0);
}

/* Bouton "Continuer sans accepter" */
.fgo-cookie-skip {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
}

.fgo-cookie-skip:hover {
  border-color: #e94560;
  color: #e94560;
}

/* Icône */
.fgo-cookie-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  margin-top: 10px;
}

/* Titre */
.fgo-cookie-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
  line-height: 1.3;
}

/* Texte */
.fgo-cookie-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 16px;
}

.fgo-cookie-brand {
  color: #e94560;
  font-weight: 700;
}

/* Lien politique */
.fgo-cookie-link {
  display: inline-block;
  color: #e94560;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 28px;
  transition: opacity 0.2s;
}

.fgo-cookie-link:hover {
  opacity: 0.75;
}

/* Boutons */
.fgo-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fgo-cookie-btn {
  padding: 16px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  border: 1.5px solid #222;
}

.fgo-cookie-btn--refuse {
  background: #fff;
  color: #222;
  border-color: #222;
}

.fgo-cookie-btn--refuse:hover {
  background: #f5f5f5;
}

.fgo-cookie-btn--accept {
  background: #fff;
  color: #222;
  border-color: #222;
}

.fgo-cookie-btn--accept:hover {
  background: #222;
  color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
  .fgo-cookie-popup {
    padding: 28px 22px 28px;
    border-radius: 16px;
  }

  .fgo-cookie-skip {
    position: static;
    display: block;
    margin-bottom: 20px;
    text-align: center;
  }

  .fgo-cookie-actions {
    grid-template-columns: 1fr;
  }

  .fgo-cookie-title {
    font-size: 1.2rem;
  }
}
