.usalg-consent-banner,
.usalg-consent-modal,
.usalg-consent-embed-placeholder {
  font-family: Source Sans Pro, Trebuchet MS, Arial, Helvetica, sans-serif;
}

.usalg-consent-banner[hidden],
.usalg-consent-modal[hidden] {
  display: none !important;
}

.usalg-consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 4000;
}

.usalg-consent-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 22px;
  background: rgba(16, 25, 44, 0.98);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
}

.usalg-consent-title {
  margin: 0 0 8px 0;
  font-size: 1.15em;
  font-weight: 700;
}

.usalg-consent-copy {
  margin: 0;
}

.usalg-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.usalg-consent-button {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
}

.usalg-consent-button.primary {
  background: #a80329;
  color: #ffffff;
}

.usalg-consent-button.secondary {
  background: #ffffff;
  color: #1a2744;
}

.usalg-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 4100;
}

.usalg-consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.usalg-consent-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 8vh auto 0 auto;
  padding: 24px;
  background: #ffffff;
  color: #1a2744;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.usalg-consent-modal-dialog h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.usalg-consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #d8deeb;
  border-radius: 12px;
  background: #f8fafe;
}

.usalg-consent-option p {
  margin: 6px 0 0 0;
}

.usalg-consent-badge {
  padding: 6px 10px;
  background: #1a2744;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.85em;
  white-space: nowrap;
}

.usalg-consent-toggle input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.usalg-consent-footer-link {
  margin-left: 12px;
  white-space: nowrap;
}

.usalg-consent-embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 12px 0;
  padding: 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
  border: 1px solid #ccd7ea;
  border-radius: 12px;
  box-sizing: border-box;
}

.usalg-consent-embed-box {
  max-width: 640px;
  text-align: center;
}

.usalg-consent-embed-box strong {
  display: block;
  margin-bottom: 8px;
  color: #1a2744;
}

.usalg-consent-inline-accept {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #a80329;
  color: #ffffff;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
}

.usalg-consent-image-placeholder {
  margin: 12px 0;
  padding: 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
  border: 1px solid #ccd7ea;
  border-radius: 12px;
  text-align: center;
}

.usalg-consent-image-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #1a2744;
}

@media only screen and (max-width: 700px) {
  .usalg-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .usalg-consent-panel,
  .usalg-consent-modal-dialog {
    padding: 18px;
  }

  .usalg-consent-option {
    align-items: flex-start;
    flex-direction: column;
  }
}
