/* ================================
   Programme Sidebar + Layout
   ================================ */

:root{
  --ps-ink: #020C3B;
  --ps-btn: #d9f1fc;

  --w1: #c9dcff;
  --w2: #dbe8ff;
  --w3: #d6f2fb;
  --w4: #f0f3f6;

  --w1b: #b8cffb;
  --w2b: #c9dcff;
  --w3b: #c5eaf7;
  --w4b: #dde3ea;

  --shadow: 0 18px 45px rgba(0,0,0,0.10);
  --radius-xl: 44px;
  --radius-pill: 999px;
}

.ps-admin-note {
  display: none;
}

/* Auth */
.ps-auth{
  padding: 60px 20px;
}
.ps-auth__wrap{
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}
.ps-auth__title{
  margin: 0 0 18px;
}
.ps-auth__notice{
  margin: 0 0 14px;
}
.ps-auth__error{
  margin: 0 0 14px;
  color: #b00020;
}
.ps-auth__links{
  margin-top: 16px;
}

/* Quick Guide */

.page-template-template-programme-quick-guide img {
    box-shadow: var(--shadow);
    margin: 2rem;
}

/* Programme Layout */
.ps-programme-area{
  background: #fff;
}

.ps-prog-layout{
  display: flex;
  min-height: 100vh;
  background: #fff;
}

.ps-prog-sidewrap{
  width: 100%;
  min-width: 320px;
  max-width: 360px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: width 260ms ease, min-width 260ms ease, max-width 260ms ease;
  will-change: width;
}

#ps-prog-sidebar.ps-prog-sidebar{
  width: 100%;
  min-width: 320px;
  max-width: 360px;
  height: calc(100vh - 120px);
  min-height: 0;
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius-xl) 0;
  overflow: visible;
  z-index: 9999;
  transition: transform 260ms ease, width 260ms ease, min-width 260ms ease, max-width 260ms ease;
  will-change: width, transform;
}

/* Clip overflow only while animating/collapsed to avoid jank */
body.ps-prog-sidebar-animating #ps-prog-sidebar.ps-prog-sidebar,
body.ps-prog-sidebar-collapsed #ps-prog-sidebar.ps-prog-sidebar{
  overflow: hidden;
}

/* Keep the collapse button visible when collapsed (don’t clip the -25px offset) */
body.ps-prog-sidebar-collapsed #ps-prog-sidebar.ps-prog-sidebar{
  overflow: visible !important;
}

/* Still clip the inner content while collapsed so it doesn’t peek out */
body.ps-prog-sidebar-collapsed #ps-prog-sidebar .ps-prog-sidebar__inner{
  overflow: hidden !important;
}

#ps-prog-sidebar.ps-prog-sidebar-free ul.ps-prog-days{
  margin: 1.5rem;
}

#ps-prog-sidebar.ps-prog-sidebar-free .ps-prog-days li{
  margin: 1rem 0;
}

#ps-prog-sidebar.ps-prog-sidebar-free a.ps-prog-day{
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--w1b);
}

.ps-prog-sidebar__inner{
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
  padding: 15px;
  min-height: 0;
  border-radius: 0 0 var(--radius-xl) 0;
  background: #fff;
  transition: padding 220ms ease;
}

.ps-prog-sidebar-collapsed .ps-prog-sidebelow{
  display: none;
}

/* =================================
   Tooltip (robust against stacking)
   ================================= */

.ps-tooltip{
  position: relative;
  display: inline-block;
  z-index: 30000;
}

.ps-tooltip > a{
  position: relative;
  z-index: 2;
}

.ps-tooltip__content{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);

  width: min(300px, 80vw);
  max-width: 320px;

  background: #111;
  color: #fff;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);

  font-size: 0.75rem;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;

  z-index: 30001;
}

.ps-prog-sidebelow{
  text-align: center;
}

.ps-tooltip{
  position: relative;
  display: inline-block;
  z-index: 30000;
}

.ps-tooltip > a{
  position: relative;
  z-index: 2;
}

.ps-tooltip__content{
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  transform: translateY(6px);

  width: min(320px, 86vw);
  max-width: 360px;

  background: #fff;
  color: var(--ps-ink);

  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);

  font-size: 0.75rem;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.ps-tooltip__content::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.ps-tooltip__content::after{
  content: "";
  position: absolute;
  left: 18px;
  top: 100%;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: translateY(-5px) rotate(45deg);
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

.ps-tooltip:hover .ps-tooltip__content,
.ps-tooltip:focus-within .ps-tooltip__content{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ps-prog-sidebelow--disclaimer{
  font-size: .75rem;
  margin: 1rem;
}

.ps-prog-sidebelow--copyright{
  font-size: .75rem;
}

/* ================================
   Hide native scrollbar (keep scroll)
   ================================ */

.ps-prog-sidebar__inner{
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ps-prog-sidebar__inner::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.ps-prog-sidebar__top{
  margin-bottom: 18px;
  margin-left: 24px;
}

.ps-prog-sidebar__userline{
  margin-bottom: 24px;
}

.ps-prog-sidebar__home, .ps-prog-link{
  display: inline-block;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: var(--w1b);
}

.ps-prog-nav{
  margin-top: 18px;
}

.ps-prog-flex-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.motivation-text {
    font-style: italic;
    text-align: center;
}

.ps-prog-sidebar-free .ps-prog-flex-container {
    height: 100%;
}

/* ==========================================
   Smooth fade for sidebar contents (key bit)
   ========================================== */

#ps-prog-sidebar .ps-prog-sidebar__top,
#ps-prog-sidebar .ps-prog-nav{
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 0s;
  will-change: opacity, transform;
}

/* Collapsed: fade content out smoothly (no display:none!) */
body.ps-prog-sidebar-collapsed #ps-prog-sidebar .ps-prog-sidebar__top,
body.ps-prog-sidebar-collapsed #ps-prog-sidebar .ps-prog-nav{
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

/* Reduce inner padding when collapsed for a cleaner “slim” state */
body.ps-prog-sidebar-collapsed #ps-prog-sidebar .ps-prog-sidebar__inner{
  padding: 0;
}

/* Weeks accordion (paid only) */
.ps-prog-week{
  margin: 0;
  padding: 0;
  border: 0;
}

.ps-prog-week__sum{
  list-style: none;
  margin-bottom: 0;
}

.ps-prog-week__sum::-webkit-details-marker{
  display: none;
}

.ps-prog-week__sum{
  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 24px;

  font-size: 1rem;
  font-weight: 500;
  color: #111;
  cursor: pointer;
}

.ps-prog-week--1 > .ps-prog-week__sum{ background: var(--w1); }
.ps-prog-week--2 > .ps-prog-week__sum{ background: var(--w2); }
.ps-prog-week--3 > .ps-prog-week__sum{ background: var(--w3); }
.ps-prog-week--4 > .ps-prog-week__sum{ background: var(--w4); }

.ps-prog-week__btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ps-prog-week--1 .ps-prog-week__btn{ background: var(--w1b); }
.ps-prog-week--2 .ps-prog-week__btn{ background: var(--w2b); }
.ps-prog-week--3 .ps-prog-week__btn{ background: var(--w3b); }
.ps-prog-week--4 .ps-prog-week__btn{ background: var(--w4b); }

.ps-prog-week__chev{
  width: 6px;
  height: 6px;
  border-right: 3px solid rgba(2,12,59,0.65);
  border-bottom: 3px solid rgba(2,12,59,0.65);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

details[open] .ps-prog-week__chev{
  transform: rotate(-135deg);
}

.ps-prog-week__panel{
  margin-top: -12px;
  padding: 8px 20px 8px;
  border-radius: 34px;
}

.ps-prog-week--1 .ps-prog-week__panel{ background: var(--w1); }
.ps-prog-week--2 .ps-prog-week__panel{ background: var(--w2); }
.ps-prog-week--3 .ps-prog-week__panel{ background: var(--w3); }
.ps-prog-week--4 .ps-prog-week__panel{ background: var(--w4); }

.ps-prog-days{
  margin: 0;
  padding: 0;
}

.ps-prog-days li{
  list-style: none;
  margin: 10px 0;
}

.ps-prog-day{
  display: block;
  text-decoration: none;
  color: #111;
  font-size: .75rem;
  line-height: 1;
}

.ps-prog-day:hover{
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: var(--w1b);
}

.ps-prog-day__left{
  display: flex;
  align-items: center;
  gap: 14px;
}

.ps-programme-day__wrap section{
  padding-bottom: 2rem;
}

/* Programme day content images */
.single-day .ps-content img{
  max-width: 500px;
  width: 100%;
  height: auto;
}

.ps-prog-tick{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(2,12,59,0.12);
  flex: 0 0 auto;
}

.ps-prog-tick.is-done{
  background: #08a7ff;
  position: relative;
}

.ps-prog-tick.is-done::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  top: -3px;
}

.ps-complete-check{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.ps-complete-note{
  display: none;
}

.ps-complete-check > input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ps-complete-check__ui{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(2,12,59,0.12);
  transition: transform 180ms ease, background 180ms ease;
  position: relative;
}

.ps-complete-check__ui::after{
  content:"";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 180ms ease;
  transform-origin: center;
}

.ps-complete-check > input:checked + .ps-complete-check__ui{
  background: #04B0FF;
  transform: scale(1.06);
}

.ps-complete-check > input:checked + .ps-complete-check__ui::after{
  transform: rotate(-45deg) scale(1);
}

.ps-complete-check__txt--on{ display:none; }
.ps-complete-check > input:checked ~ .ps-complete-check__label .ps-complete-check__txt--off{ display:none; }
.ps-complete-check > input:checked ~ .ps-complete-check__label .ps-complete-check__txt--on{ display:inline; }

.ps-complete-check > input:focus-visible + .ps-complete-check__ui{
  outline: 3px solid rgba(4,176,255,0.35);
  outline-offset: 3px;
}

.ps-complete-check__ui::before{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius: 999px;
  opacity:0;
  transform: scale(0.6);
  pointer-events:none;
  background:
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 20% 20%/12px 12px no-repeat,
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 80% 25%/12px 12px no-repeat,
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 15% 75%/12px 12px no-repeat,
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 85% 75%/12px 12px no-repeat,
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 50% 5%/12px 12px no-repeat,
    radial-gradient(circle, #04B0FF 0 3px, transparent 4px) 50% 95%/12px 12px no-repeat;
}

@keyframes ps-confetti-burst{
  0%   { opacity:0; transform: scale(0.6); }
  20%  { opacity:1; transform: scale(1); }
  100% { opacity:0; transform: scale(1.35); }
}

.ps-complete-check > input:checked + .ps-complete-check__ui::before{
  animation: ps-confetti-burst 520ms ease-out;
}

.ps-prog-day.is-active .ps-prog-day__text{
  font-weight: 600;
}

.ps-prog-day__text{
  line-height: 1.25;
}

.ps-prog-nav__bottom{
  margin-top: 12px;
}

.ps-prog-nav__bottom a{
  margin-left: 24px;
}

.ps-prog-link.ps-prog-link--logout{
  display: block;
  text-align: center;
  margin: 24px auto;
  width: fit-content;
}

.ps-prog-collapse{
  position: absolute;
  top: 18px;
  right: -25px;

  width: 50px;
  height: 50px;
  border-radius: 14px;

  background-color: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;

  z-index: 10000;
}

.ps-prog-collapse:hover, .ps-prog-collapse:focus{
  background-color: transparent;
}

.ps-prog-collapse__icon{
  font-size: 26px;
  line-height: 1;
  color: rgba(2,12,59,0.9);
}

.ps-prog-main{
  flex: 1 1 auto;
  min-width: 0;
  margin: 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

body.ps-prog-sidebar-collapsed #ps-prog-sidebar.ps-prog-sidebar{
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  flex: 0 0 20px;
  transform: translateX(0) !important;
}

body.ps-prog-sidebar-collapsed #ps-prog-sidebar .ps-prog-collapse{
  pointer-events: auto;
  opacity: 1;
  position: absolute;
  top: 18px;
  right: -25px;
  z-index: 10000;
}

.ps-prog-nav-toggle,
.ps-prog-overlay{
  display: none;
}

.ps-prog-collapse__icon{
  display: grid;
  place-items: center;
}

.ps-prog-collapse__icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

/* Default: sidebar OPEN */
.ps-prog-collapse__icon--closed{
  display: none;
}

/* Sidebar COLLAPSED */
body.ps-prog-sidebar-collapsed .ps-prog-collapse__icon--open{
  display: none;
}

body.ps-prog-sidebar-collapsed .ps-prog-collapse__icon--closed{
  display: grid;
}

/* When sidebar is collapsed, collapse the *flex column* too (the wrapper) */
body.ps-prog-sidebar-collapsed .ps-prog-sidewrap{
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  flex: 0 0 20px;
}

/* Your existing rule is missing 'body.' so it won't fire if the class is on <body> */
body.ps-prog-sidebar-collapsed .ps-prog-sidebelow{
  display: none;
}

#ps-prog-main{
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 980px){

  /* Keep layout side-by-side by default */
  .ps-prog-layout{
    display: flex;
    min-height: 100vh;
  }

  /* DEFAULT (expanded): make sidebar take full width */
  .ps-prog-sidewrap{
    position: sticky;
    top: 0;
    height: 100vh;

    width: 100vw;
    min-width: 0;
    max-width: none;
    flex: 0 0 100vw;

    z-index: 9999;
  }

  #ps-prog-sidebar.ps-prog-sidebar{
    width: 90%;
    min-width: 0;
    max-width: none;
    height: calc(100vh - 120px);
    border-radius: 0 0 var(--radius-xl) 0;
  }

  /* When the sidebar is expanded on small screens, hide main content */
  body:not(.ps-prog-sidebar-collapsed) .ps-prog-main{
    display: none;
  }

  /* COLLAPSED: keep the rail beside the content (your existing desktop behaviour) */
  body.ps-prog-sidebar-collapsed .ps-prog-sidewrap{
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    flex: 0 0 30px;
  }

  body.ps-prog-sidebar-collapsed #ps-prog-sidebar.ps-prog-sidebar{
    width: 30px;
    min-width: 30px;
    max-width: 30px;
  }

  /* When collapsed, show main again (side-by-side with the rail) */
  body.ps-prog-sidebar-collapsed .ps-prog-main{
    display: block;
    margin: 1rem 2rem;
  }

  /* No overlay / no grey screen */
  .ps-prog-overlay{
    display: none !important;
  }
  
   .ps-video iframe{
    max-height: 420px;
  }
}

.ps-prog-progress{
  margin-top: 10px;
  text-align: center;
}

.ps-prog-progress__label{
  margin: 10px 0 10px;
  font-size: .75rem;
}

.ps-prog-progress__note{
  margin-top: 12px;
  font-style: italic;
}

.ps-prog-progress__ring{
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.ps-prog-ring{
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.ps-prog-ring__track,
.ps-prog-ring__progress{
  fill: none;
  stroke-width: 12;
}

.ps-prog-ring__track{
  stroke: rgba(2, 12, 59, 0.12);
}

.ps-prog-ring__progress{
  stroke: #04B0FF;
  stroke-linecap: round;
  filter: drop-shadow(0 6px 10px rgba(34, 197, 94, 0.22));
  transition: stroke-dashoffset 450ms ease;
}

.ps-prog-ring__label{
  position: absolute;
  text-align: center;
  line-height: 1.1;
}

.ps-prog-ring__pct{
  font-size: 22px;
  font-weight: 700;
}

.ps-prog-ring__sub{
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}

#ps-prog-sidebar.ps-prog-sidebar{
  position: sticky;
  top: 0;
}

.ps-prog-sidebar__inner{
  padding-bottom: 70px;
}

.ps-prog-scrollhint{
  position: absolute;
  right: 24px;
  bottom: 12px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: .7;
  background: #fff;
  padding: 1rem 2px;
  border-radius: 50px;
}

.ps-prog-scrollhint__icon svg{
  width: 20px;
  height: 24px;
  display: block;
}

.ps-prog-scrollhint__text{
  font-size: 0.75rem;
  color: var(--ps-ink);
}

@keyframes ps-scroll-bob{
  0%   { transform: translateY(0); }
  20%  { transform: translateY(5px); }
  40%  { transform: translateY(0); }
  60%  { transform: translateY(5px); }
  80%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.ps-prog-scrollhint{
  animation: none;
}

.ps-prog-scrollhint__icon{
  animation: ps-scroll-bob 2.4s ease-out 0.6s both;
}

.ps-programme-resources__groups h2{
  font-size: 1.75rem;
}

.ps-programme-resources__groups h3{
  font-size: 1.25rem;
}

.ps-video{
  max-width: 560px;
}

.ps-video iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 315px;
}

/* Programme Content Area */

.page-template-template-programme-dashboard #ps-prog-main section:not(.ps-programme-dashboard__content){
  box-shadow: var(--shadow);
  background: #fff;
  padding: 1.5rem 2.5rem;
  width: fit-content;
}

.ps-programme-dashboard__continue-label{
  font-weight: 700;
}

.ps-programme-dashboard__continue-link,
.ps-programme-dashboard__complete a, a{
  position: relative;
  text-decoration: underline;
  text-decoration-color: var(--w1b);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  display: inline-block;
}

.ps-programme-dashboard__continue-link::after,
.ps-programme-dashboard__complete a::after, a::after, #ps-prog-sidebar.ps-prog-sidebar-free a.ps-prog-day::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  height: 2px;
  background: var(--ps-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.ps-programme-dashboard__continue-link:hover::after,
.ps-programme-dashboard__complete a:hover::after, a:hover::after, #ps-prog-sidebar.ps-prog-sidebar-free a.ps-prog-day:hover::after {
  transform: scaleX(1);
}

a.ps-prog-day::after{
  display: none;
}

#ps-prog-sidebar.ps-prog-sidebar-free a.ps-prog-day::after {
    display: block;
}

#ps-prog-sidebar.ps-prog-sidebar-free a.ps-prog-day {
    width: fit-content;
}

.page-template-template-programme-dashboard h1{
  margin-left: 2rem;
}

#ps-prog-main h2{
  font-size: 1.5rem;
}

/* ================================
   Programme Resources
   ================================ */

.ps-prog-res--max{
  max-width: 800px;
}

.ps-prog-res{
  display: grid;
  gap: 0;
}

.ps-prog-res .ps-prog-week{
  margin: 0;
}

.ps-res-day{
  margin: 10px 0 14px;
}

.ps-res-day__title{
  font-weight: 600;
  margin: 0 0 8px;
}

.ps-res-day__title a{
  color: var(--ps-ink);
  text-decoration: none;
}

.ps-res-day__title a:hover{
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: var(--w1b);
}

.ps-res-list{
  margin: 0;
  padding-left: 18px;
}

.ps-res-list li{
  margin: 6px 0;
}

/* Programme Login */

.ps-auth {
  padding: 60px 20px;
}

.ps-auth__wrap {
  max-width: 420px;
  margin: auto;
}

.ps-auth__title {
  text-align: center;
  margin: 0 auto 30px auto;
}

.ps-auth__form p {
  margin-bottom: 18px;
}

.ps-auth__form input.input {
  width: 100%;
  padding: 10px;
}

.login-submit input {
  width: 100%;
}

.ps-auth__notice,
.ps-auth__error {
  text-align: center;
  margin-bottom: 20px;
}

.ps-auth__links {
  text-align: center;
  margin-top: 20px;
}

/* Login Form */

.ps-auth__form input[type="text"], .ps-auth__form input[type="password"], .ps-auth__form input:-internal-autofill-selected {
    background-color: #fff !important;
    border-radius: .5rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    margin-top: .5rem;
}

/* Quick Guide */

.ps-quick-guide{
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.ps-quick-guide__label {
    font-weight: 600;
}

/* Free Programme CSS */
.page-template-template-programme-free .ps-prog-days .ps-prog-day__left{
  gap: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .ps-prog-sidewrap,
  #ps-prog-sidebar.ps-prog-sidebar,
  .ps-prog-sidebar__inner,
  #ps-prog-sidebar .ps-prog-sidebar__top,
  #ps-prog-sidebar .ps-prog-nav{
    transition: none !important;
  }
}

@media (max-width: 480px){
  .ps-video iframe{
    max-height: 240px;
  }
}