.avertissement {
	display: flex;
	height: 140px; /* pour occuper toute la hauteur de l'écran, ou adapte */
	gap: 10px;
	width: 420px;
	height: auto;
	max-width: 90%;
	background: rgba(251, 249, 238, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
	border: 3px solid rgba(9, 51, 93, 0.7); /* Bordure légère */
	padding: 10px;
	z-index: 1;
	margin-left: auto;
	margin-right: auto;
}

/* Filigrane logo global - en fond de l'avertissement */
.avertissement::before {
  content: "";
  position: absolute; /* mieux pour un filigrane */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../../images/logo.png') no-repeat center center;
  background-size: contain;
  width: 172px;
  height: 172px;
  opacity: 0.1;
  z-index: -1;
}

/* Force un contraste lisible dans la div d'avertissement */
#playerConsentNotice {
  color: #09335D; /* Couleur foncée lisible */
  font-family: Arial, sans-serif;
}

#playerConsentNotice h2 {
  color: #09335D;
}

#playerConsentNotice p {
  color: #09335D;
}

  .consent-button {
    background-color: #07345B;
    color: white;
    padding: 10px 20px;
    margin: 0 8px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .consent-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }

  #consentRefuseBtn {
    background-color: #CC0000;
  }

  #consentRefuseBtn:hover {
    background-color: #a30000;
  }

  #consentAcceptBtn {
    background-color: #07345B;
  }

  #consentAcceptBtn:hover {
    background-color: #041f36;
  }