/**
 * Styles for Alpaga Integrated Shearing Records
 */

/* Year and Shearing Number columns */
.alpaga-table th:nth-child(1),
.alpaga-table th:nth-child(2) {
    min-width: 80px;
}

/* Add some spacing between the year/shearing columns and the rest */
.alpaga-table th:nth-child(2) {
    border-right: 2px solid #e1e1e1;
}

/* Highlight rows with shearing data */
.alpaga-row[data-year]:not([data-year=""]) {
    background-color: #f9f9f9;
}

.alpaga-row[data-year]:not([data-year=""]):hover {
    background-color: #f0f0f0;
}

/* Style for the year and shearing number filter dropdowns */
.alpaga-filter-dropdown[data-field="year"],
.alpaga-filter-dropdown[data-field="shearing_number"] {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 120px;
}

/* Add a separator between year/shearing filters and other filters */
.alpaga-filter-dropdown[data-field="shearing_number"] {
    margin-right: 20px;
    border-right: 2px solid #e1e1e1;
    padding-right: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alpaga-filter-dropdown[data-field="year"],
    .alpaga-filter-dropdown[data-field="shearing_number"] {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .alpaga-filter-dropdown[data-field="shearing_number"] {
        border-right: none;
        padding-right: 10px;
        margin-bottom: 20px;
    }
}
