/**
 * @file
 * Estilos para el gestor de consentimiento de terceros.
 */

/* =========================================================================
   Placeholder para contenido bloqueado
   ========================================================================= */
.consent-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 32px;
  background: #F5F5F5;
  border: 2px dashed #CCCCCC;
  border-radius: 8px;
  margin: 16px 0;
}

.consent-placeholder__inner {
  text-align: center;
  max-width: 400px;
}

.consent-placeholder__icon {
  color: #666666;
  margin: 0 auto 16px;
  display: block;
}

.consent-placeholder__text {
  color: #333333;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.consent-placeholder__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #3366CC;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.consent-placeholder__button:hover,
.consent-placeholder__button:focus {
  background: #2952A3;
}

.consent-placeholder__button:focus {
  outline: 2px solid #3366CC;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 767px) {
  .consent-placeholder {
    min-height: 150px;
    padding: 24px 16px;
  }

  .consent-placeholder__text {
    font-size: 14px;
  }

  .consent-placeholder__button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Alto contraste */
@media (prefers-contrast: high) {
  .consent-placeholder {
    border-width: 3px;
    border-color: #000000;
  }

  .consent-placeholder__button {
    border: 2px solid #FFFFFF;
  }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .consent-placeholder__button {
    transition: none;
  }
}

/* Print */
@media print {
  .consent-placeholder {
    display: none;
  }
}
