/* Contenedor para forzar el ancho completo */
.force-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Contenedor principal del mapa */
#world-map {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    z-index: 1;
}
#world-map-svg {
    background-color: transparent;
    width: 100%;
    height: 100%;
}


.country {
    stroke: #4b5563;
    stroke-width: 0.5px;
    transition: fill 0.2s ease-in-out;
    fill: #008b8b; /* Color por defecto para países con marcas */
}

/* Estilo para países que tienen marcas al pasar el ratón */
.country:not(.no-brands):hover {
    fill: #005353;
    cursor: pointer;
}

/* Estilo para países que NO tienen marcas */
.country.no-brands {
    fill: #9ca3af; /* Color gris */
    cursor: not-allowed;
}

.country.no-brands:hover {
    fill: #6b7280; /* Gris más oscuro al pasar el ratón */
}

.country.selected {
    fill: #45c18e;
    stroke: #1f2937;
    stroke-width: 1.5px;
}

#hover-country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-size: 1.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 2;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

#hover-country-name.show {
    opacity: 1;
    visibility: visible;
}

#messageModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#messageModal.show {
    opacity: 1;
    visibility: visible;
}

.message-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.message-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.message-content p {
    margin-bottom: 15px;
}

.message-content button {
    background-color: #df453e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    margin-top: 20px;
}

.message-content button:hover {
    background-color: #c53c30;
}