/* General styling for the body */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Container to center the form and add spacing */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px); /* Adjust height to leave space for fixed footer */
    flex-direction: column;
}

/* Styling for the form section */
.postS {
    background: #ffffff; /* White background for contrast */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 100%;
    max-width: 500px; /* Limit max width */
    position: relative; /* Ensure relative positioning for absolute positioning within */
}

/* Input and button styles */
input[type="text"] {
    width: calc(100% - 24px); /* Full width with padding adjustment */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #007bff; /* Highlight border on focus */
    outline: none;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.manualButton {
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
}

.manualButton.active {
    background-color: #007bff;
    color: #ffffff;
}

/* Container for data and pagination */
.container2 {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Shadow at the top */
    z-index: 1000;
}

/* Data box styling */
.data-box {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Pagination styling */
.pagination-box {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.pageButton {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.pageButton.active {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

/* Error message styling */
.pErrors {
    margin-top: 20px;
    color: #d9534f; /* Red color for errors */
    font-size: 14px;
}

/* Address lines container */
.addrLines {
    display: none; /* Hidden by default */
    margin-top: 10px;
    /* Ensure that it is not affected by CSS transitions */
}

.addrLines input {
    margin-bottom: 10px; /* Spacing between address inputs */
}
