body {
    font-family: 'Century Gothic', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #f0f4f7, #dce1e6);
    color: #333;
}

.container {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #004080;
    font-size: 28px;
    font-weight: 600;
}

.tagline {
    font-size: 14px;
    color: #777777;
    max-width: 600px;
    margin: 10px auto;
    opacity: 0.7;
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    flex-grow: 1;
}

.form-section, .map-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.map-section {
    visibility: collapse;
}

form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.address-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

label {
    font-weight: 500;
    color: #555555;
    margin-bottom: 10px;
    text-align: left;
}

input {
    padding: 14px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.add-address-btn {
    background-color: #007bff;
    color: #ffffff;
    margin-top: 10px;
    align-self: flex-start;
    display: flex;
    align-items: center;
}

button.add-address-btn .icon {
    margin-right: 8px;
    font-size: 20px;
    font-weight: bold;
}

button.add-address-btn:hover {
    background-color: #0056b3;
}

button.add-address-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

button.removeAddressBtn {
    background-color: #c9302c;
    color: #ffffff;
    width: auto;
    align-self: center;
    margin-top: 10px;
    padding: 8px 12px;
}

button.removeAddressBtn:hover {
    background-color: #ac2925;
}

button.submit-btn {
    background-color: #28a745;
    color: #ffffff;
    margin-top: auto;
}

button.submit-btn:hover {
    background-color: #218838;
}

.map {
    width: 100%;
    height: 400px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background-color: #f4f4f4;
}

.more-options {
    margin-top: 20px;
    display: none;
}

.footer {
    margin-top: 20px;
    font-size: 14px;
    color: #777777;
    text-align: center;
}

.suggestions-container {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

@media (min-width: 600px) {
    .content {
        flex-direction: row;
        gap: 20px;
    }

    .form-section, .map-section {
        width: 50%;
    }

    .address-field {
        flex-direction: row;
        align-items: center;
    }

    label {
        flex: 1;
        margin-bottom: 0;
    }

    input {
        flex: 2;
        margin-bottom: 0;
    }

    button.removeAddressBtn {
        margin-left: 15px;
        align-self: auto;
    }
}

@media (min-width: 1024px) {
    .map-section {
        width: 100%;
    }

    .form-section {
        width: 100%;
    }

    .map {
        height: 600px;
    }
}

@media (min-width: 1440px) {
    .map-section {
        width: 70%;
    }

    .form-section {
        width: 30%;
    }

    .map {
        height: 700px;
    }
}

@media (min-width: 1800px) {
    .map-section {
        width: 75%;
    }

    .form-section {
        width: 25%;
    }

    .map {
        height: 800px;
    }
}
