.key { display: inline-block; padding: 2px 6px; background: #333; color: #fff; border-radius: 4px; font-size: 12px; font-weight: bold;}
.toggle-btn { margin-top: 10px; cursor: pointer; padding: 5px 12px; background: #007BFF; color: white; border: none; border-radius: 4px; font-size: 14px; transition: background 0.2s;}
.toggle-btn:hover { background: #0056b3; }
.status-label { display: inline-block; width: 80px; font-weight: bold; color: #555; }

/* 模式选择按钮 */
.mode-btn {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 16px;
    font-family: system-ui, -apple-system, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6; /* 默认未选中状态 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mode-btn:hover {
    filter: brightness(0.9); /* 加深10% */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mode-btn:active {
    filter: brightness(0.8); /* 加深20% */
    transform: translateY(1px);
}

.mode-btn.active {
    opacity: 1.0;
    transform: scale(1.05);
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 车辆重置按钮 */
#resetBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    border: none;
    font-size: 14px; /* 稍微调小一点字体以适应圆形 */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

#resetBtn:hover {
    background: #45a049;
    transform: scale(1.1);
}

#resetBtn:active {
    transform: scale(0.95);
}

/* 移动端适配 */
@media (max-width: 768px) {
    #resetBtn {
        width: 80px;
        height: 80px;
        bottom: 30px;
        right: 30px;
        font-size: 16px;
    }
}
