/* ─── Azure Kurumsal Muhasebe Fiş Grid & Autocomplete Stilleri ─── */
.grid-cell {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid transparent;
    background: transparent;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #323130;
    outline: none;
    transition: background-color 0.12s ease, border-color 0.12s ease;
    border-radius: 2px;
    box-sizing: border-box;
}

.grid-cell:focus {
    background: #ffffff;
    border-color: #0078d4;
    box-shadow: inset 0 0 0 1px #0078d4;
}

.modern-table td {
    padding: 0 !important;
    height: 38px;
    border-right: 1px solid #edebe9;
}

.text-right { text-align: right; }
.grid-cell.text-right { padding-right: 12px !important; }

.modern-table tbody tr {
    transition: background 0.1s ease;
}

.modern-table tbody tr:hover {
    background: #faf9f8 !important;
}

.btn-icon.danger {
    color: #d13438;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    padding: 4px;
}

.btn-icon.danger:hover {
    background: #fde7e9;
}

/* Autocomplete Dropdown - Fixed Azure Style */
.ac-dropdown, .cc-ac-dropdown {
    position: fixed;
    background: #ffffff;
    border: 1px solid #edebe9;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 99999999;
    max-height: 280px;
    overflow-y: auto;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

.ac-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.12s ease;
    border-bottom: 1px solid #f3f2f1;
    color: #323130;
}

.ac-item:last-child { border-bottom: none; }

.ac-item:hover, .ac-item.selected {
    background: #eff6fc;
    color: #0078d4;
    font-weight: 600;
}
