#fh-cookie-consent {
  position: relative;
  z-index: 9999;
}

.fh-cookie-banner[hidden],
.fh-cookie-modal[hidden] {
  display: none !important;
}

.fh-cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fh-cookie-text {
  margin: 0 0 12px 0;
  color: #1b1c1e;
  font-size: 14px;
  line-height: 1.45;
}

.fh-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fh-cookie-btn {
  border-radius: 8px;
  border: 1px solid #1b1c1e;
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
}

.fh-cookie-btn-primary {
  background: #1b1c1e;
  color: #ffffff;
}

.fh-cookie-btn-secondary {
  background: #ffffff;
  color: #1b1c1e;
}

.fh-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  padding: 16px;
}

.fh-cookie-modal-card {
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  padding: 20px;
}

.fh-cookie-modal-card h2 {
  margin: 0 0 8px 0;
}

.fh-cookie-modal-text {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #414141;
}

.fh-cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #ececec;
}

.fh-cookie-toggle-row small {
  display: block;
  color: #565656;
  font-size: 12px;
  margin-top: 4px;
}

.fh-cookie-actions-modal {
  margin-top: 14px;
}

@media (max-width: 640px) {
  .fh-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
