#nav_main {
    width: 100%;
    height: 60px;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding: 0 20px;
    box-sizing: border-box;
    background-color: var(--color-background);
}

.chat-title-wrapper {
    width: fit-content; 
    max-width: 70%; 
    margin-right: 20px; 
}

.chat-title-wrapper-shared {
    flex: 1 1 auto;
    max-width: 100%;
}

.chat-title {
    font-size: 14px;
    font-weight: 400; 
    color: var(--color-text-priority-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.chat-title-dots{
    font-size: 16px;
    font-weight: 500;
}

.chat-shared-by {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.chat-shared-by-label {
    flex-shrink: 0;
    color: var(--color-text-priority-2);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
}

.chat-shared-by-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    background: #b3dce7;
    box-shadow: 0 2px 4px rgba(118, 119, 121, 0.2);
}

.chat-shared-by-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.chat-shared-by-name {
    color: var(--color-text-priority-1);
    font-family: "open-sans-regular", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-shared-by-email {
    color: var(--color-text-priority-3);
    font-family: "open-sans-regular", sans-serif;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#nav_main #nav_main_logo {
    width: auto;
    height: 60px;
    margin: auto 0;
    padding: 15px 0;
    box-sizing: border-box;
}

@media (max-width: 767px){
    #nav_main{
        justify-content: space-between;
    }
    
    .chat-title-wrapper{
        max-width: 40%;
    }

    .chat-title-wrapper-shared {
        max-width: calc(100% - 16px);
        margin-right: 0;
    }

    .chat-shared-by {
        width: 100%;
        gap: 10px;
    }

    .chat-shared-by-label {
        display: none;
    }
}
