/* Restaurant Kitchen Visualization Styles */

.kitchen-visualization {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 12px;
    min-height: 400px;
}

.main-kitchen {
    grid-column: 1;
    grid-row: 1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-kitchen h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kitchen-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chef-stations {
    display: grid;
    gap: 12px;
}

.chef-station {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.chef-icon {
    width: 48px;
    height: 48px;
    background-color: #FFE0B2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chef-icon i {
    font-size: 28px;
    color: #E65100;
}

.chef-info {
    flex: 1;
}

.chef-name {
    font-weight: 500;
    color: #333;
}

.chef-specialty {
    font-size: 12px;
    color: #666;
}

.chef-status {
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.chef-status.available {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.chef-status.busy {
    background-color: #FFF3E0;
    color: #E65100;
}

.dish-preparation {
    display: grid;
    gap: 12px;
}

.dish {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #FFF3E0;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.dish.preparing {
    border: 2px solid #FFB74D;
}

.dish.served {
    border: 2px solid #66BB6A;
    background-color: #E8F5E9;
}

.dish.serving {
    animation: serveDish 1s ease-out forwards;
}

@keyframes serveDish {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(200px) scale(0.5);
        opacity: 0;
    }
}

.dish-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dish-icon i {
    font-size: 24px;
    color: #E65100;
}

.dish-info {
    flex: 1;
}

.dish-name {
    font-weight: 500;
    color: #333;
}

.dish-type {
    font-size: 12px;
    color: #666;
}

.dish-status {
    font-size: 11px;
    text-transform: uppercase;
    color: #E65100;
}

.dining-area {
    grid-column: 2;
    grid-row: 1;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dining-area h3 {
    color: #795548;
    margin-bottom: 16px;
}

.customer-tables {
    display: grid;
    gap: 12px;
}

.customer-table {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 8px;
    position: relative;
}

.customer-icon {
    width: 48px;
    height: 48px;
    background-color: #E1F5FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-icon i {
    font-size: 28px;
    color: #0277BD;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-weight: 500;
    color: #333;
}

.customer-mood {
    margin-top: 4px;
}

.customer-mood i {
    font-size: 24px;
}

.customer-mood.happy i {
    color: #4CAF50;
}

.customer-mood.neutral i {
    color: #FFC107;
}

.customer-mood.unhappy i {
    color: #F44336;
}

.speech-bubble-small {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 14px;
    white-space: nowrap;
    animation: fadeInOut 3s ease;
}

.speech-bubble-small::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: white transparent transparent transparent;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

.review-kitchens-area {
    grid-column: 1 / -1;
    grid-row: 2;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-kitchens-area h3 {
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.review-kitchens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.review-kitchen {
    background-color: #E8F5E9;
    border: 2px solid #66BB6A;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
}

.review-kitchen:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-kitchen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #2E7D32;
}

.review-kitchen-header i {
    font-size: 24px;
}

.review-kitchen-header span {
    font-weight: 500;
    font-family: monospace;
}

.review-kitchen-content {
    text-align: center;
}

.kitchen-status {
    font-size: 12px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.kitchen-status.active {
    background-color: white;
    color: #2E7D32;
}

.kitchen-status.testing {
    background-color: #FFF3E0;
    color: #E65100;
}

.kitchen-status.approved {
    background-color: #4CAF50;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kitchen-visualization {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .main-kitchen {
        grid-column: 1;
        grid-row: 1;
    }
    
    .dining-area {
        grid-column: 1;
        grid-row: 2;
    }
    
    .review-kitchens-area {
        grid-column: 1;
        grid-row: 3;
    }
    
    .kitchen-area {
        grid-template-columns: 1fr;
    }
}