/*
 * Consent overlay and modal.
 */
.otsuka-pcm-consent-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

body > .otsuka-pcm-consent-overlay {
  position: fixed;
}

.otsuka-pcm-consent-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: var(--onetrust-background-color);
  border-radius: 20px;
  box-shadow: -2px 2px 4px 0 rgb(0 0 0 / 25%);
  text-align: center;
  color: var(--onetrust-text-color);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  width: calc(100% - 14px);
  max-width: 627px;
  max-height: calc(100% - 14px);
  pointer-events: all;
  padding: 10px 50px 10px 10px;
  position: relative;
}

@media (width >= 425px) {
  .otsuka-pcm-consent-modal {
    width: calc(100% - 28px);
    max-height: calc(100% - 28px);
    gap: 12px;
    padding: 20px 50px 20px 20px;
  }
}

@media (width >= 768px) {
  .otsuka-pcm-consent-modal {
    padding: 50px;
  }
}

.otsuka-pcm-consent-modal.orbita {
  max-width: 610px;
}

.otsuka-pcm-consent-content,
.otsuka-pcm-error-content {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-y: auto;
  text-align: left;
  width: 100%;
  padding-right: 24px;
}

.otsuka-pcm-consent-content::-webkit-scrollbar,
.otsuka-pcm-error-content::-webkit-scrollbar {
  background-color: var(--onetrust-secondary-color);
  border-radius: 4px;
  width: 8px;
}

.otsuka-pcm-consent-content::-webkit-scrollbar-thumb,
.otsuka-pcm-error-content::-webkit-scrollbar-thumb {
  background-color: var(--onetrust-text-color);
  border-radius: 4px;
}

.otsuka-pcm-consent-button {
  flex-grow: 0;
  flex-shrink: 0;
  width: auto;
  background-color: var(--onetrust-text-color) !important;
  border: none;
  color: var(--onetrust-background-color) !important;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  text-transform: uppercase;
  display: block;
  height: 30px;
  padding: 0 14px;
  cursor: pointer;
}

@media (width >= 768px) {
  .otsuka-pcm-consent-button {
    font-size: 16px;
    line-height: 20px;
    height: 36px;
  }
}

.otsuka-pcm-consent-button:hover,
.otsuka-pcm-consent-button:focus {
  opacity: 0.7;
}

.otsuka-pcm-consent-button:disabled {
  cursor: default;
  background-color: var(--onetrust-disabled-color) !important;
}

.otsuka-pcm-consent-overlay
  > .otsuka-pcm-consent-modal
  > a.otsuka-pcm-consent-link {
  flex-grow: 0;
  flex-shrink: 0;
  color: var(--onetrust-text-color);
  text-decoration: underline;
  box-shadow: none;
  line-height: 20px;
}

.otsuka-pcm-consent-overlay
  > .otsuka-pcm-consent-modal
  > a.otsuka-pcm-consent-link:active,
.otsuka-pcm-consent-overlay
  > .otsuka-pcm-consent-modal
  > a.otsuka-pcm-consent-link:focus {
  color: var(--onetrust-text-color);
  text-decoration: none;
  box-shadow: none;
  outline: auto;
}

.otsuka-pcm-consent-close {
  background-color: var(--onetrust-background-color);
  border-radius: 50%;
  line-height: 1.75;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  position: absolute;
  top: -8px;
  right: -8px;
  cursor: pointer;
}

/** Font and padding adjustments for wide screens */
.otsuka-pcm-consent-modal.wide {
  gap: 24px;
  padding: 32px 50px 32px 32px;
}

.otsuka-pcm-consent-modal.wide .otsuka-pcm-consent-close {
  align-self: flex-end;
  font-size: 16px;
  top: -8px;
  right: -8px;
}

/*
 * Video providers.
 */

.otsuka-pcm-video-thumbnail {
  height: 100%;
  position: absolute;
  width: 100%;
  cursor: pointer;
  top: 0;
  left: 0;
}

.with-default-video-overlay,
.with-custom-video-overlay {
  cursor: pointer;
}

.with-default-video-overlay::before,
/* stylelint-disable-next-line selector-class-pattern */
.with-custom-video-overlay .otsuka-pcm-img-overlay__transparent {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: none;
}

.with-default-video-overlay::before {
  content: "";

  /* background-image: url("../icons/video-play-btn-mobile.svg"); */
  width: 60px;
  height: 70px;
  transition: 0.2s;
}

.with-default-video-overlay.wide::before {
  /* background-image: url("../icons/video-play-btn.svg"); */
  width: 167px;
  height: 195px;
}

.with-default-video-overlay:hover::before,
.with-default-video-overlay:focus::before {
  transform: scale(1.1) translate(-45%, -45%);
}

/*
 * Buzzsprout podcasts.
 */

.with-default-buzzsprout-placeholder {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 52.44%;
  background-image: url("../icons/buzzsprout-placeholder.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.with-custom-buzzsprout-placeholder {
  position: relative;
  width: 100%;
}

.with-custom-buzzsprout-placeholder .otsuka-pcm-img-overlay {
  position: static;
  width: 100%;
  height: auto;
}

/*
 * Orbita chatbots.
 */

.with-default-orbita-widget .chat-widget {
  position: fixed;
  bottom: 120px;
  right: 0;
  z-index: 26;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 97px;
  height: auto;
  padding: 15px 5px 10px;
  border: none;
  background-color: var(--onetrust-background-color);
  color: var(--onetrust-text-color);
  font-size: 15px;
  line-height: 1.1;
  cursor: pointer;
  border-radius: 15px 0 0 15px;
}

.with-default-orbita-widget .chat-bubble {
  display: block;
  width: 100%;
  height: 30px;
  background-image: url("../icons/orbita-chat-bubble.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px 0 0 4px;
}

.with-default-orbita-widget p {
  margin: 3px 0;
  line-height: 17px;
}

.otsuka-pcm-consent-modal .otsuka-pcm-consent-content {
  padding: 0 0 1px;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
}

@media (width >= 768px) {
  .otsuka-pcm-consent-modal .otsuka-pcm-consent-content {
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 1px;
  }
}

.otsuka-pcm-consent-modal a {
  color: var(--onetrust-text-color);
  text-decoration: underline;
}

.otsuka-pcm-consent-modal a:hover {
  color: var(--onetrust-text-color);
  opacity: 0.6;
  text-decoration: none;
}

body.user-is-tabbing .otsuka-pcm-consent-modal *:focus {
  color: var(--onetrust-text-color);
  outline: auto;
  outline-style: solid !important;
  outline-color: var(--onetrust-text-color) !important;
}

.otsuka-pcm-consent-modal .otsuka-pcm-consent-link {
  background: url('data:image/svg+xml,<svg width="48" height="56" viewBox="0 0 48 56" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M0 13.1171L24 0L48 13.1171C48 24.7207 45.6 43.8919 24 56C2.4 43.8919 0 24.7207 0 13.1171ZM20.9643 35.4998L35.2313 21.8035L31.7687 18.1965L21.0357 28.5002L15.7678 23.2322L12.2322 26.7678L20.9643 35.4998Z" fill="white"/></svg>');
  text-indent: -9999px;
  width: 25px;
  height: 29px;
  display: block;
  min-width: auto;
  background-size: contain;
  position: absolute;
  top: 20px;
  right: 20px;
  text-decoration: none;
}

/* OneTrust modal button fix - hide from content area before JS moves it to footer */
#onetrust-pc-sdk .ot-pc-footer #accept-recommended-btn-handler {
  visibility: visible !important;
}

#onetrust-pc-sdk #ot-pc-content #accept-recommended-btn-handler {
  visibility: hidden !important;
}

/* Center SVG in OneTrust floating button */
/* stylelint-disable selector-class-pattern */
#ot-sdk-btn-floating .ot-floating-button__back,
#ot-sdk-btn-floating .ot-floating-button__front {
  display: flex;
  align-items: center;
  justify-content: center;
}

#ot-sdk-btn-floating button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ot-sdk-btn-floating svg {
  flex-shrink: 0;
  transform: translateY(2px);
}

input#vendor-search-handler::placeholder {
  color: var(--onetrust-search-placeholder-text-color) !important;
}

/* stylelint-enable selector-class-pattern */

/* OneTrust Banner Footer Logo - matching live site */
/* stylelint-disable selector-class-pattern */
#onetrust-banner-sdk .ontrust_logo {
    background-color: var(--onetrust-logo-background-color);
    float: left;
    width: 100%;
    border: 2px solid rgb(42 15 52 / 10%);
}

#onetrust-banner-sdk .ontrust_logo .text-logo {
    color: var(--onetrust-powered-by-color);
    float: right;
    padding: 6px;
    margin-top: 2px;
    font-size: 14px;
}

#onetrust-banner-sdk .ontrust_logo .green-logo {
    color: var(--onetrust-green-color);
    float: right;
    font-size: 24px;
    width: 17%;
}

/* stylelint-enable selector-class-pattern */

