:root {
	--top-height: 56px; /* Adjusted for a simpler navbar */
}
html,
body {
	height: 100%;
}
body {
	font-size: 0.875rem;
}
#main {
	height: calc(100% - var(--top-height));
}
#log-main {
	display: flex;
	flex-direction: column;
	height: 100%;
}
#serial-logs {
	overflow-y: scroll;
	white-space: pre-wrap;
	word-break: break-all;
    flex-grow: 1;
}

/* Status Bar Styles */
.status-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #495057;
}

.status-label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 4px;
}

#firmware-version, #bean-hopper-status, #powder-weight, #liquid-weight {
    font-weight: bold;
    font-size: 1.1rem;
    color: #007aff; /* Apple-like blue */
}