﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #F9F9F9;
}

html {
  position: relative;
  min-height: 100%;
}
body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}

.footer {
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 58px !important; /* Vertically center the text there */
    background-color: #f5f5f5;
    font-size: small;
    position: absolute;
}

.bilgiTooltip {
    float: right;
    font-size: small;
    color: blue;
    cursor: help;
    border-bottom: 1px dotted blue;
    text-decoration: none;
}
.tooltip {
    z-index: 100000000;
}
.w35 {
    width:35px;
}
.h35 {
    height: 35px;
}

/*animasyonlu butonların yüksekliği aynı olsun ki animasyon başlayınca boyutu değişmesin.*/
.btn38 {
    position: relative;
    min-height: 38px;
}

.size {
    width: 46px;
    height: 46px;
}

.dt-layout-row:last-child {
    position: sticky;
    bottom: 0;
    background-color: #f8f9fa; /* Arka plan rengi */
    padding: 10px;
    border-top: 1px solid #dee2e6; /* Üst kısma çizgi ekleyebilirsiniz */
    z-index: 1000;
}
#grid td.auto-col {
    white-space: nowrap;
    width: auto !important;
}
/*datatables, işleniyor yazısını yokeder.*/
.dataTables_processing {
    display: none !important; /* sProcessing'i gizler */
}

.dt-scroll-body { /*datatable da arama sonucunda az kayıt varsa, sağ dropdown menü tablo içinde kalıyordu.YP.*/
    min-height: calc(100vh - 379px);
}

/*print preview*/
@media print {
    img {
        display: block !important;
        visibility: visible !important;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/*tooltip flickr çözmek için*/
.tooltip,
.tooltip.show {
    pointer-events: none;
}




/* pos kategoriler sayfası için*/
.product-card {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
    }

.product-img {
    height: 120px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.product-card .card-body {
    min-height: 48px;
}

.product-card .fw-semibold {
    font-size: 13px;
    line-height: 1.2;
}
.product-card.selected {
    border: 2px solid orangered;
    box-shadow: 0 0 0 .2rem rgba(252,62,5,.25);
}
/* pos kategoriler sayfası için*/