/* Style dla panelu Home Assistant */
.ha-panel {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ha-connection-status {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
}

.ha-control-btn {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    background-color: #03a9f4;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ha-control-btn:hover {
    background-color: #0288d1;
}

.ha-control-btn.ha-loading {
    opacity: 0.7;
    cursor: wait;
}

.ha-control-btn.ha-success {
    background-color: #4caf50;
}

.ha-control-btn.ha-error {
    background-color: #f44336;
}

.ha-entity {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
}

.ha-entity-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.ha-entity-state {
    color: #666;
    font-size: 0.9em;
}
