body.fwc-music-game-auth {
  background: #060180 !important;
  color: #fff;
}

body.fwc-music-game-auth #main-wrapper,
body.fwc-music-game-auth #main,
body.fwc-music-game-auth main {
  background: transparent;
}

body.fwc-music-game-auth #main {
  max-width: none;
  padding: 0;
  width: 100%;
}

body.fwc-music-game-auth .page-title,
body.fwc-music-game-auth h1.title {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.fwc-music-game-auth .messages {
  margin: 1rem auto;
  max-width: 560px;
}

.fwc-auth-page {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 50px 10%;
  width: 100%;
  background-image: url("../images/Patternbg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.fwc-auth-page__frame {
  background: #0018A5;
  border: 8px solid #C1FF02;
  box-sizing: border-box;
  min-height: calc(100vh - 48px);
  padding: 150px 0 100px;
  position: relative;
  border-radius: 28px;
  @media screen and (max-width: 767px) {
    padding: 0;
    border: 5px solid #C1FF02;
    border-radius: 6px;
    height: auto;
    min-height: auto;
  }
}

.fwc-auth-page__inner {
  background: #0018A5;
  border: 5px solid #C1FF02;
  font-family: Moret-Bold, Georgia, "Times New Roman", serif;
  margin: 0 auto;
  max-width: 550px;
  padding: 50px 70px;
  position: relative;
  z-index: 1;
  @media screen and (max-width: 767px) {
    border: none;
  }
}

.fwc-auth-page__frame::before,
.fwc-auth-page__frame::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 130px;
  pointer-events: none;
  position: absolute;
  width: 170px;
  z-index: 1;
  width: 250px;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0px 53.3px 17.77px rgba(0, 0, 0, 0.2));
  animation: 5000ms linear 0s infinite normal none running down-arrow;
}
.fwc-auth-page__frame::before {
  background-image: url("/themes/custom/afr_flyingfish/frontend/images/lemon5.png");
  left: 0;
  bottom: 25%;
}

.fwc-auth-page__frame::after {
  background-image: url("/themes/custom/afr_flyingfish/frontend/images/lemon6.png");
  top: 20%;
  right: 5%;
}

@media screen and (max-width: 768px) {
  .fwc-auth-page__frame::before{
    display: none;
  }
  .fwc-auth-page__frame::after{
    top: 0;
    right: 0;
    width: 150px;
  }
}


.fwc-auth-page__logo {
  @media screen and (min-width: 768px) {
    left: 50%;
    margin: 0;
    position: absolute;
    top: -50px;
    transform: translate(-50%, -50%);
    width: 50%;
    z-index: 3;
  }
  @media screen and (max-width: 767px) {
    width: 75%;
    margin: auto;
  }
}

.fwc-auth-page__logo img {
  display: block;
  height: auto;
  width: 100%;
}

.fwc-auth-page__eyebrow {
  color: #fff;
  font-family: Moret-Bold, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 2rem);
  line-height: 1.3;
  margin:0.75rem 0;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
  text-align: center;
  @media screen and (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.fwc-auth-page__heading {
  color: #C1FF02;
  font-family: Moret-Bold, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1.75rem;
  position: relative;
  z-index: 2;
  text-align: center;
  @media screen and (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.fwc-auth-page form {
  position: relative;
  text-align: left;
  z-index: 2;
}

.fwc-music-game-register-form .form-item,
.fwc-music-game-login-form .form-item {
  margin-bottom: 1.1rem;
}

.fwc-auth-page .mb-3 {
  margin-bottom: 1.1rem !important;
}

.fwc-music-game-register-form label,
.fwc-music-game-login-form label {
  color: #fff;
  display: block;
  font-family: Moret;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.fwc-music-game-register-form label.form-required::after,
.fwc-music-game-login-form label.form-required::after {
  color: #fff;
  content: "*";
  margin-left: 0.15rem;
  background: none;
}

.fwc-music-game-register-form input[type="text"],
.fwc-music-game-register-form input[type="tel"],
.fwc-music-game-register-form input[type="password"],
.fwc-music-game-login-form input[type="text"],
.fwc-music-game-login-form input[type="tel"],
.fwc-music-game-login-form input[type="password"],
.fwc-auth-page .form-control {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  color: #0018A5;
  font-family: Moret;
  font-size: 1rem;
  height: 48px;
  padding: 0 16px;
  width: 100%;
}

.fwc-music-game-register-form input:focus,
.fwc-music-game-login-form input:focus {
  box-shadow: 0 0 0 2px #C1FF02;
  outline: none;
}

.fwc-music-game-register-form .description,
.fwc-music-game-login-form .description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.fwc-auth-page .form-item-terms {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.fwc-auth-page .form-item-terms.form-switch {
  padding-left: 0;
}

.fwc-auth-page .form-item-terms input[type="checkbox"],
.fwc-auth-page .form-item-terms .form-check-input {
  accent-color: #C1FF02;
  flex-shrink: 0;
  float: none;
  height: 18px;
  margin: 0.15rem 0 0;
  width: 18px;
}

.fwc-auth-page .form-item-terms label,
.fwc-auth-page .form-item-terms .form-check-label {
  color: #fff;
  flex: 1;
  font-family: Moret;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  width: calc(100% - 30px);
  padding-left: 25px;
}

.fwc-auth-page .form-item-terms label a,
.fwc-auth-page .form-item-terms .form-check-label a {
  color: #fff;
  text-decoration: underline;
}

.fwc-auth-page .form-actions {
  margin-top: 1.75rem;
  text-align: center;
}

.fwc-auth-page .form-actions .button,
.fwc-auth-page .form-actions input[type="submit"],
.fwc-auth-page .form-actions .btn-primary {
  background: #C1FF02;
  border: 0;
  border-radius: 999px;
  color: #0018A5;
  cursor: pointer;
  display: inline-block;
  font-family: Moret-Bold, Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  min-width: 220px;
  padding: 0.95rem 2.5rem;
  text-transform: none;
}

.fwc-auth-page .form-actions .button:hover,
.fwc-auth-page .form-actions input[type="submit"]:hover,
.fwc-auth-page .form-actions .btn-primary:hover {
  background: #d4ff33;
  color: #0018A5;
}

.fwc-auth-page__switch-link {
  font-family: Moret;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  text-align: center;
}

.fwc-auth-page__switch-link a {
  color: #C1FF02;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .fwc-auth-page__inner {
    padding: 68px 20px 28px;
  }

  .fwc-auth-page__inner::before,
  .fwc-auth-page__inner::after {
    height: 95px;
    width: 120px;
  }

  .fwc-auth-page__inner::before {
    left: -10px;
  }

  .fwc-auth-page__inner::after {
    right: -10px;
  }
}
