.vm-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #dbe6f5;
  border-radius: 16px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.2);
  padding: 16px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vm-cookie-banner[hidden] {
  display: none;
}

.vm-cookie-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.vm-cookie-copy {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.vm-cookie-copy a {
  color: #1d4ed8;
}

.vm-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.vm-cookie-btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.vm-cookie-btn-primary {
  background: #2563eb;
  color: #fff;
}

.vm-cookie-btn-primary:hover {
  background: #1d4ed8;
}

.vm-cookie-btn-secondary {
  background: #f8fbff;
  color: #0f172a;
  border-color: #dbe6f5;
}

.vm-cookie-btn-secondary:hover {
  background: #eef4ff;
}

.vm-cookie-btn-ghost {
  background: #ffffff;
  color: #334155;
  border-color: #dbe6f5;
}

.vm-cookie-btn-ghost:hover {
  background: #f8fbff;
}

.vm-cookie-prefs {
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.vm-cookie-prefs[hidden] {
  display: none;
}

.vm-cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
}

.vm-cookie-option input {
  margin-top: 3px;
}

.vm-cookie-option strong {
  display: block;
  margin-bottom: 2px;
}

.vm-cookie-option p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vm-cookie-open-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  border: 1px solid #dbe6f5;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  cursor: pointer;
}

.vm-cookie-open-btn:hover {
  background: #f8fbff;
}

@media (max-width: 680px) {
  .vm-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .vm-cookie-actions {
    flex-direction: column;
  }

  .vm-cookie-btn {
    width: 100%;
  }

  .vm-cookie-open-btn {
    left: 10px;
    bottom: 10px;
  }
}
