﻿/* Operations workspace polish for Radzen-backed pages */
.sme-body > .toolbar,
.toolbar {
    margin-bottom: 14px !important;
}

.toolbar .rz-button,
.toolbar .btn {
    min-height: 40px;
}

.toolbar .rz-textbox.search-box,
.toolbar input.search-box {
    width: min(100%, 460px);
}

.table-wrapper {
    margin-bottom: 0;
}

.styled-table .rz-button {
    min-width: 78px;
}

.styled-table .rz-button .rz-button-icon-left {
    margin-right: 4px;
}

.paging-container .rz-button {
    height: 34px;
    min-width: 34px;
    padding: 0;
}

.paging-container .rz-button .rz-button-icon-left {
    margin: 0;
}

.modal-form .rz-textbox,
.modal-form .rz-dropdown,
.modal-form .rz-numeric,
.modal-form .rz-datepicker,
.modal-form .form-control,
.modal-form .form-select {
    width: 100%;
}

.modal-form h6,
.modal-form .section-title {
    color: var(--mf-ink);
    font-size: .88rem;
    font-weight: 800;
    margin: 18px 0 10px;
}

.operation-summary,
.cr-stats-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 14px;
}

.operation-card,
.cr-card {
    background: var(--mf-surface);
    border: 1px solid var(--mf-border-soft);
    border-radius: var(--mf-radius);
    box-shadow: var(--mf-shadow-sm);
    padding: 14px 16px;
}

.operation-card-title,
.cr-card-title {
    color: var(--mf-muted);
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.operation-card-value,
.cr-card-value {
    color: var(--mf-ink);
    font-size: 1.35rem;
    font-weight: 850;
}

@media (max-width: 760px) {
    .toolbar .rz-textbox.search-box,
    .toolbar input.search-box,
    .toolbar .rz-button,
    .toolbar .btn {
        width: 100%;
    }

    .styled-table .rz-button {
        min-width: 70px;
    }
}
