/**
 * HomePro CSS stylesheet
 */

* {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
  box-sizing: border-box;
}

::-webkit-input-placeholder {
  color: #aab7c5;
}

:-moz-placeholder {
  color: #aab7c5;
  opacity: 1;
}

::-moz-placeholder {
  color: #aab7c5;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #aab7c5;
}

/* General */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  min-height: 100vh;
  color: #292f45;
  background-color: #f6f9fc;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

header,
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#top,
.annotation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
}

header {
  /* background-image: url('/images/header.jpg');
  background-size: cover;
  background-color: black; */
  width: 100%;
  background: linear-gradient(to bottom, #3c6e97, #3b5998);
  color: #fff;
  padding-left: 20px;
  padding-right: 20px;
}

h1 {
  font-size: 36px;
  font-weight: bold;
}

a {
  color: #fff;
  text-decoration: none;
}

/* a:hover {
  text-decoration: underline;
} */

a.arrow {
  padding-right: 20px;
  background-image: url(/images/arrow-white.svg);
  background-position: right center;
  background-repeat: no-repeat;
}

#content {
  max-width: 800px;
  width: 100%;
  flex: 1;
  margin-bottom: 150px;
  padding-left: 10px;
  padding-right: 10px;
}

#content.dashboard {
  margin-bottom: 250px;
}

/* Header, top bar, navigation */
#top {
  height: 64px;
  line-height: 64px;
  font-size: 17px;
  font-family: 'Overpass';
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#top .logo {
  flex: 1;
}

#top a.homepro {
  display: inline-block;
  height: 20px;
  padding-top: 15px;
  /* background: url(/images/NELOGO.png) left center no-repeat; */
  /* background: url(/images/homepro-logo.svg) left center no-repeat; */
}

#top .links a {
  margin-left: 30px;
  font-size: 14px;
  font-weight: bold;
}

header .button.primary {
  width: 225px;
}

h1.title {
  font-family: 'Overpass';
  font-weight: 500;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 25px;
}

h1.title.short-form {
  margin-bottom: 0;
}

/* Banners */
.banner {
  background: #F8BF25;
  color: white;
  width: 100%;
  min-height: 44px;
  line-height: 44px;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  display: none;
}

.banner.showing {
  display: block;
}

.banner.verify-required {
  background: #f57d7d;
}

.banner.verify-pending {
  background: #F8BF25;
}

.banner.verify-complete {
  background: #15b67c;
}

.message {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

.annotation {
  background: #fff;
  box-shadow: 0 13px 27px -5px rgba(50, 50, 93, 0.25),
    0 8px 16px -8px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto 25px;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: bold;
  line-height: 22px;
}

.annotation h4 {
  color: #525f7f;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 15px;
}

.annotation ol {
  font-weight: 400;
  font-size: 14px;
  color: #525f7f;
  margin-left: 16px;
}

.annotation p {
  font-size: 15px;
  font-weight: 400;
  color: #6a7c94;
}

.annotation.info strong {
  display: block;
}

.annotation a {
  font-weight: 400;
  color: #666ee8;
}

.annotation a.github {
  background-image: url(/images/arrow-purple.svg);
}

.annotation a.stripe {
  flex: 0 0 53px;
  margin-right: 10px;
  background: url(/images/stripe.svg) center center no-repeat;
  text-indent: -9999px;
}

.annotation.card {
  position: absolute;
  left: 25px;
  bottom: 25px;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 20px;
  max-width: 500px;
  animation: slide-in-vertical 0.4s cubic-bezier(0.23, 1, 0.32, 1) both 0.2s;
}

.annotation.card p {
  color: #51586d;
  font-size: 14px;
}

.annotation.card p+p {
  margin-top: 10px;
}

.annotation.card form {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 0;
}

.annotation.card form p {
  display: inline-block;
}


.annotation.card form.right {
  text-align: right;
}

.annotation.card input[type='submit'],
.annotation.card button {
  margin: 0;
  width: auto;
  display: inline-block;
  margin-right: 10px;
}

.annotation.card input[type='submit'].primary-action,
.annotation.card button.primary-action {
  background: #556cd6;
  color: #fff;
}

.annotation.card input[type='submit'].primary-action:disabled,
.annotation.card button.primary-action:disabled {
  background: #e6ebf1;
  color: #aab7c4;
  cursor: default;
}

.annotation.card.hidden {
  display: none;
}

.annotation a.show-more {
  display: none;
  text-decoration: none;
}

.annotation a.show-more.expanded {
  display: none;
}

/* Forms */
.form {
  width: 540px;
  margin: 15px auto;
}

.form.login,
.form.signup {
  min-height: 225px;
}

.signup-form section {
  padding: 30px 10px;
}

.form .skip-verification {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #525f7f;
  line-height: 1.5;
  text-align: center;
  animation: slide-in-vertical 0.5s cubic-bezier(0.23, 1, 0.32, 1) both 0.6s;
}

.form h2 {
  margin: 30px 0 15px;
  font-size: 19px;
  font-weight: 500;
  color: #32315e;
  text-align: center;
}

.form p {
  margin: 0 0 30px;
  font-size: 17px;
  color: #525f7f;
  line-height: 1.5;
  text-align: center;
}

.form p.error {
  color: #fc7455;
}

.form h4 {
  margin: 15px 0;
  color: #8798ab;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


.form input[type='submit'],
.form button,
.form a.button {
  text-align: center;
}

.form label {
  display: block;
  width: 100%;
  margin-top: 10px;
  line-height: 20px;
  font-size: 13px;
  color: #8798ab;
  padding: 0 30px;
}

.options label {
  padding: 0 40px;
}

.options strong {
  display: inline-block;
  margin-left: 5px;
}

.options span {
  display: block;
  margin-left: 20px;
}

form {
  position: relative;
  width: 100%;
  font-size: 15px;
}

form aside {
  margin: -30px auto 0;
  line-height: 1.3em;
  font-size: 13px;
  text-align: right;
  color: #8798ab;
}

fieldset {
  position: relative;
  min-width: 0;
  margin-bottom: 40px;
  border-style: none;
  background-color: #fff;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

fieldset .row {
  display: flex;
  align-items: flex-end;
  position: relative;
  width: 100%;
  padding: 12px 20px 13px;
}

fieldset .row:not(.hidden)~.row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

fieldset .row::before {
  content: attr(label);
  width: 130px;
  padding-right: 20px;
  color: #8798ab;
  font-weight: 500;
  text-align: right;
}

fieldset .row.select::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 5px;
  right: 20px;
  top: 50%;
  margin-top: -2px;
  background-image: url(/images/dropdown.svg);
  pointer-events: none;
}

fieldset .row input {
  flex: 1;
  border-style: none;
  font-size: 15px;
  outline: none;
  color: #313b3f;
}

fieldset .row select {
  flex: 1;
  padding-right: 25px;
  border-style: none;
  outline: none;
  -webkit-appearance: none;
  font-size: 15px;
  outline: none;
  color: #313b3f;
  cursor: pointer;
  background: transparent;
}

fieldset .row select:focus {
  color: #F8BF25;
}

fieldset .row.date span {
  padding-right: 10px;
  color: #aab7c5;
  font-weight: 500;
}

fieldset .row.date input {
  flex: 0;
  min-width: 35px;
}

fieldset .row.date input:last-child {
  flex: 1;
}

input[type='submit'],
button,
a.button {
  display: block;
  width: 100%;
  margin: 20px 0;
  padding: 8px 20px;
  border-style: none;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 5px -1px rgba(50, 50, 93, 0.25),
    0 1px 3px -1px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-weight: 500;
  color: #51586d;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
}

input[type='submit']:hover,
button:hover,
a.button:hover {
  color: #2a2f45;
  text-decoration: none;
  outline: 0;
}

input[type='submit']:active,
button:active,
a.button:active {
  outline: 0;
}

.button.primary,
button.primary,
input[type='submit'].primary {
  font-family: 'Overpass';
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #F8BF25;
  color: white;
  height: 44px;
  margin: 30px 0 0 0;
  padding: 0 22px;
  line-height: 44px;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.button.primary:hover,
button.primary:hover,
input[type='submit'].primary:hover {
  color: white;
}

button.primary:disabled,
.button.primary:disabled,
input[type='submit'].primary-action:disabled,
input[type='submit'].primary:disabled {
  background: #e6ebf1;
  color: #aab7c4;
  cursor: default;
}

input[type='submit'].secondary {
  color: #313b3f;
  background: #fff;
}

input[type='submit'].secondary:active {
  background: #f5f6f7;
}

button:hover,
a.button:hover {
  text-decoration: none;
}

header button,
header a.button,
header input[type='submit'] {
  margin: 15px 0 0;
  padding: 0 16px;
  height: 36px;
  line-height: 36px;
  text-align: center;
}

form a.button {
  text-align: center;
}

/* Stripe information */
.stripe-information {
  margin-bottom: 35px;
  border: 2px solid #e6ebf1;
  border-radius: 5px;
  padding: 20px 135px 20px 25px;
  background: url(/images/stripe-grey.svg) right 25px center no-repeat;
  background-size: 80px auto;
}

.stripe-information p {
  color: #525f7f;
  font-size: 14px;
  text-align: left;
  margin: 0;
}

/* Illustration */
.illustration,
.illustration .homepro {
  width: 170px;
  height: 170px;
}

.illustration {
  background: #fff;
  border-radius: 85px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
}

.illustration .homepro {
  background: url(/images/homeprorides-illustration.svg) center center no-repeat;
  background-size: 120px 120px;
  transform: rotate(5deg);
}

.illustration.not-found {
  margin: 50px auto;
}

.illustration.not-found .homepro {
  transform: rotate(120deg);
}

/* Home */
.intro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
  padding: 60px 0 80px;
}

.intro .users {
  flex-direction: column;
}

.intro h1 {
  font-family: 'Overpass';
  font-weight: 500;
  font-size: 42px;
  line-height: 45px;
  letter-spacing: 0.01em;
}

.intro h2 {
  color: #cfd7df;
  margin: 15px 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.features {
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.features section {
  flex: 1;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 90px 0 0;
  margin: 25px 40px 0 0;
  background-position: 0 20px;
  background-repeat: no-repeat;
}

/* .features section.schedule {
  background-image: url(/images/feature-schedule.svg);
}

.features section.earnings {
  background-image: url(/images/feature-earnings.svg);
}

.features section.app {
  background-image: url(/images/feature-app.svg);
} */

.features section:last-child {
  margin-right: 0;
}

.features h3 {
  font-family: 'Overpass';
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  color: #32315e;
  letter-spacing: 0.01em;
}

.features p {
  font-size: 16px;
  line-height: 24px;
  color: #525f7f;
}

/* User information */
.user {
  display: flex;
  width: 100%;
  max-width: 800px;
  padding: 40px 0;
}

.user .block {
  position: relative;
  color: #292f45;
}

.user .block+.block {
  margin-left: 40px;
}

.user .block h1 {
  font-size: 24px;
  font-weight: 400;
}

.user .block h2 {
  color: #8898aa;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

.user .block p {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  color: #292f45;
}

.user .block a {
  color: #219f72;
}

.user .block.profile {
  flex: 1;
  padding-left: 65px;
}

.user .block.profile .photo {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 0;
  border-radius: 50%;
  /* background-image: url(/images/avatar-large.svg); */
  box-shadow: 0 2px 5px -1px rgba(50, 50, 93, 0.25),
    0 1px 3px -1px rgba(0, 0, 0, 0.3);
}

.user .block.stripe input[type='submit'] {
  font-size: 16px;
  font-weight: 500;
  text-transform: unset;
  letter-spacing: 0;
  height: 43px;
  margin: 30px 0 0 0;
  margin: 2px 0 14px;
  min-width: 150px;
  text-align: center;
}

.user .block.stripe p {
  text-align: center;
}

/* User onboarding options */
.user-options {
  margin: 0 0 35px;
}

.form label.user-option {
  width: auto;
  padding: 0;
  cursor: pointer;
  text-align: left;
  margin: 17px 0;
}

.user-option input {
  display: none;
  height: 0;
  width: 0;
  appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
}

.user-option input+span {
  display: flex;
  position: relative;
  align-items: center;
  color: #525f7f;
  font-size: 15px;
  font-weight: 500;
  padding-left: 10px;
}

.user-option input+span:before {
  content: '';
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  left: -10px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
}

.user-option input:checked+span:after {
  content: '';
  display: flex;
  position: absolute;
  top: 5px;
  right: calc(100% - 15px);
  width: 10px;
  height: 10px;
  background: #F8BF25;
  border-radius: 10px;
}

.row.user-info.hidden {
  display: none;
}

/* Subscription Options */
.subscriptions {
  width: 100%;
  margin: 40px 0px;
  align-items: flex-start;
}

.subscriptions h4 {
  color: #292f45;
  font-weight: 500;
}

.subscriptions .subtext {
  color: #525f7f;
  font-weight: 300;
  font-size: 10px;
}

.subscriptions .button {
  text-align: center;
  font-size: 12px;
  max-width: 50%;
  max-height: 35px;
  line-height: 35px;
}

/* Ride history */
.rides {
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}

.rides h4 {
  margin-bottom: 14px;
  color: #292f45;
  font-weight: 500;
}

.rides .no-rides {
  width: 100%;
  min-height: 250px;
  background: #edf3f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rides .no-rides .homepro {
  width: 52px;
  height: 52px;
  background-image: url(/images/homepro.svg);
}

.rides .no-rides h1 {
  color: #525f7f;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

.rides .no-rides h2 {
  color: #8898aa;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.rides .list {
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

.rides .list .row {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.rides .list .row+.row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.rides .list .cell {
  flex: 1;
  position: relative;
  padding: 15px 20px;
  color: #82909b;
  font-size: 15px;
}

.rides .list .cell.name {
  flex: 2;
  padding-left: 60px;
  color: #313b3f;
  font-weight: 500;
}

.rides .list .cell.name::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  left: 20px;
  top: 50%;
  margin-top: -12px;
  border-radius: 50%;
  /* background-image: url(/images/avatar-small.svg); */
  box-shadow: 0 2px 5px -1px rgba(50, 50, 93, 0.25),
    0 1px 3px -1px rgba(0, 0, 0, 0.3);
}

.rides .list .cell.date {
  flex: 1.5;
}

.rides .list .cell.price {
  flex: 1;
  font-weight: 500;
  text-align: right;
}

/* Media queries */
@media screen and (max-width: 500px) {

  /* Intro section */

  #top {
    font-size: 15px;
    padding: 15px;
    height: auto;
    display: flex;
    justify-content: space-between; /* keeps them left/right on same line */
    align-items: center;
    flex-wrap: nowrap; /* 👈 prevent wrapping */
    line-height: 1.2;
  }

  #top .logo {
    margin: 0;
  }

  #top .logo a.mark {
    min-width: 35px;
    width: 35px;
    padding-left: 35px;
  }

  #top .links {
    margin: 0;
  }

  #top .links a:first-child {
    margin-left: 0;
  }

  h1 {
    font-size: 28px;
  }

  h1.title {
    margin-top: 0;
  }

  .intro {
    padding: 10px 20px 35px 20px;
    background: none;
  }

  .intro .illustration {
    display: none;
  }

  .intro h1 {
    font-size: 34px;
  }

  .intro h2 {
    font-size: 20px;
  }

  .title {
    margin: 25px 15px;
  }

  footer {
    padding: 10px;
  }

  #content {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
  }

  /* Landing page */
  .features {
    flex-direction: column;
    margin-bottom: 100px;
  }

  .features h3 {
    font-size: 17px;
  }

  .features section {
    margin: 0 0 30px;
    background-position: 0 top;
    padding: 0 0 0 60px;
    background-size: 40px auto;
  }

  /* Forms */
  form {
    margin-top: 0;
  }

  form.payout {
    margin-top: 35px;
  }

  fieldset .row {
    padding: 12px 5px 13px;
  }

  fieldset .row::before {
    width: 110px;
  }

  .form.profile fieldset .row::before {
    width: 100px;
  }

  .form {
    width: 100%;
    margin: 15px 0;
  }

  .form label {
    padding: 0;
  }

  .form .checkmark {
    width: 66px;
    height: 66px;
    background-size: 44px 30px;
  }

  .options span {
    display: none;
  }

  .form.login,
  .form.account {
    min-height: 210px;
  }

  .stripe-information {
    background: none;
    padding: 20px;
  }

  /* Annotation */
  .annotation,
  .annotation.card {
    position: absolute;
    max-width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 17px 15px;
    border-radius: 0;
    box-shadow: 0 13px 27px 2px rgba(50, 50, 93, 0.2), 0 8px 16px 7px rgba(0, 0, 0, 0.15);
  }

  .annotation.intro {
    margin: 10px auto;
  }

  .annotation.landing {
    flex-flow: row wrap;
  }

  .annotation.landing p {
    order: 1;
    margin-top: 10px;
  }

  .annotation.info {
    display: none;
  }

  .annotation a.show-more {
    display: inline;
  }

  .annotation.card h4 {
    margin-bottom: 0;
  }

  .annotation.card .description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
  }

  .annotation.card .description.expanded {
    max-height: 500px;
    margin-top: 10px;
  }

  .annotation.card ol {
    margin-left: 0;
    padding-left: 20px;
  }

  .annotation.card input[type='submit']:first-child {
    margin-bottom: 5px;
  }

  .annotation.card input[type='submit'],
  .annotation.card button {
    padding: 8px 14px;
  }

  /* Dashboard */
  #content .dashboard {
    padding-bottom: 120px;
  }

  .rides {
    margin: 0 0 15px;
  }

  .user {
    flex-flow: row wrap;
    padding-top: 0;
    padding-bottom: 35px;
  }

  .user .block.profile {
    padding: 0;
    flex-basis: 100%;
    margin-bottom: 25px;
  }

  .user .block .photo {
    display: none;
  }

  .user .block {
    flex: 1;
    min-width: 50px;
    margin: 0 0 20px;
  }

  .user .block h1 {
    font-size: 26px;
  }

  .user .block h2 {
    font-size: 15px;
  }

  .user .block p {
    font-size: 15px;
  }

  .user .block.stripe {
    flex-basis: 100%;
    margin-top: 20px;
  }

  .user .block.stripe input[type='submit'] {
    margin: 10px 0;
  }

  .user .block+.block {
    margin: 0;
  }

  .rides .list .cell.name {
    flex: 1;
    padding-right: 5px;
    padding-left: 15px;
  }

  .rides .list .cell.name::before {
    display: none;
  }

  .rides .list .cell.date {
    padding: 10px 5px;
  }

  .rides .list .cell.price {
    flex: 0.6;
    padding-left: 5px;
  }
}

/* CSS Animations */
@keyframes slide-in-horizontal {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: none;
  }
}

@keyframes slide-in-vertical {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: none;
    opacity: 1;
  }
}



.highlight-list {
  margin: 0 auto;
}

.highlight-list ol {
  counter-reset: li;
  list-style: none;
  /* *list-style: decimal; */
  font-family: 'Overpass';
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.highlight-list ol ol {
  margin: 0 0 0 2em;
}

.highlight-list a {
  position: relative;
  display: block;
  padding: .4em .4em .4em 2em;
  /* padding: .4em; */
  margin: .5em 0;
  /* background: #93C775; */
  background: #F8BF25;
  color: #FFF;
  text-decoration: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  transition: all .2s ease-in-out;

}

.highlight-list a:hover {
  background: #d6d4d4;
  text-decoration: none;
  transform: scale(1.1);
}

.highlight-list a:before {
  /* content: counter(li);
  counter-increment: li; */
  content: '✔';
  position: absolute;
  left: -1.3em;
  top: 50%;
  margin-top: -1.3em;
  background: #F8BF25;
  height: 2em;
  width: 2em;
  line-height: 2em;
  border: .3em solid #fff;
  text-align: center;
  font-weight: bold;
  -moz-border-radius: 2em;
  -webkit-border-radius: 2em;
  border-radius: 2em;
  color: #FFF;
}

/* STRIPE STUFF */
div#card-element {
  padding: 0px;
}


/* FOOTER STYLES */
.footer-links {
  text-align: center;
  padding: 20px 0 0;
  margin-top: 40px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #999;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.footer-links li {
  display: inline-block;
  margin: 0 10px;
  margin-bottom: 12px; /* optional spacing */
}

.footer-links a {
  color: #3b5998;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* space for underline */
}

/* Animated underline */
.footer-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px; /* thickness of underline */
  background-color: #ffbb1a; /* matches text color */
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Hover effect */
.footer-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.footer-links p {
  margin-top: 5px;
  font-size: 12px;
  color: #aaa;
}


/* --- FAQ PAGE STYLES --- */
.faq-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}
.faq-container h1 {
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 40px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: #f5f5f5;
}
.faq-answer {
  display: none;
  padding: 0 24px 24px 24px;
  line-height: 1.6;
  color: #555;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
.faq-item.active .faq-question {
  background: #f9f9f9;
}
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* FAQ Intro - Hero Layout */
.faq-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  flex-wrap: wrap;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
}

.faq-intro-image {
  flex: 1 1 40%;
  text-align: center;
}

.faq-intro-img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.faq-intro-text {
  flex: 1 1 50%;
  text-align: left;
}

.faq-intro-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.faq-intro-sub {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .faq-intro {
    flex-direction: column;
    text-align: center;
  }

  .faq-intro-text {
    text-align: center;
  }

  .faq-intro-img {
    max-width: 260px;
    margin-bottom: 1rem;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Login spinner */
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ff7a00; /* HomePro orange */
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Disabled button visual */
input[type='submit'][disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-message {
  background-color: #ffe8e6;
  border: 1px solid #ff7a00; /* HomePro orange accent */
  border-radius: 6px;
  color: #c62828;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

#login-btn {
  transition: opacity 0.2s ease-out;
}

form.loading #login-btn {
  opacity: 0;
}