/* Samsung consent banner styling */

@font-face {
  font-display: swap;
  font-family: "SamsungOne400";
  font-style: normal;
  font-weight: normal;
  src:
    local("SamsungOne"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.woff2")
      format("woff2"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.woff")
      format("woff"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.ttf")
      format("truetype"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.eot?#iefix")
      format("embedded-opentype");
}
@font-face {
  font-display: swap;
  font-family: "SamsungOne700";
  font-style: normal;
  font-weight: bold;
  src:
    local("SamsungOne"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.woff2")
      format("woff2"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.woff")
      format("woff"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.ttf")
      format("truetype"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-700.eot?#iefix")
      format("embedded-opentype");
}
@font-face {
  font-display: swap;
  font-family: "SamsungSharpSans";
  font-style: normal;
  font-weight: bold;
  src:
    local("SamsungSharpSans"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungSharpSansBd.woff2")
      format("woff2"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungSharpSansBd.woff")
      format("woff"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungSharpSansBd.eot?#iefix")
      format("embedded-opentype");
}
@font-face {
  font-display: swap;
  font-family: "b2b-icons-v1";
  font-style: normal;
  font-weight: normal;
  src:
    local("b2b-icons-v1"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/b2b-icons-v1.eot??y9sds8")
      format("eot"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/b2b-icons-v1.woff?y9sds8")
      format("woff"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/b2b-icons-v1.ttf?y9sds8")
      format("ttf"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/b2b-icons-v1.eot?y9sds8#iefix")
      format("embedded-opentype"),
    url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/b2b-icons-v1.svg?y9sds8#b2b-icons-v1")
      format("svg");
}

#dsg-dcb {
  font-family: "SamsungOne400", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  padding: 72px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 640px;
  margin: auto;
  border-radius: 26px;
  min-width: 280px;
}

#dsg-dcb .dcb-title {
  font-family: "SamsungOne700", Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin: 10px;
  text-align: center;
}

#dsg-dcb .dcb-submit-button {
  color: rgb(250, 250, 250);
  background-color: rgb(3, 129, 254);
  min-height: 44px;
  font-family: SamsungOne, SamsungOneKorean;
  font-size: 17px;
  font-weight: 700;
  text-transform: inherit;
  line-height: 24px;
  outline: 0px;
  border-width: 0px;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  margin: 0px;
  text-decoration: none;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px 16px;
  border-radius: 22px;
}

#dsg-dcb .dcb-submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#dsg-dcb .dcb-privacy-notice {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
  margin: 0 0 16px;
}

#dsg-dcb .dcb-privacy-notice a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* Circular consent checkboxes */
#dsg-dcb .dcb-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#dsg-dcb .dcb-select-all-consent {
  margin: 10px 0px 20px 0px;
}

#dsg-dcb .dcb-consent-check .form-check-input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 2px solid #c7c9cc;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

#dsg-dcb .dcb-consent-check .form-check-input:checked {
  background-color: #1979e6;
  border-color: #1979e6;
}

#dsg-dcb .dcb-consent-check .form-check-input:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#dsg-dcb .dcb-consent-check .form-check-label {
  font-size: 14px;
}

#dsg-dcb .pm-toggle {
  margin: 0px;
  background: transparent;
  border: none;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: rgb(99, 99, 99);
  text-decoration: underline;
  cursor: pointer;
}

/* Separator drawn between mandatory and optional consents, and before "select all" */
#dsg-dcb .dcb-consent-separator {
  border: none;
  border-top: 1px dashed #dcdfe3;
  margin: 12px 0;
}

#dsg-dcb .dcb-checkbox-summary-error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 8px;
}

#dsg-dcb .mandatory {
  color: red;
  font-size: 0.9em;
  /*vertical-align: super;*/
}

#dsg-dcb .error {
  color: red;
  font-size: 0.8em;
  margin-top: 5px;
  margin-left: 5px;
}

.toast_box {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background: #fff;
  color: #092339;
  border-left: 5px solid #ccc;
  padding: 10px;
  max-width: fit-content;
  font-family: sans-serif;
  position: absolute;
  top: 10px;
  right: 10px;
}

.toast_box.toast_success {
  border-left: 5px solid #00c246;
}

.toast_box.toast_error {
  border-left: 5px solid #f5194f;
}

.toast_box .toast_row {
  display: flex;
  position: relative;
  align-items: center;
}

.toast_box .toast_row .icon_box img {
  width: 20px;
}

.toast_box .toast_text {
  padding: 0 35px 0 5px;
}

.toast_box .toast_text strong {
  font-size: 12px;
  font-weight: 700;
  display: block;
  padding: 0 0 5px;
}

.toast_box .toast_text span {
  font-size: 11px;
  font-weight: normal;
  display: block;
  white-space: nowrap;
}

.toast_box .toast_row .toast_close {
  position: absolute;
  top: -5px;
  right: 0px;
}

.toast_box .toast_row .toast_close img {
  width: 11px;
}

@media (max-width: 600px) {
  #dsg-dcb {
    padding: 20px;
    width: 320px !important;
  }
}
