.spit-cookie-banner-backdrop,
.spit-cookie-banner-backdrop *,
.spit-modal-overlay,
.spit-modal-overlay * {
  box-sizing: border-box;
}

.spit-cookie-banner-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 9999990;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 150ms ease;
  will-change: opacity;
}

@media (min-width: 768px) {
  .spit-cookie-banner-backdrop {
    justify-content: flex-start;
  }
}

.spit-cookie-banner-popup {
  position: relative;
  width: 100%;
  padding: 24px;
  background-color: #000;
  color: #fff;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .spit-cookie-banner-popup {
    max-width: 480px;
    margin: 16px;
    border-radius: 8px;
  }
}

.spit-cookie-banner-header {
  padding-right: 24px;
}

.spit-cookie-banner-header,
.spit-cookie-banner-body {
  margin-bottom: 24px;
}

.spit-cookie-banner-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.spit-cookie-banner-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: block;
  width: 14px;
  height: 14px;
  padding: 4px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-sizing: content-box;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center/14px auto no-repeat;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  -webkit-appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out;
  opacity: 0.6;
}

.spit-cookie-banner-close:hover {
  opacity: 1;
}

.spit-cookie-banner-body p {
  margin-top: 0;
  margin-bottom: 16px;
}

.spit-cookie-banner-body a {
  color: #676767;
  text-decoration: underline;
  transition: color 0.15s ease-in-out;
}

.spit-cookie-banner-body a:hover {
  color: #fff;
}

.spit-button-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.spit-button {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 32px;
  background-color: #007bff;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-transform: none;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  border: none;
  border-radius: 24px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.spit-button:hover {
  background-color: #046dd7;
}

.spit-customize {
  background-color: #1a1a1a;
}

.spit-customize:hover {
  background-color: #141414;
}

.spit-customize,
.spit-save-preferences {
  margin-bottom: 8px;
}

.spit-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 9999999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .spit-modal-overlay {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .spit-modal-content {
    max-width: 600px;
  }
}

.spit-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.spit-switch input[type="checkbox"] {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin: 0;
  margin-top: 0.25em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
}

.spit-switch input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.spit-cookie-name {
  font-weight: 700;
}
