/* ECP Cookie / Consent Banner */
.ecp-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 32px rgba(15, 42, 68, 0.12);
  padding: 20px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ecp-consent-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.ecp-consent-banner__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.ecp-consent-banner__text a {
  color: #1B365D;
  text-decoration: underline;
}

.ecp-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecp-consent-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ecp-consent-btn:hover { opacity: 0.9; }

.ecp-consent-btn--primary {
  background: #1B365D;
  color: #fff;
}

.ecp-consent-btn--secondary {
  background: #f1f5f9;
  color: #1B365D;
}

.ecp-consent-btn--ghost {
  background: transparent;
  color: #64748b;
  text-decoration: underline;
  padding-left: 8px;
  padding-right: 8px;
}

.ecp-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(15, 42, 68, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ecp-consent-modal.is-open { display: flex; }

.ecp-consent-modal__dialog {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ecp-consent-modal__dialog h3 {
  margin: 0 0 8px;
  color: #1B365D;
  font-size: 20px;
}

.ecp-consent-modal__dialog p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.ecp-consent-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
}

.ecp-consent-option strong {
  display: block;
  color: #1B365D;
  font-size: 14px;
  margin-bottom: 4px;
}

.ecp-consent-option small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.ecp-consent-option input {
  margin-top: 4px;
}

.ecp-consent-settings-link {
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .ecp-consent-banner__actions {
    width: 100%;
  }
  .ecp-consent-btn {
    flex: 1 1 auto;
  }
}
