/* BH müşteri/tedarikçi geçmiş — ince ayar v331 (Firebase CSS sonrası sunucu hotfix)
 * Geri al: bu dosyayı sil + bh-reference.css v330 bloğunu sil
 * Yedek: css/_backup/bh-cari-gecmis-v329.bak.css */

/* KPI — Açık Bakiye / Çek / Senet kontrast (BH_REFERANS_UI) */
.bh-md .bh-md-kpi {
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    filter: none !important;
}
.bh-md .bh-md-kpi:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14) !important;
    transform: none !important;
    filter: brightness(1.02) !important;
}
.bh-md .bh-md-kpi--acik {
    background: linear-gradient(180deg, #ec8a8d 0%, #e77b7e 100%) !important;
}
.bh-md .bh-md-kpi--cek {
    background: linear-gradient(180deg, #66c4d8 0%, #5bb6cc 100%) !important;
}
.bh-md .bh-md-kpi--senet {
    background: linear-gradient(180deg, #6bc985 0%, #5bbf7b 100%) !important;
}
.bh-md .bh-md-kpi--ciro {
    background: linear-gradient(180deg, #72d4b0 0%, #65cea7 100%) !important;
}
.bh-md .bh-md-kpi__lbl {
    font-size: 12px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) !important;
}
.bh-md .bh-md-kpi strong {
    font-size: 21px !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22) !important;
}
.bh-md .bh-md-kpi small {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
}
.bh-md .bh-md-kpi__icon {
    background: rgba(255, 255, 255, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.bh-md .bh-md-kpi__arrow {
    background: rgba(0, 0, 0, 0.22) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}
.bh-md .bh-md-kpi__arrow:hover {
    background: rgba(0, 0, 0, 0.32) !important;
}
.bh-cari-gecmis-grid .bh-md-panel,
.bh-tedarikci-gecmis-grid .bh-md-panel {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
}
.bh-cari-gecmis-grid .bh-md-panel__title,
.bh-tedarikci-gecmis-grid .bh-md-panel__title {
    background-color: #3b4d5c !important;
    color: #fff !important;
    padding: 8px 12px !important;
    min-height: 36px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: none !important;
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14) !important;
    filter: brightness(1.02) !important;
}
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-panel__title,
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-panel__title,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-panel__title,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-panel__title {
    min-height: 36px !important;
    line-height: 1.25 !important;
}
.bh-cari-gecmis-grid .bh-md-panel__body,
.bh-cari-gecmis-grid .bh-md-cari-col--sol .bh-md-panel__body,
.bh-cari-gecmis-grid .bh-md-cari-col--sag .bh-md-panel__body,
.bh-tedarikci-gecmis-grid .bh-md-panel__body,
.bh-tedarikci-gecmis-grid .bh-md-cari-col--sol .bh-md-panel__body,
.bh-tedarikci-gecmis-grid .bh-md-cari-col--sag .bh-md-panel__body {
    max-height: none !important;
    overflow: visible !important;
    background: #fff !important;
    border: none !important;
}
.bh-cari-gecmis-grid .bh-md-table,
.bh-tedarikci-gecmis-grid .bh-md-table {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
}
.bh-cari-gecmis-grid .bh-md-table th,
.bh-tedarikci-gecmis-grid .bh-md-table th {
    background: #fff !important;
    color: #999 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-bottom: 1px solid #ececec !important;
}
.bh-cari-gecmis-grid .bh-md-table td,
.bh-tedarikci-gecmis-grid .bh-md-table td {
    padding: 7px 12px !important;
    border-bottom: 1px solid #ececec !important;
    font-size: 13px !important;
    color: #333 !important;
    vertical-align: middle !important;
    line-height: 1.35 !important;
}
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-table--data tbody tr.bh-md-tr,
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-table--data tbody tr.bh-md-tr,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-table--data tbody tr.bh-md-tr,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-table--data tbody tr.bh-md-tr {
    height: auto !important;
    min-height: 32px !important;
}
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="alis"] .bh-md-table--data tbody tr.bh-md-tr,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="alis"] .bh-md-table--data tbody tr.bh-md-tr {
    min-height: 32px !important;
}
.bh-cari-gecmis-grid .bh-md-table--data tbody tr.bh-md-tr:hover td,
.bh-tedarikci-gecmis-grid .bh-md-table--data tbody tr.bh-md-tr:hover td {
    background-color: #fafafa !important;
}
.bh-cari-gecmis-grid .bh-md-plus,
.bh-tedarikci-gecmis-grid .bh-md-plus {
    width: 34px !important;
    padding: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.bh-cari-gecmis-grid .bh-md-plus-btn,
.bh-tedarikci-gecmis-grid .bh-md-plus-btn {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #4adc72 !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14) !important;
    filter: brightness(1.03) !important;
}
.bh-cari-gecmis-grid .bh-md-plus-btn i,
.bh-tedarikci-gecmis-grid .bh-md-plus-btn i {
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}
.bh-cari-gecmis-grid .bh-md-plus-btn i.fa-plus-circle::before,
.bh-tedarikci-gecmis-grid .bh-md-plus-btn i.fa-plus-circle::before {
    content: "\f067" !important;
}
.bh-cari-gecmis-grid .bh-md-plus.is-open .bh-md-plus-btn i.fa-minus-circle::before,
.bh-tedarikci-gecmis-grid .bh-md-plus.is-open .bh-md-plus-btn i.fa-minus-circle::before {
    content: "\f068" !important;
}
.bh-cari-gecmis-grid .bh-md-plus.is-open .bh-md-plus-btn,
.bh-tedarikci-gecmis-grid .bh-md-plus.is-open .bh-md-plus-btn {
    background: #5bc0de !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16) !important;
}
.bh-cari-gecmis-grid .bh-md-fat,
.bh-tedarikci-gecmis-grid .bh-md-fat {
    color: #c9302c !important;
    font-weight: 400 !important;
}
.bh-cari-gecmis-grid .bh-md-link,
.bh-tedarikci-gecmis-grid .bh-md-link {
    color: #337ab7 !important;
    font-weight: 600 !important;
}
.bh-cari-gecmis-grid .bh-payment-badge,
.bh-tedarikci-gecmis-grid .bh-payment-badge {
    background: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 2px !important;
}
.bh-cari-gecmis-grid .bh-md-expand,
.bh-tedarikci-gecmis-grid .bh-md-expand {
    background: #fff !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
}
.bh-cari-gecmis-grid .bh-md-expand-inner,
.bh-cari-gecmis-grid .bh-md-expand-inner--doc,
.bh-tedarikci-gecmis-grid .bh-md-expand-inner,
.bh-tedarikci-gecmis-grid .bh-md-expand-inner--doc {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-table,
.bh-tedarikci-gecmis-grid .bh-doc-detail-table {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-head,
.bh-tedarikci-gecmis-grid .bh-doc-detail-head {
    background: #fff !important;
    color: #888 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #ddd !important;
    padding: 8px 12px !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-line,
.bh-tedarikci-gecmis-grid .bh-doc-detail-line {
    padding: 8px 12px !important;
    border-bottom: 1px solid #ececec !important;
    font-size: 13px !important;
    color: #333 !important;
    min-height: 32px !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-foot,
.bh-tedarikci-gecmis-grid .bh-doc-detail-foot {
    background: #fff !important;
    border-top: 1px solid #eee !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    color: #666 !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-thumb,
.bh-tedarikci-gecmis-grid .bh-doc-detail-thumb {
    width: 50px !important;
    height: 50px !important;
    background: #f5f5f5 !important;
    border-radius: 3px !important;
    border: none !important;
}
.bh-cari-gecmis-grid .bh-doc-detail-actions--end,
.bh-tedarikci-gecmis-grid .bh-doc-detail-actions--end {
    margin-top: 10px !important;
    padding: 8px 12px 12px !important;
    gap: 6px !important;
}
.bh-cari-gecmis-grid .bh-page-btn,
.bh-tedarikci-gecmis-grid .bh-page-btn {
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 3px !important;
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18) !important;
}
.bh-cari-gecmis-grid .bh-page-btn--green,
.bh-tedarikci-gecmis-grid .bh-page-btn--green {
    background: #5cb85c !important;
    box-shadow: 0 2px 0 #449d44 !important;
}
.bh-cari-gecmis-grid .bh-page-btn--blue,
.bh-tedarikci-gecmis-grid .bh-page-btn--blue {
    background: #5bc0de !important;
    box-shadow: 0 2px 0 #46b8da !important;
}
.bh-cari-gecmis-grid .bh-page-btn--slate,
.bh-tedarikci-gecmis-grid .bh-page-btn--slate {
    background: #6c757d !important;
    color: #fff !important;
    box-shadow: 0 2px 0 #545b62 !important;
}
.bh-cari-gecmis-grid .bh-page-btn:hover,
.bh-tedarikci-gecmis-grid .bh-page-btn:hover {
    filter: brightness(1.03) !important;
}
.bh-cari-gecmis-grid .bh-md-empty-row,
.bh-tedarikci-gecmis-grid .bh-md-empty-row {
    font-size: 13px !important;
    color: #666 !important;
    padding: 8px 12px !important;
    min-height: 32px !important;
}
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="alis"] .bh-md-panel__body,
.bh-cari-gecmis-grid #bhMdAlisPanel,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="alis"] .bh-md-panel__body,
.bh-tedarikci-gecmis-grid #bhMdAlisPanel {
    min-height: 44px !important;
}
.bh-cari-gecmis-grid .bh-md-alis-empty,
.bh-tedarikci-gecmis-grid .bh-md-alis-empty {
    font-size: 13px !important;
    color: #666 !important;
    padding: 10px 12px !important;
    min-height: 40px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-panel__body,
.bh-cari-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-panel__body,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="satis"] .bh-md-panel__body,
.bh-tedarikci-gecmis-grid .bh-md-panel[data-bh-panel="odeme"] .bh-md-panel__body {
    box-shadow: none !important;
    filter: none !important;
}
