/*~~~~~~~~~~~~~~~~~~~~ Home Page ~~~~~~~~~~~~~~~~~~~~*/
.page-one {
  transition: 250ms ease-in-out;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-one.inactive {
  transform: translateX(-150%);
  overflow: hidden;
  height: 91vh;
}

.under-faq {
  opacity: 0.3 !important;
  height: 90vh;
  overflow: hidden;
}

.page-one header {
  margin-top: 1.56rem;
  display: flex;
  justify-content: space-between;
}

/* Brand-specific overrides. applyTenebraeMode adds brand-tenebrae to <body>,
   so these apply only to Tenebrae orders and never to UBlockout or 3dB. */
body.brand-tenebrae .page-one header {
  margin-top: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.greeting-block {
  margin-top: 2.5rem;
}

.greeting,
.greeting span,
.sub-greeting {
  color: var(--white);
  font-size: 1rem;
  font-family: "HK Nova", sans-serif;
}

.home-page .greeting,
.home-page .greeting span,
.home-page .sub-greeting {
  font-size: 1.25rem;
}

.sub-greeting {
  color: var(--pink);
}

.full-box {
  width: 100%;
  height: 8rem;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: end;
  padding: 0.75rem;
}

.full-box,
.half-box {
  position: relative;
  background-color: #9f9d9d2c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.home-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.home-flex-wrap .full-box {
  flex: 0 0 100%;
}

.home-flex-wrap .half-box {
  flex: 0 0 calc(50% - 0.5rem);
}

.home-flex-wrap .greeting-block {
  margin-top: 1.5rem;
  margin-bottom: -1rem;
}

.home-flex-wrap header {
  width: 100%;
}

.box-heading.start-here {
  font-size: 1.25rem;
  font-weight: bold;
}

#orderDetails {
  margin-top: 1.56rem;
  background-image: url("/assets/StartHere_Image.webp");
  position: relative;
}

#upgradeToMotorized {
  background-image: url("/assets/upgradeButton.webp");
  background-size: 120%;
}

#upgradeToMotorized::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

#smartHubSetUp {
  position: relative;
  margin-top: 1rem;
}

.box-text {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  pointer-events: none;
}

#orderDetails .box-text .box-heading {
  color: #111;
}

#orderDetails .box-text .box-subtext,
#orderDetails .box-text .box-subtext span {
  color: #444;
  font-size: 0.825rem;
  font-weight: bold;
  font-family: "HK Nova", sans-serif;
}

.box-heading {
  font-size: 0.825rem;
  font-weight: bold;
  color: var(--pink);
  font-family: "HK Nova", sans-serif;
}

.box-subtext {
  font-size: 0.75rem;
  color: #fff;
  margin-top: 0.2rem;
  font-family: "HK Nova", sans-serif;
}

.pair {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.half-box {
  width: 48%;
  height: 7rem;
  display: flex;
  align-items: end;
  padding: 0.5rem;
  background-position: center;
  background-size: cover;
}

.half-box i.fa-phone,
.half-box i.fa-screwdriver {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  color: var(--red);
}

.fa-arrow-right {
  color: var(--pink);
  padding: 0.75rem;
  border-radius: 100%;
  background-color: #111;
  opacity: 0.75;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

.home-page .fa-light,
.home-page .fa-regular,
.home-page .fa-solid {
  pointer-events: none;
}

#completeBlackout {
  margin-top: 1rem;
  background-image: url(/assets/woman-blackout.webp);
}

#smartHubSetup {
  background-image: url(/assets/alexaOpen.webp);
}

#betterSleep {
  background-image: url(/assets/review-img.webp);
  background-position: 0% 34%;
  background-size: 110%;
  background-color: rgba(31, 36, 45, 0.6);
}

.review-svg {
  display: inline-block;
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  background-image: url(/assets/svg/MyUB_ShareYourReview.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

#orderNewShade {
  background-image: url(/assets/orderNewShade.webp);
  background-position: inherit;
  background-size: 300px;
}

#buyAccessories {
  background-image: url(/assets/accessories.webp);
}

/*~~~~~~~~~~~~~~~~~~~~PAGE TWO - NEW WINDOW~~~~~~~~~~~~~~~~~~~~*/

.order-options {
  opacity: 0.5;
  margin-top: 1rem;
  font-size: 0.825rem;
  font-family: "Avenir", sans-serif;
}

.menu-block {
  margin-top: 2rem;
  transition: 0.25s ease-in-out;
}

.menu-block.option-checked {
  opacity: 50%;
}

.menu-header {
  padding: 0.75rem;
  color: var(--pink);
  border: 1px solid #45444479;
  background-color: #454444e0;
  border-radius: 8px 8px 0 0;
  font-family: "Avenir", sans-serif;
}

.menu-option {
  padding: 0.75rem;
  color: var(--white);
  background-color: #4c4b4b55;
  margin: 2px 0;
  position: relative;
  cursor: pointer;
}

.menu-option:nth-of-type(odd) {
  border-radius: 0 0 8px 8px;
}

.option-text {
  font-family: "Avenir", sans-serif;
}

.option-checkbox {
  position: absolute;
  right: 1rem;
  top: 30%;
  height: 20px;
  width: 20px;
  background-color: #010203;
  border: 1px solid #464646;
  border-radius: 2px;
  display: grid;
  place-content: center;
  color: transparent;
}

.menu-option.checked .option-checkbox svg path {
  fill: var(--pink);
}

.page-two-next-button {
  opacity: 0.5;
  transition: 0.25s ease-in-out;
}

.page-two-next-button.button-active {
  opacity: 1;
}

/*~~~~~~~~~~~~~~~~~~~~ PAGE THREE - FAQS ~~~~~~~~~~~~~~~~~~~~*/

.faq-menu-option .option-plus {
  position: absolute;
  right: 1rem;
  top: 10%;
  font-size: 1.5rem;
  color: var(--pink);
}

.page-three.active .page-one {
  overflow: hidden;
}

.faq-menu-option {
  padding: 0.75rem;
  color: var(--white);
  background-color: #4c4b4b55;
  margin: 2px 0;
  position: relative;
}

.faq-menu-option:nth-of-type(6) {
  border-radius: 0 0 8px 8px;
}

/*~~~~~~~~~~~~~~~~~~~~ PAGE FOUR - ORDER PAGE ~~~~~~~~~~~~~~~~~~~~*/

.order-windows {
  margin-top: 1rem;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 0.825rem;
  grid-row-gap: 0.375rem;
}

.window-from-order {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  margin: 0.5rem 0;
  position: relative;
  overflow: hidden;
  transition: 0.1s ease;
  cursor: pointer;
}

.window-from-order img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.window-from-order .window-name {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  max-width: 90%;
  z-index: 1;
  background-color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.825rem;
  font-family: "HK Nova", sans-serif;
  color: var(--pink);
  opacity: 0.9;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.window-from-order.installed > img,
.window-from-order.installed .motorized-icon {
  filter: grayscale(1) brightness(0.5);
}

.window-from-order .fa-check {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--blue);
  border-radius: 50px;
  padding: 0.5rem;
  display: none;
}

.window-from-order.installed .fa-check {
  display: block;
}

.window-from-order .motorized-icon {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  font-size: 1rem;
  color: #fcbf7a;
  background-color: var(--black);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  width: 2rem;
  box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.75);
}

.window-from-order .motorized-icon img {
  height: 60%;
  width: 50%;
}

/*~~~~~~~~~~~~~~~~~~~~PAGE FIVE ORDERED WINDOW~~~~~~~~~~~~~~~~~~~~*/

.page-five table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-family: "HK Nova", sans-serif;
}

.page-five td {
  padding: 1rem 0;
}

.page-five table tbody tr td {
  font-family: "HK Nova", sans-serif;
}

.page-five td:nth-of-type(odd) {
  font-weight: bold;
}
.page-five td:nth-of-type(even) {
  float: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: end;
}

tr {
  border-bottom: 2px solid rgba(128, 128, 128, 0.467);
}

/*~~~~~~~~~~~~~~~~~~~~PAGE SIX SAFETY PAGE~~~~~~~~~~~~~~~~~~~~*/

.page-six {
  font-size: 14px;
  font-family: "Avenir", sans-serif;
}

.page-six-warning {
  color: var(--pink);
  margin-top: 2rem;
  line-height: 1.5rem;
}

.page-six-warning .darker {
  color: var(--red);
}

.page-six-recommendation-grid {
  display: grid;
  grid-template-columns: 0.2fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  grid-column-gap: 1rem;
  place-content: center;
}

.p6-top-line {
  display: flex;
  align-items: center;
}

.p6-icon {
  display: grid;
  place-content: center;
}
.p6-icon i {
  color: var(--red);
  font-size: 1.25rem;
}

.p6-line {
  display: grid;
  align-items: center;
  font-size: 14px;
}

.p6-top-line {
  grid-area: 1 / 1 / 2 / 6;
}
.p6-icon-one {
  grid-area: 2 / 1 / 3 / 2;
}
.p6-line-one {
  grid-area: 2 / 2 / 3 / 6;
}
.p6-icon-two {
  grid-area: 3 / 1 / 4 / 2;
}
.p6-line-two {
  grid-area: 3 / 2 / 4 / 6;
}
.p6-icon-three {
  grid-area: 4 / 1 / 5 / 2;
}
.p6-line-three {
  grid-area: 4 / 2 / 5 / 6;
}
.p6-bottom-line {
  grid-area: 5 / 1 / 6 / 6;
  margin-top: 1rem;
}

.page-six-confirmation-button {
  margin-top: 3rem;
  background-color: #3c3c3c;
  padding: 1rem;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

.page-six-confirmation-button .button-text {
  color: var(--white);
  font-size: 0.875rem;
}

.page-six-confirmation-button .button-checkbox {
  position: absolute;
  right: 1rem;
  top: 30%;
  height: 1.25rem;
  width: 1.25rem;
  background-color: #010203;
  border: 1px solid #ffffff;
  border-radius: 2px;
  display: grid;
  place-content: center;
  color: #010203;
}

.page-six-confirmation-button.checked .button-checkbox svg path {
  fill: var(--white);
}

.page-six-next-step-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 100px;
  background-color: var(--blue);
  opacity: 50%;
  margin: 2rem 0;
  transition: 0.25s ease;
  font-size: 0.938rem;
  font-weight: bold;
  cursor: pointer;
}

.page-six-next-step-button.checked {
  opacity: 1;
}

.page-six-next-step-button.checked:hover {
  background-color: var(--dark-blue);
}
.page-six-safety-content-wrapper {
  font-size: 0.75rem;
  opacity: 0.8;
}

.page-six-heading {
  font-weight: bold;
  margin-top: 1rem;
}

.page-six-content-p {
  margin-top: 1rem;
}

p.right {
  margin-left: 1rem;
}

.page-six-content-2-col {
  display: flex;
  margin: 1rem 0;
}

.page-six-content-2-col i {
  font-size: 2rem;
}
.page-six-content-2-col .left {
  width: 30%;
  display: grid;
  place-content: center;
}

.page-six-content-2-col .right ul {
  width: 70%;
}
.page-six-ol,
.page-six-ul {
  margin-left: 1rem;
  margin-top: 1rem;
}

.page-six-ul li {
  list-style-type: none;
}

ul.with-dot {
  margin-top: 1rem;
  margin-left: 1rem;
}

ul.with-dot li {
  list-style-type: disc;
}

.disposal-svg-container {
  min-width: 60px;
  margin-right: 0.5rem;
}

.disposal-svg-container img {
  max-width: 100%;
  height: auto;
}

/*~~~~~~~~~~~~~~~~~~~~NEED HELP PAGE~~~~~~~~~~~~~~~~~~~~*/

.heading {
  font-size: 1rem;
  font-family: "HK Nova", sans-serif;
  color: var(--pink);
}

.sub-heading {
  font-size: 1rem;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}

.support-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 2px 10px rgba(0, 0, 0, 0.2);
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.need-help .support-card .support-card-button {
  background-color: #595959;
  font-size: 0.875rem;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
}

.need-help .support-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--pink);
  font-weight: bold;
}

.need-help .support-header svg {
  width: 24px;
  height: 24px;
  stroke: var(--pink);
}

.need-help .hours-table {
  width: 100%;
  border-collapse: collapse;
}

.need-help .hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.need-help .hours-table tr:last-child {
  border-bottom: none;
}

.need-help .hours-table td {
  padding: 0.75rem 0;
}

.need-help .hours-table td:first-child {
  font-weight: 500;
  width: 40%;
}

.need-help .hours-table td:last-child {
  text-align: right;
  color: rgba(255, 255, 255, 0.8);
}

.need-help-phone-button {
  background-color: #595959;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  padding: 1.5rem;
  text-align: center;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
}

/*~~~~~~~~~~~~~~~~~~~~ Instructions Steps ~~~~~~~~~~~~~~~~~~~~*/

.steps-bar {
  width: 100%;
  margin: 2rem 0;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  background-color: #70707034;
  border-radius: 50px;
}

.bar-segment {
  width: 10%;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
}

.step-dot {
  font-size: 0px;
  height: 0.3125rem;
  width: 0.3125rem;
  background-color: #464646;
  border-radius: 50%;
}

.step-dot.current {
  font-size: 0.56rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--blue);
  background-color: transparent;
  text-align: center;
}

.step-dot.previous {
  background-color: var(--blue);
}

.dot-content {
  height: 100%;
  display: grid;
  place-content: center;
  line-height: 0.5;
}

.flow-heading {
  font-size: 1.2rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.step-count {
  font-family: "Avenir", sans-serif;
  font-size: 1rem;
  font-weight: lighter;
  line-height: 1.75;
  opacity: 0.8;

  flex: 1;
}

.step-title {
  margin-bottom: 1rem;
  font-family: "Avenir", sans-serif;
  font-size: 1.125rem;
}

.step-video {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 17/9;
  border-radius: 10px;
  margin: 1rem 0;
  position: relative;
}

.step-video::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: grey;
  opacity: 0.75;
  border-radius: 100px;
  margin: 2rem 0 1rem 0;
}

.step-text {
  font-size: 1rem;
  line-height: 1.75;
  font-family: "Avenir", sans-serif;
  margin: 1rem 0;
}

.step-image {
  width: 90%;
  margin: 2rem auto;
}

.step-image img {
  border-radius: 10px;
}

.step-image img {
  width: 100%;
}

/*~~~~~~~~~~ Upgrade Flow ~~~~~~~~~~*/

.upgrade-image {
  width: 100%;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}

.upgrade-image-container {
  width: 90%;
  margin: 0 auto;
}

.upgrade-step-video {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 17/9;
  border-radius: 10px;
  margin: 1rem 0;
  position: relative;
}

.upgrade-step-video::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: grey;
  opacity: 0.75;
  border-radius: 100px;
  margin: 2rem 0 1rem 0;
}

/*~~~~~~~~~~~~~~~~~~~~PAGE NINE - BEFORE YOU BEGIN~~~~~~~~~~~~~~~~~~~~*/

.before-you-begin .step-video {
  background-color: transparent;
  position: relative;
  margin-top: 2rem;
}

.before-you-begin .step-text {
  margin-block: 2rem;
}

.step-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.before-you-begin .step-text ul,
.before-you-begin .step-text ol {
  list-style-position: outside;
  margin-left: 1.5rem;
}

.before-you-begin .step-text ul li::marker,
.before-you-begin .step-text ol li::marker {
  font-weight: bold;
  color: var(--pink);
}

.before-you-begin .step-text ol li {
  margin-bottom: 0.5rem;
}

.before-you-begin .step-text h2 {
  margin: 1rem 0;
  font-weight: bold;
  font-size: 1rem;
}

.accordion-button {
  padding: 1rem 0;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 99%;
  background: transparent;
  border: none;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.accordion-button::after {
  content: "+";
  font: 1.5rem "HK Nova";
  margin-right: 0.5rem;
  position: absolute;
  right: 0;
}

.accordion-button.active {
  padding-bottom: 0.25rem;
}

.accordion-button.active::after {
  content: "-";
  transform: translateY(-3px);
}

.accordion-button:not(:first-child) {
  border-top: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-accordion {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  padding-right: 1rem;
  transition: max-height 0.2s ease-out;
}

.accordion-button.active + .accordion-panel {
  max-height: 1000px;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition:
    max-height 0.3s ease-in,
    opacity 0.3s ease,
    padding 0.3s ease;
}

.accordion-section.active .accordion-content {
  max-height: 1000px;
  opacity: 1;
  padding: 1rem;
}

.accordion-ul {
  margin: 0.5rem 0 0 2rem;
}

.accordion-ul li {
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.accordion-ul li:last-child {
  margin-bottom: 1.25rem;
}

.accordion-ul li::marker {
  color: var(--pink);
}

ul.accordion-ul li::marker {
  font-size: 1.25rem;
}

ol.accordion-ul li {
  margin: 0.5rem 0;
}

.accordion-icon {
  font: 1.2rem monospace;
}
