.sm-8390a4f3-wrapper {
    direction: rtl;
    width: 100%;
    font-family: system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

.sm-8390a4f3-wrapper * {
    box-sizing: border-box;
}

.sm-8390a4f3-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    align-items: stretch;
}

.sm-8390a4f3-map-area {
    flex: 1.5;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sm-8390a4f3-map-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.sm-8390a4f3-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sm-8390a4f3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Markers styling */
.sm-8390a4f3-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
    pointer-events: auto;
}

.sm-8390a4f3-pin:hover,
.sm-8390a4f3-pin:focus,
.sm-8390a4f3-pin.active {
    outline: none;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.sm-8390a4f3-pin.active::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: sm-8390a4f3-pulse 1.5s infinite;
}

@keyframes sm-8390a4f3-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Sidebar List */
.sm-8390a4f3-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-8390a4f3-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-left: 8px;
}

.sm-8390a4f3-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    text-align: right;
    transition: all 0.25s ease;
    width: 100%;
}

.sm-8390a4f3-card:hover,
.sm-8390a4f3-card:focus {
    border-color: #9ca3af;
    background-color: #f9fafb;
    outline: none;
}

.sm-8390a4f3-card.active {
    background-color: #f0f7ff;
}

.sm-8390a4f3-card-num {
    background: #f3f4f6;
    color: #374151;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.25s ease;
}

.sm-8390a4f3-card.active .sm-8390a4f3-card-num {
    background: #2563EB;
    color: #fff;
}

.sm-8390a4f3-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Tooltip */
.sm-8390a4f3-tooltip {
    position: absolute;
    background: #1f2937;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -100%);
    margin-top: -38px;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.sm-8390a4f3-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: #1f2937 transparent;
}

/* Responsiveness */
@media (max-width: 768px) {
    .sm-8390a4f3-container {
        flex-direction: column;
    }
    .sm-8390a4f3-cards-list {
        max-height: 300px;
    }
}
