/* HEADER */
.toolbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10%;
}

.toolbox-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--admin_section_text_color);
    text-align: center;
}

/* BODY (BUTTONS) */
.toolbox-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 80%;
}

.toolbox .button {
    background: var(--primary_color);
    border: none;
    padding: 8px 15px;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.toolbox .button i {
    margin-right: 5px;
}

.toolbox .button:hover {
    background: var(--primary_button_hover_color);
    transform: translateY(-2px);
}

.toggle-toolbox {
    background: var(--red);
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    padding: 5px;
    border-radius: 50%;
    width: 100%;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: auto;
    margin-bottom: 1rem;
}

.toggle-toolbox:hover {
    background: var(--dark_red);
    transform: scale(1.1);
}

.toggle-toolbox:active {
    transform: scale(0.95);
}

#toolbar-toggle {
    margin-top: 0.5em;
}

/* FOOTER */
.toolbox-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    margin: auto;
    position: relative;
    flex-direction: column;
}

/* OTHERS */
.toolbox {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: var(--background_light);
    padding: 1rem 2rem;
    z-index: 1000001;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .toolbox {
        padding: 0.5rem 1rem;
        max-width: 100%;
    }

    .toolbox-buttons {
        gap: 5px;
    }

    .toggle-toolbox {
        width: 30px;
        height: 30px;
    }
}

demo-toolbar-buttons,
org-toolbar-buttons {
    all: inherit;
    display: none;
}

demo-toolbar-buttons.display,
org-toolbar-buttons.display {
    display: inherit;
}
