/* BLOQUEIO TOTAL LGPD */
.lgpd-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lgpd-box {
  width: 100%;
  max-width: 900px;
  background: #111;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.lgpd-header {
  background: #171717;
  padding: 22px 28px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lgpd-header h4 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  text-shadow: none !important;
}

.lgpd-body {
  padding: 22px 28px;
}

.lgpd-body p {
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 12px;
  text-shadow: none !important;
}

.lgpd-body a {
  color: #37c85a;
  font-weight: 600;
  text-decoration: none;
}

.lgpd-body a:hover {
  text-decoration: underline;
}

.lgpd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 28px 28px;
}

.lgpd-actions .btn {
  min-width: 170px;
  border-radius: 30px;
  font-weight: 600;
  padding: 11px 20px;
}

.lgpd-actions .btn-outline-light {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
}

.lgpd-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.lgpd-locked {
  overflow: hidden;
}

.legal-modal .modal-content {
  border-radius: 14px;
  border: 0;
  overflow: hidden;
}

.legal-modal .modal-header {
  background: #111;
  color: #fff;
  border-bottom: 0;
}

.legal-modal .modal-title {
  font-weight: 700;
}

.legal-modal .modal-body {
  max-height: 72vh;
  overflow-y: auto;
  line-height: 1.8;
  padding: 28px;
}

.legal-modal .modal-body h5 {
  color: #198754;
  font-weight: 700;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .lgpd-box {
    max-width: 100%;
  }

  .lgpd-header,
  .lgpd-body,
  .lgpd-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lgpd-actions {
    flex-direction: column;
  }

  .lgpd-actions .btn {
    width: 100%;
  }
}

.lgpd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lgpd-box {
  width: 100%;
  max-width: 880px;
  background: #111;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.lgpd-header {
  padding: 22px 28px 12px;
  background: #161616;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lgpd-header h4 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-shadow: none !important;
}

.lgpd-body {
  padding: 22px 28px;
}

.lgpd-body p {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 12px;
  text-shadow: none !important;
}

.lgpd-body a {
  color: #38c85b;
  font-weight: 600;
  text-decoration: none;
}

.lgpd-body a:hover {
  text-decoration: underline;
}

.lgpd-actions {
  padding: 0 28px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lgpd-actions .btn {
  min-width: 170px;
  border-radius: 30px;
  font-weight: 600;
  padding: 11px 20px;
}

.lgpd-actions .btn-outline-light {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: transparent;
}

.lgpd-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.lgpd-lock {
  overflow: hidden !important;
}

.legal-modal .modal-content {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.legal-modal .modal-header {
  background: #111;
  color: #fff;
  border-bottom: 0;
}

.legal-modal .modal-title {
  font-weight: 700;
}

.legal-modal .modal-body {
  max-height: 72vh;
  overflow-y: auto;
  line-height: 1.8;
  padding: 28px;
}

.legal-modal .modal-body h5 {
  color: #198754;
  font-weight: 700;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .lgpd-actions {
    flex-direction: column;
  }

  .lgpd-actions .btn {
    width: 100%;
  }

  .lgpd-header,
  .lgpd-body,
  .lgpd-actions {
    padding-left: 18px;
    padding-right: 18px;
  }
}