/* web/excel_styles.css - Add this to your web/index.html */

/* Excel-like scrollbars */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: 1px solid #d4d4d4;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border: 1px solid #a6a6a6;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a6a6a6;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Enhanced table borders for better visibility */
.excel-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #d4d4d4;
}

.excel-cell {
    border-right: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    padding: 4px 8px;
    min-height: 35px;
    box-sizing: border-box;
}

.excel-header-cell {
    background-color: #f8f9fa;
    border-right: 1px solid #d4d4d4;
    border-bottom: 2px solid #a6a6a6;
    font-weight: 600;
    text-align: center;
    padding: 8px 4px;
}

.excel-row-number {
    background-color: #f8f9fa;
    border-right: 2px solid #a6a6a6;
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
    font-weight: 500;
    color: #666;
    min-width: 50px;
}

.selected-cell {
    border: 2px solid #0066cc !important;
    background-color: #e6f2ff;
    box-shadow: inset 0 0 0 1px #0066cc;
}

/* Hide default Flutter scrollbars to use custom ones */
.flt-scroll-view {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Better focus indication */
.table-focus {
    outline: 2px solid #0066cc;
    outline-offset: -2px;
}

/* Context menu styling */
.context-menu {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 4px 0;
}

.context-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

/* Fix for character encoding issues */
* {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}