body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

#container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#map {
    flex: 1;
    min-height: 50%;
}

#partners-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f5f5f5;
}

#partners-list h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

#partners {
    list-style: none;
    padding: 0;
}

#partners li {
    padding: 10px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
}

#form-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#form-container.active {
    transform: translateY(0);
}

#form-container h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

#manual-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#manual-form input,
#manual-form button,
#google-login {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#manual-form button,
#google-login {
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay.hidden {
    display: none;
}

@media (min-width: 768px) {
    #container {
        flex-direction: row;
    }

    #map {
        flex: 2;
    }

    #partners-list {
        flex: 1;
        max-width: 300px;
    }

    #form-container {
        max-width: 400px;
        right: auto;
    }
}