@import 'color';

.request__wrapper {
  margin: -20px;

  .request__header {
    width: 100%;
    height: 150px;
    position: relative;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/$logo-orange+0,20a8d8+100 */
    background: $logo-orange; /* Old browsers */
    background: -moz-linear-gradient(left, $logo-orange 0%, $light-blue 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, $logo-orange 0%, $light-blue 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, $logo-orange 0%, $light-blue 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    .profile-image {
      position: absolute;
      height: 200px;
      width: 200px;
      border-radius: 50%;
      top: 100%;
      left: 50%;
      transform: translate(-50%, -50%);
      overflow: hidden;
      box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);

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

  .request__content {
    margin-top: 120px;
    text-align: center;

    span {
      font-size: 18px;
    }
  }

  .request__message {
    margin-top: 80px;
    text-align: center;

    .request__buttons {
      margin-top: 30px;

      a {
        box-sizing: border-box;
        text-decoration: none;
        outline: none;
        line-height: 1px;
        padding: 10px 25px;
        border-radius: 20px;
        font-weight: bold;
        margin: 0px 10px;
      }

      .decline-btn {
        border: 1px solid $logo-orange;
        color: $logo-orange;
        transition: 0.3s all;
        cursor: pointer;

        &:hover {
          background: $logo-orange;
          color: $white;
        }
      }

      .accept-btn {
        background: $logo-orange;
        border: 1px solid $logo-orange;
        color: $white;
        transition: 0.3s all;
        cursor: pointer;

        &:hover {
          background: darken($logo-orange, 10%);
          border: 1px solid darken($logo-orange, 10%);
        }
      }

    }
  }

  .send__request__message {
    margin-top: 30px;

    input {
      padding: 10px 15px;
      border-radius: 20px;
      outline: none;
      border: 1px solid $logo-orange;
      width: 350px;

      &::placeholder {
        color: $placeholder-color;
      }
    }
  }

  .send-request-btn {
    text-decoration: none;
    line-height: 1px;
    border-radius: 20px;
    background: $logo-orange;
    color: $white;
    padding: 10px 20px;
    transition: 0.3s all;
    font-weight: bold;
    cursor: pointer;

    &:hover {
      background: darken($logo-orange, 10%);
    }
  }
}

.ajax-loading {
    position: inherit !important;
    transform: translate(0,0) !important;
    display: block;
    top: inherit !important;
    left: inherit !important;
}

#loadMoreConversationBtn, #loadMoreArchiverConversationBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    
    a {
        border-radius: 5px;
        box-shadow: 0 3px 15px -10px rgba(0,0,0,0.3);
        transition: 0.3s;
        color: $white;
        background: $logo-orange;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        
        &:hover {
            text-decoration: none;
            letter-spacing: 0.5px;
        }
    }
}
