/*
 * The start page in the site's own look (Rubik, the pink brand colour, dark text, a soft pink background), over the
 * older sign-up theme (theme-1.css, main.css). Loaded after them; every rule is scoped to the sign-up's wrapper.
 */
.eatella-start {
  --start-pink: #e3378f;
  --start-pink-hover: #c92a7b;
  --start-ink: #2a2833;
  --start-text: #5c5a63;
  --start-line: #ece7ee;
  font-family: "Rubik", sans-serif;
  color: var(--start-text);
}

.eatella-start,
.eatella-start h1,
.eatella-start h2,
.eatella-start h3,
.eatella-start p,
.eatella-start a,
.eatella-start button,
.eatella-start input,
.eatella-start span,
.eatella-start .ugf-content h1,
.eatella-start .ugf-content p,
.eatella-start .step a,
.eatella-start .form-group-ax span.description {
  font-family: "Rubik", sans-serif !important;
}

/* the right side: the home page's soft pink, without the old blue drawings (they covered the Dutch heading) */
.eatella-start.theme-bg {
  background: linear-gradient(180deg, #fff4fa 0%, #ffffff 70%);
}

.eatella-start .onboarding-content-wrapper-name h1,
.eatella-start .onboarding-content-wrapper-name h2 {
  color: var(--start-ink) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.eatella-start .onboarding-content-wrapper-name p,
.eatella-start .onboarding-content-wrapper-name h3 {
  color: var(--start-text) !important;
}

/* buttons: the home page's "Start free" */
.eatella-start .onboarding-content-wrapper .menu-content .form-flex.email-form .btn,
.eatella-start .ugf-content form .btn {
  background: var(--start-pink);
  color: #fff;
  border-radius: 5px;
  font-weight: 500;
  font-size: 18px;
  text-transform: none;
  height: 56px;
  max-height: 56px;
}

.eatella-start .onboarding-content-wrapper .menu-content .form-flex.email-form .btn:hover,
.eatella-start .ugf-content form .btn:hover {
  background: var(--start-pink-hover);
}

.eatella-start .onboarding-content-wrapper .menu-content .form-flex.email-form .btn:focus-visible,
.eatella-start .btn-submit:focus-visible,
.eatella-start .account-type:focus-visible,
.eatella-start a:focus-visible {
  outline: 2px solid var(--start-ink);
  outline-offset: 3px;
}

.eatella-start .btn-submit {
  border-color: var(--start-line);
  border-radius: 5px;
  color: var(--start-ink);
}

.eatella-start .btn-submit span {
  text-transform: none;
  font-weight: 500;
}

.eatella-start .onboarding-content-wrapper .menu-content .log-variant p {
  background: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--start-text);
}

.eatella-start .form-group-ax input,
.eatella-start .form-control {
  border-color: var(--start-line);
  color: var(--start-ink);
}

.eatella-start .form-group-ax input:focus {
  border-color: var(--start-pink);
  box-shadow: 0 0 0 3px rgba(227, 55, 143, 0.15);
}

.eatella-start .form-group-ax span.description {
  text-transform: none;
  font-weight: 500;
  color: var(--start-ink);
}

/* links: "Log in", the Terms */
.eatella-start .alternet-access p a,
.eatella-start .signup-terms a,
.eatella-start .start-lang a {
  color: var(--start-pink);
  text-decoration: underline;
}

/* the menu choice cards. They grow with their text (a Dutch title takes two lines) instead of the older theme's fixed
   230 px, and the cards of a row stay as tall as each other */
.eatella-start .ugf-content .menu-type {
  color: var(--start-pink);
}

.eatella-start .ugf-content .account-category {
  align-items: stretch;
}

.eatella-start .ugf-content .account-category .account-type {
  border-color: var(--start-line);
  border-radius: 8px;
  background: #fff;
  height: auto;
  min-height: 230px;
  padding-bottom: 20px;
}

.eatella-start .ugf-content .account-category .account-type:hover {
  border-color: var(--start-pink);
}

.eatella-start .ugf-content .account-category .account-type:hover p,
.eatella-start .ugf-content .account-category .account-type:hover .icon i {
  color: var(--start-pink);
}

/* the left side after step 1: the logo as on the home page, the steps in the brand colour, no blue drawing */
.eatella-start:not(.step-0) .onboarding-left {
  background: #fff;
  border-right: 1px solid var(--start-line);
}

.eatella-start:not(.step-0) .onboarding-left-logo a img {
  filter: none;
}

/* the steps are centred in the left column, over it (the older theme). In a short window (or a very wide one, where the
   logo is tall) they would rise under the logo: there they sit below it, centred in the room left, and a window
   shorter than both scrolls the column. The logo is about 13vw + 18px tall and the steps 170px, so they could meet
   below a height of about 760px, or wider than 5:2 */
@media (min-width: 997px) and (max-height: 760px), (min-width: 997px) and (min-aspect-ratio: 5/2) {
  .eatella-start:not(.step-0) .onboarding-left {
    flex-direction: column;
    overflow-y: auto;
  }

  /* the older theme placed it over the whole column: absolute, a third of the page wide, the window's full height */
  .eatella-start .onboarding-left .ugf-sidebar.sidebar-steps {
    position: static;
    flex: 1 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: safe center;
    box-shadow: none;
  }
}

.eatella-start .ugf-sidebar-bg-3 {
  background: none;
}

.eatella-start .step a {
  text-transform: none;
  font-weight: 500;
  color: var(--start-ink);
}

.eatella-start .step-onprocess a.step-default,
.eatella-start .ugf-sidebar.sidebar-steps .steps .step.step-onprocess span {
  color: var(--start-pink) !important;
  border-color: var(--start-pink) !important;
}

/* the language switch, top right with "Log in" */
.eatella-start .start-top {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.eatella-start .start-top p {
  margin: 0;
  font-size: 15px;
}

.eatella-start .start-lang {
  display: flex;
  gap: 10px;
}

.eatella-start .start-lang a {
  text-decoration: none;
  color: var(--start-text);
  font-weight: 500;
  padding: 4px 2px;
}

.eatella-start .start-lang a[aria-current="true"] {
  color: var(--start-ink);
  border-bottom: 2px solid var(--start-pink);
}

@media (max-width: 991px) {
  .eatella-start .start-top {
    position: static;
    justify-content: flex-end;
    padding: 12px 16px 0;
  }
}

/* on a desktop the step is centred in the window, clear of the "Log in" line above it. A step taller than a short
   window (the email step at 716 px) starts below that line and the page scrolls, instead of rising under it */
@media (min-width: 992px) {
  /* !important: the older theme's .onboarding-content-wrapper-name sets padding 0 !important */
  .eatella-start .ugf-content.menu-content {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
    justify-content: safe center;
  }
}

/* "Log in" is plain text with a link on every width (the older theme put it in a dark pill on phones) */
.eatella-start .alternet-access p {
  background: none;
  color: var(--start-text);
  padding: 0;
  border-radius: 0;
  font-size: 15px;
  display: inline;
}

.eatella-start .alternet-access a {
  color: var(--start-pink);
  font-weight: 500;
}

/* on a phone the page grows past the screen: the background goes on below the form */
@media (max-width: 996px) {
  .eatella-start {
    height: auto;
    min-height: 100vh;
  }

  .eatella-start .onboarding-right {
    height: auto;
    padding-bottom: 32px;
  }
}

.eatella-start .alternet-access .start-lang a {
  color: var(--start-text);
  text-decoration: none;
}

.eatella-start .alternet-access .start-lang a[aria-current="true"] {
  color: var(--start-ink);
}
