/* ══════════════════════════════════════════════════════
   HUBOX — Cookie Consent Banner Styles
   ══════════════════════════════════════════════════════ */

#hubox-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #141414;
  border-top: 1px solid rgba(201, 164, 98, 0.3);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: #f8f4ee;
  /* Start hidden below viewport */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.42s ease;
}

#hubox-cookie-banner.hcb-visible {
  transform: translateY(0);
  opacity: 1;
}

#hubox-cookie-banner.hcb-hide {
  transform: translateY(100%);
  opacity: 0;
}

/* ─── Inner layout ────────────────────────────────── */
.hcb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 2rem;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── Text block ──────────────────────────────────── */
.hcb-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 240px;
}

.hcb-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.hcb-text p {
  margin: 0;
  line-height: 1.6;
  color: rgba(248, 244, 238, 0.8);
  font-size: 0.85rem;
}

.hcb-link {
  color: #c9a462;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s;
}
.hcb-link:hover { color: #dfc07a; }

/* ─── Buttons ─────────────────────────────────────── */
.hcb-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hcb-btn-secondary,
.hcb-btn-primary {
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hcb-btn-secondary {
  background: transparent;
  color: rgba(248, 244, 238, 0.65);
  border: 1px solid rgba(248, 244, 238, 0.2);
}
.hcb-btn-secondary:hover {
  color: #f8f4ee;
  border-color: rgba(248, 244, 238, 0.45);
}

.hcb-btn-primary {
  background: #c9a462;
  color: #0c0c0c;
}
.hcb-btn-primary:hover {
  background: #dfc07a;
}

/* ─── RTL ─────────────────────────────────────────── */
#hubox-cookie-banner[dir="rtl"] .hcb-inner {
  direction: rtl;
}

/* ─── Mobile ──────────────────────────────────────── */
@media (max-width: 640px) {
  .hcb-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 1.25rem;
    gap: 14px;
  }
  .hcb-btns {
    width: 100%;
  }
  .hcb-btn-secondary,
  .hcb-btn-primary {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
  }
}

/* ══════════════════════════════════════════════════════
   GDPR Consent Checkbox (Contact Form)
   ══════════════════════════════════════════════════════ */

.gdpr-row {
  margin-top: 4px;
}

.gdpr-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.55;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.gdpr-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #c9a462;
  cursor: pointer;
}

.gdpr-check-text a {
  color: #c9a462;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gdpr-check-text a:hover { color: #dfc07a; }

/* Shake animation for checkbox error */
.gdpr-check-label.shake {
  animation: gdpr-shake 0.4s ease;
  color: #e05c5c !important;
}
.gdpr-check-label.shake a { color: #e05c5c !important; }

@keyframes gdpr-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* ══════════════════════════════════════════════════════
   Footer Legal Links
   ══════════════════════════════════════════════════════ */

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  opacity: 0.65;
}
.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.footer-legal-links a:hover { opacity: 1; }
.footer-sep { opacity: 0.4; }

.footer-company-info {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(107, 107, 107, 0.7);
  padding: 8px 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 8px;
}
