/* Styling for the Edit Billing Address header */
.modal-content h3 {
    font-size: 20px;
    /* Adjust the size as needed */
    font-weight: bold;
    margin-bottom: 15px;
    /* Adjust space below the header */
    color: #333;
    /* Set the color to match your design */
}

/* Modal (hidden by default) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    overflow: auto;
    /* Allow scrolling if content exceeds the modal height */
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: auto;
    /* Allow the modal to adjust height based on content */
    max-height: 80vh;
    /* Max height to prevent it from being too tall */
    overflow-y: auto;
    /* Enable scrolling if content exceeds the max height */
}

/* Close button (X) */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

/* Hover effect for close button */
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Button that opens the modal */
button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background-color: #005177;
}

/* Styling for form input fields */
input[type="text"] {
    width: 100%;
    padding: 6px;
    /* Reduced padding */
    margin: 4px 0;
    /* Reduced margin */
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit button */
input[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    /* Ensure button fits within the form */
}

input[type="submit"]:hover {
    background-color: #218838;
}