/**
 * MyWOT scorecard badge — markup matches MyWOT dashboard embed.
 * External widget CSS URLs are unreliable; these rules approximate the official dark badge.
 */
a#wot-badge0.wot-badge_dark {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  align-self: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px 6px 10px;
  background: linear-gradient(180deg, #2a2a2a 0%, #151515 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  text-decoration: none !important;
  color: #fff;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

a#wot-badge0.wot-badge_dark:hover {
  border-color: rgba(255, 180, 80, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 180, 80, 0.12);
}

#wot-badge0 .wot-logo {
  flex-shrink: 0;
  width: 48px;
  height: 22px;
  background: url('https://www.mywot.com/images/logo.svg') no-repeat center left;
  background-size: contain;
}

#wot-badge0 .wot-shield {
  flex-shrink: 0;
  width: 22px;
  height: 26px;
  background: linear-gradient(180deg, #66bb6a 0%, #2e7d32 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 55%, 50% 100%, 0% 55%, 0% 25%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#wot-badge0 .wot-secured {
  margin: 0;
  font-weight: 600;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
}

#wot-badge0 .wot-vertical {
  width: 1px;
  align-self: stretch;
  min-height: 24px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 2px;
}

#wot-badge0 .wot-report {
  margin: 0;
  font-size: 12px;
  color: #ffb74d;
  font-weight: 500;
}

/**
 * Trustpilot TrustBox — wrapper only (no fixed dark chrome).
 * A fixed-width dark shell wider than Trustpilot’s iframe showed empty “bars” beside the widget.
 */
.trustpilot-widget-shell {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  line-height: 0;
  font-size: 0;
}

.trustpilot-widget-shell .trustpilot-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 0;
}

.trustpilot-widget-shell .trustpilot-widget iframe {
  display: block;
  margin: 0;
  max-width: 100%;
  border: 0;
  vertical-align: bottom;
}

/* Fallback link before bootstrap replaces markup */
.trustpilot-widget-shell .trustpilot-widget > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 4px;
  width: auto;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
  text-decoration: none;
  letter-spacing: 0.02em;
}
