/* Banner */
.klaro *:focus {
  outline: none !important;
}

.klaro .cookie-notice {
  background: #ffffff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
  color: #1a1a2e !important;
  max-width: 380px !important;
  padding: 16px 20px !important;
  margin: 12px !important;
  right: 0 !important;
  left: auto !important;
}

.klaro .cookie-notice .cn-body p,
.klaro .cookie-notice .cn-body .cn-changes {
  color: #5a5a72 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-bottom: 2px !important;
}

.klaro .cookie-notice .cn-body .cn-changes {
  display: none !important;
}

.klaro .cookie-notice .cn-body a.cm-link {
  color: #2563eb !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

.klaro .cookie-notice .cn-body a.cm-link:hover {
  text-decoration: underline !important;
}

.klaro .cookie-notice .cn-body .cm-learn-more-inline {
  cursor: pointer !important;
}

.klaro .cookie-notice .klaro-notice-links {
  display: flex !important;
  gap: 0 !important;
  align-items: center !important;
  margin-top: 4px !important;
}

.klaro .cookie-notice .klaro-notice-links .klaro-dot {
  color: #94a3b8 !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
  margin: 0 5px !important;
}

.klaro .cookie-notice .klaro-notice-links a.cm-link {
  margin: 0 !important;
  padding: 0 !important;
}

.klaro .cookie-notice .cn-learn-more {
  display: none !important;
}

.klaro .cookie-notice .cn-buttons {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 8px !important;
  margin-top: 14px !important;
  justify-content: flex-end !important;
}

html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: background 0.15s ease !important;
}

html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success:hover {
  background: #1d4ed8 !important;
}

html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-danger,
html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success-var,
html body .klaro .cookie-notice .cn-buttons .cm-btn.cn-decline {
  background: #ffffff !important;
  color: #666666 !important;
  border: 1px solid #d0d0d8 !important;
  border-radius: 10px !important;
  padding: 8px 16px !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  text-align: center !important;
  transition: all 0.15s ease !important;
}

html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-danger:hover,
html body .klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-success-var:hover,
html body .klaro .cookie-notice .cn-buttons .cm-btn.cn-decline:hover {
  border-color: #b0b0b0 !important;
  color: #1a1a2e !important;
}

.klaro .cookie-notice .cn-buttons .cm-btn.cm-btn-accept-all {
  display: none !important;
}

/* Modal */
.klaro .cookie-modal .cm-modal {
  background: #ffffff !important;
  border: 1px solid #d8dce6 !important;
  border-radius: 16px !important;
  color: #1a1a2e !important;
  max-width: 560px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.klaro .cookie-modal .cm-modal .cm-header {
  padding: 24px 24px 0 !important;
}

.klaro .cookie-modal .cm-modal h1,
.klaro .cookie-modal .cm-modal h1.title {
  color: #1a1a2e !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.klaro .cookie-modal .cm-modal .cm-body {
  padding: 16px 24px !important;
}

.klaro .cookie-modal .cm-modal p,
.klaro .cookie-modal .cm-modal .cm-list-description {
  color: #5a5a72 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.klaro .cookie-modal .cm-modal a.cm-link {
  color: #2563eb !important;
  text-decoration: none !important;
}

.klaro .cookie-modal .cm-modal a.cm-link:hover {
  text-decoration: underline !important;
}

.klaro .cookie-modal .cm-switch-container {
  border-color: #d8dce6 !important;
  padding: 12px 0 !important;
}

.klaro .cookie-modal .cm-switch-container .cm-list-title {
  color: #1a1a2e !important;
  font-weight: 600 !important;
}

.klaro .cookie-modal .cm-switch-container .cm-list-description {
  color: #5a5a72 !important;
  font-size: 13px !important;
}

.klaro .cookie-modal .cm-list-input + .cm-list-label .slider {
  background-color: #cbd5e1 !important;
}

.klaro .cookie-modal .cm-list-input + .cm-list-label .slider::before {
  background-color: #94a3b8 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
  background-color: #2563eb !important;
}

.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider::before {
  background-color: #ffffff !important;
}

.klaro .cookie-modal .cm-switch-container .purposes {
  display: none !important;
}

.klaro .cookie-modal .cm-footer,
.klaro .cookie-modal .cm-footer > div {
  padding: 16px 24px 24px !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  border-top: 1px solid #d8dce6 !important;
}

.klaro .cookie-modal .cm-footer > div {
  padding: 0 !important;
  border-top: none !important;
  width: 100% !important;
}

.klaro .cookie-modal .cm-footer .cm-btn {
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-decline,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-danger,
html body .klaro .cookie-modal .cm-footer .cm-btn.cn-decline {
  background: transparent !important;
  color: #5a5a72 !important;
  border: 1px solid #d8dce6 !important;
  order: 1 !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-decline:hover,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-danger:hover,
html body .klaro .cookie-modal .cm-footer .cm-btn.cn-decline:hover {
  border-color: #2563eb !important;
  color: #1a1a2e !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-success,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-info,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-success-var {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 2px solid #2563eb !important;
  order: 2 !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-success:hover,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-info:hover,
html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-success-var:hover {
  background: rgba(37, 99, 235, 0.08) !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-accept-all {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  order: 3 !important;
}

html body .klaro .cookie-modal .cm-footer .cm-btn.cm-btn-accept-all:hover {
  background: #1d4ed8 !important;
}

.klaro .cookie-modal .cm-modal .hide {
  color: #5a5a72 !important;
}

.klaro .cookie-modal .cm-modal .hide:hover {
  color: #1a1a2e !important;
}

.klaro .cookie-modal .cm-modal .cm-btn-close,
.klaro .cookie-modal .cm-modal .hide {
  color: #374151 !important;
}

.klaro .cookie-modal .cm-modal .cm-btn-close:hover,
.klaro .cookie-modal .cm-modal .hide:hover {
  color: #111827 !important;
}

.klaro .cookie-modal .cm-modal .hide svg,
.klaro .cookie-modal .cm-modal .cm-btn-close svg {
  fill: #374151 !important;
  stroke: #374151 !important;
  opacity: 1 !important;
}

.klaro .cookie-modal .cm-modal .hide:hover svg,
.klaro .cookie-modal .cm-modal .cm-btn-close:hover svg {
  fill: #111827 !important;
  stroke: #111827 !important;
}

.klaro .cookie-modal .cm-powered-by {
  display: none !important;
}

.klaro .cookie-modal {
  background: rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 640px) {
  .klaro .cookie-notice {
    max-width: calc(100vw - 24px) !important;
    margin: 12px !important;
  }

  .klaro .cookie-notice .cn-buttons {
    flex-direction: row !important;
    justify-content: center !important;
  }

  .klaro .cookie-modal .cm-modal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 12px !important;
    overflow-x: hidden !important;
  }

  .klaro .cookie-modal .cm-modal .cm-body,
  .klaro .cookie-modal .cm-modal p,
  .klaro .cookie-modal .cm-modal .cm-list-description {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .klaro .cookie-modal .cm-footer,
  .klaro .cookie-modal .cm-footer > div {
    padding: 12px 16px 16px !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .klaro .cookie-modal .cm-footer .cm-btn {
    flex: 1 1 calc(33.333% - 6px) !important;
    white-space: normal !important;
    font-size: 0.72rem !important;
    padding: 8px 6px !important;
    min-width: 88px !important;
    line-height: 1.2 !important;
  }
}