body {
    font-family: Arial, sans-serif;
    /* margin: 0;
    padding: 0; */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px;
    background-color: #333;
    color: #fff;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    width: 100%;
    height: 500px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.address-input {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address-input input[type="text"], .address-input input[type="number"] {
    width: 95%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.address-input input[type="text"]:focus, .address-input input[type="number"]:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

.error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.genrateBtn-container {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.genrate-btn {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

@media (min-width: 769px) {
    .genrate-btn {
        width: 50%;
    }
}

footer {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

/* Responsive Design */
@media (min-width: 769px) {
    main {
        flex-direction: row;
        justify-content: space-between;
    }

    .map-container {
        width: 48%;
    }

    .address-input {
        width: 48%;
    }
}

.text-container {
    margin: 20px;
    justify-content: center;
}

.center-text {
    display: flex;
    justify-content: center;
}

/* Center the modal vertically and horizontally */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

#signupForm,
#loginForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#signupEmail,
#signupPassword,
#loginEmail,
#loginPassword {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#signupEmail:focus,
#signupPassword:focus,
#loginEmail:focus,
#loginPassword:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* box */
.rounded-box {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 1px;
    margin: 10px;
}

.rounded-box h2 {
    font-weight: bold;
}

.rounded-box p {
    margin-bottom: 5px;
}
.input-image-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.input-container, .upload-container, .submit-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.or-container {
    text-align: center;
    font-weight: bold;
    color: #555;
}

input[type="text"], input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus, input[type="file"]:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
}

.submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #6c63ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #574bdf;
}

@media (min-width: 769px) {
    .input-image-section {
        flex-direction: row;
        align-items: center;
    }
    .input-container, .upload-container, .submit-container {
        flex: 1;
    }
    .or-container {
        flex: 0 0 auto;
        margin: 0 20px;
    }
}

