html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    display: block; /* not flex! let the container handle its own layout */
}
.logo {
    width: auto;
    max-height: 60px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.container {
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    background-color: white;
}


/* Language Selector */
.language-selector {
    position: relative;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
}

#current-lang {
    width: 100%;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 16px;
}

#current-lang img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

/* Dropdown */
.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-top: 6px;
    z-index: 100;
    overflow-y: auto;
    max-height: 250px;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    justify-content: center;
}

.lang-option:hover {
    background-color: #f3f3f3;
}

.lang-option img {
    width: 24px;
    height: 16px;
    object-fit: cover;
}

/* Hidden class */
.hidden {
    display: none;
}

/* Responsive text */
h1, p {
    margin: 10px 0;
    font-size: 1rem;
}

#continue-button {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    background-color: #184772;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

#continue-button:hover {
    background-color: #184772;
}

.popup {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    text-align: center;
    border-radius: 10px;
}

.popup.hidden {
    display: none;
}

.popup button {
    margin: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

#popup-accept {
    background-color: #dc040f;
    color: white;
}

#popup-decline {
    background-color: #ccc;
}
