:root {
    --main-background: #1e1e1e;
    --main-background-transparent: #1e1e1eb0;
    --darker-background: #121212;
    --slight-lighter-background: #2c2c2c;
    --lighter-background: #444444;
    --white-font: #e1e1e1;
    --secondary-white-font: #bbb;
    --blue: #0056b3;
    --slight-darker-blue: #003d82;
    --green: #4CAF50;
    --slight-darker-green: #45a049;
    --orange: #f7921f;
    --slight-darker-orange: #e58a35;
    --slight-lighter-orange: #ffd6aa;
}

header {
    padding: 17px 10px;
}

header h1 {
    margin: 0;
}

select {
    background-color: var(--slight-lighter-background);
    color: var(--white-font);
    border: 1px solid var(--lighter-background);
}

/* Profile Icon */
#profile-button {
    border-radius: 50%;
    padding: 2px;
    background-color: var(--blue);
    text-decoration: none;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

/* Navigation buttons */

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-button {
    background-color: var(--green);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: var(--slight-darker-green);
} 

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--slight-lighter-background);
    color: var(--white-font);
}

.table th,
.table td {
    border: 1px solid var(--lighter-background);
    padding: 2px 12px;
    text-align: left;
}

.table th {
    background-color: #3a3a3a;
    font-weight: bold;
    padding: 12px;
    color: var(--white-font);
}

.table tr:nth-child(even) {
    background-color: #1e1e1e;
}

.table tr:hover {
    background-color: var(--lighter-background);
    transition: background-color 0.2s ease;
}

.title-container {
    display: flex;
    align-items: center;
}

/* Modern scrollbar styling */
* {
    /* For Firefox */
    scrollbar-width: thin;
    scrollbar-color: #4a4a4a #1a1a1a;
}

/* For Chrome, Safari, and Opera */
*::-webkit-scrollbar {
    width: 8px;  /* width of vertical scrollbar */
    height: 8px; /* height of horizontal scrollbar */
}

*::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
    transition: background 0.2s ease-in-out;
}

*::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* For corner where vertical and horizontal scrollbars meet */
*::-webkit-scrollbar-corner {
    background: #1a1a1a;
}