/* Interaktyvaus žemėlapio konteineris */
.nameliai-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nameliai-map-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ROUND WHITE MARKERS WITH BLACK DIGITS */
.nameliai-hotspot {
    position: absolute;
    z-index: 10;
    background-color: #ffffff !important;
    border: 2px solid #333333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000000 !important;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    font-family: Arial, Helvetica, sans-serif;
}

.nameliai-hotspot:hover {
    background-color: #f0f0f0 !important;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transform: scale(1.15);
}

/* Active/clicked state - gold background but still visible digit */
.nameliai-hotspot.active {
    background-color: #d4af37 !important;
    border-color: #ffffff;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    transform: scale(1.2);
}

/* Marker number - black digit */
.nameliai-hotspot .marker-number {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1;
    color: #000000;
}

/* Tooltip */
.nameliai-hotspot .hotspot-tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #6b6542;
    color: #ffffff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #d4af37;
    font-weight: normal;
    pointer-events: none;
}

.nameliai-hotspot:hover .hotspot-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Sidebar highlight */
.housing-item.highlight {
    border: 2px solid #d4af37 !important;
    background-color: rgba(214, 175, 55, 0.15) !important;
    box-shadow: 0 0 15px rgba(214, 175, 55, 0.5);
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* ===================================================== */
/* SIDEBAR STYLING - TRANSPARENT BACKGROUND */
/* ===================================================== */

/* Sidebar list container */
.nameliai-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sidebar item - NO white background, transparent instead */
.nameliai-sidebar__item {
    margin-bottom: 15px;
    background-color: transparent; /* Removed white background */
    border: 1px solid rgba(0,0,0,0.1); /* Subtle border instead of dark */
    border-radius: 12px;
    transition: all 0.3s ease;
    /* No box shadow to keep it flat */
}

/* Sidebar item hover effect */
.nameliai-sidebar__item:hover {
    background-color: rgba(0,0,0,0.03); /* Very subtle hover effect */
    border-color: #d4af37;
    transform: translateX(5px);
}

/* Inner container */
.nameliai-sidebar__inner {
    display: flex;
    padding: 12px;
    gap: 12px;
    align-items: center;
}

/* Thumbnail/image container - make it subtle */
.nameliai-sidebar__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.05); /* Very subtle background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.nameliai-sidebar__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nameliai-sidebar__thumb-placeholder {
    width: 80px;
    height: 70px;
    background: rgba(0,0,0,0.05);
    display: block;
}

/* Body/content area */
.nameliai-sidebar__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Title styling - keep readable */
.nameliai-sidebar__title {
    font-size: 1rem;
    font-weight: bold;
    color: #333333;
    line-height: 1.3;
}

/* Tag styling */
.nameliai-sidebar__tag {
    display: inline-block;
    background-color: #6b6542;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: normal;
    border: 1px solid #d4af37;
    align-self: flex-start;
}

/* Button styling */
.nameliai-sidebar__btn {
    display: inline-block;
    background-color: #d4af37;
    color: #000000;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    align-self: flex-start;
}

.nameliai-sidebar__btn:hover {
    background-color: #c49b2a;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Active/selected sidebar item */
.nameliai-sidebar__item.active {
    background-color: rgba(212, 175, 55, 0.1); /* Subtle gold tint */
    border-color: #d4af37;
    border-width: 2px;
}

.nameliai-sidebar__item.active .nameliai-sidebar__title {
    color: #d4af37;
}

.nameliai-sidebar__item.active .nameliai-sidebar__btn {
    background-color: #d4af37;
    color: #000000;
}

/* Remove any special styling for specific items - all identical */
.nameliai-sidebar__list .nameliai-sidebar__item:nth-child(2),
.nameliai-sidebar__list .nameliai-sidebar__item:nth-child(2):hover {
    /* No special styling - all items are identical */
    background-color: transparent;
}

/* Responsive sidebar adjustments */
@media (max-width: 768px) {
    .nameliai-sidebar__inner {
        padding: 8px;
        gap: 8px;
    }
    
    .nameliai-sidebar__thumb {
        width: 60px;
        height: 55px;
    }
    
    .nameliai-sidebar__title {
        font-size: 0.9rem;
    }
    
    .nameliai-sidebar__btn {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Responsive marker sizing */
@media (max-width: 768px) {
    .nameliai-hotspot {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .nameliai-hotspot .marker-number {
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nameliai-hotspot {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .nameliai-hotspot .marker-number {
        font-size: 0.8rem;
    }
    
    .nameliai-sidebar__thumb {
        width: 50px;
        height: 45px;
    }
}