.wc-imap-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

#world-map {
    width: 100%;
    height: auto;
    display: block;
}

#world-map path {
    fill: var(--wc-imap-global-default, #e0e0e0);
    transition: fill 0.3s ease;
    stroke: var(--wc-imap-border-color, #ffffff);
    stroke-width: var(--wc-imap-border-width, 1px);
}

#world-map .wc-imap-hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

#world-map path.wc-imap-active {
    cursor: pointer;
}

.wc-imap-card {
    position: absolute;
    background-color: var(--wc-imap-card-bg, #ffffff);
    color: var(--wc-imap-card-text, #333333);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(5px);
    z-index: 1000;
    white-space: normal;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    max-width: 250px;
    width: max-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-imap-card.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wc-imap-card-img {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: none;
}

.wc-imap-card-title {
    font-weight: 700;
    font-size: 17px;
    margin: 0;
    color: inherit;
    line-height: 1.2;
}

.wc-imap-card-desc {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
    color: inherit;
}
