/* GLOBAL STYLES */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background-color: #f5f7f9;
}

/* NAVIGATION BAR */
.navbar {
    background-color: #ffffff; /* Change to #2c3e50 for dark mode */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 70px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.nav-links {
    display: flex;       /* This makes the list horizontal */
    list-style: none;    /* This removes the bullets */
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #007bff;
}

/* DATABASE LAYOUT (Side-by-side) */
.db-container {
    display: flex;
    max-width: 1400px;
    margin: 30px auto;
    gap: 20px;
    padding: 0 20px;
}

/* SIDEBAR MENU */
.sidebar {
    width: 300px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sidebar h4 {
    color: #007bff;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sidebar-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.sidebar-item.active {
    background-color: #2b67f6;
    color: white;
}

/* SEARCH BAR */
.search-container {
    background: white;
    padding: 20px 40px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.search-input {
    width: 300px;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fafafa;
}