body {
    padding: 0;
    margin: 0;

    /* Set the background image URL */
    background-image: url("../wallpaper.jpg");

    /* Ensure the image covers the entire container */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Set a fixed height for the container, adjust as needed */
    height: 100vh;

    display: flex;
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    min-height: 100vh; /* Ensure the container takes the full viewport height */
}

.centered-form {
    /* Optional: Add some additional styling to the container if needed */
    width: 80%; /* Adjust this as needed */
    max-width: 400px; /* Adjust this as needed */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(232, 216, 177, 0.9); /* Make the form slightly transparent */
    color: #5C4E3C;
    font-family: Arial, sans-serif;
}

.centered-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.centered-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #5C4E3C;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding doesn't increase total width */
}

.centered-form select:disabled {
    background-color: #ccc; /* Change background color for disabled button */
    cursor: not-allowed; /* Show "not allowed" cursor for disabled button */
}

.centered-form input[type="text"],
.centered-form input[type="password"] {
    outline: none;
}

.centered-form input[type="text"]:focus,
.centered-form input[type="password"]:focus {
    border-color: #E8D8B1;
    box-shadow: 0 0 5px rgba(232, 216, 177, 0.7);
}

.centered-form input[type="submit"] {
    background-color: #C0A080;
    color: #5C4E3C;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.centered-form input[type="submit"]:hover {
    background-color: #5C4E3C;
    color: #E8D8B1;
}

/* Styling for the select dropdown */
.centered-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #5C4E3C;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: white;
    color: #5C4E3C;
    font-size: 16px;
    cursor: pointer;
}

/* Style the dropdown arrow icon */
.centered-form select::after {
    content: '\25BC'; /* Unicode for the down-arrow icon */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Style the options within the dropdown */
.centered-form select option {
    background-color: #E8D8B1;
    color: #5C4E3C;
}

#manage-sample-points-button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #5C4E3C;
    border-radius: 5px;
    background-color: white;
    color: #5C4E3C;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#manage-sample-points-button:hover {
    background-color: #5C4E3C;
    color: #E8D8B1;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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 */
}

/* Mobile-first styling */
.modal-content {
    background-color: rgba(232, 216, 177);
    color: #5C4E3C;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Adjusted width for mobile */
    max-width: 300px; /* Limit width on smaller screens */
    margin: 10% auto; /* Center vertically and horizontally */
}

/* Style checkboxes */
.modal-content li {
    list-style-type: none;
    margin: 10px 0;
}

.modal-content input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}

/* Highlight selected items */
.modal-content input[type="checkbox"]:checked + label {
    font-weight: bold;
    color: #FF5733;
}

/* Adjust checkbox appearance */
.modal-content input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 20px; /* Slightly larger checkboxes for touch interactions */
    height: 20px;
    cursor: pointer;
    background-color: #fff;
}

.modal-content input[type="checkbox"]:checked {
    background-color: #007BFF;
    border-color: #007BFF;
    color: #fff;
}

/* Style "Ok" button */
#ok-button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
}

#ok-button:hover {
    background-color: #0056b3;
}

/* Style "Cancel" button */
#cancel-button {
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
}

/* Custom popup window */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.popup-content button {
    margin: 10px;
    height: 35px;
    width: 100px;
}
