﻿.drawer {
    display: none;
}

.drawer__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
    will-change: opacity;
    background-color: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.drawer__header {
    
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.drawer__close {
    
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='15px' height='16px' viewBox='0 0 15 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='2.-Menu' transform='translate(-15.000000, -13.000000)' stroke='%23000000'%3E%3Cg id='Group' transform='translate(15.000000, 13.521000)'%3E%3Cpath d='M0,0.479000129 L15,14.2971819' id='Path-3'%3E%3C/path%3E%3Cpath d='M0,14.7761821 L15,-1.24344979e-14' id='Path-3'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.drawer__wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    z-index: 99999999999999;
    overflow: auto;
    transition: transform 0.3s;
    will-change: transform;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    -webkit-transform: translate3d(103%, 0, 0);
    transform: translate3d(103%, 0, 0); 

    -webkit-overflow-scrolling: touch; 
    
    box-shadow: 0 2px 6px #777;
}

.drawer__content {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    flex-grow: 1;
    width: 100%;
}

.drawer--left .drawer__wrapper {
    left: 0;
    right: auto;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.drawer.is-active {
    display: block;
}

.drawer.is-visible .drawer__wrapper {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.drawer.is-visible .drawer__overlay {
    opacity: 0.5;
}





.floatingchat-container-wrap {
    display: none !important;
}



.drawer-content {
    height: 100%;
    overflow-y: auto;
}

.drawer-content .profile-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    overflow: hidden;
    transition: all .3s ease;
    overflow-y: auto;
}

    .drawer-content .profile-card:hover {
        box-shadow: 0 12px 28px rgba(0,0,0,.15);
    }

.drawer-content .profile-header {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    color: #fff;
    text-align: center;
    padding: 2rem 1.2rem 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.drawer-content .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

    .drawer-content .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.drawer-content .name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.drawer-content .job-title {
    font-size: .9rem;
    opacity: .9;
}

.drawer-content .contact-box {
    padding: 1.8rem;
}

.drawer-content .email-display {
    background: #e0f7fa;
    border-radius: 8px;
    padding: .8rem 1rem;
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}


    .drawer-content .email-display.bio {
        background: #e0f7fa;
        border-radius: 8px;
        padding: .8rem 1rem;
        font-size: .9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
        .drawer-content .email-display.bio .email {
            text-align: justify;
            margin-top: 10px;
        }

    .drawer-content .email-display .label {
        font-weight: 600;
    }

.drawer-content .form-title {
    text-align: center;
    color: #0097A7;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.drawer-content .form-group {
    margin-bottom: 1rem;
}

    .drawer-content .form-group input,
    .drawer-content .form-group textarea {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: .7rem .9rem;
        font-size: .9rem;
        background-color: #fafafa;
        transition: all .2s ease;
    }

        .drawer-content .form-group input:focus,
        .drawer-content .form-group textarea:focus {
            border-color: #00BCD4;
            background-color: #fff;
            outline: none;
        }

.drawer-content .btn-submit {
    background-color: #00BCD4;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: .9rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

    .drawer-content .btn-submit:hover {
        background-color: #0097A7;
        box-shadow: 0 5px 12px rgba(0,151,167,.3);
    }


.drawer-container {
  width: 300px;
}

.profile-card {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  height: 100%;
}

.profile-header {
  background-color: #2196f3;
  color: white;
  padding: 140px 20px 20px 20px;
  position: relative;
}

.profile-header h2 {
  margin-top: -80px;
  font-size: 22px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #ccc;
  border: 4px solid white;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-body {
  padding: 70px 20px 20px 20px;
}

.profile-body .label {
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-body .name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}

.arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 20px;
}

.profile-body-section {
  margin-bottom: 25px;
}

.bottom-input {
  width: 100%;
}

.node-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.node {
  position: absolute;
  font-family: "Vazirmatn", sans-serif;
  border-radius: 10px;
  align-items: center;
  direction: ltr !important;
  display: flex;
  justify-content: center;
  border: 3px solid #ddd;
  
}

.node-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  margin: 0px 25px 0px 10px;
}

.node-name {
  font-size: 12px;
  color: #08011e;
}

.node-position {
    margin-top: 3px;
    font-size: 16px;
    color: #004d99;
    font-family: 'Vazirmatn';
    font-weight: bold;
    text-align: center;
}
.fa {
    font-size: 18px !important;
    font-weight: bold !important;
}