/*================================================================
  27. Login / My Account Section
==================================================================*/
.cs_login_section {
  padding: 120px 0;

  @media (max-width:991px) {
    padding: 70px 0;
  }
}

.cs_login_banner {
  position: relative;

  .cs_login_brand {
    width: 100%;
    position: absolute;
    left: 0;
    top: 48px;
  }

  .cs_login_thumb {
    width: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }
}

.cs_login_form_wrap {
  width: min(100%, 536px);
  height: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;

  .cs_login_form {
    display: flex;
    gap: 24px;
    flex-direction: column;
  }

  .cs_login_field {
    padding: 10px 15px;
    background-color: var(--gray2-color);

    .cs_login_label {
      font-size: 14px;
      margin: 0;
    }

    input {
      border: none;
      outline: none;
      background: transparent;
      width: 100%;
      color: var(--primary-color);

      &::placeholder {
        opacity: 0.5;
      }
    }
  }

  .cs_btn_style_1 {

    &::before,
    &::after {
      display: none;
    }

    &:hover {
      background-color: var(--primary-color);
    }
  }

  .cs_login_actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;

    .cs_login_forgot {
      transition: all 0.3s ease;

      &:hover {
        color: var(--accent-color);
        text-decoration: underline;
      }
    }
  }

  .cs_login_divider {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 24px 0;

    &::before,
    &::after {
      content: "";
      flex: 1;
      height: 1px;
      background-color: rgba(134, 148, 167, 0.50);
    }
  }

  .cs_login_social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;

    .cs_btn_style_1 {
      flex: none;

      &::before,
      &::after {
        display: none;
      }

      &:hover {
        background-color: var(--primary-color);
      }
    }
  }

  .cs_login_register {
    text-align: center;
    margin-top: 15px;

    a:hover {
      color: var(--accent-color);
      text-decoration: underline;
    }
  }

  @media (max-width:991px) {
    width: 100%;

    .cs_login_divider,
    .cs_login_register {
      margin: 0;
    }
  }

  @media (max-width:767px) {

    .cs_login_social {
      justify-content: center;

      .cs_btn_style_1 {
        width: 100%;
      }
    }
  }
}
