/* * {
    font-family: "Inter", sans-serif;
} */

body {
    background-color: #202225;
    border-width: 0px;
    color: white;
}

hr {
    width: 98%;
}

button {
    cursor: pointer;
    background-color: #5864f1;
    color: black;
    box-shadow: 2px 5px 0px 0px rgb(0,0,0);
    border-radius: 10px;
    font-size: 30px;
    margin-top: 5px;
}

button:hover {
    background-color:#949494;
    transition: 0.2s;
}

button:active {
    box-shadow: 0px 0px 0px 0px rgb(0,0,0);
    transition: 0.2s;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

table {
    width: 50%; /* Table width */
    margin: auto; /* Center horizontally */
    border-collapse: collapse; /* Remove gaps between cells */
}

th, td {
    padding: 10px; /* Spacing */
    border: 1px solid gray; /* Add border */
}

thead {
    background-color: rgb(50, 50, 50);
    color: white;
}

tbody tr:nth-child(even) {
    background-color: rgb(25, 28, 39);
}

li {
    padding-bottom: 20px;
}

.overlay {
    position: fixed; /* Ensure it stays fixed on the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
}

.popup {
    background-color: rgb(61, 64, 66);
    position: fixed; /* Changed to fixed for better positioning */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the popup */

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    
    border: 1px solid black;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.popup-heading {
    background-color: rgb(61, 64, 66);
    position: sticky;
    top: 0;
    margin-top: 0%;
    margin-bottom: 0%;
    padding: 20px;
    border-bottom: white solid 1px;
}

.popup-body {
    padding: 20px;
}

.popup-buttons {
    position: sticky;
    top: 50px;
    display: flex;
    flex-direction: row;
    margin: 20px;
    justify-content: flex-end;
}

.popup-buttons > *{
    flex-grow: 1;
}

.popup-button{
    margin: 10px;
    font-size: 30;
}