/*
    This file is part of BDUK (BOII Development UI Kit) and is licensed under the MIT License.
    See the LICENSE file in the root directory for full terms.

    © 2025 Case @ BOII Development

    Support honest development — retain this credit. Don’t be that guy...
*/

/* Container */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    background: var(--background_main);
    color: var(--text_primary);
    font-family: var(--header_font);
    box-shadow: var(--inset_shadow_large);
    z-index: 11;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    opacity: 1;
    user-select: none;
}

/* Sections */
.footer_section {
    flex: 1 1 0%;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    min-width: 0;
    padding: 0 2vw;
    overflow: hidden;
}
.footer_section.center {
    justify-content: center;
}

/* Groups */
.footer_group,
.footer_container,
.footer_actions_group {
    display: flex;
    gap: 1vw;
    align-items: center;
}

/* Actions */
.footer_action {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    opacity: 0.9;
    font-size: 1rem;
    transition: opacity 0.2s ease;
    cursor: pointer;
}
.footer_action.disabled {
    opacity: 0.4;
    pointer-events: none;
}
.footer_key {
    background: var(--accent);
    box-shadow: var(--inset_shadow_large);
    border-radius: var(--border_radius_outer);
    padding: var(--button_padding);
    font-size: 1rem;
    color: var(--text_primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    text-align: center;
}
.footer_label {
    font-size: 1rem;
    color: var(--text_secondary);
    text-shadow: var(--text_shadow_hard);
}

/* Text */
.footer_text {
    font-size: 1rem;
    color: var(--text_secondary);
    display: flex;
    align-items: center;
    padding: 0.25vh 1vw;
}

/* Buttons */
.footer_button_group {
    display: flex;
    gap: 1vw;
    align-items: center;
}