:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.klaro-overlay {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  top: auto;
  left: auto;
  background: transparent;
  display: none;
  z-index: 9999;
  width: min(22rem, calc(100% - 2.5rem));
}

.klaro-overlay.is-visible {
  display: block;
}

.klaro-modal {
  background: #ffffff;
  border-radius: 0.75rem;
  width: 100%;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
  padding: 1.25rem;
  color: #101828;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.klaro-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.klaro-header p {
  margin: 0;
  color: #475467;
  font-size: 0.95rem;
}

.klaro-services {
  margin-top: 1.25rem;
  border: 1px solid #e4e7ec;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f9fb;
}

.klaro-service {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e4e7ec;
}

.klaro-service:last-child {
  border-bottom: none;
}

.klaro-service h3 {
  margin: 0;
  font-size: 1rem;
}

.klaro-service p {
  margin: 0.25rem 0 0;
  color: #475467;
  font-size: 0.9rem;
}

.klaro-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.klaro-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.klaro-button {
  flex: 1;
  min-width: 9rem;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.klaro-button:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.klaro-button.primary {
  background: #0f172a;
  color: #ffffff;
}

.klaro-button.secondary {
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.25);
}

.klaro-button.ghost {
  background: transparent;
  color: #475467;
  border: none;
}

.klaro-toggle input[type='checkbox'] {
  width: 2.5rem;
  height: 1.25rem;
  appearance: none;
  background: #d0d5dd;
  border-radius: 1rem;
  position: relative;
  transition: background 0.2s ease;
}

.klaro-toggle input[type='checkbox']::after {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.klaro-toggle input[type='checkbox']:checked {
  background: #0f172a;
}

.klaro-toggle input[type='checkbox']:checked::after {
  transform: translateX(1.25rem);
}

@media (max-width: 640px) {
  .klaro-overlay {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .klaro-actions {
    flex-direction: column;
  }
}

