.vf-consent-banner,
.vf-consent-modal {
  font-family: 'Open Sans', sans-serif;
}

.vf-consent-banner {
  position: fixed;
  left: 14px;
  right: auto;
  bottom: 16px;
  background: #1a1a1a;
  color: #f5f5f5;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 12px;
  width: min(430px, calc(100vw - 20px));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  z-index: 30000;
  display: none;
}

.vf-consent-banner h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.vf-consent-banner p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.35;
  color: #d8d8d8;
}

.vf-consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.vf-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
}

.vf-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.vf-btn-primary {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #ffffff;
}

.vf-btn-primary:hover {
  background: #43a047;
  border-color: #43a047;
}

.vf-btn-ghost {
  background: transparent;
  border-color: #5f5f5f;
  color: #f5f5f5;
}

.vf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.vf-btn-link {
  background: transparent;
  color: #9adf9f;
  border-color: transparent;
  padding-left: 2px;
}

.vf-consent-link {
  color: #9adf9f;
  text-decoration: underline;
}

.vf-consent-footer-link {
  display: none;
  border: 0;
  background: transparent;
  color: #2e7d32;
  text-decoration: underline;
  font-weight: 700;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
}

.vf-consent-footer-link:hover {
  color: #43a047;
}

.vf-consent-footer-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 3px;
}

.vf-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 31000;
}

.vf-consent-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 30px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #111111;
  z-index: 32000;
  display: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.vf-consent-modal-header {
  padding: 18px 20px 10px;
  border-bottom: 1px solid #ececec;
}

.vf-consent-modal-header h4 {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

.vf-consent-modal-body {
  padding: 16px 20px;
}

.vf-consent-modal-body p {
  margin: 0 0 14px;
  color: #444;
  line-height: 1.55;
}

.vf-consent-item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.vf-consent-item:last-child {
  margin-bottom: 0;
}

.vf-consent-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vf-consent-item h5 {
  margin: 0;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.vf-consent-item small {
  display: block;
  margin-top: 6px;
  color: #666;
  line-height: 1.45;
}

.vf-consent-switch {
  width: 46px;
  height: 26px;
}

.vf-consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px 18px;
  border-top: 1px solid #ececec;
}

@media (max-width: 768px) {
  .vf-consent-banner {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 10px;
    padding: 10px;
  }
}
