html,
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  min-width: 130px;
  padding: 0 14px;
  height: 42px;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  background-color: #fff;
  color: #168578;
  line-height: 1;
}

.sp-cookie-modal,
.sp-cookie-modal * {
  font-family: "Roboto";
  color: #393939;
}

.sp-cookie-modal strong,
.sp-cookie-modal b {
  font-weight: 700;
}

.sp-cookie-banner-frame {
  height: 149px;
  z-index: 2147483647;
  border: medium;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.sp-banner-content-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 48px;
  color: var(--banner-text-color, #fff);
  font-size: 16px;
  min-height: 0;
}

.sp-banner-logo {
  width: 64px;
  height: 76px;
  position: relative;
  margin: auto;
  margin-right: 36px;
  filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.185));
}

.sp-banner-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 0;
}

.sp-banner-frame-text {
  min-height: 0;
  flex-grow: 1;
  padding: 8px 0;
  overflow-y: auto;
  margin-right: 48px;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 500;
}

.sp-banner-frame-text a {
  text-decoration: underline;
  color: #fff;
}

.sp-banner-frame-controls {
  display: flex;
  align-items: center;
}

.sp-accept,
.sp-decline {
  border: solid 1px #ffffff;
  color: #168f7c;
  background-color: #ffffff;
  border-radius: 4px;
}

.sp-customize {
  border: solid 1px #ffffff !important;
  color: #ffffff;
  background-color: transparent;
  border-radius: 4px;
}

.sp-banner-copyright {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.sp-branding {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  color: inherit;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.sp-branding__crafted-by {
  flex-shrink: 0;
  margin-right: 8px;
}

.sp-branding__icon {
  width: 12px;
  height: 12px;
  margin-right: 2px;
  transform: translateY(2px);
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.2));
}

.sp-branding__brand {
  font-weight: 500;
}

.sp-cookie-banner {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-image: url("https://cmp.secureprivacy.ai/assets/images/background-lines.png");
  background-color: var(--banner-background-color, #168f7c);
  background-size: cover;
  color: #fff;
}

.sp-cookie-banner p {
  display: inline-block;
  margin: 0;
  padding-right: 10px;
}

.sp-cookie-btn {
  background-color: #fff;
  color: rgb(22 133 120);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 16px;
  border-radius: 5px;
  font-weight: 600;
  letter-spacing: 0;
}

.sp-cookie-btn:hover {
  color: #fff;
  background-color: #000;
}

#sp-save-cookie-settings {
  background-color: #168f7c !important;
  color: #fff !important;
}

.sp-cookie-btn.sp-customize {
  background-color: #ffffff1a;
  color: #fff;
}

.sp-cookie-btn:hover {
  opacity: 0.8;
}

#sp-trust-badge {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 9999;
  min-height: 48px;
  min-width: 48px;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#sp-trust-badge span.sp-widget__logo {
  display: flex;
  height: 24px;
}

/* Modal Styles */
.sp-cookie-modal {
  position: fixed;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-height: 600px;
  max-width: 860px;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 30px 70px rgba(46, 45, 79, 0.15);
  z-index: 2147483647;
  outline: none;
  border: 1px solid #e7e7e7;
}

.sp-cookie-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sp-cookie-modal-content .sp-modal-header {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 24px;
  margin-top: 0;
}

.sp-cookie-modal-content .sp-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 16px;
  padding-right: 15px;
  line-height: 24px;
  color: #393939;
}

.sp-cookie-modal-content .sp-modal-body li,
.sp-cookie-modal-content .sp-modal-body a,
.sp-cookie-modal-content .sp-modal-body p {
  font-size: 16px;
  line-height: 24px;
}

.sp-cookie-modal-content .sp-modal-body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  background-color: #f1f1f1;
}

.sp-cookie-modal-content .sp-modal-body::-webkit-scrollbar {
  width: 4px;
  background-color: #f1f1f1;
}

.sp-cookie-modal-content .sp-modal-body::-webkit-scrollbar-thumb {
  background-color: #000000;
  border: 0px solid #555555;
}

/* For Firefox */
/* .sp-cookie-modal-content .sp-modal-body {
    scrollbar-width: thin; 
    scrollbar-color: #000000 #F1F1F1;
}
 */

.sp-cookie-modal-content .sp-modal-body h2 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 16px;
  padding: 0;
}

.sp-cookie-modal-content .sp-modal-body h3 {
  font-size: 18px;
  margin-top: 25px;
  line-height: 26px;
  font-weight: 700;
}

.sp-cookie-modal-content .sp-modal-body h4,
.sp-cookie-modal-content .sp-modal-body h5,
.sp-cookie-modal-content .sp-modal-body h6 {
  margin-top: 25px;
  line-height: 26px;
  font-size: 18px;
  font-weight: 700;
}

.sp-cookie-modal-content .sp-modal-body p {
  margin-bottom: 12px;
  margin-top: 0;
}

.sp-cookie-modal-content .sp-modal-body ul {
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

.sp-cookie-modal-content .sp-modal-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.sp-cookie-modal-content .sp-modal-body ul li:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 10px;
  top: 12px;
  border-radius: 10px;
  background: #000000;
}

.sp-cookie-modal-content .sp-modal-footer {
  padding-top: 10px;
  text-align: center;
  line-height: 16px;
}

.sp-cookie-modal-content .sp-modal-footer button {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  cursor: pointer;
  position: relative;
  flex: 1 !important;
  min-width: 220px;
  color: #fff;
  background-color: #24b04b;
  border-radius: 16px;
  border: unset !important;

}

.sp-cookie-modal-content .sp-modal-footer button:hover {
  background-color: #000000;
  color: #fff;
}

.sp-cookie-banner-frame {
  height: unset !important;
}

.sp-cookie-banner-frame .logo__custom {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 55%;
  height: 45%;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

#sp-cookie-modal input[type="checkbox"] {
  position: relative;
  width: 39px;
  height: 16px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.7s;
}

#sp-cookie-modal input:checked[type="checkbox"] {
  background: #24b04b;
}
#sp-cookie-modal input:disabled[type="checkbox"] {
  background: #24b04b69;
}

#sp-cookie-modal input[type="checkbox"]:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: .5s;
}

#sp-cookie-modal input:checked[type="checkbox"]:before {
  left: 22px;
}



@media(max-width: 959px) {
  .sp-cookie-banner-frame .sp-banner-content {
    display: unset !important;
  }

  .sp-cookie-banner-frame .sp-banner-frame-text {
    padding-bottom: 20px !important;
  }

  .sp-cookie-banner-frame .sp-banner-copyright {
    margin-top: 15px;
    justify-content: flex-start;
  }

  .sp-cookie-banner-frame .sp-banner-content-inner {
    align-items: center;
  }

  .sp-cookie-banner-frame .sp-banner-frame-text {
    margin-right: 0 !important;
  }
}

@media(max-width: 640px) {
  .sp-cookie-banner-frame .sp-banner-frame-controls {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 15px;
  }

  .sp-banner-logo {
    width: 44px;
    height: 53px;
    margin: unset;
    margin-right: 0;
  }

  .sp-cookie-banner-frame .sp-cookie-btn {
    width: 100% !important;
  }

  .sp-cookie-banner-frame .sp-banner-content-inner {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 20px;
  }

}