/**
 * Interactive Canada Map Widget Stylesheet
 * @package Impact_Custom_Widget
 */

.icw-canada-map-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.icw-canada-map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Header */
.icw-map-header {
    margin-bottom: 35px;
}

.icw-map-title {
    margin: 0 0 12px 0;
    font-size: 38px;
    font-weight: 800;
    color: #1D3B6C;
    line-height: 1.2;
}

.icw-map-subtitle {
    margin: 0 0 25px 0;
    font-size: 16px;
    color: #556987;
}

/* Buttons */
.icw-map-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.icw-map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.icw-map-btn-primary {
    background-color: #2A85C8;
    color: #FFFFFF;
    border: 2px solid #2A85C8;
}

.icw-map-btn-primary:hover {
    background-color: #1D3B6C;
    border-color: #1D3B6C;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.icw-map-btn-secondary {
    background-color: transparent;
    color: #2A85C8;
    border: 2px solid #2A85C8;
}

.icw-map-btn-secondary:hover {
    background-color: #2A85C8;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* SVG Canada Map */
.icw-map-svg-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.icw-canada-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Province Group */
.icw-province-group {
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.icw-province-path {
    fill: #D6E2F0;
    stroke: #B0C4DE;
    stroke-width: 1.5px;
    stroke-linejoin: round;
    transition: fill 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
}

.icw-province-label {
    font-family: inherit;
    font-size: 26px;
    font-weight: 800;
    fill: #1D3B6C;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    transition: fill 0.3s ease;
}

/* Hover Effects */
.icw-province-group:hover .icw-province-path {
    fill: #2A85C8;
    stroke: #1D3B6C;
    filter: drop-shadow(0px 6px 12px rgba(42, 133, 200, 0.3));
}

.icw-province-group:hover .icw-province-label {
    fill: #FFFFFF;
}

/* Responsive */
@media (max-width: 767px) {
    .icw-map-title {
        font-size: 28px;
    }

    .icw-province-label {
        font-size: 20px;
    }
}
