/**
 * Tablo hücresi tıklayınca kopyala — yeşil "Kopyalandı" geri bildirimi.
 * emm-grid-copy.js ile birlikte kullanılır.
 */
.e-grid .e-gridcontent .e-rowcell:not(.emm-col-no-copy):not(.mukellef-col-actions):not(.mukellef-col-kmt):not(.mukellef-col-panel):not(.kmt-dt-actions),
#fixed-columns-datatable tbody td:not(.emm-col-no-copy):not(.kmt-dt-actions),
#fixed-header-datatable tbody td:not(.emm-col-no-copy),
#nace-kodlari-datatable tbody td:not(.emm-col-no-copy),
#ettHareketTable tbody td:not(.emm-col-no-copy),
table.dataTable tbody td:not(.emm-col-no-copy):not(.kmt-dt-actions),
table[id$="-datatable"] tbody td:not(.emm-col-no-copy) {
    cursor: copy;
}

.e-grid .e-rowcell.emm-col-no-copy,
.e-grid .e-rowcell.mukellef-col-actions,
.e-grid .e-rowcell.mukellef-col-kmt,
.e-grid .e-rowcell.mukellef-col-panel,
.e-grid .e-rowcell.kmt-dt-actions,
#fixed-columns-datatable td.kmt-dt-actions,
table.dataTable tbody td.emm-col-no-copy {
    cursor: default;
}

.emm-copy-cell--active,
.e-rowcell.emm-copy-cell--active,
#fixed-columns-datatable td.emm-copy-cell--active,
table.dataTable tbody td.emm-copy-cell--active {
    position: relative;
    overflow: visible !important;
    z-index: 15000;
}

tr.emm-copy-row--active {
    position: relative;
    z-index: 14000;
}

.emm-copy-toast {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    z-index: 20000;
    background: #198754;
    color: #fff;
    border: 1px solid #157347;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.emm-copy-cell--active .emm-copy-toast,
.e-rowcell.emm-copy-cell--active > .emm-copy-toast {
    display: block;
}

/* Alt satırlarda toast hücrenin altında */
.e-grid .e-row:nth-last-child(-n+2) .emm-copy-toast,
#fixed-columns-datatable tbody tr:nth-last-child(-n+2) .emm-copy-toast,
table.dataTable tbody tr:nth-last-child(-n+2) .emm-copy-toast {
    bottom: auto;
    top: calc(100% + 6px);
}
