/* Nikba GDPR Cookie Consent — Luxury Cafe */
#nikba-consent-banner,
#nikba-consent-modal {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

#nikba-consent-banner *,
#nikba-consent-modal * {
  box-sizing: border-box;
}

#nikba-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #FBFAF7;
  color: #32323D;
  padding: 0;
  border-top: 3px solid #C7A17A;
  box-shadow: 0 -8px 32px rgba(1, 1, 3, 0.12);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#nikba-consent-banner.nikba-consent-visible {
  transform: translateY(0);
}

.nikba-consent-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.nikba-consent-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 320px;
  min-width: 0;
}

.nikba-consent-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F1EE;
  border: 1px solid #E2DFDD;
  border-radius: 50%;
  color: #C7A17A;
  font-size: 18px;
  line-height: 1;
}

.nikba-consent-copy {
  flex: 1;
  min-width: 0;
}

.nikba-consent-title {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #010103;
  letter-spacing: 0.02em;
}

.nikba-consent-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6c6c6c;
}

.nikba-consent-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 8px;
}

.nikba-consent-links a {
  font-size: 12px;
  font-weight: 500;
  color: #C7A17A;
  text-decoration: none;
  border-bottom: 1px solid rgba(199, 161, 122, 0.45);
  transition: color 0.2s, border-color 0.2s;
}

.nikba-consent-links a:hover {
  color: #010103;
  border-bottom-color: #010103;
}

.nikba-consent-links span {
  color: #E2DFDD;
  font-size: 12px;
  user-select: none;
}

.nikba-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.nikba-consent-btn {
  border: none;
  cursor: pointer;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.nikba-consent-btn:active {
  transform: scale(0.98);
}

.nikba-consent-btn-accept,
.nikba-consent-btn-reject {
  min-width: 130px;
  text-align: center;
}

.nikba-consent-btn-accept {
  background: #C7A17A;
  color: #010103;
}

.nikba-consent-btn-accept:hover {
  background: #b8926a;
}

.nikba-consent-btn-reject {
  background: #fff;
  color: #32323D;
  border: 1px solid #E2DFDD;
}

.nikba-consent-btn-reject:hover {
  border-color: #C7A17A;
  color: #010103;
}

.nikba-consent-btn-settings {
  background: transparent;
  color: #32323D;
  border: 1px solid transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 11px 14px;
  min-width: auto;
}

.nikba-consent-btn-settings:hover {
  color: #C7A17A;
}

/* Modal */
#nikba-consent-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(1, 1, 3, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#nikba-consent-modal.nikba-consent-modal-open {
  display: flex;
}

.nikba-consent-modal-content {
  background: #FBFAF7;
  color: #010103;
  max-width: 480px;
  width: 100%;
  padding: 0;
  border-radius: 6px;
  border-top: 3px solid #C7A17A;
  box-shadow: 0 20px 60px rgba(1, 1, 3, 0.2);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nikba-consent-modal-content h2 {
  margin: 0;
  padding: 22px 24px 16px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid #E2DFDD;
}

.nikba-consent-modal-body {
  padding: 8px 24px 16px;
  overflow-y: auto;
}

.nikba-consent-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #E2DFDD;
}

.nikba-consent-category:last-of-type {
  border-bottom: none;
}

.nikba-consent-category label {
  flex: 1;
  cursor: pointer;
}

.nikba-consent-category strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  color: #010103;
}

.nikba-consent-category p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #848177;
}

.nikba-consent-category input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #C7A17A;
  cursor: pointer;
}

.nikba-consent-category input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nikba-consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px 22px;
  border-top: 1px solid #E2DFDD;
  background: #F4F1EE;
}

.nikba-consent-modal-actions .nikba-consent-btn-reject,
.nikba-consent-modal-actions .nikba-consent-btn-accept {
  flex: 1;
  min-width: 120px;
}

.nikba-consent-map-placeholder {
  background: #F4F1EE;
  border: 1px dashed #C7A17A;
  border-radius: 4px;
  padding: 36px 20px;
  text-align: center;
  color: #32323D;
  font-size: 14px;
}

.nikba-consent-map-placeholder button {
  margin-top: 14px;
  background: #C7A17A;
  color: #010103;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
}

.nikba-consent-map-placeholder button:hover {
  background: #b8926a;
}

@media (max-width: 768px) {
  .nikba-consent-inner {
    padding: 16px 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .nikba-consent-actions {
    width: 100%;
    flex-direction: column;
  }

  .nikba-consent-btn-accept,
  .nikba-consent-btn-reject,
  .nikba-consent-btn-settings {
    width: 100%;
    min-width: 0;
  }

  .nikba-consent-btn-settings {
    order: -1;
    text-decoration: none;
    border: 1px solid #E2DFDD;
    background: #fff;
  }
}

@media (max-width: 576px) {
  .nikba-consent-content {
    gap: 12px;
  }

  .nikba-consent-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
