header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 19;
  height: 60px;
  background: #24292f;
  color: #d7d7d7;

  nav {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    align-items: center;
    height: 100%;

    .start {
      display: flex;
      align-items: center;

      svg {
        cursor: pointer;
        width: 28px;
      }

      span {
        cursor: pointer;
        padding-left: 10px;
        font-size: 20px;
        font-family: "bs";
      }
    }

    .middle {
      display: flex;
      align-items: center;

      > span {
        color: #d7d7d7;
        text-decoration: none;
        cursor: pointer;
        margin-right: 30px;

        &:hover {
          color: #fff;
        }

        &.arco-input-inner-wrapper {
          border: 0;
        }
      }
    }

    .end {
      text-align: right;

      span {
        cursor: pointer;
        margin-left: 32px;

        &:hover {
          color: #fff;
        }
      }
    }
  }
}

.arco-modal {
  background: transparent;
  .arco-modal-content {
    padding: 0;
  }
}

.form-structor {
  height: 550px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.8;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 500px;
    background-image: url("/bg2.avif");
  }

  .login-sms {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    z-index: 5;
    transition: all 0.3s ease;

    &.slide-up {
      top: 5%;
      transform: translate(-50%, 0%);
      transition: all 0.3s ease;
    }

    &.slide-up .form-holder,
    &.slide-up .submit-btn {
      opacity: 0;
      visibility: hidden;
    }

    &.slide-up .form-title {
      font-size: 1em;
      cursor: pointer;
    }

    &.slide-up .form-title span {
      margin-right: 5px;
      opacity: 1;
      visibility: visible;
      transition: all 0.3s ease;
    }

    .form-title {
      color: #fff;
      font-size: 22px;
      text-align: center;
      font-weight: 400;

      span {
        color: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }
    }

    .sms-group {
      display: flex;
      align-items: center;
      button {
        height: 48px;
      }
    }

    .form-holder {
      border-radius: 6px;
      background-color: #fff;
      overflow: hidden;
      margin-top: 50px;
      opacity: 1;
      visibility: visible;
      transition: all 0.3s ease;

      .input {
        border: 0;
        outline: none;
        box-shadow: none;
        display: block;
        height: 48px;
        line-height: 48px;
        padding: 4px 15px;
        border-bottom: 1px solid #eee;
        width: 100%;
        font-size: 14px;

        &:last-child {
          border-bottom: 0;
        }
        &::input-placeholder {
          color: rgba(0, 0, 0, 0.4);
        }
      }
    }

    .submit-btn {
      background-color: rgba(0, 0, 0, 0.4);
      color: #fff;
      border: 0;
      border-radius: 6px;
      margin: 15px auto;
      padding: 15px 45px;
      width: 100%;
      cursor: pointer;
      letter-spacing: 10px;
      transition: all 0.3s ease;

      &:hover {
        transition: all 0.3s ease;
        background-color: rgba(0, 0, 0, 0.6);
      }
    }
  }

  .login-pass {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 5;
    transition: all 0.3s ease;

    &::before {
      content: "";
      position: absolute;
      left: 50%;
      top: -20px;
      transform: translate(-50%, 0);
      background-color: #fff;
      width: 200%;
      height: 250px;
      border-radius: 50%;
      z-index: 4;
      transition: all 0.3s ease;
    }

    .center {
      position: absolute;
      top: calc(50% - 10%);
      left: 50%;
      transform: translate(-50%, -50%);
      width: 65%;
      z-index: 5;
      transition: all 0.3s ease;

      .form-title {
        color: #000;
        font-weight: 400;
        font-size: 1.7em;
        text-align: center;

        span {
          color: rgba(0, 0, 0, 0.4);
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
        }
      }

      .form-holder {
        border-radius: 8px;
        background-color: #fff;
        border: 1px solid #eee;
        overflow: hidden;
        margin-top: 50px;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;

        .input {
          border: 0;
          outline: none;
          box-shadow: none;
          display: block;
          height: 48px;
          line-height: 48px;
          padding: 4px 15px;
          border-bottom: 1px solid #eee;
          width: 100%;
          font-size: 14px;

          &:last-child {
            border-bottom: 0;
          }
          &::input-placeholder {
            color: rgba(0, 0, 0, 0.4);
          }
        }
      }

      .submit-btn {
        background-color: rgb(107, 146, 164);
        color: #fff;
        border: 0;
        border-radius: 6px;
        margin: 15px auto;
        padding: 15px 45px;
        width: 100%;
        letter-spacing: 10px;
        cursor: pointer;
        opacity: 1;
        transition: all 0.3s ease;

        &:hover {
          transition: all 0.3s ease;
          background-color: rgba(107, 146, 164, 0.8);
        }
      }
    }

    &.slide-up {
      top: 90%;
      transition: all 0.3s ease;
    }

    &.slide-up .center {
      top: 10%;
      transform: translate(-50%, 0%);
      transition: all 0.3s ease;
    }

    &.slide-up .form-holder,
    &.slide-up .submit-btn {
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    &.slide-up .form-title {
      font-size: 1em;
      margin: 0;
      padding: 0;
      cursor: pointer;
    }

    &.slide-up .form-title span {
      margin-right: 5px;
      opacity: 1;
      visibility: visible;
      transition: all 0.3s ease;
    }
  }
}
