/* Custom Styles für Bestellportal */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Product Cards */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Cart */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Login Page */
.login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    max-width: 400px;
    width: 100%;
}

/* Dashboard Stats */
.stat-card {
    border-left: 4px solid var(--primary-color);
}

.stat-card.success {
    border-left-color: #198754;
}

.stat-card.warning {
    border-left-color: #ffc107;
}

.stat-card.info {
    border-left-color: #0dcaf0;
}

/* Orders Table */
.table-orders tbody tr {
    cursor: pointer;
}

.table-orders tbody tr:hover {
    background-color: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .product-card img {
        height: 150px;
    }
}

/* Loading Spinner */
.spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Buttons */
.btn-add-to-cart {
    width: 100%;
}

/* Product Filters */
.filter-sidebar {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
}

/* Quantity Input */
.quantity-input {
    max-width: 80px;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
}
