/* ========================================================================== */
/* Lang Selector */
/* ========================================================================== */

[data-lang] {
    display: none;
}

[data-lang="en"].active,
[data-lang="lu"].active,
[data-lang="fr"].active,
[data-lang="de"].active {
    display: inline;
}

/* ========================================================================== */
/* Lang Pop-Up */
/* ========================================================================== */

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-box {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 80%;
    padding: 10px 0;
    text-align: center;
    background: radial-gradient(farthest-corner at 100% 50%, rgba(0, 0, 0, 1), rgba(18, 18, 18, 0.7));
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.popup-box a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1px;
    max-height: 24px;
    margin: 10px;
    padding: 10px 12px;
    color: black;
    text-decoration: none;
    border-radius: 6px;

    &[data-lang] {
        display: flex !important;
    }
}

.popup-box a:hover {
    background-color: rgba(0, 0, 0, 1);
}

.popup-box a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
}

.popup-box .text4 {
    height: unset;
    margin: auto;
    text-align: right;
}

.popup-box button {
    margin-top: 15px;
    padding: 10px 20px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-box button:hover {
    background-color: #0056b3;
}