﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#rightPan .simplebar-track.simplebar-vertical {
    width: 8px;
    right: -4px;
}

#rightPan .simplebar-scrollbar::before {
    background: rgba(0,0,0,0.35);
    border-radius: 4px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow-wrap: break-word;
    word-break: break-all;
}

.container {
    
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.categories-links {
    display: flex;
    flex-wrap: wrap;
    margin: 50px 0px 0px 0px;
}

    .categories-links a {
        white-space: nowrap;
    }

        .categories-links a:not(:last-child)::after {
            content: " | ";
            color: #55555588;
            padding: 0px 4px 0px 0px;
            font-size: 80%;
        }

.vote-block {
    float: right;
    margin: 0px 20px;
}
.vote-btn.active {
    color: #0d6efd;
}

.vote-block button {
    border: none;
    background: transparent;
}

.vote-up {
    width: 28px;
    height: 18px;
    background: url('/img/up.png') no-repeat center 70% !important;
    background-size: contain !important;
    border: none !important;
    margin-top: 4px;
}
.vote-down {
    width: 28px;
    height: 18px;
    background: url(/img/down.png) no-repeat center 70% !important;
    background-size: contain !important;
    border: none !important;
    margin-top: 4px;
    padding: 4px;
}

.sort-buttons {
    text-align: right;
    margin: 0px 22px;
}
.sort-buttons button {
    border: none;
    background: none;
    outline: none;
    color: #6c757d;
    font-size: 14px;
}
    .sort-buttons button:hover {
        border: none;
        background: none;
        background-color: transparent;
        outline: none;
        color: darkgoldenrod;
    }
.sort-buttons .arrow {
    border: none;
}

.feed-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .feed-filters input {
        display: none;
    }

.chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 4px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: #f5f5f5;
    transition: all .2s ease;
}

    .chip:hover {
        transform: translateY(-1px);
    }

#myPostLine {
    margin: 0px 0px 0px 200px;
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #a4a4a4;
    border: 1px solid #cdcdcd;
    padding: 5px 0px;
    border-radius: 100px;
    background: #ffffff;
}

/* цвета типов */

.chip-news {
    border: 1px solid #3b82f6;
}

.chip-article {
    border: 1px solid #8b5cf6;
}

.chip-offer {
    border: 1px solid #22c55e;
}

.chip-search {
    border: 1px solid #f97316;
}

/* активное состояние */

input:checked + .chip-news {
    background: #3b82f6;
    color: white;
}

input:checked + .chip-article {
    background: #8b5cf6;
    color: white;
}

input:checked + .chip-offer {
    background: #22c55e;
    color: white;
}

input:checked + .chip-search {
    background: #f97316;
    color: white;
}

/* счетчик */

.count {
    font-size: 12px;
    background: rgba(255,255,255,0.3);
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 25px;
    text-align: center;
    border: 1px solid #ffffff;
}


.comment-count-small {
    float: right;
}




.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #3498db;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: #e4e2e0 !important;
    height: 40px;
    font-size: 90%;
}

.navbar-brand {
    font-size: 100%;
}

h1 {
    font-size: 23px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 22px;
}

.mainh1 {
    font-size: 18px;
    margin: 0px 0px 20px 0px;
}

a {
    text-decoration: none;
}


.messageCount {
    color: #777777;
    font-size: 18px;
}

.col-md-4 {
    margin-top: -60px;
}

/* Контейнер формы */
.search-form {
    position: relative;
    width: 100%;
    /*max-width: 400px;  можно под себя */
    margin: 0px 0px 20px 0px;
}

/* Поле ввода */
#searchInput {
    width: 100%;
    padding: 10px 40px 10px 12px; /* место для кнопки поиска справа */
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    background: transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    /* Анимация при фокусе */
    #searchInput:focus {
        border-bottom: 1px solid #ffc107;
        box-shadow: 0 2px 8px rgba(59,130,246,0.15);
    }

/* Кнопка поиска */
.search-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    color: #88888844;
    transition: color 0.3s;
}

.search-form .geo {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    color: #88888844;
    transition: color 0.3s;
}

.search-form select {
    border: none;
    color: #7f7f7f;
    padding: 8px;
    max-width: 150px;
}

.form-select:focus,
select:focus {
    outline: none;
    box-shadow: none;
    border-color: inherit; /* чтобы не становился синим */
}

/* Подсветка кнопки при фокусе на input */
.search-form:focus-within button {
    color: #ffc107;
}

/* Иконка внутри кнопки */
.css-bdxuab {
    inline-size: 1.5rem;
    block-size: 1.5rem;
    color: inherit; /* наследует цвет кнопки */
    fill: currentColor; /* SVG будет менять цвет */
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0;
}



#footer_nicht_do {
    position: relative;
    z-index: 0;
    margin: 0px 0px -60px 0px;
    padding: 0px 20px;
    background-color: #dfdfdf !important;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.10) 100%);
}

    #footer_nicht_do h5 {
        font-weight: 400;
        color: cadetblue;
        font-size: 95%;
    }

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.footer-text {
    color: #5d686e;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}



.site-footer a {
    color: #555555;
    text-decoration: none;
}

.site-footer a:hover {
    color: #333333;
    text-decoration: underline;
}

.border-bottom {
    border: none;
    border-bottom: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}



.switch-wrapper {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
    float: right;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

    .switch-input:checked + .switch-slider {
        background-color: #4caf50b5;
    }

.switch-slider, .switch-slider-2 {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b3b3b4d;
    border-radius: 28px;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

.switch-input:checked + .switch-slider::before, .switch-input:checked + .switch-slider-2::before {
    transform: translateX(27px);
}

.switch-slider::before, .switch-slider-2::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.switch-input:disabled + .switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}






.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.card-header {
    border-bottom: 1px solid #aaaaaa88;
}

.round-red {
    margin: 10px 0px 0px -7px;
    border-radius: 50px;
    padding: 5px 0px 0px 0px;
    min-height: 22px;
    min-width: 22px;
}

#notificationDropdown .notification-item {
    background: #dfe5ea;
    border-bottom: 1px solid #77777733;
    margin-top: 1px;
}

#notificationList {
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
    border-bottom: none;
}

.newNotifeTitle {
    font-size: 85%;
    font-weight: 500;
}

.notif-item-date {
    font-size: 70%;
    float: right;
    margin: -5px 0px 0px 0px;
}


/* ===== CITY PAGE LAYOUT ===== */
.city-page {
    margin-top: 20px;
}

/* Лента объявлений */
.messages-container {
    /*max-height: 85vh;
    overflow-y: auto;*/
    padding-right: 10px;
}



/* Карточка объявления */
.message-card {
    will-change: transform;
    padding: 18px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 12px;
    transition: border 0.3s, box-shadow 1.3s;
    position: relative;
    border-width: 0px;
}

    .message-card small {
        padding: 0px 2px;
    }

    .card-footer {
        background: none;
        padding: 0px 10px;
    }
        .card-footer button {
            margin: -40px 0px;
        }

.message-title {
    margin-bottom: 10px;
}

.message-link {
    text-decoration: none;
    color: #222;
    font-size: 1.125rem;
    font-weight: 500;
}

    .message-link:hover {
        text-decoration: underline;
    }

.message-preview {
    color: #555;
}

.message-meta {
    margin-top: 10px;
}

.card-body2 {
    padding: 5px 0px 0px 0px !important;
}

.message-description {
    color: #555555;
}

.btn-more-info {
    right: 15px;
    position: absolute;
}

.geo-type {
    margin: 10px 0px;
    color: #999999;
}

.message-city-name {
    color: #fd7e14;
    border-radius: 8px;
    background-color: #fd7e1444;
    padding: 0px 5px 3px 5px;
}

.comment-item {
    padding: 0px;
    margin: 20px 15px 20px 0px;
    font-size: 90%;
    text-align: justify;
    color: #444444;
}

    .comment-item strong {
        font-weight: 400;
        color: #1a8387;
    }

.message-p {
    color: #ffc107;
    border-radius: 8px;
    background-color: #ffc10744;
    padding: 0px 5px 3px 5px;
}
.message-f {
    color: #dc3545;
    border-radius: 8px;
    background-color: #dc354544;
    padding: 0px 5px 3px 5px;
}
.message-news {
    color: #35dc39;
    border-radius: 8px;
    background-color: #3ec83185;
    padding: 0px 5px 3px 5px;
}
.message-article {
    color: #868686;
    border-radius: 8px;
    background-color: #6c757d59;
    padding: 0px 5px 3px 5px;
}


.message-cat {
    color: #0d6efd;
    border-radius: 8px;
    background-color: #0d6efd44;
    padding: 0px 5px 3px 5px;
}
/* Кнопка при наведении */
.message-hover-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.message-card:hover .message-hover-actions {
    display: block !important;
}

/* Рекламные блоки */
.ad-slot {
    min-height: 300px;
    background: #f3f3f3;
    border-radius: 12px;
}

.categories-filter {
    margin: 5px 5px 10px 5px;
}

    .categories-filter button {
        border: none;
        padding: 1px 12px;
        border-radius: 999px;
        font-size: 95%;
    }
        .categories-filter button:hover {
            background-color: #ffc107;
            border: none !important;
            outline: none !important;
        }
    .categories-filter .active {
        background-color: #ffc107;
        border: none !important;
        outline: none !important;
        color: #444444;
        font-weight: 500;
    }

.comments-panel {
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);

    display: flex;
    flex-direction: column;
    padding: 0px;
}

#commentsContent {
    
/*    background: #ececec;*/
    padding: 0px;
}

.message-details-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%; /* критично! */

    left: 0px;
    top: 0px;
    padding: 10px 0px;

    height: 100vh;
    border-right: 1px solid rgb(221 221 221);
    transition: transform 0.5s;
    z-index: 1000;
}

.comments-list {
    flex-grow: 1; /* занимает оставшееся место */
    overflow-y: auto; /* скролл только здесь */
}




/* Стили для всех SimpleBar в проекте */
.comments-list[data-simplebar] {
    max-height: 100%;
}

/* Полоса прокрутки */
.simplebar-scrollbar::before {
    background-color: #999999 !important; /* цвет скролла */
    width: 2px; /* вертикальная толщина */
    border-radius: 3px;
    opacity: 0.15;
}

/* Наведение — скролл чуть шире */
.simplebar-scrollbar:hover::before {
    width: 2px;
    opacity: 1;
}

/* Для горизонтального скролла (если появится) */
.simplebar-track.simplebar-horizontal .simplebar-scrollbar::before {
    height: 2px;
    border-radius: 3px;
}



/* Карточка объявлений */
.message-card {
    z-index: 1;
}
    .message-card:hover {
        background-color: rgb(88 88 88 / 13%);
    }

    /* Активная карточка */
    .message-card.active {
        border: 1px solid #0d6efd;
        border-right: 0;
        border-radius: 12px 0 0 12px;
        /*box-shadow: -4px 5px 4px rgb(59 59 59 / 15%);*/
        transform: scale(1.05);
        background: #ececec;
        transition: all 0.25s ease;
    }

.border-left {
    transition: all 1.75s ease;
    border-left: 1px solid #0b5ed7;
    background: #ececec;
}






.stats-panel {
    margin-top: 20px;
    position: fixed !important;
    left: 0px;
    top: 50px;
    overflow-y: auto;
    height: 99%;
    width: 300px;
}

.stats-title {
    font-weight: 500;
    margin-bottom: 15px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

    .stat-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

.stat-header {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #495057;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
}

.stat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    text-decoration: none;
    color: #212529;
    font-size: 13px;
    border-bottom: 1px solid #f1f3f5;
}

    .stat-link:last-child {
        border-bottom: none;
    }

    .stat-link:hover {
        color: #0d6efd;
    }

.stat-badge {
    background: #f1f3f5;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
}

.card .btn-more-info {
    visibility: hidden;
}

.card:hover .btn-more-info {
    visibility: visible;
}

.comment-form {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 420px;
    height: auto;
    z-index: 99999999;
    cursor: move;
    max-width: 406px;
    background: #dadada;
    border-radius: 10px;
    border: 1px solid #c0c0c087;
    padding: 5px;
    box-shadow: rgba(9, 14, 21, 0.16) 0px 5px 20px 0px;
}




.comment-form .cancel-btn {
    background: #aaaaaa55;
    font-size: 90%;
    color: #555555;
}

.comment-text {
    background: #f0f0f0;
    display: block !important;
    width: 100% !important;
    min-height: 240px !important;
    max-height: 600px !important;
    resize: none !important;
    border: 1px solid #ccccccaa !important;
    letter-spacing: 0.15px;
    color: #3a3a3a;
    font-size: 94%;
    line-height: 22px;
}

.comment-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.comment-form.active .comment-actions {
    opacity: 1;
    pointer-events: auto;
}

.submit-btn:disabled {
    opacity: 0.3;
}

.comment-info {
    margin-right: auto;
    font-size: 12px;
    color: #777;
}

.comment-form:focus-within .comment-actions {
    opacity: 1;
}



.dashboard {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #e4e2e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: -80px 0px 40px -20px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    opacity: 0.7;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.message-card {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.message-title {
    font-weight: 600;
}

.category {
    margin-left: 10px;
    opacity: 0.6;
}

.message-meta {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.8;
    display: flex;
    gap: 15px;
}

.profile-settings form {
    background: rgba(255,255,255,0.06);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.profile-settings input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.profile-settings button {
    background: #2d6cdf;
    border: none;
    padding: 10px;
    color: white;
    border-radius: 6px;
    width: 100%;
}

.toast-success {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
}

.toast-error {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
}


.message-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .message-card.show {
        opacity: 1;
        transform: translateY(0);
    }

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: gray;
}
    .status-dot.online {
        background: #4784d5;
    }

    .status-dot.offline {
        background: gray;
    }
.online-user {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(-5px);
    animation: fadeIn 0.3s forwards;
}

.fade-out {
    opacity: 0;
    transform: translateY(5px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#online-users {
    display: flex;
    flex-wrap: wrap; /* перенос на новую строку */
    gap: 8px;
    align-items: center;
    color: #1a8387;
}
.online-user {
    background: #f1f1f1;
    padding: 4px;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap; /* чтобы имя не ломалось */
}
    .online-user .status-dot {
        padding:0px;
        margin-right: 0px;
    }

#messages-list {
    height: calc(100dvh - 190px);
    max-height: calc(100dvh - 190px);
    overflow: auto;
    margin: 10px 0px;
    background: #e7e7e7dd;
    padding: 5px 15px;
    border: 1px solid #bbbbbb77;
    border-radius: 8px 8px 2px 2px;
    border-bottom: none;
}

.chat-input-wrapper {
    position: relative;
    width: 100%;
    margin: -10px 0px 5px 0px;
}

    .chat-input-wrapper .buttons-block {
        display: flex;
        align-items: center;
        gap: 10px;
        position: absolute;
        right: 8px;
        bottom: 8px;
    }

#chat-clear-btn {
    color: #bbbbbbbb;
    cursor: pointer;
    user-select: none;
    display: none;
    margin-bottom: 5px;
    font-size: 75%;
}

#chat-clear-btn:hover {
    color: #444444;
}

#chat-input {
    width: 100%;
    min-height: 40px;
    max-height: 200px;
    resize: none;
    overflow-y: auto;
    padding: 10px 45px 10px 10px; /* справа место под кнопку */

    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

    #chat-input:focus {
        outline: none;
        border-color: #229ED9; /* можно оставить красивый синий */
        box-shadow: none; /* если вдруг есть */
    }

.chat-message .chat-user {
    font-size: 80%;
    margin: 2px 0px -5px 0px;
}

.chat-message .chat-user small {
    font-weight: 600;
    opacity: 0.75;
}

#typing-indicator {
    position: fixed;
    top: 100px;
    left: 50%;
    margin: 0px auto;
    border-radius: 15px;
    background: #31313133;
    font-size: 80%;
}

.chat-container .show {
    padding: 5px 10px 6px 10px;
    box-shadow: rgba(9, 14, 21, 0.16) 0px 5px 20px 0px !important;
}

#chat-send-btn {

    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #229ED9; /* Telegram blue */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #chat-send-btn:hover {
        color: #1b8ec6;
    }

.chat-message {
    padding: 5px;
    background: none;
    color: #3b3b3b;
    margin: 0px 10px 0px 0px;
}

.chat-message:hover {

    border-radius: 10px;
    background: #aaaaaa44;
    outline: 0px solid #77777733;
    color: #2b2b2b;
    cursor: context-menu;
}

    .chat-message .usname {
        font-weight: 500;
        color: #1a8387;
    }
    .chat-message .chat-message-text {
        margin-left: 12px;
    }

.title-row {
    display: inline-block;
    margin: 0px 0px 10px 0px;
}

    .title-row h4 {
        display: inline;
        margin: 0;
    }

    .title-row a {
        margin-left: 8px;
        white-space: nowrap;
    }






/*ПАГИНАЦИЯ*/
.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Общий стиль кружка */
.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #007bff;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    background: #d7d7d788;
    /* Лёгкая тень */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    /* Плавные анимации */
    transition: all 0.3s ease;
}

    /* Hover эффект */
    .page-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0,0,0,0.2);
        background: #ffffff;
    }

    /* Активная страница */
    .page-item.active {
        background: #007bff;
        color: white;
        box-shadow: 0 4px 10px rgba(0,123,255,0.4);
        cursor: default;
    }

        /* Чтобы активная не "прыгала" */
        .page-item.active:hover {
            transform: none;
        }

.suggestions-box {
    position: absolute;
    top: 120%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    border: 0px solid #ddd;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
}

.suggest-item {
    color: #777;
    font-size: 90%;
    cursor: pointer;
    font-style: italic;
    margin: 2px 0px 5px 10px;
}

    .suggest-item:hover {
        text-decoration: underline;
    }

.active-chats-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.active-chat-item {
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
}