body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #1a73e8;
    margin-bottom: 5px;
}

.setup-instructions {
    font-style: italic;
    color: #5f6368;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    max-width: 80%;
}

.device-selection {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

label {
    font-weight: bold;
}

select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 150px;
}

.info-display {
    display: flex;
    justify-content: space-around;
    width: 90%;
    max-width: 1200px;
    gap: 20px;
}

.log-section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
}

h2 {
    color: #5f6368;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-size: 1.1em;
}

.log-box {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 10px;
    font-size: 0.9em;
    line-height: 1.4;
    background-color: #f9f9f9;
}

.log-box div {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.state-box p {
    margin: 5px 0;
}
.state-box span {
    font-weight: bold;
    color: #1a73e8;
}