#imgdiv {
    min-height: 300px;
}

.limit-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    min-height: 3.75em;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 99;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-group {
    display: none; /* Скрываем группу кнопок по умолчанию */
    flex-direction: column;
    gap: 10px;
}

/* Показываем группу кнопок при наведении или активации */
.floating-buttons:hover .button-group,
.floating-buttons.active .button-group {
    display: flex;
}

/* Меняем иконку на "×" при наведении или активации */
.floating-buttons:hover .main-button i,
.floating-buttons.active .main-button i {
    transform: rotate(45deg); /* Поворачиваем иконку на 45 градусов для эффекта "×" */
}
#map {
    width: 100%;
    height: 600px;
    position: relative;
}
.balloon {
    position: absolute;
    background: white;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 250px;
    pointer-events: auto;
    transform: translate(-50%, -100%);
}
.balloon .close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #888;
}
.marker-dot {
    width: 24px;
    height: 24px;
    background: #ff5722;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    cursor: pointer;
}
@media (max-width: 400px) {
    #chat-box {
        width: 100% !important;
        height: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    #chat-box .card-header {
        border-radius: 0 !important;
    }
}
.filter-toggle-btn {
    position: fixed;
    top: 20%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    border-radius: 10px 0 0 10px;
    transition: right 0.3s ease-in-out;
}
.grecaptcha-badge {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9999;
    opacity: 0.3;
    transform: scale(0.6);
    transform-origin: bottom left;
}
.icon-width {
    width: 12px;
    margin-right: 6px;
}
.link-dashed {
    border-bottom: 2px dashed #aaaaaa;
}
