.inventory-page {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    min-height: 100vh;
    color: #fff;
}

.inventory-container {
    padding-top: 100px;
    padding-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.filter-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.year-filter,
.category-filter,
.search-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.year-filter label,
.category-filter label {
    color: #fff;
    font-size: 1rem;
}

select,
input[type="text"] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    outline: none;
    min-width: 150px;
}

select {
    appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 0.75rem) center;
}

select:hover,
input[type="text"]:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

select:focus,
input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(5px);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.product-category,
.product-year {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-label {
    color: rgba(255, 255, 255, 0.7);
}

.status-value {
    color: #007bff;
    font-weight: bold;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 20px;
    display: none;
}

@media (max-width: 768px) {
    .inventory-container {
        padding: 80px 1rem 2rem;
    }

    .title {
        font-size: 2rem;
    }

    .filter-section {
        flex-direction: column;
        gap: 1rem;
    }

    .year-filter,
    .category-filter,
    .search-filter {
        width: 100%;
    }

    select,
    input[type="text"] {
        width: 100%;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
} 