.lgpd-consent-root {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  pointer-events: none;
}

.lgpd-consent-banner,
.lgpd-consent-modal {
  pointer-events: auto;
  font-family: "Inter", sans-serif;
}

.lgpd-consent-banner {
  margin: 0 auto 16px;
  width: min(1120px, calc(100% - 24px));
  background: rgba(4, 15, 7, 0.96);
  border: 1px solid rgba(245, 197, 24, 0.24);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  color: #f2f5ef;
}

.lgpd-consent-banner[hidden],
.lgpd-consent-backdrop[hidden],
.lgpd-consent-modal[hidden] {
  display: none;
}

.lgpd-consent-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px;
}

.lgpd-consent-copy {
  max-width: 760px;
}

.lgpd-consent-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5c518;
}

.lgpd-consent-copy h2 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: #ffffff;
}

.lgpd-consent-copy p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #d6e2d0;
}

.lgpd-consent-copy a,
.lgpd-consent-inline-btn {
  color: #f5c518;
  text-decoration: none;
}

.lgpd-consent-copy a:hover,
.lgpd-consent-inline-btn:hover {
  color: #ffe566;
}

.lgpd-consent-inline-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.lgpd-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 280px;
}

.lgpd-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.lgpd-btn:hover {
  transform: translateY(-1px);
}

.lgpd-btn-primary {
  background: #f5c518;
  color: #071c0c;
}

.lgpd-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f0f3ee;
}

.lgpd-btn-ghost {
  background: transparent;
  border-color: rgba(245, 197, 24, 0.22);
  color: #f5c518;
}

.lgpd-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.lgpd-consent-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: min(640px, calc(100% - 24px));
  background: #08170c;
  border: 1px solid rgba(245, 197, 24, 0.24);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  color: #f5f6f3;
  padding: 22px;
}

.lgpd-consent-modal h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.lgpd-consent-modal p {
  margin: 0 0 18px;
  color: #d1ddcb;
  line-height: 1.55;
}

.lgpd-consent-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lgpd-consent-option:first-of-type {
  border-top: none;
}

.lgpd-consent-option input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.lgpd-consent-option strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.lgpd-consent-option span {
  display: block;
  color: #b8c6b0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.lgpd-consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.lgpd-consent-status {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #9fb198;
}

@media (max-width: 760px) {
  .lgpd-consent-inner {
    flex-direction: column;
  }

  .lgpd-consent-actions {
    min-width: auto;
    width: 100%;
    justify-content: stretch;
  }

  .lgpd-btn {
    flex: 1 1 100%;
  }

  .lgpd-consent-modal {
    padding: 18px;
  }
}
