/* ==========================================================================
   JOXX HUNGARY MARKETPLACE — EU / HUNGARY COMPLIANCE UI STYLES
   Strict 2 Fonts: Unbounded + Geologica | 100% Light Editorial Theme
   ========================================================================== */

#joxx-legal-footer {
  background: #faf8f5;
  border-top: 1px solid #e2e8f0;
  padding: 24px 16px 84px;
  margin-top: 24px;
  color: #475569;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  #joxx-legal-footer {
    padding: 28px 24px 32px;
  }
}

.joxx-footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .joxx-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

.joxx-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.joxx-footer-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.joxx-footer-tagline {
  color: #64748b;
  font-size: 11px;
  margin: 0;
}

.joxx-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.joxx-footer-link,
.joxx-footer-btn {
  color: #334155;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap !important;
  background: transparent;
  border: none;
  padding: 2px 0;
  cursor: pointer;
  font-family: 'Geologica', sans-serif;
  transition: color 0.15s ease;
}

.joxx-footer-link:hover,
.joxx-footer-btn:hover {
  color: #059669;
  text-decoration: underline;
}

/* --- Floating GDPR Cookie Banner --- */
#joxx-cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 68px;
  z-index: 45;
  max-width: 560px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.16);
  font-family: 'Geologica', sans-serif;
  color: #0f172a;
}

@media (min-width: 768px) {
  #joxx-cookie-banner {
    left: 20px;
    right: auto;
    bottom: 20px;
    padding: 16px 18px;
  }
}

.joxx-cookie-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.joxx-cookie-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.joxx-cookie-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 12px;
}

.joxx-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* --- Shared Compliance Buttons & Inputs --- */
.joxx-comp-btn-primary {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.joxx-comp-btn-primary:hover {
  background: #1e293b;
}

.joxx-comp-btn-emerald {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: #059669;
  color: #ffffff;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #059669;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

.joxx-comp-btn-emerald:hover {
  background: #047857;
}

.joxx-comp-btn-secondary {
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-family: 'Geologica', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap !important;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

.joxx-comp-btn-secondary:hover {
  background: #f1f5f9;
}

.joxx-comp-input,
.joxx-comp-select,
.joxx-comp-textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-family: 'Geologica', sans-serif;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.joxx-comp-input:focus,
.joxx-comp-select:focus,
.joxx-comp-textarea:focus {
  border-color: #0f172a;
  background: #ffffff;
}

.joxx-comp-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.joxx-comp-toggle-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}

.joxx-comp-toggle-desc {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.joxx-comp-switch {
  width: 18px;
  height: 18px;
  accent-color: #059669;
  cursor: pointer;
  flex-shrink: 0;
}

/* --- Badges: EU AI Act & EU Omnibus Seller Type --- */
.joxx-comp-badge-ai {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #faf8f5;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  color: #334155;
  line-height: 1.4;
}

.joxx-comp-badge-seller {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.joxx-comp-badge-seller.is-private {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.joxx-comp-badge-seller.is-business {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* --- Publish Legal Consent Box --- */
.joxx-comp-consent-box {
  padding: 10px 12px;
  border-radius: 14px;
  background: #faf8f5;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  color: #334155;
  line-height: 1.45;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.joxx-comp-consent-box.joxx-comp-consent-error {
  border-color: #e11d48;
  background: #fff1f2;
}

.joxx-comp-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.joxx-comp-consent-label a {
  color: #059669;
  font-weight: 700;
  text-decoration: underline;
}

.joxx-comp-error-msg {
  color: #be123c;
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}

.joxx-report-receipt {
  padding: 16px;
  border-radius: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  line-height: 1.5;
}
