<style>  
  /* Colours ------------------------------------------- */
  /* Layout -------------------------------------------- */
  html {
    height: 100%; 
    overflow: auto;
  }
  body {
    height: 100%;
    background-color: var(--neutral-light-grey);
    margin: 0;
  }
  #loading {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: var(--mid-grey);
    transition: opacity 1s ease-in-out;
    animation: hideAfterDelay 1s ease 8s forwards;
  }
  #javascript-disabled {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: showAfterDelay 1s ease 8s forwards;
  }
  @keyframes showAfterDelay {
    to {
      visibility: visible;
      opacity: 1;
    }
  }
  @keyframes hideAfterDelay {
    to {
      visibility: hidden;
      opacity: 0;
    }
  }
  .header-logo {
    position: fixed;
    left: 0;
    right: 0;
    height: 25px;
    text-align: center;
    margin: 0 20px 0 20px;
    transform: translateY(15px);
  }
  .header-background {
    background-color: var(--green);
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -55;
    height: 130px;
    overflow: hidden;
  }
  @media all and (min-width: 501px) {
    .header-background::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 10px;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
      pointer-events: none;
    }
  }

  .layout {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    transition: top 0.3s ease;
  }

  /* HEADER MENU ----------------------------------------------- */
  .header-menu {
    position: fixed;
    transform: translateY(55px);
    margin: 0 auto;
    width: 100%;
    left: 0;
    right: 0;
  }
  .header-menu .row {
    position: relative;
    justify-content: center !important;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    width: 100%;
    max-width: 500px;
    justify-content: space-evenly;
    gap: 15px;
    z-index: 0;
  }
  .header-menu .row div {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    padding: 6px 18px;
    cursor: pointer;
  }
  .header-menu .row div.selected {
    background-color: var(--mid-green);
    cursor: default;
    transition: background-color 0.5s ease;
  }
  .content {
    margin-top: 100px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
  }
  .content-backdrop-grey {
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: fixed;
    height: 50px;
    background-color: var(--neutral-light-grey);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: opacity 0.05s ease 0.05s;
    box-shadow: 0 -12px 10px 0 rgba(0, 0, 0, 0.1);
  }
  .frame {
    position: relative;
    margin-top: -45px;
    padding: 0 14px 10px 14px;
    touch-action: pan-y;
  }
  .whitebox {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  .vh-70 {
    min-height: 70vh;
    position: relative;
  }
  .vh-75 {
    min-height: calc(100svh - 75px);
    position: relative;
  }
  @media all and (min-width: 1000px) {
    .vh-75 {
      min-height: calc(60vh - 75px);
      position: relative;
    }
  }
  .innerbox {
    padding: 0 24px 24px 24px;
    flex-grow: 1;
  }
  .flexbox {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .nav {
    justify-content: flex-end;
    margin: 16px 24px 20px 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 14px;
  }
  .row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .bottom-nav {
    order: 9999;
    margin: 0 14px 20px 14px;
    z-index: 0;
  }
  .bottom-nav-item {
    border-bottom: 1px solid var(--light-grey);
    color: var(--mid-grey);
    padding: 15px 0;
    cursor: pointer;
  }
  .bottom-nav-item:last-of-type {
    border-bottom: 0;
  }
  .bottom-nav-item div {
    display: inline-block;
    width: 100%;
  }
  .bottom-nav-item span {
    position: absolute;
    right: 16px;
    margin-top: 5px;
    display: inline-block;
    font-size: 20px;
    color: var(--grey) !important;
  }
  .hidden {
    visibility: hidden;
    opacity: 0;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    flex-grow: 0;
    pointer-events: none;
  } 
  .btn-circle {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-weight: 700;
    color: var(--white);
    vertical-align: middle;
    align-items: center;
    cursor: pointer;
  }
  .btn-forward::after {
    content: "›";
    margin-left: 10px;
    background-color: #FFF;
    border-radius: 50%;
    padding: 8px;
    color: var(--green) !important;
    line-height: 12px;
    font-weight: 100;
    height: 18px;
    width: 18px;
    text-align: center;
    font-size: 32px;
    cursor: pointer;
  }
  .btn-close::after {
    content: "✕";
    margin-left: 10px;
    background-color: #FFF;
    border-radius: 50%;
    padding: 8px;
    color: var(--green) !important;
    line-height: 18px;
    font-weight: 800;
    height: 18px;
    width: 18px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
  }

  .toaster {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-orange);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 0px;
    color: var(--black);
    margin: 0 auto;
    padding: 12px 29px;
    text-align: center;
    z-index: 1000;
    cursor: pointer;
  }


  /* Confetti */
  .confetti {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    pointer-events: none;
    user-select: none;
    position: absolute;
    display: block;
    z-index: 100000;
  } 

  /* Boxes -------------------------------------------- */
  .box {
    box-sizing: border-box;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .box .inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 3px;
    border-radius: 8px;
  }
  /* Box border animation */
  .border-animation::before {
    content: "";
    display: block;
    opacity: 0%;
    background: linear-gradient(90deg, 
      rgba(255, 255, 255, 0) 0%, var(--light-grey) 50%, 
      rgba(255, 255, 255, 0) 100%
    );
    height: 300px;
    width: 100px;
    position: absolute;
    animation: rotate 12s linear forwards infinite;
    animation-delay: 9s; 
    z-index: 0;
    top: 50%;
    transform-origin: top center;
  }
  @keyframes rotate {
    0% {
      opacity: 0%;
    }
    20% {
      opacity: 100%;
    }
    40% {
      transform: rotate(360deg);
      opacity: 0%;
    }
    100% {
      opacity: 0%;
    }
  }

  /* Colors -------------------------------------------- */
  .bg-lightgreen { background-color: var(--bg-light-green) !important; }
  .bg-green { background-color: var(--green) !important; }
  .bg-midgreen { background-color: var(--dark-green) !important; }
  .bg-lightorange { background-color: var(--light-orange) !important; }
  .bg-orange { background-color: var(--orange) !important; }
  .bg-black { background-color: #000 !important; }
  .bg-lightgrey { background-color: var(--neutral-light-grey) !important; }
  .bg-midgrey { background-color: var(--superlight-grey) !important; }
  .bg-grey { background-color: var(--grey) !important; }
  .bg-white { background-color: var(--white) !important; }
  .txt-lightgreen { color: var(--txt-light-green) !important; }
  .txt-green { color: var(--green) !important; }
  .txt-midgreen { color: var(--dark-green) !important; }
  .txt-black { color: #000 !important; }
  .txt-grey { color: var(--mid-grey) !important; }
  .txt-darkgrey { color: var(--dark-grey) !important; }
  .txt-white { color: var(--white) !important; }

  /* Text -------------------------------------------- */
  h1,h2,h3,h4 {
    display: block;
    margin: 0 0 0.4em 0;
    font-weight: 700;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  h4 {
    text-transform: uppercase;
  }
  p {
    margin: 0 0 1em 0;
  }
  p:last-of-type {
    margin: 0;
  }
  .txt-medium {
    font-weight: 700;
  }
  .txt-s {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }

  /* Margins & paddings */
  .margin-0 { margin-bottom: 0 !important; }
  .margin-xs { margin-bottom: 5px !important; }
  .margin-s { margin-bottom: 10px !important; }
  .margin-sm { margin-bottom: 15px !important; }
  .margin-m { margin-bottom: 20px !important; } 
  .margin-l { margin-bottom: 30px !important; }
  .padding-s { padding: 15px 15px; }
  .padding-m { padding: 25px 15px; }
  .padding-s-horizontal { padding-left: 15px; padding-right: 15px; }
  .padding-s-vertical { padding-top: 15px; padding-bottom: 15px; }
  .padding-s-left { padding-left: 15px; }
  .padding-s-right { padding-right: 15px; }


  /* Buttons -------------------------------------------- */
  [role="button"] {
    cursor: pointer;
  }
  .button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    border-radius:50px;
    padding: 15px 30px;
    color: var(--white) !important;
    text-decoration: none !important;
    text-align: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 15px;
    font-weight: 800;
    letter-spacing: 0.1px;
    transition: color .2s ease-in, background-color .2s ease-in;
    border: 0 !important;
    cursor: pointer;
    overflow: hidden;
  }
  .button-outline {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 50px;
    padding: 15px 30px;
    background-color: rgba(0,0,0,0);
    color: var(--green) !important;
    text-decoration: none !important;
    text-align: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 15px;
    font-weight: 700;
    letter-spacing: 0.1px;
    transition: color .2s ease-in, background-color .2s ease-in;
    border: 2px solid var(--green) !important;
    cursor: pointer;
    overflow: hidden;
  }
  .button-reward-claimed {
    border: 2px solid var(--superlight-grey) !important;
    color: var(--green) !important;
    background-color: #FFF;
    border-radius: 6px !important;
    font-weight: 700;
  }
  .button-text {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    padding: 0 0 6px 0;
    color: var(--green) !important;
    text-decoration: none !important;
    text-align: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 15px;
    font-weight: 700;
    letter-spacing: 0.1px;
    transition: color .2s ease-in, background-color .2s ease-in;
    background-color: var(--white);
    border-bottom: 2px solid var(--green) !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
    cursor: pointer;
  }
  form, fieldset {
    position: relative;
    border: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .back-arrow {
    font-size: 30px;
    line-height: 0;
    margin: 12px 0 0 9px;
    display: block;
  }
  .right-arrow {
    font-size: 40px;
    line-height: 0;
    margin-bottom: 12px;
    display: block;
    text-align: right;
    color: var(--green);
  }
  .nav-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #000;
    border: 0;
    color: var(--dark-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .nav-btn-back {
    left: 24px;
  }
  .nav-btn-close {
    right: 24px;
  }
  .nav-btn-close::after {
    content: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010%2010%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3Anone%3Bstroke%3A%23FFF%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cline%20class%3D%22b%22%20x1%3D%221%22%20y1%3D%221%22%20x2%3D%229%22%20y2%3D%229%22%2F%3E%3Cline%20class%3D%22b%22%20x1%3D%229%22%20y1%3D%221%22%20x2%3D%221%22%20y2%3D%229%22%2F%3E%3C%2Fsvg%3E');
    width: 13px;
    height: 13px;
    margin-top: -2px;
  }
  .nav-btn-back::after {
    content: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%206.67%2011.04%22%3E%3Cdefs%3E%3Cstyle%3E.b%7Bfill%3Anone%3Bstroke%3A%23FFF%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolyline%20class%3D%22b%22%20points%3D%225.67%2010.04%201%205.37%205.37%201%22%2F%3E%3C%2Fsvg%3E ');
    width: 9px;
    height: 14.9px;
    margin-left: -2px;
  }

  .txt, p a {
    text-decoration: underline;
    font-weight: 700;
    color: var(--green);
  }
  @media (hover: hover) {
    .txt:hover {
      color: #000;
    }    
  }

  /* BUTTON ANIMATIONS */
  .button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    animation: button-loading-spinner 0.8s cubic-bezier(0.64, 0.26, 0.33, 0.65) infinite;
  }
  @keyframes button-loading-spinner {
    from {transform: rotate(0turn);}
    to { transform: rotate(1turn);}
  }

  .shine::after {
    content: "";
    top: 0;
    pointer-events: none;
    width: 20%;
    height: 100%;
    background-color: rgb(255 255 255 / 46%);
    opacity: 0.0;
    position: absolute;
    animation: shine 5.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation-delay: 1s;
    animation-iteration-count: infinite;
    -webkit-transform: skew(355deg);
    -moz-transform: skew(355deg);
    -o-transform: skew(355deg);
  }
  @keyframes shine {
    0% {
      left: 0%;
      opacity: 0.0;
    }
    40% {
      left: 50%;
      opacity: 0.4;
    }
    70% {
      left: 100%;
      opacity: 0;
    }
    100% {
      left: 100%;
      opacity: 0;
    }
  }


  /* ANIMATIONS  ------------------------------------------------- */
  .pulse {
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
  @keyframes pulse {
    from {
      color: var(--mid-grey) !important;
    }
    to {
      color: var(--green) !important;
    }
  }


  /* DASHBOARD PAGE -------------------------------------------- */
  .frame-dashboard {
    width: 100vw;
    margin-left: -50vw; /* Offset half of viewport width */
    left: 50%; /* Move it back to the center */
    position: relative; /* Needed for left positioning */
    background-color: var(--neutral-light-grey);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: opacity 0.05s ease 0.05s;
  }
  .frame-inner {
    position: static;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 14px 10px 14px;
    touch-action: pan-y;
    z-index: 0;
  }
  .notifications {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 34px;
  }
  .notifications .hidden {
    display: none;
  }
  .notifications h2 span {
    display: inline-block;
    background-color: #32ab52;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 15px;
    margin-left: 7px;
    font-size: 0.95rem;
    line-height: 1.6rem;
    color: #FFF;
    text-align: center;
    vertical-align: text-top;
  }
  .notifications-button {
    position: relative;
    display: inline-block;
    margin: 5px auto 0;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #000;
    font-size: 0.9rem;
    line-height: 1rem;
    font-weight: 700;
    right: 0;
    cursor: pointer;
  }
  .cards {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
    padding: 15px 16px 16px 16px;
    margin: 0 -16px;
  }
  .cards::-webkit-scrollbar {
    display: none;
  }
  @media all and (max-width: 500px) {
    .cards {
      overflow: scroll;
    }
  }
  @media all and (min-width: 501px) {
    .collections.cards { 
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;    
      align-content: flex-start;
      align-items: stretch;
    }
    .collections .card {
      flex-basis: 45%;
      flex-grow: 1;
    }
  }
  .cards-stacked {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
    padding: 0 16px 10px 16px;
    margin: 0 -16px;
  }
  .card {
    position: relative;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 60%;
    cursor: pointer;
  }
  .order-0 {
    order: 0;
  }
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
  .order-3 {
    order: 3;
  }
  .order-4 {
    order: 4;
  }

  .reward-label {
    display: inline-block;
    padding: 4px 12px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: var(--green);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
  }
  .standalonebadge-soonavailable {
    display: none;
    background-color: var(--neutral-mid-grey);
    width: 60%;
    min-width: fit-content;
    margin-bottom: -11px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 6px 14px 15px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--mid-grey);
  }
  .standalonebadge-icon {
    width: 20%;
    margin: 10px;
    padding: 4px;
    position: relative;
    aspect-ratio: 1 / 1; 
    background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/4fa982ff-2e46-4a38-bd46-67a33c1d8dde.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
  }
  .standalonebadge-icon .claimable {
    display: none;
    aspect-ratio: 1 / 1;
  }
  .standalonebadge-icon .claimable::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: var(--grey);
    border-radius: 50%;
    clip-path: inset(0 50% 50% 0);
    animation: button-loading-spinner 2s linear infinite;
  }
  .standalone-badge-timer {
    margin-top: 7px;
    font-size: 0.9rem;
    color: var(--mid-grey);
  }
  /* Dynamic styling ------------------------------------------ */
  .badgesClaimedTrue .reward-label {
    background-color: var(--black) !important;
  }
  
  .badgeSoonAvailable { pointer-events: none; }

  /* Soon available label: by default hidden, display when applicable */
  .badgeSoonAvailable .standalonebadge-soonavailable { display: block; }

  /* Reward label: by default green, if not claimable grey */
  .badgeSoonAvailable .reward-label, .badgeExpired .reward-label { background-color: var(--grey); }
  .badgeClaimedTrue .reward-label { background-color: var(--black); }

  /* Badge soon available: grey-out text */
  .badgeSoonAvailable h3, .badgeSoonAvailable p { color: var(--mid-grey) !important; } 

  /* Badge icon: with spinner when collected, green when claimed */
  .badgeCollectedTrue:not(.badgeExpired) .claimable { display: flex }
  .badgeClaimedTrue .standalonebadge-icon { background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/d4e4112c-96aa-4a43-bf4a-0ed16c0b6815.png") !important; }


  /* COLLECTION PAGE -------------------------------------------- */
  .collection-badges {
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding: 16px 0;
    cursor: pointer;
  }
  .collection-badge-icon {
    width: 20%;
    margin: auto 0;
    padding: 4px;
    position: relative;
  }
  .collection-badge-icon .unclaimed::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: var(--grey);
    border-radius: 50%;
    clip-path: inset(0 50% 50% 0);
    animation: button-loading-spinner 2s linear infinite;
  }
  .collection-badge-details {
    width: 80%;
    margin: auto 0;
    padding: 0 15px;
    font-size: 0.9em;
    line-height: 1.7em;
  }
  .collection-badge-button {
    width: 10%;
    margin: auto;
    display: block;
    cursor: pointer;
    vertical-align: middle;
  }
  .collection-reward-nearly {
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 500;
    color: #FFF;
    background-color: #32ab52;
    border-radius: 4px;
    padding: 4px 6px; 
  }

  /* BADGE DETAILS PAGE -------------------------------------------- */
  .badge-details-icon {
    width: 17%;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    aspect-ratio: 1 / 1; 
    background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/4fa982ff-2e46-4a38-bd46-67a33c1d8dde.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  @media all and (max-width: 768px) {
    .badge-details-icon {
      width: 23%;
    }
  }
  .badge-details-title {
    padding-left: 14px;
    margin: auto 0;
  }
  .badge-details-text {
    margin: 20px 0 10px 0;
  }
  .badge-details-status {
    display: flex;
    align-content: stretch;
    flex-wrap: wrap;
    flex-basis: 100%;
    padding-left: 10px;
    flex-direction: column;
    row-gap: 3px;
  }
  .badge-details-label {
    display: block;
    width: fit-content;
    font-size: 0.9em;
    line-height: 0.9em;
    font-weight: 500;
    color: #FFF;
    background-color: #32ab52;
    border-radius: 4px;
    padding: 0.5em 0.6em; 
  }
  .reward-image { 
    position: relative;
    width: 18%;
    max-width: 35px;
    aspect-ratio: 1 / 1; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/b4e236e2-4918-4109-8333-85717fc13c83.png") !important; 
  }  
  .badge-conditions {
    border-top: 1px solid #eee;
    margin-top: 14px;
    padding-top: 15px;
  }
  .conditions {
   cursor: pointer; 
  }  
  .conditions span {
    display: inline-block;
    margin-left: 5px;
    transform: rotate(90deg);
  }
  .conditions.selected span {
    transform: rotate(-90deg);
  }
  
  /* Dynamic styling --------------------------------- */
  
  /* Badge icon: change to green if claimed */
  .badgeClaimedTrue .badge-details-icon { background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/d4e4112c-96aa-4a43-bf4a-0ed16c0b6815.png") !important; }
    
  /* Badge status: change to green if claimed */  
  .badge-details-status p { color: var(--mid-grey) }  
  .badgeClaimedTrue .badge-details-status p { color: var(--dark-green) }
  .badgeExpired:not(.badgeClaimedTrue) h3,.badgeExpired:not(.badgeClaimedTrue) p,.badgeExpired:not(.badgeClaimedTrue) a { color: var(--mid-grey) }
  /* Reward container: change to green if claimable */
  .reward-container { background-color: var(--superlight-grey); color: var(--mid-grey); }
  .badgeClaimedTrue .reward-container { background-color: var(--bg-light-green) }
  .badgeClaimedTrue .reward-container.border-animation::before { background: linear-gradient(90deg, 
      rgba(255, 255, 255, 0) 0%, var(--green) 50%, 
      rgba(255, 255, 255, 0) 100%
    ); }
  .badgeClaimedTrue .reward-container p { color: var(--black) }
  .badgeClaimedTrue .reward-container .txt-medium { color: var(--green) }
        
  /* Reward image: change to green if claimable */
  .badgeClaimedTrue .reward-image { background-image: url("https://image.email.greenwheels.com/lib/fe3e157075640478771776/m/1/8314d81d-6d74-4434-98d6-0118f09c126c.png") !important; }  
  

  /* SETTINGS PAGE ---------------------------------------------- */
  :root {
    --form-control-color: var(--green);
    --form-control-disabled: var(--mid-grey);
  }
  *,
  .optout-form:before,
  .optout-form:after {
    box-sizing: border-box;
  }
  .optout-form {
    display: grid;
    place-content: left;
  }
  .form-control {
    font-weight: normal;
    line-height: 1.2;
    display: grid;
    grid-template-columns: 1.5em auto;
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--neutral-light-grey);
    gap: 12px;
  }
  .form-control:last-of-type {
    border-bottom: 0px;
    margin-bottom: 10px;
  }
  .form-control + .form-control {
    margin-top: 1em;
  }
  .form-control--disabled {
    cursor: not-allowed;
  }
  .optout-form input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 20px;
    height: 20px;
    border: 2px solid var(--grey);
    border-radius: 4px;
    transform: translateY(-2px);
    display: grid;
    place-content: center;
  }
  .optout-form input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transform-origin: center;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 10px 10px #000;
    border-radius: 3px;
    /* Windows High Contrast Mode */
    background-color: #000;
  }
  .optout-form input[type="checkbox"]:checked::before {
    transform: scale(1);
  }
  .optout-form input[type="checkbox"]:disabled {
    --form-control-color: var(--form-control-disabled);
    color: var(--form-control-disabled);
    cursor: not-allowed;
  }

  /* ACCORDION -------------------------------------------------- */
  .accordion {
    border-top: 1px solid #eee;
    margin-top: 12px;
    padding-top: 12px;
    cursor: pointer;
  }
  .accordion-ttl::after {
    content: "+";
    position: relative;
    right: 0;
    top: 0;
    padding-left: 10px;
    font-size: 28px;
    font-weight: normal;
    cursor: pointer;
  }
  .accordion-ttl.open {
    color: var(--green);
  }
  .accordion-ttl.open::after {
    content: "−";
  }
  .accordion:first-of-type {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .accordion:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
  }
  .accordion-txt {
    margin: 10px 0 12px 0;
  } 

  /* PROGRESS BAR ----------------------------------------------- */
  .progress-bar-container {
    position: relative;
    display: flex;
    height: 10px;
  }
  .progress-bar {
    top: 0;
    width: 100%;
    background-color: var(--superlight-grey);
    border-radius: 10px;
    justify-content: flex-start !important;
  }
  .progress-bar-indicator {
    background-color: var(--green);
    height: 10px;
    border-radius: 10px;
  }
  .progress-bar-indicator-unclaimed {
    background-color: var(--grey);
    height: 10px;
    border-radius: 10px;
    animation: progress-bar-glow 1.3s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s infinite alternate;
  }
  
  .progress-bar-animation-slide {
    position: absolute;
    width: 100%;
    right: 0;
    height: 10px;
    background-color: var(--neutral-light-grey);
    animation: progress-bar-slide 3s linear 0.7s 1 forwards; 
  }
  .progress-bar-animation-glow {
    animation: progress-bar-glow 0.5s ease 2.75s 2 alternate;
  }
  @keyframes progress-bar-slide {
    0% { width: 100%; }
    100% { width: 0%; }
  }
  @keyframes progress-bar-glow {
    0% { filter: brightness(1); }
    50% { filter: brightness(0.85); }
    100% { filter: brightness(1); }
  }
  @keyframes progress-bar-highlight {
    0% { box-shadow: inset 0 0 0 2px var(--grey); }
    50% { box-shadow: inset 0 0 0 2px var(--mid-grey); }
    100% { box-shadow: inset 0 0 0 2px var(--grey); }
  }
  .progress-bar-segments {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 5px;
  }
  .progress-bar-segment {
    flex: auto;
    outline: 5px solid #FFF;
    border-radius: 10px;
    height: 10px;
  }
  .progress-bar-segment.nearly-achieved {
    box-shadow: inset 0 0 0 2px var(--grey);
    animation: 1.3s cubic-bezier(0.46, 0.03, 0.52, 0.96) 0s infinite alternate none running progress-bar-highlight;
  }
  .badge-details-status .progress-bar-container {
    margin-top: 2px;
  }
  .badge-details-status .progress-bar-segment {
    height: 8px !important;
  }
</style>