/**
 * Alpaga Modal Styles
 * 
 * Styles for the alpaga detail modal, including the shearing history section
 */

/* Shearing History Section */
.shearing-year-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.shearing-year-section:last-child {
    border-bottom: none;
}

.shearing-year-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.shearing-record {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #f0f0f0;
}

.shearing-record:last-child {
    margin-bottom: 0;
}

.shearing-number-heading {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;
}

.shearing-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.shearing-details-table th {
    width: 30%;
    text-align: left;
    padding: 8px 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    font-weight: normal;
    color: #666;
}

.shearing-details-table td {
    width: 70%;
    padding: 8px 10px;
    border: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shearing-details-table th,
    .shearing-details-table td {
        display: block;
        width: 100%;
    }
    
    .shearing-details-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .shearing-details-table td {
        border-top: none;
        padding-top: 5px;
    }
    
    .shearing-record {
        padding-left: 10px;
    }
}
