/* css/dot_viewer/global_controls.css */

.global-controls {
    margin-bottom: 15px;
    text-align: right;
    /* Position will be adjusted by fullscreen_view.css when active */
}

/* Common style for global control buttons */
.global-controls button {
    color: white;
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-size: 20px; /* Icon base size */
    line-height: 1; /* Align icon properly */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.global-controls button svg {
    display: block;
    width: 1em;     /* Relative to button font-size */
    height: 1em;    /* Relative to button font-size */
    fill: currentColor;
}

#toggle-all-panels-btn {
    background-color: #6c757d;
}
#toggle-all-panels-btn:hover {
    background-color: #5a6268;
}

#toggle-fullscreen-btn {
    background-color: #007bff;
    margin-left: 10px; /* Space from the other button */
}
#toggle-fullscreen-btn:hover {
    background-color: #0056b3;
}