#eb-consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9998;
  background: #ffffff;
  color: #1a1a1a;
  border-top: 3px solid #1d4ed8;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  animation: ebSlideUp 0.25s ease-out;
}

@keyframes ebSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.eb-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.eb-consent-text {
  flex: 1 1 320px;
}

.eb-consent-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.eb-consent-text p {
  margin: 0;
  color: #475569;
}

.eb-consent-text a {
  color: #1d4ed8;
  text-decoration: underline;
}

.eb-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.eb-btn {
  cursor: pointer;
  font: inherit;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.eb-btn-primary {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
.eb-btn-primary:hover { background: #1e40af; border-color: #1e40af; }

.eb-btn-secondary {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #cbd5e1;
}
.eb-btn-secondary:hover { background: #f1f5f9; }

.eb-btn-ghost {
  background: transparent;
  color: #475569;
  border-color: transparent;
  text-decoration: underline;
}
.eb-btn-ghost:hover { color: #1d4ed8; }

#eb-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.eb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.eb-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.eb-modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eb-modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.eb-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 0 4px;
}
.eb-modal-close:hover { color: #1a1a1a; }

.eb-modal-body {
  padding: 16px 24px;
  overflow-y: auto;
}

.eb-modal-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}
.eb-modal-row:last-child { border-bottom: none; }

.eb-modal-row input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.eb-modal-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.eb-modal-row p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.eb-modal-foot {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body.eb-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .eb-consent-inner { flex-direction: column; align-items: stretch; }
  .eb-consent-actions { justify-content: stretch; }
  .eb-consent-actions .eb-btn { flex: 1; }
}
