/* static/css/custom.css */

/* Arrows for indicating column sort order */
/*.arrow {*/
/*    font-size: 0.75em; !* Adjust size as needed *!*/
/* } */
.arrow.asc::after {
    content: '▲';
}
.arrow.desc::after {
    content: '▼';
}

/* Make links bold, blue, and underline */
a.important-link {
    color: #007bff; /* Blue color */
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s; /* Smooth color transition */
}

a.important-link:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

.modal-overlay {
    /* display: none; *//* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    /*background-color: white;*/
    /* background-color: rgba(255, 255, 255, 1) !important; */ /* Semi-transparent white */
    background-color: white !important; /* Semi-transparent white */
    padding: 20px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh; /* Limits the modal height to 80% of the viewport height */
    overflow-y: auto; /* Adds vertical scroll if content exceeds max-height */
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Toggle button styling */
.toggle-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ccc;
    color: black;
    font-weight: bold;
}

.toggle-button.active {
    background-color: #4CAF50;
    color: white;
}

/* Submit button */
.submit-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pagination a {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.3em 0.6em;
    margin: 0 0.2em;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    font-weight: bold;
    background-color: #ddd;
    padding: 0.3em 0.6em;
    margin: 0 0.2em;
    border-radius: 4px;
}

.pagination .disabled {
    color: #999;
    cursor: not-allowed;
    padding: 0.3em 0.6em;
    margin: 0 0.2em;
}

