/* Spreadsheet Grid Styles */
.spreadsheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.spreadsheet-table th {
    background: #f1f5f9;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--panel-border);
    border-right: 1px solid var(--panel-border);
    position: sticky;
    top: 0;
    z-index: 1;
}

.spreadsheet-table td {
    padding: 0;
    border-bottom: 1px solid var(--panel-border);
    border-right: 1px solid var(--panel-border);
    background: #ffffff;
}

.spreadsheet-table tr:last-child td {
    border-bottom: none;
}

.spreadsheet-table td:last-child {
    border-right: none;
}

.spreadsheet-table input[type="number"],
.spreadsheet-table input[type="text"] {
    width: 100%;
    height: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: inherit;
    outline: none;
    box-sizing: border-box;
}

.spreadsheet-table input:focus {
    background: #f8fafc;
    box-shadow: inset 0 0 0 2px var(--accent-color);
}

.spreadsheet-table .empty-row input {
    color: var(--text-secondary);
}

.spreadsheet-table .checkbox-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 8px 0;
}
