.shapes {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 20vw;
    height: auto;
    z-index: 0;
}

/* Image inside the container */
.shapes img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- LANDING DROPDOWN (Zurich design) ---- */

.landing-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.language-select-container {
    display: flex;
    align-items: center;
    background-color: transparent;
    justify-content: center;
    gap: 10px;
}

/* Main dropdown container (white capsule look) */
.custom-dropdown {
    position: relative;
    width: 280px;
    user-select: none;
    font-family: 'Zurich Sans Light', sans-serif;
}

.dropdown-selected {
    background-color: #fff;
    border-radius: 999px;
    padding: 15px 40px 15px 20px;
    font-size: 1rem;
    color: #2167AE;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
    justify-content: flex-start;
    position: relative;
}

/* Add dropdown arrow */
.dropdown-selected::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    border: solid #2167AE;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: translateY(-50%) rotate(45deg);
}

.dropdown-selected img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 100;
}

.dropdown-options li {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #2167AE;
}

.dropdown-options li:hover {
    background: #f0f3fa;
}

.dropdown-options img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.landing-btn {
    background-color: #ffffff;
    color: #2167AE;
    font-size: 1.2rem;
    font-family: 'Zurich Sans Light', sans-serif;
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.landing-btn:hover {
    background-color: #f0f4ff;
    color: #2167AE;
    transform: translateY(-1px);
}

#dropdownOptions {
    max-height: none;
    overflow-y: visible;
}

/* Medium Screens (Tablets) */
@media (max-width: 1200px) {
    .shapes {
        width: 25vw;
    }
}

@media (max-height: 900px) {
    #dropdownOptions {
        max-height: 17vh; /* or adjust to fit design */
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #0056a3 #f0f0f0;
    }

    #dropdownOptions::-webkit-scrollbar {
        width: 8px;
    }

    #dropdownOptions::-webkit-scrollbar-thumb {
        background-color: #0056a3;
        border-radius: 4px;
    }

    #dropdownOptions::-webkit-scrollbar-track {
        background-color: #f0f0f0;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {

    .shapes {
        width: 35vw;
    }

    .landing-form {
        flex-direction: row;
    }

    .language-select-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
    }

    .custom-dropdown {
        width: 250px;
        margin-bottom: 8px;
    }

    .landing-btn {
        width: auto;
        align-self: center;
    }

    #dropdownOptions {
        max-height: 180px; /* or adjust to fit design */
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #0056a3 #f0f0f0;
    }

    #dropdownOptions::-webkit-scrollbar {
        width: 8px;
    }

    #dropdownOptions::-webkit-scrollbar-thumb {
        background-color: #0056a3;
        border-radius: 4px;
    }

    #dropdownOptions::-webkit-scrollbar-track {
        background-color: #f0f0f0;
    }
}