body {
    grid-template-columns: 1fr min(66rem, 90%) 1fr;
    font-size: 0.95rem;
}

header {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    background-color: #F5F7FF;
    border-bottom: 1px solid lightslategray;
}
main {
    margin-top: 30px;
    margin-bottom: 50px;
}

.gridjs-wrapper {
    min-height: 400px;
}

footer {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
}

.logo {margin-top: 25px; width: 350px; border: none; outline: none;}

.hidden {display: none}
/* html { font-size: 15px;} */
table { font-size: 0.9rem}

.lisa-table tr:hover {
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.2); /* Light blue background */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it stays on top of everything */
    visibility: hidden; /* Initially hidden */
    opacity: 0; /* Initially transparent */
    transition: visibility 0s, opacity 0.3s ease-in-out; /* Smooth fade in/out */
}

/* Spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light gray border */
    border-top: 4px solid #3498db; /* Blue border on top */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Rotate infinitely */
}

/* Keyframes for the spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Show the loader */
.fullscreen-loader.active {
    visibility: visible;
    opacity: 1;
}

input[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4);
}

.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup {
    position: relative;  /* Add this line */
    width: 75%;
    max-width: 900px;
    margin: 100px auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
}

/* The Close Button */
.close-btn {
    color: #444;
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 23px;
  }

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

