.telemetry-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.telemetry-item span { color: var(--text-secondary); }

.badge {
    background: var(--success);
    color: #000;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.badge.disconnected { background: var(--danger); color: #fff; }

.battery-meter-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.battery-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--danger), var(--success));
    transition: width 0.3s ease;
}

.joystick-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#joystick {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    touch-action: none; /* Previne rolagem de tela e gestos no celular ao arrastar */
}

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    margin-bottom: 12px;
    outline: none;
}

input:focus { border-color: var(--accent-cyan); }

button {
    width: 100%;
    background: var(--accent-glow);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover { opacity: 0.9; }

.danger-btn { background: var(--danger); }

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-cyan);
    transition: width 0.1s ease;
}

.status-msg { font-size: 12px; color: var(--text-secondary); display: block; text-align: center; }
.subtitle { font-size: 12px; color: var(--text-secondary); margin-bottom: 15px; }
.profile-badge { color: var(--accent-cyan); }

.power-btn-head {
    width: auto !important;
    padding: 6px 16px !important;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 8px !important;
    transition: background 0.3s ease;
}
.power-btn-head.on {
    background: #00f5a0 !important;
    color: #000 !important;
}
.power-btn-head.off {
    background: #ff007f !important;
    color: #fff !important;
}
