button:not(.tox-tbtn,.tox-statusbar__wordcount):not([class^="jsoneditor-"]):not([class^=" pico-"]),
.button:not(.tox-tbtn,.tox-statusbar__wordcount):not([class^="jsoneditor-"]):not([class^=" pico-"]) {
    min-height: 45px;
    border: solid var(--taurusNetworkDarkBlue) 1px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: var(--borderRadius);
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
    width: fit-content;

    &.small {
        min-height: 20px;
        font-size: 0.9rem;
    }

    &.pull-right {
        margin-left: auto;
        margin-right: 0;
        display: block;
        width: fit-content;
    }

    &.block {
        display: block;
        width: 100%;
        text-align: center;
    }

    &:hover {
        cursor: pointer;
    }

    &.with-icon,&:has(svg) {
        display: flex;
        align-items: center;
        gap: 9px;

        svg {
            fill: white;
            width: 15px;
        }
    }

    &.primary {
        background-color: var(--taurusNetworkDarkBlue);
        color: white !important;
        font-weight: bold;

        &:hover {
            background-color: var(--taurusNetworkPrimary);
        }

        &:active {
            background-color: var(--taurusNetworkPrimaryDark);
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        }
    }

    &.secondary {
        background-color: #9ca3a6;
        color: white;
        font-weight: bold;

        &:hover {
            background-color: #9ec1d0;
        }

        &:active {
            background-color: #939393;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        }
    }

    &.danger {
        background-color: #C76161;
        color: white;
        font-weight: bold;

        &:hover {
            background-color: #ca3e3e;
        }

        &:active {
            background-color: #8f1d1d;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        }
    }

    &.success {
        background-color: #61C784;
        color: white;
        font-weight: bold;

        &:hover {
            background-color: #3f965d;
        }

        &:active {
            background-color: #226b3c;
            box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        }
    }

    &[disabled] {
        background-color: rgb(85, 85, 85) !important;
        opacity: 0.6;

        cursor: not-allowed;
    }

    &.muted {
        border: none;
        box-shadow: none;
        font-weight: bold;
        color: black;

        &:hover {
            font-weight: normal;
            text-decoration: underline;
        }
    }

    &.fc-button {
        height: 30px;
        padding: 10px;
    }
}

div.button-row {
    display: flex;
    gap: 20px;
    text-align: center;
    flex-wrap: wrap;
    align-items: center;

    &.small {
        gap: 10px;
    }

    &.icons {
        button,.button {
            width: 40px;
        }
    }

    &.half {
        button,.button {
            width: calc(50% - 10px) !important;
            text-align: center;
        }
    }

    &.left-bias {
        align-items: center;

        button,.button {
            width: calc(40% - 10px);
        }

        :first-child {
            width: calc(60% - 10px);
        }
    }

    &.right-bias {
        button,.button {
            width: calc(60% - 10px);
        }

        :first-child {
            width: calc(40% - 10px);
        }
    }

    &.pull-right {
        justify-content: flex-end;
    }

    &.pull-center {
        justify-content: center;
    }

    button.grow {
        flex-grow: 1;
    }

    @media (max-width: 600px) {
        button,.button {
            width: 100%;
        }
    }
}

a.button {
    text-decoration: none;
    padding-top: 10px !important;
}