/* Restore the compact button sizes used by the panel before the theme upgrade. */
.btn {
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.42857143;
}

.btn-sm,
.btn-group-sm > .btn {
    padding: .25rem .5rem;
    font-size: .75rem;
    line-height: 1.5;
}

.btn-lg,
.btn-group-lg > .btn {
    padding: .5rem 1rem;
    font-size: 1.125rem;
    line-height: 1.33333333;
}

.crud-table tbody .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-height: 28px;
    padding: .2rem .5rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.crud-table tbody .btn { text-decoration: none; vertical-align: middle; }
.crud-table tbody .btn > i,
.crud-table tbody .btn > .la { font-size: 1em; line-height: 1; }

/* Keep the Vue screens' Element buttons at the same compact scale. */
body .el-button {
    padding: 9px 15px;
    font-size: 14px;
    border-radius: 3px;
}

body .el-button--medium {
    padding: 8px 14px;
}

body .el-button--small {
    padding: 7px 12px;
    font-size: 12px;
}

body .el-button--mini {
    padding: 5px 10px;
    font-size: 12px;
}

body .el-button--text {
    padding: 0;
}
