.yua-gdpr-banner[hidden],
.yua-gdpr-preferences[hidden],
.yua-gdpr-save[hidden],
.yua-gdpr-floating[hidden] { display: none !important; }

.yua-gdpr-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 999999;
  padding: 16px;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: inherit;
}

.yua-gdpr-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  border: 1px solid rgba(15, 23, 42, .08);
}

.yua-gdpr-card h2 {
  margin: 0 36px 8px 0;
  font-size: 20px;
  line-height: 1.25;
  color: #111827;
}

.yua-gdpr-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
}

.yua-gdpr-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.yua-gdpr-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yua-gdpr-links a,
.yua-gdpr-card a {
  color: #8b5a2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yua-gdpr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
}

.yua-gdpr-primary,
.yua-gdpr-secondary {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.yua-gdpr-primary:hover,
.yua-gdpr-secondary:hover,
.yua-gdpr-close:hover {
  transform: translateY(-1px);
}

.yua-gdpr-primary {
  background: #8b5a2b;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(139, 90, 43, .24);
}

.yua-gdpr-secondary {
  background: #f9fafb;
  color: #1f2937;
  border-color: #e5e7eb;
}

.yua-gdpr-preferences {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #eef0f3;
}

.yua-gdpr-toggle {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f2;
}

.yua-gdpr-toggle:last-child { border-bottom: 0; }
.yua-gdpr-toggle strong { display: block; color: #111827; font-size: 14px; }
.yua-gdpr-toggle small { display: block; margin-top: 3px; color: #6b7280; font-size: 13px; line-height: 1.4; }
.yua-gdpr-toggle input { min-width: 22px; width: 22px; height: 22px; accent-color: #8b5a2b; }

.yua-gdpr-floating {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999998;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #8b5a2b;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.yua-gdpr-shortcode { margin: 18px 0; }

.yua-gdpr-cookie-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.yua-gdpr-cookie-table th,
.yua-gdpr-cookie-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}
.yua-gdpr-cookie-table th { background: #f9fafb; }

.yua-gdpr-embed-blocked {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
  text-align: center;
}

@media (max-width: 680px) {
  .yua-gdpr-banner { padding: 10px; }
  .yua-gdpr-card { padding: 18px; border-radius: 16px; }
  .yua-gdpr-actions { justify-content: stretch; }
  .yua-gdpr-actions button { width: 100%; }
}
