.country-selector {
    position: relative;
}

.country-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.7rem;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.country-button:hover,
.country-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.country-flag {
    object-fit: cover;
    border-radius: 3px;
}

.country-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
}

.country-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.country-overlay-content {
    width: 100%;
    height: 100%;
    /*max-width: 900px;*/
    padding: 3rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.country-fullscreen-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.country-fullscreen-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
    /*border: 1px solid red;*/
}

.country-fullscreen-list a:hover,
.country-fullscreen-list a:focus {
    background: rgba(255,255,255,0.1);
}

.country-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 🔥 Bloque le scroll body quand ouvert */
body.no-scroll {
    overflow: hidden;
}
