.text-sm {
    font-size: small;
}

.btn-wd {
    width: 140px;
}

.tb-btn {
    font-size: 1.375rem;
}

/* Command-icon cell (edit/delete) in master & detail grids: keep the icons on one
   horizontal line. Without this, MudDataGrid's auto table layout can shrink the column
   to a single icon's width and wrap the icons vertically (notably in wide detail grids). */
.rf-cmd-cell {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

/* Inline cell editing (the grids' "Satır içi düzenleme" toggle): numeric cells without spin
   buttons, right-aligned like the read-only cells, so switching modes doesn't reflow the grid. */
.mud-table-cell .mud-input-numeric-spin {
    display: none !important; /* something sets display:flex past MudBlazor's own rule */
}

.mud-table-cell.rf-num-cell input {
    text-align: right;
}

/* Grid cell tools: the clicked cell that Delete, Ctrl+C/V and Ctrl+Insert act on, and its right-click menu. */
.mud-table-cell.rf-hucre-aktif {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

/* Rows ticked in the command column's selection boxes, and the count on the bulk-delete icon. */
.rf-secili > td {
    background-color: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent);
}

.rf-secili-sayi {
    font-size: .7rem;
    font-weight: 600;
    margin-left: 2px;
    vertical-align: super;
}

.rf-hucre-menu-perde {
    position: fixed;
    inset: 0;
    z-index: 1400;
}

.rf-hucre-menu {
    position: fixed;
    z-index: 1401;
    min-width: 280px;
}

.splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    height: 100vh;
    font-family: "Segoe UI",Roboto,"Helvetica Neue","-apple-system",BlinkMacSystemFont,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

    .splash-screen .spinner-border {
        border: .2em solid;
        border-color: var(--mud-palette-primary) var(--mud-palette-lines-default) var(--mud-palette-lines-default);
        width: 120px;
        height: 120px;
    }

.splash-screen-caption {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.splash-screen-text {
    color: var(--mud-palette-text-secondary);
    margin-top: .5rem;
}


.hil {
    border-top: 3px solid var(--mud-palette-info);
}

.table-wrapper {
    overflow: auto;
    display: block;
    position: relative;
}

.tdcol-value {
    width: 5.9375rem;
    text-align: right;
}

.tdcol-kod {
    width: 2.1875rem;
    text-align: right;
}

.tdcol-aciklama {
    width: 21.875rem;
}

/* The KZ/Bilanço sheets are dense ledgers: row height encodes the outline level, so the
   generic .table cell padding is dropped and the heights below become minimums. A label that
   is too long for .tdcol-aciklama then wraps into a taller row instead of spilling over the
   next one. */
.table-wrapper .table > thead > tr > th,
.table-wrapper .table > tbody > tr > td {
    padding-top: 0;
    padding-bottom: 0;
}

/* Report rows are rem so compact density shrinks them too; the smallest steps stop at 10px. */
.subtext {
    font-weight: 300;
    font-size: max(.6875rem, 10px);
    min-height: 1.25rem;
}

.subtextPadded {
    padding-left: 2.5rem !important;
}

.standardtext {
    font-size: max(.6875rem, 10px);
    min-height: 1.375rem;
}

.standardtextPadded {
    padding-left: 2rem !important;
}

.subheading {
    font-weight: bold;
    font-size: max(.6875rem, 10px);
    min-height: 1.5rem;
}

.subheadingPadded {
    padding-left: 1.5rem !important;
}

.firstheading {
    font-weight: bold;
    font-size: .75rem;
    min-height: 1.5rem;
}

.firstheadingPadded {
    padding-left: 1rem !important;
}

.secondheading {
    font-weight: bold;
    font-size: .75rem;
    min-height: 1.5rem;
}

.secondheadingPadded {
    padding-left: .5rem !important;
}

.thirdheading {
    font-weight: bold;
    min-height: 1.5rem;
    font-size: .875rem;
}

/* Content padding for secondary layouts (DashboardLayout). MainLayout scopes its own. */
.content {
    padding: 1.1rem 2rem 0 2rem;
    overflow: auto;
}

.rf-icon-bold {
    font-size: 1.2rem;
    -webkit-text-stroke: 1px;
    padding: 0.25rem;
}

.rf-icon-bold-sm {
    font-size: 1.1rem;
    -webkit-text-stroke: 1px;
    padding: 0.25rem;
}

.rf-icon {
    font-size: 1.2rem;
    padding: 0.25rem;
}

.rf-icon-sm {
    font-size: 1.1rem;
    padding: 0.25rem;
}

.my-button {
    cursor: pointer;
    width: 30px;
    padding: 1px;
    float: right;
    text-align: right;
}

/* Numeric grid columns render right-aligned (values line up on the decimal). Year columns are
   excluded — they read as labels and keep the default left alignment. See NumericColumnHelper. */
.rf-num-cell {
    text-align: right;
}

.rf-num-header .sortable-column-header {
    text-align: right;
}
