.mobile-menu {
    display: none;
    margin-top: 1rem;
}

.mobile-menu a {
    color: white;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Stock view specific styles */
.stock-table {
    width: 100%;
    overflow-x: auto;
}

.stock-table th {
    white-space: nowrap;
    padding: 0.75rem;
}

.stock-table td {
    padding: 0.75rem;
    white-space: nowrap;
}

.stock-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stock-filters select,
.stock-filters input {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: white;
}

.pagination button:hover {
    background-color: #f3f4f6;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stock-modal {
    max-height: 90vh;
    overflow-y: auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric-card {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
}

.metric-card h3 {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.metric-card p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 768px) {
    .stock-filters {
        flex-direction: column;
    }
    
    .stock-filters select,
    .stock-filters input {
        width: 100%;
    }
    
    .stock-table {
        font-size: 0.875rem;
    }
    
    .pagination button {
        padding: 0.375rem 0.75rem;
    }
}
