  body,
        html {
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
            overflow: hidden;
        }

        #container {
            width: 100%;
            height: calc(100% - 40px);
            position: relative;
            padding: 10px;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            font-size: 16px;
            line-height: 1.3;
            overflow-y: auto;
        }

        #display {
            width: 100%;
            min-height: 300%;
            white-space: pre-wrap;
            word-wrap: break-word;
            outline: none;
        }

        #display img {
            max-width: 100%;
            height: auto;
        }

        #status-bar {
            height: 40px;
            background-color: #f0f0f0;
            padding: 10px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        .connected {
            background-color: green;
        }

        .disconnected {
            background-color: red;
        }

        #tools {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #f0f0f0;
            padding: 10px;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            display: none;
            transition: transform 0.3s ease-in-out;
            transform: translateY(100%);
        }
        #tools.visible {
            display: flex;
            justify-content: space-around;
            transform: translateY(0);
        }
        #tools button {
            background: none;
            border: none;
            padding: 5px 10px;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        #tools button:active {
            background-color: #e0e0e0;
        }

/* Login Form Styles */
#login {
    display: none; /* Make form display none */
    position: absolute;    
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#login input {
    width: 90%;
    margin-bottom: 10px;
    padding: 5%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#login button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
