/* ========= DOMPDF UYUMLULUK FİXLERİ ========= */

/* FLEX BOZULMASIN */
* {
    box-sizing: border-box !important;
}

.row {
    display: block !important;
}

[class*="col-"] {
    display: inline-block !important;
    vertical-align: top !important;
    width: 100% !important; /* DOMPDF flex'i bozuyor, tam genişlik ver */
}

/* BOOTSTRAP BORDER / PADDING / FONTLAR TAM GÖRÜNSÜN */
.border {
    border: 1px solid #000 !important;
}

.border-bottom {
    border-bottom: 1px solid #000 !important;
}

.border-end {
    border-right: 1px solid #000 !important;
}

.p-2 {
    padding: 6px !important;
}

.p-4 {
    padding: 15px !important;
}

/* ABSOLUTE ALANLARIN PATLAMASINI ENGELLE */
.kase-container,
.footer-area {
    position: relative !important; /* DOMPDF absolute patlatıyor */
    bottom: auto !important;
    left: auto !important;
    margin-top: 40px !important;
}

/* İKİNCİ SAYFADA KAÇMA OLMASIN */
.a4-preview {
    width: 100% !important;
    min-height: auto !important;
    box-shadow: none !important;
    padding: 20px !important;
    page-break-after: always;
}

/* HR ÇİZGİLERİNİN KAYMAMASI */
hr {
    border: 0;
    border-top: 1px solid #000 !important;
}

/* SAYFA TAŞMASI ENGELİ */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}
