/* General body styles */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: dark;
    color: #dee2e6;
    margin: 0;
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);

    background: url('../static/images/backgrounds/team_background.jpg') no-repeat calc(50% + 80px) center;
    background-size: cover;
    background-attachment: fixed;
}

.logo-container {
    position: fixed;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    z-index: -1; /* keeps logo behind everything */
}

.logo-container img {
    opacity: 0.20; /* lower = more transparent, higher = less */
}

.logo {
    opacity: 0.05;
    width: 800px;
    height: auto;
}

.sticky-sidebar a {
    display: block;
    padding: 7px;
    margin-bottom: 0px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.sticky-sidebar a:hover {
    background-color: #3d5a5c;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-table {
    border-collapse: collapse;
    margin-top: 0;
    background: rgba(20,20,20,0.85);
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
}

.team-table th, .team-table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-table tr:hover {
    background: linear-gradient(180deg, rgba(35,35,35,0.95) 0%, rgba(32,32,32,0.9) 100%);
    box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.team-table th:nth-child(1),
.team-table td:nth-child(1) {
    width: 40%;
}
.team-table th:nth-child(2),
.team-table td:nth-child(2) {
    width: 20%;
}
.team-table th:nth-child(3),
.team-table td:nth-child(3) {
    width: 40%;
}

.team-header {
    background: rgba(20, 20, 20, 0.85);
    box-shadow: none !important;
    border-radius: 8px 8px 0 0;
    padding: 0.1rem 0.5rem;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto;
    border-bottom: 1px solid #444;
}

.sticky-sidebar {
    background-color: #1e1e1e;
    background-image: repeating-linear-gradient(
        135deg,
        #1e1e1e,
        #1e1e1e 5px,
        #222222 5px,
        #222222 10px
    );
}

.sticky-sidebar a.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08); /* subtle highlight on hover */
    color: #ffffff;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Keep highlight for the current page */
.sticky-sidebar .active-link {
    background-color: #3d5a5c; /* or whatever color you want */
    color: #ffffff;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

