.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-subtle);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(56, 109, 3, 0.1);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.btn-small {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 140ms ease-out;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small:hover {
    background: rgba(56, 109, 3, 0.2);
    transform: translateY(-1px);
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 1.5rem;
        right: 1.5rem;
        background: rgba(15, 23, 42, 0.95);
        border-radius: var(--radius-lg);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        border: 1px solid var(--border-subtle);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .auth-buttons {
        gap: 0.5rem;
    }

    .btn-small {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
    }

    .controls {
        width: 100%;
    }

    .table-container {
        display: none;
    }

    .cards-container {
        display: grid;
    }

    body {
        padding: 1rem;
    }

    .navbar {
        padding: 0.5rem;
    }

    .nav-links {
        left: 1rem;
        right: 1rem;
        top: 65px;
    }
}