/* ============================================
   Meu Mapa de Viagens — Front-end Styles
   ============================================ */

.mmv-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}

/* Título principal — estilo cursivo */
.mmv-main-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.8rem;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
    line-height: 1.3;
}

.mmv-decorative-line {
    text-align: center;
    margin-bottom: 40px;
}

/* Seção de cada continente */
.mmv-continent-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e8e8e8;
}

.mmv-continent-section:last-child {
    border-bottom: none;
}

.mmv-continent-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Mapa-múndi + label do continente */
.mmv-globe-wrapper {
    flex-shrink: 0;
    width: 260px;
    text-align: center;
}

.mmv-map-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.mmv-world-map {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.mmv-map-pin {
    position: absolute;
    width: 22px;
    height: 30px;
    /* Âncora: ponta inferior do pin exatamente na coordenada */
    transform: translate(-50%, -100%);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
    animation: mmv-pin-drop 0.5s ease-out;
}

.mmv-map-pin svg {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes mmv-pin-drop {
    from { transform: translate(-50%, -140%); opacity: 0; }
    to   { transform: translate(-50%, -100%); opacity: 1; }
}

.mmv-continent-label {
    display: block;
}

.mmv-continent-name {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--mmv-accent, #7B2D5F);
}

.mmv-continent-count {
    font-size: 0.8rem;
    color: var(--mmv-accent, #7B2D5F);
    font-weight: 400;
}

/* Lista de países */
.mmv-countries-list {
    flex: 1;
    padding-top: 5px;
}

.mmv-country-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.mmv-country-item:last-child {
    margin-bottom: 0;
}

.mmv-pin-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.mmv-country-info {
    flex: 1;
}

.mmv-country-name {
    font-size: 0.95rem;
    color: #222;
    display: block;
    margin-bottom: 2px;
}

.mmv-cities {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}

/* Estado vazio */
.mmv-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    background: #fafafa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.mmv-empty-state p {
    margin: 8px 0;
    font-size: 1rem;
}

/* ============================================
   Responsivo
   ============================================ */
@media (max-width: 680px) {
    .mmv-continent-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mmv-globe-wrapper {
        width: 220px;
        margin-bottom: 15px;
    }

    .mmv-countries-list {
        width: 100%;
    }

    .mmv-country-item {
        justify-content: center;
    }

    .mmv-main-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .mmv-container {
        padding: 20px 15px;
    }

    .mmv-globe-wrapper {
        width: 200px;
    }

    .mmv-map-pin {
        width: 16px;
        height: 22px;
    }
}
