.lwcb-banner,
.lwcb-panel {
  color: #041e41;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.lwcb-banner *,
.lwcb-panel * {
  box-sizing: border-box;
}

.lwcb-panel .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lwcb-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999998;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.lwcb-banner-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999997;
  background: rgba(0, 0, 0, .62);
}

.lwcb-floating-settings {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 999997;
  width: auto;
  padding: 7px 10px;
  border: 1px solid #dee9f7;
  border-radius: 6px 0 0 0;
  color: #222222;
  background: #f3f8fe;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transition: none;
}

.lwcb-text {
  margin: 0 0 16px;
}

.lwcb-banner a,
.lwcb-policy-link {
  color: #007BFF !important;
  text-decoration: underline;
}

.lwcb-actions,
.lwcb-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lwcb-btn {
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid #007BFF;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: .3s;
}

.lwcb-btn-primary {
  color: #fff;
  background: #007BFF;
}

.lwcb-btn-secondary {
  color: #007BFF;
  background: #fff;
}

.lwcb-btn-link {
  min-height: auto;
  padding: 8px 4px;
  border-color: transparent !important;
  color: #007BFF !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  text-decoration: underline !important;
  transition: none !important;
}

.lwcb-btn-link:hover,
.lwcb-btn-link:focus,
.lwcb-btn-link:focus-visible,
.lwcb-btn-link:active {
  border-color: transparent !important;
  color: #007BFF !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  text-decoration: underline !important;
}

.lwcb-btn:focus-visible,
.lwcb-reset:hover,
.lwcb-reset:focus-visible {
  opacity: .82;
}

.lwcb-btn:not(.lwcb-btn-link):hover {
  border-color: #0B1D3C;
  color: #fff;
  background: #0B1D3C;
  opacity: 1;
}

.lwcb-overlay[hidden] {
  display: none !important;
}

.lwcb-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .62);
}

.lwcb-panel {
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

.lwcb-panel:focus {
  outline: none;
}

.lwcb-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.lwcb-panel-header h2 {
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.lwcb-close {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  padding: 0;
  border: 0 !important;
  color: #041e41 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transition: none !important;
}

.lwcb-close:hover,
.lwcb-close:focus,
.lwcb-close:focus-visible,
.lwcb-close:active {
  border: 0 !important;
  color: #041e41 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.lwcb-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid #dce3eb;
}

.lwcb-option-copy h3 {
  margin: 0 0 5px;
  color: inherit;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

.lwcb-option-copy h3 span {
  margin-left: 4px;
  color: #222222;
  font-size: 13px;
  font-weight: 400;
}

.lwcb-option-copy p {
  margin: 0;
  color: #35465b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.lwcb-switch {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 28px;
  cursor: pointer;
}

.lwcb-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lwcb-slider {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #E5E7EB;
  transition: background .18s ease;
}

.lwcb-slider::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}

.lwcb-switch input:checked + .lwcb-slider {
  background: #007BFF;
}

.lwcb-switch input:checked + .lwcb-slider::before {
  transform: translateX(22px);
}

.lwcb-switch input:focus-visible + .lwcb-slider {
  outline: 3px solid rgba(0, 123, 255, .35);
  outline-offset: 2px;
}

.lwcb-switch input:disabled + .lwcb-slider {
  background: #267348;
  opacity: .72;
}

.lwcb-panel-actions {
  padding-top: 20px;
  border-top: 1px solid #dce3eb;
}

.lwcb-reset {
  padding: 0;
  border: 0;
  color: #007BFF;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.lwcb-lock-scroll {
  overflow: hidden;
}

@media (max-width: 620px) {
  .lwcb-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
    font-size: 13px;
  }

  .lwcb-actions,
  .lwcb-panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lwcb-btn {
    width: 100%;
  }

  .lwcb-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .lwcb-panel {
    max-height: 92vh;
    padding: 20px 16px;
    border-radius: 10px 10px 0 0;
  }

  .lwcb-option {
    align-items: flex-start;
    gap: 14px;
  }

  .lwcb-option-copy h3 span {
    display: block;
    margin: 3px 0 0;
  }
}
