.usalg-consent-banner,
.usalg-consent-modal,
.usalg-consent-embed-placeholder {
  font-family: Verdana, Arial, sans-serif;
}

.usalg-consent-banner[hidden],
.usalg-consent-modal[hidden],
.usalg-consent-fab[hidden] {
  display: none !important;
}

.usalg-consent-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 3950;
  display: none;
  padding: 10px 14px;
  border: 1px solid rgba(183, 127, 127, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #7a4f4f;
  box-shadow: 0 10px 24px rgba(58, 32, 32, 0.18);
  font-size: 0.9em;
  font-weight: 700;
  cursor: pointer;
}

.usalg-consent-choice-made .usalg-consent-fab {
  display: inline-flex;
}

.usalg-consent-choice-made .usalg-consent-banner {
  display: none !important;
}

.usalg-consent-banner {
  position: fixed;
  right: 20px;
  bottom: 76px;
  left: 20px;
  z-index: 4000;
}

.usalg-consent-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 22px;
  background: rgba(95, 71, 71, 0.98);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(58, 32, 32, 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.decision {
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(58, 32, 32, 0.14);
}

.usalg-consent-button.decision-reject {
  background: #7a4f4f;
  border-color: #7a4f4f;
  color: #ffffff;
}

.usalg-consent-button.decision-accept {
  background: #d29a9a;
  border-color: #d29a9a;
  color: #ffffff;
}

.usalg-consent-button.secondary {
  background: #ffffff;
  border-color: #e4d1d1;
  color: #5f4747;
}

.usalg-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 4100;
  overflow-y: auto;
}

.usalg-consent-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 32, 32, 0.55);
}

.usalg-consent-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  margin: 8vh auto 0 auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 24px;
  background: #ffffff;
  color: #3a2020;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(58, 32, 32, 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 #ead7d7;
  border-radius: 12px;
  background: #faf7f7;
}

.usalg-consent-option p {
  margin: 6px 0 0 0;
}

.usalg-consent-badge {
  padding: 6px 10px;
  background: #7a4f4f;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.85em;
  white-space: nowrap;
}

.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, #faf7f7 0%, #f3e6e6 100%);
  border: 1px solid #ead7d7;
  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: #3a2020;
}

.usalg-consent-inline-accept {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #d29a9a;
  color: #ffffff;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
}

.usalg-consent-inline-note {
  margin: 10px 0 0 0;
  color: #7a4f4f;
  font-size: 0.9em;
}

@media only screen and (max-width: 700px) {
  .usalg-consent-fab {
    right: 12px;
    bottom: 12px;
    padding: 9px 12px;
  }

  .usalg-consent-banner {
    right: 12px;
    bottom: 64px;
    left: 12px;
  }

  .usalg-consent-panel,
  .usalg-consent-modal-dialog {
    padding: 18px;
  }

  .usalg-consent-modal-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
  }

  .usalg-consent-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .usalg-consent-actions {
    flex-direction: column;
  }

  .usalg-consent-button,
  .usalg-consent-button.decision {
    width: 100%;
    min-width: 0;
  }
}
