
.hidden-checkbox {
    display: none;
}

.avatar-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 4em;
    padding: 0.35em 1.5em 0.2em 1em;
    width: 20%;
}

.sticky-button {
    position: fixed;
    background-color: #c44d4d;
    bottom: 20px;
    left: 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    z-index: 20;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;

    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.sticky-button svg {
    margin: auto;
    fill: #fff;
    width: 56px;
    height: 56px;
    background-color: #c44d4d;
    border-radius: 1000px;
}

.sticky-button a,
.sticky-button label {
    cursor: pointer;
    display: flex;
    align-items: center;

    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.sticky-label{
    margin: 0px !important;
}

.chat-card {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    padding: 10px 12px;
    gap: 10px;
    display: flex;
    border-radius: 50px !important;
    align-items: center;
    font-family: "sans-serif", sans-serif;
}

.sticky-chat {
    position: fixed;
    bottom: 70px;
    left: 20px;
    width: 340px;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 21;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 10px;
}

.sticky-chat a {
    text-decoration: none;
    font-family: "sans-serif", sans-serif;
    color: #505050;
}

.sticky-chat svg {
    width: 35px;
    height: 35px;
}

.sticky-chat .chat-content {
    border-radius: 10px;
    border: 1px solid rgb(0,0,0,0.1);
    background-color: #fff;
    overflow: hidden;
    font-family: "sans-serif", sans-serif;
    font-weight: 400;
    margin: 2px 0px;
}

.sticky-chat .chat-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    overflow: hidden;
}

/* alert out of user timezone */

.sticky-chat .chat-content-alert {
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    font-family: "sans-serif", sans-serif;
    font-weight: 400;
    background: #252525;
}

.sticky-chat .chat-header-alert {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    overflow: hidden;
}
.sticky-chat .chat-header-alert .title {
    padding-left: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: "sans-serif", sans-serif;
    color: #fff;
    text-transform: capitalize;
    line-height: 1.7;
}
.sticky-chat .chat-header-alert .title span {
    font-size: 10px;
    font-weight: 500;
    display: block;
    line-height: 1.58em;
    margin: 0;
    color: #f4f4f4;
    font-family: "Arial", sans-serif;
    line-height: 1.3;
}


.sticky-chat .chat-header .title {
    padding-left: 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: "sans-serif", sans-serif;
    color: #535151;
    text-transform: capitalize;
    line-height: 1.4;
}

.sticky-chat .chat-header .title span {
    font-size: 11px;
    font-weight: 500;
    display: block;
    line-height: 1.58em;
    margin: 0;
    color: #535151;
    font-family: "Arial", sans-serif;
    line-height: 1.3;
}

.sticky-chat .chat-text {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 20px;
    font-size: 12px;
}

.sticky-chat .chat-text span {
    display: inline-block;
    margin-right: auto;
    padding: 10px;
    background-color: #f0f5fb;
    border-radius: 0px 15px 15px;
}

.sticky-chat a {
    font-weight: 500;
}

.sticky-chat .chat-text span:after {
    content: "just now";
    display: inline-block;
    margin-left: 2px;
    font-size: 9px;
    color: #989b9f;
}

.sticky-chat .chat-text span.typing {
    margin: 15px 0 0 auto;
    padding: 10px;
    border-radius: 15px 0px 15px 15px;
}

.sticky-chat .chat-text span.typing:after {
    display: none;
}

.sticky-chat .chat-text span.typing svg {
    height: 13px;
    fill: #505050;
}

.stickychat-textarea {
    width: 100%;
    max-height: 300px;
    margin: 2px 8px;
    padding: 10px;
    border: 1px solid rgb(29, 31, 32, 0.1);
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    font-family: "sans-serif", sans-serif;
    background-color: #fbfbfb;
}

.stickychat-textarea:focus {
    border: 1px solid rgb(29, 31, 32, 0.1);
    outline: none;
}

.stickychatbutton {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.sticky-chat .chat-button {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 12px 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-size: 12px;
    font-family: "sans-serif", sans-serif;
    font-weight: 400;
    border: 1px solid #e5e5e536;
}

.sticky-chat .chat-button svg {
    width: 20px;
    height: 20px;
    fill: #505050;
    margin-left: auto;
    transform: rotate(40deg);
    -webkit-transform: rotate(40deg);
}

img.chat-icon {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    width: 15px;
    height: 15px;
    border-radius: 1000px !important;
    object-fit: cover;
}

.chat-menu:checked + .sticky-button .chat-card img {
    transition-duration: 300ms;
    display: none;
}

.chat-menu:checked + .sticky-button .chat-card svg {
    transition-duration: 300ms;
    display: block;
}

.chat-menu:checked + .sticky-button .chat-card div {
    transition-duration: 300ms;
    display: none;
}

.chat-menu:checked + .sticky-button .chat-card {
    transition-duration: 300ms;
    padding: 0;
}

.chat-menu:checked + .sticky-button + .sticky-chat {
    bottom: 90px;
    opacity: 1;
    visibility: visible;
}

.close-button-img{
    width: 50px;
    height: 50px;

}
.open-button-img{
    width: 42px;
    height: 42px;
}
#avatar-sticky-chat {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: 300ms ease;
    outline: solid 2px white;
}

#avatar-sticky-chat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: inherit;
    user-select: none;
    pointer-events: none;
}

.availability-container-opened-chat {
    position: relative;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    top: 16px;
    outline: 2px solid white;
    margin-left: -8px;
    display: inline;
}

.availability-container-closed-chat {
    position: relative;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    top: 16px;
    outline: 2px solid white;
    margin-left: -18px;
    display: inline;
}

.text-color-avg {
    color: #ffffff9c !important;
}

.message-sent {
    display: none !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    color: #505050;
    text-align: left;
    padding: 26px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #FAFAFA;
    border-radius: 15px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.message-sent span{
    font-size: 16px;
    text-align: center;
    text-transform: capitalize;
}
.message-sent p{
    font-size: 12px;
    text-align: center;
}
.message-sent svg {
    width: 44px;
    height: 44px;
    fill: #c44d4d;
}

