.overview-page {
    padding: 20px 0 80px;
    background: #f6f0e6;
}

.overview-container {
    max-width: 1320px;
}

.overview-top-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.print-page {
    margin-bottom: 18px;
}

.overview-sheet {
    background: #fff;
    border: 1px solid #e6dccb;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(19, 41, 75, 0.06);
    padding: 22px 22px 18px;
    position: relative;
    page-break-after: always;
    break-after: page;
}

.print-page:last-child .overview-sheet {
    page-break-after: auto;
    break-after: auto;
}

/* ANTET */
.custom-page-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e6dccb;
}

.custom-page-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-print-logo {
    height: 34px;
    width: auto;
    display: block;
}

.custom-page-header h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1;
    color: #13294b;
    font-weight: 700;
}

/* TABLO */
.overview-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
}

.overview-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
}

.overview-table thead .column-header-row th {
    background: #13294b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 10px 6px;
    text-align: left;
    line-height: 1.2;
}

.overview-table thead .column-header-row th:first-child {
    border-top-left-radius: 16px;
}

.overview-table thead .column-header-row th:last-child {
    border-top-right-radius: 16px;
}

.overview-table tbody td {
    border-bottom: 1px solid #eee4d5;
    padding: 8px 6px;
    font-size: 12px;
    color: #2f3442;
    vertical-align: middle;
    line-height: 1.2;
}

.overview-table tbody tr:nth-child(even) {
    background: #fcfaf6;
}

.overview-table th:nth-child(1),
.overview-table td:nth-child(1) {
    width: 28px;
    text-align: center;
}

.overview-table th:nth-child(2),
.overview-table td:nth-child(2) {
    width: 40px;
    text-align: center;
}

.overview-table th:nth-child(3),
.overview-table td:nth-child(3) {
    width: 40px;
    text-align: center;
}

.overview-table th:nth-child(4),
.overview-table td:nth-child(4) {
    width: 160px;
}

.overview-table th:nth-child(5),
.overview-table td:nth-child(5) {
    width: 50px;
    text-align: center;
}

.overview-table th:nth-child(6),
.overview-table td:nth-child(6) {
    width: 50px;
    text-align: center;
}

.overview-table th:nth-child(7),
.overview-table td:nth-child(7) {
    width: 55px;
    text-align: center;
}

.overview-table th:nth-child(8),
.overview-table td:nth-child(8) {
    width: 50px;
    text-align: center;
}

.overview-table td:nth-child(4) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overview-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e4dccd;
    background: #f7f3eb;
    display: block;
    margin: 0 auto;
}

.overview-empty {
    text-align: center;
    color: #7a8190;
    padding: 40px 18px;
    font-size: 14px;
}

/* FOOTER */
.custom-page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 8px;
    font-size: 10px;
    color: #666;
    border-top: 1px solid #eee4d5;
}

.footer-left,
.footer-right {
    white-space: nowrap;
}

.no-print {
    display: flex;
}

/* MOBİL */
@media (max-width: 900px) {
    .overview-sheet {
        padding: 18px 14px 14px;
        border-radius: 22px;
    }

    .overview-top-actions {
        flex-direction: column;
    }

    .overview-top-actions .btn-outline-dark,
    .overview-top-actions .btn-gold {
        width: 100%;
        text-align: center;
    }

    .custom-print-logo {
        height: 30px;
    }

    .custom-page-header h1 {
        font-size: 18px;
    }

    .overview-thumb {
        width: 36px;
        height: 36px;
    }
}

/* PRINT */
@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    body {
        background: #fff !important;
    }

    .topbar,
    .footer,
    .mobile-sticky-cta,
    .no-print {
        display: none !important;
    }

    .overview-page {
        padding: 0;
        background: #fff;
    }

    .overview-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .print-page {
        margin: 0;
        page-break-after: always;
        break-after: page;
    }

    .print-page:last-child {
        page-break-after: auto;
        break-after: auto;
    }

    .overview-sheet {
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .overview-table-wrap {
        overflow: visible !important;
    }

    .overview-table {
        min-width: 100%;
        width: 100%;
        table-layout: fixed;
    }

    .custom-print-logo {
        height: 32px;
    }

    .custom-page-header h1 {
        font-size: 18px;
    }

    .overview-table thead .column-header-row th {
        background: #13294b !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        font-size: 10px;
        padding: 8px 5px;
        line-height: 1.15;
    }

    .overview-table tbody td {
        font-size: 11px;
        padding: 8px 5px;
        line-height: 1.15;
    }

    .overview-thumb {
        width: 32px;
        height: 32px;
    }

    .overview-table th:nth-child(1),
    .overview-table td:nth-child(1) {
        width: 24px;
    }

    .overview-table th:nth-child(2),
    .overview-table td:nth-child(2) {
        width: 36px;
        text-align: center;
    }

    .overview-table th:nth-child(3),
    .overview-table td:nth-child(3) {
        width: 36px;
        text-align: center;
    }

    .overview-table th:nth-child(4),
    .overview-table td:nth-child(4) {
        width: 150px;
    }

    .overview-table th:nth-child(5),
    .overview-table td:nth-child(5) {
        width: 48px;
        text-align: center;
    }

    .overview-table th:nth-child(6),
    .overview-table td:nth-child(6) {
        width: 48px;
        text-align: center;
    }

    .overview-table th:nth-child(7),
    .overview-table td:nth-child(7) {
        width: 54px;
        text-align: center;
    }

    .overview-table th:nth-child(8),
    .overview-table td:nth-child(8) {
        width: 48px;
        text-align: center;
    }

    .custom-page-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
        padding-top: 6px;
        font-size: 10px;
        color: #666;
        border-top: 1px solid #eee4d5;
    }
}