/* =========================================================
   FOLLOWERS STORE
   CUSTOMER AUTH VIP

   Used by:
   - /account/login
   - /account/register
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.auth-vip-body {
  overflow-x: hidden;

  color: #101827;

  background:
    #07111f;
}


/* =========================================================
   CUSTOMER AUTH BACKGROUND
   ========================================================= */

.auth-vip-body
.customer-auth-page {
  position: relative;

  isolation: isolate;

  display: flex;

  align-items: flex-start;

  justify-content: center;

  min-height:
    calc(100vh - 150px);

  padding:
    72px 20px 88px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 12%,
      rgba(47,111,237,.19),
      transparent 34%
    ),
    radial-gradient(
      circle at 86% 30%,
      rgba(92,65,225,.13),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #06101d,
      #091a31
    );
}


/* Grid texture */

.auth-vip-body
.customer-auth-page::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  pointer-events: none;

  opacity: .38;

  background-image:
    linear-gradient(
      rgba(255,255,255,.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.018) 1px,
      transparent 1px
    );

  background-size:
    48px 48px;
}


/* Glow */

.auth-vip-body
.customer-auth-page::after {
  content: "";

  position: absolute;

  z-index: -1;

  width: 620px;
  height: 620px;

  top: -390px;
  left: 50%;

  transform:
    translateX(-50%);

  pointer-events: none;

  border-radius: 50%;

  background:
    rgba(48,124,255,.16);

  filter:
    blur(25px);
}


/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-vip-body
.customer-auth-card {
  width: 100%;

  max-width: 500px;

  padding:
    34px;

  border:
    1px solid
    rgba(255,255,255,.12);

  border-radius: 25px;

  color: #101827;

  background:
    rgba(255,255,255,.985);

  box-shadow:
    0 30px 90px
    rgba(0,0,0,.28);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);
}


/* =========================================================
   AUTH HEADING
   ========================================================= */

.auth-vip-body
.customer-auth-heading {
  margin-bottom: 27px;
}


.auth-vip-body
.customer-auth-heading
.eyebrow {
  display: inline-flex;

  align-items: center;

  min-height: 27px;

  padding:
    0 10px;

  border:
    1px solid
    rgba(47,111,237,.14);

  border-radius: 999px;

  color: #2f6fed;

  background:
    rgba(47,111,237,.06);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .12em;

  text-transform: uppercase;
}


.auth-vip-body
.customer-auth-heading h1 {
  margin:
    13px 0 10px;

  color: #101827;

  font-size:
    clamp(
      34px,
      6vw,
      45px
    );

  line-height: 1;

  letter-spacing: -.05em;
}


.auth-vip-body
.customer-auth-heading p {
  max-width: 420px;

  margin: 0;

  color: #718096;

  font-size: 13px;

  line-height: 1.65;

  opacity: 1;
}


/* =========================================================
   ERRORS
   ========================================================= */

.auth-vip-body
.customer-auth-error {
  margin-bottom: 20px;

  padding:
    13px 14px;

  border:
    1px solid
    #fecaca;

  border-radius: 11px;

  color: #a72222;

  background:
    #fff4f4;

  font-size: 12px;

  line-height: 1.5;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-vip-body
.customer-auth-form {
  display: grid;

  gap: 16px;
}


.auth-vip-body
.customer-auth-form label {
  display: grid;

  gap: 7px;

  color: #344054;

  font-size: 11px;

  font-weight: 850;
}


.auth-vip-body
.customer-auth-form input {
  width: 100%;

  min-height: 50px;

  box-sizing: border-box;

  padding:
    0 14px;

  border:
    1px solid
    #d8dee8;

  border-radius: 11px;

  outline: none;

  color: #101827;

  background:
    #f8fafc;

  font: inherit;

  font-size: 14px;

  transition:
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}


.auth-vip-body
.customer-auth-form input::placeholder {
  color: #9aa5b5;
}


.auth-vip-body
.customer-auth-form input:focus {
  border-color: #2f6fed;

  background: #fff;

  box-shadow:
    0 0 0 3px
    rgba(47,111,237,.09);
}


/* =========================================================
   SUBMIT
   ========================================================= */

.auth-vip-body
.customer-auth-submit {
  min-height: 53px;

  margin-top: 3px;

  border: 0;

  border-radius: 12px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #2163df,
      #338cff
    );

  box-shadow:
    0 14px 30px
    rgba(47,111,237,.2);

  cursor: pointer;

  font: inherit;

  font-size: 12px;

  font-weight: 900;

  transition:
    transform .15s ease,
    box-shadow .15s ease;
}


.auth-vip-body
.customer-auth-submit:hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 17px 36px
    rgba(47,111,237,.26);
}


.auth-vip-body
.customer-auth-submit:active {
  transform:
    translateY(0);
}


/* =========================================================
   LOGIN / REGISTER SWITCH
   ========================================================= */

.auth-vip-body
.customer-auth-switch {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 5px;

  margin-top: 22px;

  color: #7a8798;

  font-size: 11px;
}


.auth-vip-body
.customer-auth-switch span {
  opacity: 1;
}


.auth-vip-body
.customer-auth-switch a {
  color: #2467e8;

  font-weight: 850;

  text-decoration: none;
}


/* =========================================================
   GUEST CHECKOUT
   ========================================================= */

.auth-vip-body
.customer-auth-guest {
  display: grid;

  gap: 5px;

  margin-top: 22px;

  padding:
    15px;

  border:
    1px solid
    rgba(15,23,42,.07);

  border-radius: 13px;

  color: #101827;

  background:
    #f7f9fc;

  text-align: center;

  font-size: 11px;
}


.auth-vip-body
.customer-auth-guest strong {
  color: #344054;

  font-size: 11px;
}


.auth-vip-body
.customer-auth-guest span {
  color: #7c899a;

  opacity: 1;

  line-height: 1.55;
}


.auth-vip-body
.customer-auth-guest a {
  display: inline-block;

  margin-top: 4px;

  color: #2467e8;

  font-weight: 850;

  text-decoration: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 640px) {

  .auth-vip-body
  .customer-auth-page {
    min-height:
      calc(100vh - 130px);

    padding:
      38px 12px 58px;
  }


  .auth-vip-body
  .customer-auth-card {
    max-width: none;

    padding:
      25px 19px 21px;

    border-radius: 20px;
  }


  .auth-vip-body
  .customer-auth-heading {
    margin-bottom: 22px;
  }


  .auth-vip-body
  .customer-auth-heading h1 {
    margin-top: 11px;

    font-size:
      clamp(
        31px,
        9vw,
        38px
      );
  }


  .auth-vip-body
  .customer-auth-heading p {
    font-size: 12px;
  }


  .auth-vip-body
  .customer-auth-form {
    gap: 14px;
  }


  /*
   * 16px prevents iOS Safari from
   * zooming into focused inputs.
   */

  .auth-vip-body
  .customer-auth-form input {
    min-height: 50px;

    font-size: 16px;
  }


  .auth-vip-body
  .customer-auth-submit {
    min-height: 51px;
  }


  .auth-vip-body
  .customer-auth-switch {
    margin-top: 19px;
  }


  .auth-vip-body
  .customer-auth-guest {
    margin-top: 19px;

    padding:
      14px 12px;
  }

}


/* =========================================================
   SMALL IPHONE
   ========================================================= */

@media screen and (max-width: 390px) {

  .auth-vip-body
  .customer-auth-page {
    padding-left: 10px;
    padding-right: 10px;
  }


  .auth-vip-body
  .customer-auth-card {
    padding:
      22px 16px 19px;
  }


  .auth-vip-body
  .customer-auth-heading h1 {
    font-size: 30px;
  }

}
