/* Klaro Cookie Consent — Window Repair Man */
.klaro .cookie-modal,
.klaro .cookie-notice {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
}

/* ── Notice (bottom bar) ── */
.klaro .cookie-notice {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 2px solid #2563eb;
  padding: 16px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.klaro .cookie-notice .cn-body {
  flex: 1;
  min-width: 200px;
}

.klaro .cookie-notice .cn-body p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #cbd5e1;
}

.klaro .cookie-notice .cn-body p.cn-changes {
  font-weight: 600;
  color: #93c5fd;
}

.klaro .cookie-notice .cn-learn-more {
  color: #60a5fa;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.klaro .cookie-notice .cn-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.klaro .cookie-notice button.cm-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.klaro .cookie-notice button.cm-btn-success {
  background: #2563eb;
  color: #fff;
}
.klaro .cookie-notice button.cm-btn-success:hover {
  background: #1d4ed8;
}

.klaro .cookie-notice button.cm-btn-accept-all {
  background: #2563eb;
  color: #fff;
}
.klaro .cookie-notice button.cm-btn-accept-all:hover {
  background: #1d4ed8;
}

.klaro .cookie-notice button.cm-btn-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
}
.klaro .cookie-notice button.cm-btn-decline:hover {
  background: #1e293b;
  color: #e2e8f0;
}

.klaro .cookie-notice button.cm-btn-info {
  background: transparent;
  color: #60a5fa;
  border: 1px solid #1e40af;
}
.klaro .cookie-notice button.cm-btn-info:hover {
  background: #1e3a5f;
}

/* ── Modal ── */
.klaro .cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.klaro .cookie-modal .cm-modal {
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 12px;
  border: 1px solid #1e293b;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}

.klaro .cookie-modal .cm-header {
  margin-bottom: 16px;
}

.klaro .cookie-modal .cm-header h1 {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 8px;
}

.klaro .cookie-modal .cm-header p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.klaro .cookie-modal .cm-header a {
  color: #60a5fa;
  text-decoration: underline;
}

.klaro .cookie-modal .cm-body {
  margin: 20px 0;
}

/* Purpose group */
.klaro .cookie-modal .cm-purposes .cm-purpose {
  background: #1e293b;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #334155;
}

.klaro .cookie-modal .cm-purposes .cm-purpose .cm-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 6px;
}

.klaro .cookie-modal .cm-purposes .cm-purpose .cm-title h3 {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.klaro .cookie-modal .cm-purposes .cm-purpose p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* Individual apps */
.klaro .cookie-modal .cm-app {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #334155;
  margin-top: 10px;
}

.klaro .cookie-modal .cm-app .cm-app-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 2px;
}

.klaro .cookie-modal .cm-app p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Toggle switch */
.klaro .cookie-modal .cm-app .switch,
.klaro .cookie-notice .switch {
  position: relative;
  flex-shrink: 0;
}

.klaro .cm-list-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.klaro .cm-list-label .slider {
  display: inline-block;
  width: 42px;
  height: 24px;
  background: #334155;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  vertical-align: middle;
}

.klaro .cm-list-label .slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #94a3b8;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.klaro .cm-list-input:checked + .cm-list-label .slider {
  background: #2563eb;
}

.klaro .cm-list-input:checked + .cm-list-label .slider::before {
  transform: translateX(18px);
  background: #fff;
}

.klaro .cm-list-input:disabled + .cm-list-label .slider {
  background: #1e3a5f;
  cursor: not-allowed;
}

.klaro .cm-list-input:disabled + .cm-list-label .slider::before {
  background: #3b82f6;
}

/* Footer buttons */
.klaro .cookie-modal .cm-footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  margin-top: 4px;
}

.klaro .cookie-modal button.cm-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.klaro .cookie-modal button.cm-btn-success,
.klaro .cookie-modal button.cm-btn-accept-all {
  background: #2563eb;
  color: #fff;
}
.klaro .cookie-modal button.cm-btn-success:hover,
.klaro .cookie-modal button.cm-btn-accept-all:hover {
  background: #1d4ed8;
}

.klaro .cookie-modal button.cm-btn-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
}
.klaro .cookie-modal button.cm-btn-decline:hover {
  background: #1e293b;
  color: #e2e8f0;
}

/* Close button */
.klaro .cookie-modal .cn-decline,
.klaro .cookie-modal button.hide {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
}
.klaro .cookie-modal button.hide:hover {
  color: #e2e8f0;
}

/* Powered by — hidden */
.klaro .cookie-modal .cm-powered-by,
.klaro .cookie-notice .cm-powered-by {
  display: none !important;
}

/* Mobile */
@media (max-width: 640px) {
  .klaro .cookie-notice {
    flex-direction: column;
    padding: 14px 16px 80px;
  }
  .klaro .cookie-notice .cn-buttons {
    width: 100%;
  }
  .klaro .cookie-notice button.cm-btn {
    flex: 1;
    text-align: center;
  }
}
