/* makbuzlar.css */

/* Sayfa Üst Başlıkları */
.makbuz-title-container {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
    background-color: #1e3a5f; /* Koyu Mavi Arka Plan */
}

.page-title-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: white; 
    margin-bottom: 0.2rem;
}

.page-subtitle-main {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ff9800; /* Turuncu Vurgu */
    margin: 0;
}

/* Tabloların Kapsayıcısı */
.makbuz-tables-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 2rem 0;
}

.makbuz-table-group {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Tablo Başlıkları */
.makbuz-table-group .table-header {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 0.5rem;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

/* Başlık Renkleri */
.header-red { background: #c0392b; }      /* Sipariş Fişi */
.header-blue { background: #1e3a5f; }     /* Sözleşme */
.header-orange { background: #e67e22; }   /* Perakende */
.header-green { background: #4caf50; }    /* Adisyon */


/* Tüm Tablolar İçin Genel Stil */
.makbuz-tables-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: center;
}

.makbuz-tables-container th {
    background: #f1f1f1;
    color: #333;
    font-weight: 600;
    padding: 0.8rem 0.3rem;
    border: 1px solid #ddd;
}

.makbuz-tables-container .table-sub-header th {
    background-color: #ddd;
    color: #1e3a5f;
    font-weight: 700;
}

/* Tablo Satırları */
.makbuz-tables-container td {
    padding: 0.5rem 0.3rem;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* Süreç Kolonu */
.makbuz-tables-container .surec-col {
    font-weight: 800;
    color: #c0392b; /* Kırmızı Süreç */
    background-color: #f7f7f7;
    width: 10%;
}

.makbuz-tables-container .highlight-row {
    background-color: #fffde7;
}

.makbuz-tables-container .highlight-text {
    background-color: #fff3e0;
}

/* Fiyat Hücreleri */
.makbuz-tables-container .price-cell {
    font-weight: 700;
    color: #375e38; /* Koyu Yeşil Fiyat */
    position: relative;
    font-size: 0.9rem;
}

.makbuz-tables-container .kod {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: #888;
    line-height: 1;
    margin-top: 0.2rem;
}

/* 2. Renk Farkı Satırı */
.renk-farki-row {
    background-color: #fce4ec; /* Açık Kırmızı Arka Plan */
}

.renk-farki-cell {
    text-align: left;
    padding: 0.5rem;
}

.fark-fiyat {
    background-color: #c0392b;
    color: white;
    padding: 0.2rem 0.5rem;
    margin: 0 4px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    font-size: 0.8rem;
}

.fark-fiyat-disabled {
    display: none; /* Boş hücreler için */
}

/* ORTAK ALT NOTLAR STİLİ */
.alt-notlar {
    text-align: center;
    padding: 2rem 0 3rem;
    line-height: 1.5;
}

.warning-text-large {
    font-size: 1.5rem;
    font-weight: 900;
    color: #c0392b; /* Kırmızı renk */
    margin-bottom: 0.5rem;
}

.highlight-blue {
    color: #1e3a5f;
    margin-top: 10px;
}

.warning-text-small {
    font-size: 0.9rem;
    color: #2b547d;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .page-title-main {
        font-size: 1.8rem;
    }
    
    .makbuz-table-group .table-header {
        font-size: 1rem;
    }

    .makbuz-tables-container table {
        font-size: 0.7rem;
    }
    
    .makbuz-tables-container th, .makbuz-tables-container td {
        padding: 0.3rem 0.1rem;
    }

    .makbuz-tables-container .surec-col {
        width: 15%;
    }
    
    .makbuz-tables-container .price-cell {
        font-size: 0.75rem;
    }

    .makbuz-tables-container .kod {
        font-size: 0.5rem;
    }

    .fark-fiyat {
        padding: 0.1rem 0.3rem;
        margin: 0 2px;
        font-size: 0.7rem;
    }
}


<script>
    function toggleMenu() {
        const sidebar = document.querySelector('.sidebar');
        sidebar.classList.toggle('open');
    }
</script>