.harvest-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.harvest-section,
.harvest-calendar-section {
    background: white;
    padding: 80px 0;
}

.harvest-section {
    min-height: 100vh;
}

.harvest-header {
    text-align: center;
    margin-bottom: 60px;
}

.harvest-header.compact {
    margin-bottom: 50px;
}

.harvest-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #343a3f;
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.harvest-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #343a3f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.harvest-title.secondary {
    font-size: 2.5rem;
}

.harvest-subtitle {
    font-size: 1.2rem;
    color: #767f86;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.current-month {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #343a3f;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
}

.harvest-table-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 40px auto;
    max-width: 1200px;
}

.table-header {
    background: transparent;
    color: #343a3f;
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
}

.table-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.harvest-table {
    width: 100%;
    border-collapse: collapse;
}

.harvest-table thead th {
    background: transparent;
    color: #343a3f;
    padding: 20px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.harvest-table thead th:first-child {
    text-align: left;
    width: 25%;
}

.harvest-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
}

.harvest-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.harvest-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.harvest-table tbody tr:nth-child(even):hover {
    background: rgba(0, 0, 0, 0.05);
}

.harvest-table tbody td {
    padding: 20px 15px;
    vertical-align: middle;
    position: relative;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.1);
}

.product-image-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-image-icon.winter { background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); }
.product-image-icon.spring { background: linear-gradient(135deg, #00b894 0%, #00cec9 100%); }
.product-image-icon.summer { background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%); }
.product-image-icon.autumn { background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%); }

.product-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #343a3f;
    margin-bottom: 5px;
}

.product-category {
    font-size: 0.85rem;
    color: #767f86;
    font-style: italic;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: transparent;
    color: #28a745;
    border: 2px solid #28a745;
}

.status-unavailable {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.price-cell {
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #343a3f;
}

.price-currency {
    font-size: 0.9rem;
    color: #767f86;
    margin-left: 5px;
}

.quantity-cell {
    text-align: center;
    color: #343a3f;
    font-weight: 600;
}

.household-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.household-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    color: #343a3f;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.household-details {
    display: flex;
    flex-direction: column;
}

.household-name {
    font-weight: 600;
    color: #343a3f;
    margin-bottom: 2px;
}

.household-location {
    font-size: 0.8rem;
    color: #767f86;
    display: flex;
    align-items: center;
    gap: 5px;
}

.unknown-household {
    color: #bdc3c7;
    font-style: italic;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.inline-form {
    display: inline;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background: transparent;
    color: #343a3f;
    border: 2px solid #343a3f;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #ff545a;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #767f86;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #ff545a;
    color: white;
    text-decoration: none;
}

.no-harvest {
    text-align: center;
    padding: 80px 20px;
    color: #767f86;
}

.no-harvest-icon {
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.no-harvest h3 {
    font-size: 1.5rem;
    color: #343a3f;
    margin-bottom: 10px;
}

.no-harvest-actions {
    margin-top: 30px;
}

.no-harvest-actions .btn-primary {
    margin-right: 15px;
}

.pagination-container {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.pagination-info {
    color: #767f86;
    font-size: 0.95rem;
    text-align: center;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: #343a3f;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn:hover {
    background: #ff545a;
    color: white;
    border-color: #ff545a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 84, 90, 0.3);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    color: #343a3f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #ff545a;
    color: white;
    border-color: #ff545a;
    text-decoration: none;
    transform: scale(1.1);
}

.pagination-number.active {
    background: #ff545a;
    color: white;
    border-color: #ff545a;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 84, 90, 0.4);
}

.season-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.season-chip {
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.season-chip.winter,
.season-note.winter { color: #1976d2; }
.season-chip.spring,
.season-note.spring { color: #2e7d32; }
.season-chip.summer,
.season-note.summer { color: #f57c00; }
.season-chip.autumn,
.season-note.autumn { color: #7b1fa2; }

.season-chip.winter { background: #e3f2fd; }
.season-chip.spring { background: #e8f5e8; }
.season-chip.summer { background: #fff3e0; }
.season-chip.autumn { background: #f3e5f5; }

.season-note {
    font-weight: 600;
}

.harvest-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: transparent;
    border-radius: 20px;
    border: 2px solid #e9ecef;
}

.harvest-cta h3 {
    color: #343a3f;
    margin-bottom: 15px;
}

.harvest-cta h3 i {
    color: #343a3f;
}

.harvest-cta p {
    color: #767f86;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.harvest-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .harvest-title { font-size: 2.5rem; }
    .harvest-table-container { margin: 20px; border-radius: 15px; }
    .harvest-table { font-size: 0.9rem; }
    .harvest-table tbody td { padding: 15px 10px; }
    .product-image { width: 50px; height: 50px; }
}

@media (max-width: 768px) {
    .harvest-section,
    .harvest-calendar-section { padding: 40px 0; }
    .harvest-title { font-size: 2rem; }
    .harvest-title.secondary { font-size: 1.9rem; }
    .harvest-table-container { margin: 10px; overflow-x: auto; }
    .harvest-table { min-width: 800px; }
    .action-buttons { flex-direction: column; gap: 5px; }
    .btn-action { font-size: 0.8rem; padding: 6px 12px; }
    .pagination-container { margin: 20px 10px; padding: 20px; }
    .pagination-btn { min-width: 100px; font-size: 0.85rem; padding: 10px 16px; }
    .pagination-number { width: 40px; height: 40px; font-size: 0.85rem; }
    .no-harvest-actions .btn-primary { margin-right: 0; }
    .harvest-cta { padding: 28px 20px; }
}
