.swgb-cmp-root {
  position: relative;
  z-index: 99999;
}

.swgb-cmp-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  border: 1px solid #d9dee5;
  border-radius: 14px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.14);
  padding: 18px 20px;
  margin: 0 auto;
}

.swgb-cmp-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.swgb-cmp-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.swgb-cmp-description {
  font-size: 14px;
  line-height: 1.5;
  color: #4c5a67;
}

.swgb-cmp-link {
  margin-left: 6px;
  text-decoration: underline;
}

.swgb-cmp-actions .btn,
.swgb-cmp-actions .swgb-cmp-customize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

#swgb-cmp-accept-all {
  background: #0d6efd;
  border: 1px solid #0d6efd;
  color: #fff;
}

#swgb-cmp-reject-all {
  background: #fff;
  border: 1px solid #adb5bd;
  color: #495057;
}

#swgb-cmp-customize {
  color: #0d6efd;
  text-decoration: none;
}

.swgb-cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.swgb-cmp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.swgb-cmp-modal__dialog {
  position: relative;
  max-width: 640px;
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.swgb-cmp-modal__header,
.swgb-cmp-modal__footer {
  padding: 16px 20px;
  border-bottom: 1px solid #e8edf2;
}

.swgb-cmp-modal__footer {
  border-bottom: 0;
  border-top: 1px solid #e8edf2;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.swgb-cmp-modal__body {
  padding: 20px;
}

.swgb-cmp-modal__title {
  font-size: 20px;
  font-weight: 700;
}

.swgb-cmp-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.swgb-cmp-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f5;
}

.swgb-cmp-option:last-child {
  border-bottom: 0;
}

.swgb-cmp-option span {
  text-align:left;
}

.swgb-cmp-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .swgb-cmp-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .swgb-cmp-content {
    flex-direction: column;
    align-items: stretch;
  }

  .swgb-cmp-actions {
    width: 100%;
  }

  .swgb-cmp-actions .btn,
  .swgb-cmp-actions .swgb-cmp-customize {
    width: 100%;
  }

  .swgb-cmp-modal__dialog {
    margin: 0;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
  }

  .swgb-cmp-reopen {
    left: 12px;
    bottom: 12px;
  }
}