.modal-component__login {
  .v--modal {
    background-color: #f4f5f7;
    border-radius: 8px;
  }
  .v--modal-box {
    overflow: visible !important;
  }
}
.v--modal-overlay {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.form-group {
  // border: 1px solid #ebebeb;
  position: relative;
  border-radius: 4px;
  .ed-modal-login__input {
    font-family: $font-third;
    font-weight: 500;
    border-radius: 4px;
    border: 0;
    background: #fff;
    padding: 0.8rem 0.5rem 0.8rem 2.5rem;
    width: 100%;
    transition: background-color 0.2s ease-in;
    box-shadow: 0 1px 3px rgba(50, 50, 93, 0.15), 0 1px 0 rgba(0, 0, 0, 0.02);
    &:focus {
      ~ .ed-modal-login__icon {
        color: #8898aa;
      }
    }
    &.password {
      padding: 0.8rem 2.5rem 0.8rem 2.5rem;
    }
  }
  .ed-modal-login__icon {
    width: 15px;
    height: 15px;
    // left: 0;
    margin: 0.5em;
    position: absolute;
    top: 6px;
    color: #adb5bd;
    transition: color 0.3s ease-in;
    &.normal {
      left: 0px;
    }
    &.password {
      right: 8px;
      cursor: pointer;
      transition: color 0.3s ease;
      &:hover {
        color: #1976d2;
      }
    }
  }
}

.ed-modal-login {
  position: relative;
  font-family: 'Quicksand', sans-serif;
  background-color: #f4f5f7;
  width: 400px;
  // margin: 20% auto;
  // margin: 10% 0;
  padding: 3rem 2rem;
  border-radius: 20px;
  &__close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    border-radius: 8px;
    padding: 0.3rem;
    border: 0;
    background-image: linear-gradient(30deg, red, #b9275d);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
  }
  &__icon-close {
    width: 20px;
    height: 20px;
    stroke-width: 4;
    color: white;
  }
  &__title {
    text-align: center;
    margin-bottom: 1rem;
    color: #8898aa;
    font-weight: 500;
  }
  &__form {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  &__button {
    // outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 1rem;
    margin-left: 0.5rem;
    flex-grow: 1;
    border-radius: 6px;
    border: 0;
    background-color: white;
    transition: box-shadow 0.3s ease, transform 0.3s ease-in-out;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    &.mr-0 {
      margin-left: 0;
      padding: 0.8rem 0;
    }
    &.default {
      background-color: #14a0e3;
      color: white;
      font-size: 1rem;
      box-shadow: 0 2px 6px rgba(#14a0e3, 0.3);
      &:hover {
        box-shadow: 0 2px 6px rgba(#14a0e3, 0.5);
      }
    }
    &:hover {
      box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
      transform: translateY(-1px);
    }
    &.facebook {
      color: #1976d2;
      // &:hover {
      //   box-shadow: 0 0px 0px 2px rgba(#1976d2, 1);
      // }
    }
    &.google {
      color: #f14336;
      // &:hover {
      //   box-shadow: 0 0px 0px 2px rgba(#f14336, 1);
      // }
    }
    &.github {
      color: #5c6bc0;
      // &:hover {
      //   box-shadow: 0 0px 0px 2px rgba(#5c6bc0, 1);
      // }
    }
    &:first-child {
      margin-left: 0;
    }

    img {
      width: 22px;
      height: 22px;
      margin-right: 8px;
    }
  }
  &__separator {
    text-align: center;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
    font-size: 13px;
  }
  &__grid-buttons {
    display: flex;
    margin-top: 1rem;
  }
  .vs-input {
    width: 100%;
    height: 38px;
    border-radius: 4px;

    font-weight: 500;
  }
}
@media (max-width: 756px) {
  .ed-modal-login {
    &__close {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
    }
    &__icon-close {
      stroke-width: 3;
    }
    &__button {
      margin: 0;
      margin-bottom: 1rem;
      &.mr-0 {
        margin-bottom: 0;
      }
    }
    &__grid-buttons {
      flex-direction: column;
    }
  }
}
