.wim-fe-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.wim-poly {
    fill: rgba(0, 255, 127, 0.15);
    stroke: #00ff7f;
    stroke-width: 1.5;
    cursor: pointer;
    transition: 0.3s;
}

.wim-poly:hover {
    fill: rgba(255, 235, 59, 0.3);
    stroke: #ffeb3b;
}

.wim-pin-fe {
    font-size: 28px;
    text-anchor: middle;
    pointer-events: none;
}

/* Container bao ngoài */
.wim-fe-viewport {
    position: relative;
    overflow: hidden;
    background: #eee;
    border: 1px solid #ccc;
}

/* Thanh điều khiển */
.wim-fe-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
    /* Luôn nằm trên cùng */
}

.wim-fe-controls button {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.wim-fe-controls button:hover {
    background: #f0f0f0;
    color: #0073aa;
}

.wim-zoom-reset {
    font-size: 20px !important;
}

/* Thêm con trỏ cho Pin và group vùng map */
.wim-region-group {
    cursor: pointer;
}

.wim-pin-icon {
    pointer-events: none;
    /* Để khi hover trúng cái pin thì sự kiện hover vẫn tính cho cả group vùng khoanh */
    transition: href 0.2s ease-in-out;
}

/* Tooltip Box chính */
.wim-hover-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 280px;
    font-family: sans-serif;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Tiêu đề (CN03.10) */
.wim-tt-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #1a73e8;
    /* Màu xanh giống ảnh */
    font-weight: bold;
}

/* Thông số ha và % */
.wim-tt-meta {
    display: flex;
    gap: 15px;
    color: #5f6368;
    font-size: 16px;
    margin-bottom: 12px;
}

/* Nội dung mô tả */
.wim-tt-desc {
    color: #3c4043;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Giới hạn 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Chữ View More */
.wim-tt-more {
    color: #1a73e8;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

/* Hiệu ứng phát sáng cho vùng được khoanh khi hover */
.wim-poly {
    transition: all 0.3s ease;
}

.wim-region-group:hover .wim-poly {
    fill: rgba(26, 115, 232, 0.2);
    /* Sáng nhẹ màu xanh */
    stroke: #1a73e8;
    stroke-width: 2.5;
}