/* MiShell+ brand tokens. shell yellow + red, white cards, phone frame */

@font-face {
  font-family: 'ShellBook';
  src: url('../fonts/ShellBook.eot');
  src: url('../fonts/ShellBook.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ShellBook.woff2') format('woff2'),
    url('../fonts/ShellBook.woff') format('woff'),
    url('../fonts/ShellBook.ttf') format('truetype'),
    url('../fonts/ShellBook.svg#ShellBook') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ShellHeavy';
  src: url('../fonts/ShellHeavy.eot');
  src: url('../fonts/ShellHeavy.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ShellHeavy.woff2') format('woff2'),
    url('../fonts/ShellHeavy.woff') format('woff'),
    url('../fonts/ShellHeavy.ttf') format('truetype'),
    url('../fonts/ShellHeavy.svg#ShellHeavy') format('svg');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}



:root {
  --shell-yellow: #FFCD00;
  --shell-yellow-dk: #F5C400;
  /*--shell-red: #ED1C24;*/
  --shell-red: #DD1D21;
  --shell-red-dk: #C8161D;
  --ink: #4A4A4A;
  --ink-soft: #6B6B6B;
  --line: #E4E4E4;
  --field-bg: #FFFFFF;
  --ok: #1E8E3E;
  --radius: 16px;
  --frame-w: 420px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'ShellBook';
  font-weight: 400;
}

body.login::before,
body.forgot-password::before,
body.reset-password::before,
body.reset-password-confirm::before {
  content: "";
  background: var(--field-bg);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 190px);
}

body.register::before,
body.step2::before,
body.profile::before,
body.preferences::before {
  content: "";
  background: var(--field-bg);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 75px);
}

body {
  background: var(--shell-yellow);
  color: #4A4A4A;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

a {
  text-decoration: none;
}

/* phone frame */
.frame {
  width: 100%;
  max-width: var(--frame-w);
  min-height: 100vh;
  background: var(--shell-yellow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  /*box-shadow: 0 0 60px rgba(0, 0, 0, .45);*/
}

@media (min-width: 460px) {
  body {
    /*padding: 24px 0;*/
    align-items: flex-start;
  }

  body.dashboard .frame {
    max-width: 100%;
    padding: 0 12vw;

  }

  .frame {
    /*min-height: calc(100vh - 48px);*/
    /*border-radius: 28px;*/
    max-width: 75%;
  }
}

/* one screen visible at a time */
.screen {
  display: none;
  flex: 1;
  flex-direction: column;
  width: 100%;
  /*max-width: var(--frame-w);*/
}

.screen.active {
  display: flex;
}



/* yellow header bar */
.topbar {
  background: var(--shell-yellow);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  gap: 12px;
  min-height: 64px;
}

.topbar .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .2px;
}

.mainLogo svg,
.mainLogo img {
  display: block;
  width: 310px;
  margin: auto;
  padding-bottom: 30px;
}

.mainLogo2 svg,
.mainLogo2 img {
  display: block;
  width: 140px;
  margin: auto;
  padding-bottom: 30px;
  margin-top: -50px;
}

.topbar .bar-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.topbar .back {
  background: var(--shell-red);
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  border-radius: 5px;
  padding: 4px 10px;
}

.topbar .hamburger {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}

.topbar .spacer {
  flex: 1;
}

.pecten {
  width: 30px;
  height: 30px;
}

/* scrolling content area */
.body {
  background: #fff;
  flex: 1;
  padding: 26px 22px 32px;
  overflow-y: auto;
}

h1.h {
  font-size: 1.5rem;
  color: var(--shell-red);
  margin: 4px 0 6px;  
  font-family: 'ShellHeavy';
  font-weight: 600;
}

h2.h {
  font-size: 1.15rem;
  color: var(--shell-red);
  margin: 0 0 6px;
  font-weight: 800;
}

.step {
  color: var(--shell-red);
  font-weight: 700;
  font-size: .9rem;
  margin: 0 0 18px;
}

.lede {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.5;
  margin: 0 0 22px;
}

.section-label {
  font-weight: 700;
  font-size: .95rem;
  margin: 18px 0 10px;
}

/* form fields */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;  
  font-size: 1rem;  
  font-family: 'ShellBook';
  font-weight: 400;
  background: var(--field-bg);
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--shell-yellow-dk);
  box-shadow: 0 0 0 3px rgba(255, 205, 0, .25);
}

.field input:disabled {
  background: #f3f3f3;
  color: #9a9a9a;
  cursor: not-allowed;
}

.phone-row:disabled {
  width: 60px;
}

.field.error input {
  border-color: var(--shell-red);
}

.field .hint {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.4;
}

/* dial-code select + number, side by side */
.phone-row {
  display: flex;
  gap: 8px;
}

.phone-row select {
  flex: 0 0 8.5rem;
  padding-left: 10px;
  padding-right: 6px;
  /*width: 160px;*/
}

.phone-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.req {
  color: var(--shell-red);
}

/* live password-rule checklist (turns red on submit if unmet) */
.pw-rules {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}

.pw-rules li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
  color: var(--ink-soft);
}

.pw-rules li::before {
  content: "○";
  color: var(--ink-soft);
  font-size: .7rem;
}

.pw-rules li.met {
  color: var(--ok);
}

.pw-rules li.met::before {
  content: "✓";
  color: var(--ok);
}

.pw-rules.show-errors li:not(.met) {
  color: var(--shell-red);
}

.pw-rules.show-errors li:not(.met)::before {
  content: "•";
  color: var(--shell-red);
}

.pw-rules-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--shell-red);
  margin: 4px 0 4px;
}

/* checkboxes */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--shell-red);
  flex: 0 0 auto;
}

.check span {
  font-size: .95rem;
  line-height: 1.35;
}

.link {
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  /*font: inherit;*/
}

.link:hover {
  color: var(--shell-red);
  text-decoration: underline;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  font-size: 1rem;  
  font-family: 'ShellHeavy';
  font-weight: 600;
  cursor: pointer;
  transition: filter .12s ease, opacity .12s ease;
}

.btn:active {
  filter: brightness(.94);
}

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--shell-red);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-danger-outline {
  background: #fff;
  color: var(--shell-red);
  border: 1.5px solid var(--shell-red);
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-row .btn {
  flex: 1;
}

.btn .spin {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn-dark .spin,
.btn-danger-outline .spin {
  border-color: rgba(0, 0, 0, .25);
  border-top-color: var(--ink);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-cta {
  text-align: center;
  margin-top: 16px;
}

/* landing + carousel */
.landing {
  background: var(--shell-yellow);
}

.landing .body {
  background: var(--shell-yellow);
  display: flex;
  flex-direction: column;
}

.brandblock {
  text-align: center;
  padding: 14px 0 18px;

}

.brandblock img {
  width: 100%;
}

@media (min-width:992px) {
  .brandblock img {
    width: 390px;
  }
}

.wordmark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: .3px;
}

.wordmark .plus {
  color: var(--shell-red);
}

.hero-card {
  background: #fff;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  margin: 6px 0 4px;
  flex: 0 0 auto;
  height: 100%;
}

.hero-card .photo {
  /*height: 230px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #FFE680, #FFCD00);
}

.hero-card .photo.illus {
  background: linear-gradient(135deg, #fff, #FFF3C4);
  position: relative;
}

.hero-card img {
  width: 100%;
}

.carousel-headline {
  font-size: 16px;
  font-family: 'ShellHeavy';
  font-weight: 600;
  line-height: 1.3;
  margin: 20px;
  margin-bottom: 10px;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 10px 0 20px;
}

@media (min-width:992px) {
  .dots {
    display: none;
  }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--shell-yellow);
  border: 2px solid #444948;
  cursor: pointer;
}

.dot.on {
  background: #444948;
}

.landing-actions {
  margin-top: auto;
  display: flex;
  /*flex-direction: column;*/
  gap: 12px;
  padding-top: 12px;
}

@media (min-width:992px) {
  .landing-actions {
    margin-top: 50px;
  }
}

/* homepage */
.home-hero {
  background: var(--shell-yellow);
  padding: 8px 20px 26px;
}

.greet {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0 14px;
  text-align: center;
  color: #4A4A4A;
  font-family: 'ShellHeavy';
  font-weight: 600;
}

.points-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
}

@media(min-width:992px) {
  .points-card {
    margin: 0 10vw;
  }
}

.points-card .sub {
  font-size: .8rem;
  color: var(--ink-soft);
}

.points-card .val {
  font-size: 34px;
  font-family: 'ShellHeavy';
  font-weight: 600;
  color: var(--shell-red);
}

.points-card .small {
  font-size: 20px;
  font-family: 'ShellHeavy';
  font-weight: 600;
  color: #4A4A4A;
}

.points-card .emoji {
  position: absolute;
  right: 0;
  top: 0;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  gap: 5px;
}

@media(min-width:992px) {
  .tiles {
    background: transparent;
    gap: 14px;
    padding: 20px;
    grid-template-columns: 1fr 1fr;
    margin: 0 10vw;
  }
}

.tile {
  border: 1px solid #E7E7E7;
  color: var(--ink);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media(min-width:992px) {

  .tile {
    border: 2.5px solid #E7E7E7;
    border-radius: 16px;
  }
}

.tile:active {
  background: #fafafa;
}

.tile .ic img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

@media(min-width:992px) {
  .tile .ic img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-top: 10px;
  }
}

.tile .lbl {
  font-size: 16px;
  font-family: 'ShellHeavy';
  font-weight: 600;
  line-height: 1.25;
}

/* confirmation screens */
.confirm-wrap {
  text-align: center;
  padding-top: 30px;
}

.confirm-wrap .big {
  font-size: 3rem;
  margin-bottom: 14px;
}

/* banners. same look for every error/success message in the app */
.banner {
  border-radius: 12px;
  padding: 13px 15px;
  font-size: .9rem;
  line-height: 1.4;
  margin-bottom: 18px;
  display: none;
  align-items: flex-start;
  gap: 10px;
}

.banner.show {
  display: flex;
}

.banner.err {
  background: #FDECEA;
  color: #9b1c17;
  border: 1px solid #f5c6c2;
}

.banner.ok {
  background: #E7F6EC;
  color: #1b5e2b;
  border: 1px solid #bfe5cb;
}

.banner .x {
  margin-left: auto;
  cursor: pointer;
  opacity: .6;
  font-weight: 700;
  background: none;
  border: 0;
}

.banner ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* sandbox debug strip, hidden by default */
.devbar {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame-w);
  background: #1c1c1f;
  color: #ddd;
  font: 11px/1.4 ui-monospace, Menlo, monospace;
  padding: 6px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 50;
}

.devbar b {
  color: var(--shell-yellow);
}

.devbar button {
  background: #333;
  color: #ddd;
  border: 0;
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer;
  font: inherit;
}

.devbar .tk {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




/* Hamburger */

.menu-toggle {
  width: 40px;
  height: 21px;
  /* margin: 20px 0; */
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  transition: .4s ease;
}

.menu-toggle.active {
  position: fixed;
  left: 220px;
  top: 20px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 4px;
  transition: .3s;
}

/* Animate to X */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Navigation */

.nav-menu {
  /* position: absolute; */
  position: fixed;
  top: 0;
  left: -100%;
  width: 270px;
  height: 100%;
  background: #ffffff;
  transition: .4s ease;
  /* padding-top: 185px; */
  padding-top: 15px;
  box-shadow: 7px 0px 20px 0 #0000001f;
  z-index: 1;
}

.nav-menu.active {
  left: 0;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  padding-left: 10px;
  height: 70vh;
  overflow-y: scroll;
}

.nav-menu ul li {
  margin-bottom: 10px;
}

.nav-menu ul li.logout {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 10px;
}

.nav-menu ul li.logout button {
  background-color: var(--shell-red);
  border: 1px solid var(--shell-red);
  padding: 10px 20px;
  border-radius: 10px;
  color: var(--field-bg);
  justify-content: center;
  transition: .3s;  
  font-family: 'ShellHeavy';
  font-weight: 600;
  font-size: 16px;
  width: 80%;
  margin-left: 20px;
}


.nav-menu ul li.logout button:hover {
  background-color: var(--field-bg);
  color: var(--ink);
  cursor: pointer;
}

.nav-menu ul li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  transition: .3s;
}

.nav-menu ul li a:hover {
  background: var(--shell-yellow);
}

.nav-menu .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu .icon svg,
.nav-menu .icon img {
  width: 22px;
  height: 22px;
  stroke: var(--shell-red);
  transition: 0.3s;
}

.nav-menu ul li a:hover .icon svg,
.nav-menu .icon img {
  transform: scale(1.15);
}

.homeScreen {
  position: relative;
  overflow: hidden;
}


.landingSliderWrap {
  display: block;
}

.deskLanding {
  display: none;
}

.mobLanding {
  display: block;
}

.dashBoardLogo {
  text-align: center;
  justify-self: anchor-center;
}

.dashBoardLogo img {
  margin-bottom: 40px;
}

@media (min-width:992px) {

  .landingSliderWrap {
    display: flex;
    gap: 20px;
  }

  .deskLanding {
    display: block;
  }

  .mobLanding {
    display: none;
  }

  .slide {
    width: 33.33%;
  }
}

/*@media (min-width:576px){*/

/*    .landingSliderWrap{*/
/*        display: flex;*/
/*        gap: 20px;*/
/*    }*/
/*}*/