.wrapper
{
    right: 10px;
    bottom: 10px;
    background: #fff;
    width: 450px;
    border-radius: 16px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1),
                0 32px 64px -48px rgba(0, 0, 0, 0.5);
}

.form
{
    padding: 25px 30px;
}

.form header
{
    font-size: 25px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.form form
{
    margin: 20px 0;
}

.form form .success-list
{
    color: #0f5132;
    background: #d1e7dd;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #f5c6cb;
    display: none;
}

.form form .error-list
{
    color: #721c24;
    background: #f8d7da;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #f5c6cb;
    display: none;
}

.form form .name-details
{
    display: flex;
}

form .name-details .field:first-child
{
    margin-right: 10px;
}

form .name-details .field:last-child
{
    margin-left: 10px;
}

.form form .field
{
    display: flex;
    position: relative;
    flex-direction: column;
    margin-bottom: 10px;
}

.form form .field label
{
    margin-bottom: 2px;
}

.form form .field input
{
    outline: none;
}

.form form .input input
{
    height: 40px;
    width: 100%;
    font-size: 17px;
    padding: 0 10px;
}

.form form .avatar input
{
    font-size: 17px;

}

.form form .button input
{
    margin-top: 13px;
    height: 45px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    background: #000;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;

}

.form form .field .error
{
    display: flex;
    font-size: 10px;
    color: #bf0000;
}

.form form .field i
{
    position: absolute;
    right: 15px;
    color: #ccc;
    top: calc(55%);
    transform: translate(-50%);
    cursor: pointer;
}

.form form .field i.active::before
{
    color: #333;
    content: "\f070";    
}

.form .link
{
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
}

.form .link a
{
    color: #333;
}

.form .link a hover
{
    text-decoration: underline;
}

/** Accounts Area css **/

.accounts
{
    padding: 25px 30px;
}

.accounts header,
.accounts-list a
{
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
}

.wrapper img
{
    object-fit: cover;
    border-radius: 50%;
}

.accounts header .content
{
    display: flex;
}

.accounts header .content img
{
    width: 50px;
    height: 50px;
}

.accounts header .details
{
    margin-left: 15px;
}

.accounts header .details span
{
    font-size: 18px;
    font-weight: 500;
}

.accounts header .details p
{
    font-size: 12px;
}

.accounts header .logout
{
    color: #fff;
    font-size: 17px;
    padding: 7px 15px;
    background: #bf0000;
    border-radius: 5px;
}

.accounts .search
{
    margin: 20px 0;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;    
}

.accounts .search .text
{
    font-size: 14px;
}

.accounts .search input
{
    position: absolute;
    height: 42px;
    width: calc(100% - 50px);
    border: 1px solid #ccc;
    padding: 0 13px;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
    outline: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.accounts .search input.active
{
    opacity: 1;
    pointer-events: auto;
}

.accounts .search button
{
    width: 47px;
    height: 42px;
    border: none;
    outline: none;
    color: #000;
    background: #fff;
    cursor: pointer;
    font-size: 17px;
    border-radius: 0 5px 5px 0;
    transition: all 0.2s ease;
}

.accounts .search button.active
{
    color: #fff;
    background: #000;
}

.accounts .search button.active i::before
{
    content: "\f00d";
}

.accounts-list
{
    max-height: 350px;
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

.accounts-list::-webkit-scrollbar 
{
  display: none;
}

.accounts-list a
{
    margin-bottom: 10px;
    page-break-after: 10px;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    padding-right: 15px;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
}

.accounts-list a:last-child
{
    border: none;
    margin-bottom: 0px;
}

.accounts-list .content
{
    display: flex;
    align-items: center;
}

.accounts-list a .content img
{
    height: 40px;
    width: 40px;
}

.accounts-list .details
{
    color: #000;
    margin-left: 15px;
}

.accounts-list .details span
{
    font-size: 18px;
    font-weight: 500;
}

.accounts-list .details p
{
    font-size: 14px;
    color: #67676a;
}

.accounts-list a .status-dot
{
    font-size: 17px;
}

.accounts-list a .status-dot .offline
{
    font-size: 17px;
    color: #ccc;
}

/** Chat Area **/

.chat-area header
{
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

.chat-area header .back-icon
{
    font-size: 18px;
    color: #333;
}

.chat-area header img
{
    width: 45px;
    height: 45px;
    margin: 0 15px;
}

.chat-area header span
{
    font-size: 17px;
    font-weight: bolder;
}

.chat-box
{
    max-height: 500px;
    overflow: auto; 
    background: #f7f7f7;
    padding: 10px 30px 20px 30px;
    box-shadow: inset 0 32px 32px -32px 0 rgb(0 0 0 /5%),
                inset 0 -32px 32px 32px 0 rgb(0 0 0 /5%);
}

.chat-box::-webkit-scrollbar 
{
  display: none;
}

.chat-box .chat
{
    margin: 15px 0;
}

.chat-box .chat p
{
    word-wrap: break-word;
    padding: 8px 16px;
    box-shadow: 0 0 32px 0 rgb(0 0 0 / 8%),
                0 32px 64px -48px rgba(0 0 0 / 10%);
}

.chat-area header p
{
    font-size: 14px;
}

.chat-box .outgoing
{
    display: flex;
}

.outgoing .details
{
    margin-left: auto;
    width: calc(100% - 130px);
}

.outgoing .details p
{
    background: #333;
    color: #fff;
    border-radius: 18px 18px 0 18px;
}

.chat-box .incoming
{
    display: flex;
    align-items: flex-end;
}

.chat-box .incoming img
{
    height: 35px;
    width: 35px;
}

.incoming .details
{
    margin-left: 10px;
    margin-right: auto;
    max-width: calc(100% - 130px);
}

.incoming .details p 
{
    color: #333;
    background: #fff;
    border-radius: 10px 10px 0 10px;
}

.chat-area .typing-area
{
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
}

.typing-area input
{
    height: 40px;
    width: calc(100% - 50px);
    font-size: 17px;
    border: 1px solid #ccc;
    padding: 0 13px;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.typing-area button
{
    width: 50px;
    border: none;
    outline: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}