/*Combobox*/
.devcombobox {
    height: 43px !important;
    width: 100% !important;
}

/*FormCaption*/
.s-text {
    color: #c9302c !important;
    margin-left: -5px !important;
}

/*Toast*/
.toastfixed {
    position: fixed;
    right: 0;
    top: 3rem;
    z-index: 99999;
}

/*Validation*/
.validation-message {
    font-size: 9px;
    color: firebrick;
    margin-left: .25rem;
}

/*Totals*/
.i-totals {
    padding: 0.5rem;
}

.i-totals-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
}

.ihesap-totals-table {
    width: 100%;
}

.i-totals-header {
    background-color: var(--bs-primary-light) !important;
    padding: 0.5rem 0.75rem;
    color: #2b3544;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.i-row {
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.875rem;
    color: #495057;
    margin: 0;
}

    .i-row:last-child {
        border-bottom: none;
    }

.text-primary {
    color: #0d6efd !important;
    font-weight: 500;
}

/*StokComponent*/
#stokField {
    width: 95.3% !important;
    margin-left: 4.6% !important;
}

.w-1rem {
    width: 1rem !important;
}

/*Menü Header*/
.menuheader {
    border: none !important;
    background: #1b84ff !important;
    color: white !important;
}
/*Menü Body*/
.menubody {
    background: #1b84ff !important;
}

/* Input Fields Float Label*/
.inputfloating-label {
    position: absolute;
    top: .94rem;
    left: .45rem;
    font-size: 0.90rem;
    font-weight: 600;
    color: #033887;
    transition: transform .2s, font-size .2s, color .2s;
    transform: translateY(-1.6rem);
}
    .inputfloating-label::before {
        content: '';
        position: absolute;
        top: calc(50% - 1px);
        left: -2px;
        width: calc(100% + 6px);
        height: 3px;
        background-color: white; /* Arka plan rengi */
        z-index: -1;
    }


.px-5px {
    padding-left: 5px !important;
    padding-right: 5px !important;
}
/* SirketSube div*/
.formdiv:focus-visible {
    outline: 0;
    box-shadow: none;
}

/* DASHBOARD */
/* Ana grid */
.dash-grid {
    display: grid;
    gap: 16px; /* g-4 karşılığı */
    grid-auto-flow: dense; /* boşlukları sıkıştır */
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    grid-auto-rows: 8px; /* satır birimi */
}

/* Kart iskeleti */
.dash-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    overflow: hidden;
}

/* İçerik alanı (taşmaları düzgün yönetmek için) */
.dash-card-body {
    flex: 1 1 auto;
    min-height: 0;
}

/* Yükseklik tier’ları: 8px * span */
.h-s {
    grid-row: span 36;
}
/* ~288px */
.h-m {
    grid-row: span 48;
}
/* ~384px */
.h-l {
    grid-row: span 64;
}
/* ~512px */
.h-xl {
    grid-row: span 80;
}
/* ~640px */
.w-33 {
    width: 33.3333% !important;
}