.round-images{
    height:350px; width: 350px; float:left; margin: 10px;border-radius: 50%;
}

h4{
    font-weight: bold;
}

#search_results_table tbody tr{
    border-bottom: 1px silver solid;
    cursor: pointer;
}

.nav-link:hover{
    color:#00a0e9 !important;
}

#navMessageBell {
    position: relative;
}

#navMessageBell .badge-notify {
    position: absolute;
    top: 6px;
    right: 4px;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background-color: #dc3545; /* bootstrap danger */
}

/* Mini chat popup styling */
.mini-chat {
    position: fixed;
    right: 20px;
    bottom: 0;
    width: 280px;
    max-height: 380px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem 0.75rem 0 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 1050; /* above most content, below modals if needed */
}

.mini-chat-header {
    padding: 8px 10px;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.mini-chat-body {
    padding: 8px;
    overflow-y: auto;
    flex: 1 1 auto;
    background-color: #f5f7fb;
}

/* reuse the bubble styles we already discussed, applied in mini popup */
#miniChatMessages {
    list-style: none;
    margin: 0;
    padding: 0;
}

#miniChatMessages li {
    display: flex;
    flex-direction: column;
    margin: 4px 0;
}

#miniChatMessages li .msg-content {
    display: inline-block;
    max-width: 85%;
    padding: 8px 10px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-wrap: break-word;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#miniChatMessages li .time {
    margin-top: 2px;
    font-size: 0.7rem;
    color: #9aa0b3;
}

/* sender / reply alignment */
#miniChatMessages li.sender {
    align-items: flex-start;
}
#miniChatMessages li.sender .msg-content {
    background-color: #ffffff;
    color: #222;
    border-bottom-left-radius: 4px;
}

#miniChatMessages li.reply {
    align-items: flex-end;
}
#miniChatMessages li.reply .msg-content {
    background-color: #4b8cff;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.mini-chat-footer {
    padding: 6px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.mini-chat-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.mini-chat-header .tiny {
    font-size: 0.75rem;
}

#miniChatPeerName{
    margin-left: 10px;
}