/* ================================ */
/* Toolbar                          */
/* ================================ */

.rgp-toolbar {
    width: 100%;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.rgp-toolbar-center {
    width: 100%;
    max-width: 650px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 0;
}

/* ================================ */
/* Кнопка                           */
/* ================================ */

.rgp-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* ================================ */
/* Квадратная иконка                */
/* ================================ */

.rgp-tool-icon {
    width: var(--rgp-icon-size);
    height: var(--rgp-icon-size);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--icon-bg);
    border: 5px solid var(--icon);
    border-radius: 28%;
    box-sizing: border-box;
    /* transition: .18s; */
    transition:
        background .2s,
        border-color .2s,
        transform .2s,
        box-shadow .2s;
}

/* ================================ */
/* SVG                             */
/* ================================ */

.rgp-tool-icon svg {
    width: 46%;
    height: 46%;
    stroke: var(--icon);
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ================================ */
/* Подпись                          */
/* ================================ */

.rgp-tool-btn span {
    font-size: 18px;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
}

/* ================================ */
/* Hover                            */
/* ================================ */

.rgp-tool-btn:hover .rgp-tool-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.rgp-tool-btn:active .rgp-tool-icon {
    transform: scale(.95);
}

.rgp-tool-btn:disabled {
    opacity: .65;
    cursor: default;
}

/* ================================ */
/* Timer                            */
/* ================================ */

.rgp-timer {

    min-width: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 700;

    color: var(--text);

    user-select: none;

}

.rgp-toolbar {

    gap: 20px;

}