/* Customer Interface Styles */

/* Customer navigation sidebar */
.customer-nav .list-group-item.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

/* Customer profile form */
.customer-profile-card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Order status badges */
.order-status-pending {
    background-color: #ffc107 !important;
}

.order-status-confirmed {
    background-color: #0dcaf0 !important;
}

.order-status-ready,
.order-status-completed {
    background-color: #198754 !important;
}

.order-status-cancelled {
    background-color: #dc3545 !important;
}

/* Order cards */
.order-card {
    transition: box-shadow 0.15s ease-in-out;
}

.order-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Customer login form */
.customer-login-card {
    max-width: 400px;
    margin: 0 auto;
}

/* Order items table */
.order-items-table .product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.order-items-table .product-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--bs-light);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .customer-nav {
        margin-bottom: 1rem;
    }
    
    .order-card .row {
        text-align: center;
    }
    
    .order-card .col-md-6:first-child {
        margin-bottom: 1rem;
    }
}

/* Customer zone badge */
.customer-zone-badge {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-info));
    color: white;
    border: none;
}

/* Success animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Loading states */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
} 