/* The Modal (background) */
.tip-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 15%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content (Box) */
.tip-modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: auto; /* Could be more or less, depending on screen size */
    height: auto; /* Could be more or less, depending on screen size */
    border-radius: 8px;

    /* Add flexbox properties to center the <p> element */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Optional: Center text within the <p> element */
}

/* The Close Button */
#closeModalBtn {
    color: #fefefe;
    background-color: #007BFF; /* White background for button */
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-left: 5px; /* Space between button and edge of modal */
    cursor: pointer;
}

#closeModalBtn:hover {
    background-color: #0056b3; /* Darker background on hover */
}