.login-area {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../img/login/login-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  &.registration-area {
    background-image: url(../img/login/reginstration-bg.png);
  }
  .bg-shapes {
    img {
      position: absolute;
      z-index: -1;
      &:nth-child(1) {
        top: 23px;
        left: 23px;
      }
      &:nth-child(2) {
        bottom: 0;
        right: 0;
      }
    }
  }
}

.login-wrapper {
  max-width: 1170px;
  width: 100%;
  display: flex;
  @include glass-panel;
  min-height: 880px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  .login-left {
    width: 50%;
    padding: 60px 43px;
    background-color: rgba(255, 255, 255, 0.4);
    border-right: var(--glass-border);
    .title {
      font-size: 40px;
      font-weight: 700;
      line-height: 52px;
      color: $black_900;
    }
    .subtitle {
      font-size: 18px;
      font-weight: 400;
      line-height: 28.8px;
      color: $black_750;
    }
    .logo {
      margin-bottom: 30px;
      display: block;
    }
    .social-links {
      display: flex;
      gap: 16px;
      margin-top: 40px;
      a {
        height: 48px;
        border-radius: 9px;
        background-color: #fff;
        display: block;
        border: 1.1px solid #d0d5dd;
        box-shadow: 0 1.1px 2.2px 0 #1018280d;
        text-align: center;
        line-height: 43px;
        flex: 1;
        transition: all 0.3s ease-in-out;
        &:hover {
          background: #f5f5f5;
        }
      }
    }
    .divider {
      text-align: center;
      position: relative;
      z-index: 1;
      margin: 19px 0;
      span {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 400;
        line-height: 22.4px;
        letter-spacing: 0.10000000149011612px;
        padding: 0 5px;
        background-color: #f9f9f9;
        position: relative;
        z-index: 1;
      }
      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 1px;
        width: 100%;
        background-color: #bac4cd;
        z-index: -1;
      }
    }
    .input-field {
      margin-bottom: 15px;
    }
    .pass-field {
      position: relative;
      .icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #7e8695;
        cursor: pointer;
      }
      .form-control {
        padding-right: 26px;
      }
    }
    .form-control {
      border-radius: 8px;
      height: 58px;
      padding: 16px;
      background-color: #fff;
      border: 1px solid #e0e2e6;
      font-size: 16px;
      font-weight: 400;
      line-height: 26px;
      color: #7e8695;
      &:focus {
        border-color: $black_400;
        box-shadow: none;
      }
      &::placeholder {
        color: #7e8695;
      }
    }
    .theme-btn {
      padding: 12px;
      border-radius: 8px;
      font-size: 20px;
      font-weight: 600;
    }
    .forget-password {
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
      color: $black_600;
    }
    .form-check-input {
      border-color: $black_600;
      cursor: pointer;
      &:focus {
        box-shadow: none;
        border-color: $black_600;
      }
      &:checked[type="checkbox"] {
        background-color: #2f3337;
        border-color: #2f3337;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
      }
    }
    .form-check-label {
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
      color: #636a79;
      a {
        color: $brand_color;
      }
    }

    .new-user {
      font-size: 18px;
      font-weight: 400;
      line-height: 28.8px;
      color: #7e8695;
      margin-top: 16px;
      text-align: center;
      a {
        font-size: 18px;
        font-weight: 600;
        line-height: 28.8px;
        color: $brand_color;
      }
    }
  }
  .login-right {
    width: 50%;
    img {
      max-width: 100%;
    }
  }
}

.signup-modal,
.login-modal {
  .modal-dialog {
    max-width: 1170px;
  }
  .login-wrapper {
    flex-direction: row;
    background-color: transparent;
  }
}
