/* US Map Styles */
.us-map-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.us-map-container svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Base state styling for direct paths */
path.us-map-state {
    fill: #999999 !important;
    stroke: #ffffff !important;
    stroke-width: 1px;
    cursor: default;
    transition: fill 0.2s ease;
}

/* Styling for paths inside groups */
g.us-map-state path {
    fill: #999999 !important;
    stroke: #ffffff !important;
    stroke-width: 1px;
    cursor: default;
    transition: fill 0.2s ease;
}

/* States with content - clickable (darker inactive state) */
path.us-map-state.has-content,
g.us-map-state.has-content path {
    cursor: pointer;
    fill: #666666 !important;
}

/* Hover state for states with content */
path.us-map-state.has-content:hover,
g.us-map-state.has-content:hover path {
    fill: #00A3E0 !important;
}

/* Modal Styles */
.us-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.us-map-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.us-map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.us-map-modal-content {
    position: relative;
    background: #ffffff;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.us-map-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.us-map-modal-close:hover {
    color: #000;
}

.us-map-modal-title {
    margin: 0 0 20px 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.us-map-modal-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.us-map-modal-body p {
    margin: 0 0 15px 0;
}

.us-map-modal-body p:last-child {
    margin-bottom: 0;
}

.us-map-modal-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.us-map-modal-button {
    display: inline-block;
    background: transparent;
    color: #000000 !important;
    padding: 10px 30px;
    text-decoration: none !important;
    border-radius: 0;
    border: 2px solid #000000;
    font-weight: 500;
	text-transform: uppercase;
    font-size: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

.us-map-modal-button:hover {
    background: #000000;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Prevent body scroll when modal is open */
body.us-map-modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 600px) {
    .us-map-modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .us-map-modal-title {
        font-size: 22px;
    }
}