body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#dataBox {
    flex: 1;
    width: 100vw;
    border: 1px solid #ccc;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    white-space: pre-wrap;
    font-family: monospace;
    box-sizing: border-box;
}

.rx {
    color: blue;
}

.tx {
    color: green;
}

#txInput {
    width: calc(100% - 90px);
    padding: 5px;
    margin-right: 10px;
}

#status {
    margin: 10px;
    padding: 10px;
    background: #e0f7fa;
    border: 1px solid #00acc1;
    border-radius: 4px;
}

button {
    padding: 5px 10px;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.controls {
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.input-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.flex {
    display: flex;
}

.status-position {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    background: #e0f7fa;
    border: 1px solid #00acc1;
    border-radius: 4px;

}

.gap-2 {
    gap: 2rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}
