/* Tahsilat hesap ayarlari - kompakt satir liste */
.modul-tahsilat-hesap-ayarlari-wrap .tha-hesap-list
{
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-list-head
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 12px;
    color: #475569;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-hesap-row
{
    border-bottom: 1px solid #eef2f7;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-hesap-row:last-child
{
    border-bottom: none;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-row-main
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    min-height: 42px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-hesap-row:hover .tha-row-main
{
    background: #fafbfc;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-row-aktif .tha-row-main
{
    background: #f0f7ff;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-row-name
{
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-hesap-adi
{
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-komisyonlu-rozet
{
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-komisyonlu-rozet.tha-hidden
{
    display: none !important;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-kaydet-uyari
{
    font-size: 12px;
    padding: 8px 10px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-row-toggle
{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-ayar-btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin-left: 2px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-modal-icerik
{
    padding: 4px 2px 0;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-modal-hesap
{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-toggle-label
{
    display: none;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-row-detail
{
    padding: 10px 12px 12px;
    background: #f8fafc;
    border-top: 1px dashed #dbe3ee;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-detail-grid
{
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-detail-gunler
{
    grid-column: span 2;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-label
{
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-size: 12px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-gun-wrap .onoff-option
{
    margin: 2px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-block
{
    margin-top: 4px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-table
{
    width: 100%;
    min-width: 780px;
    margin-bottom: 0;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-scroll
{
    overflow-x: auto;
    margin-top: 6px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-table th,
.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-table td
{
    text-align: center;
    vertical-align: middle;
    min-width: 60px;
    padding: 3px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-taksit-table input
{
    width: 100%;
    min-width: 52px;
    text-align: center;
    padding: 3px 4px;
    font-size: 11px;
}

.modul-tahsilat-hesap-ayarlari-wrap .tha-kaydet-wrap
{
    text-align: right;
    margin-top: 10px;
}

.modul-tahsilat-ozet-wrap .tha-ozet-table
{
    width: 100%;
    margin-bottom: 12px;
}

.modul-tahsilat-ozet-wrap .tha-ozet-table th
{
    text-align: left;
    width: 40%;
    padding: 6px 8px;
    background: #f8fafc;
}

.modul-tahsilat-ozet-wrap .tha-ozet-table td
{
    padding: 6px 8px;
}

.modul-tahsilat-ozet-wrap .tha-ozet-actions
{
    text-align: right;
    margin-top: 12px;
}

.modul-tahsilat-ozet-wrap .tha-ozet-satir-list
{
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.modul-tahsilat-ozet-wrap .tha-ozet-satir-item
{
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #fafafa;
}

.chh-tahsilat-taksit-wrap.tha-hidden,
.tha-hidden
{
    display: none !important;
}

@media (max-width: 992px)
{
    .modul-tahsilat-hesap-ayarlari-wrap .tha-detail-grid
    {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .modul-tahsilat-hesap-ayarlari-wrap .tha-detail-gunler
    {
        grid-column: span 2;
    }
}

@media (max-width: 768px)
{
    .modul-tahsilat-hesap-ayarlari-wrap .tha-row-main
    {
        flex-wrap: wrap;
    }

    .modul-tahsilat-hesap-ayarlari-wrap .tha-detail-grid
    {
        grid-template-columns: 1fr;
    }

    .modul-tahsilat-hesap-ayarlari-wrap .tha-detail-gunler
    {
        grid-column: span 1;
    }
}
