/* Custom styles for Hiro POS */
/* Using Tailwind CDN, this file is kept for compatibility */
/* Enhanced Categories Management Styles */
.category-card {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 177, 0, 0.15);
}

.category-stats-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    transition: all 0.3s ease;
}

.category-stats-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.category-search-input {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    transition: all 0.3s ease;
}

.category-search-input:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.1);
}

.category-filter-select {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    transition: all 0.3s ease;
}

.category-filter-select:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.1);
}

.category-action-btn {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.category-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.category-action-btn:hover::before {
    left: 100%;
}

.category-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    backdrop-filter: blur(10px);
}

.category-form-input {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    transition: all 0.3s ease;
}

.category-form-input:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.1);
    transform: translateY(-1px);
}

.category-grid-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid #404040;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6b100, #e6a000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-grid-item:hover::before {
    transform: scaleX(1);
}

.category-grid-item:hover {
    border-color: #f6b100;
    box-shadow: 0 8px 25px rgba(246, 177, 0, 0.15);
    transform: translateY(-2px);
}

.category-empty-state {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 2px dashed #404040;
    transition: all 0.3s ease;
}

.category-empty-state:hover {
    border-color: #f6b100;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Animation for category cards */
@keyframes categoryFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card-animate {
    animation: categoryFadeIn 0.3s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-search-filters {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .category-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .category-modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
}

/* Loading animation for category cards */
.category-loading {
    background: linear-gradient(90deg, #262626 25%, #404040 50%, #262626 75%);
    background-size: 200% 100%;
    animation: categoryLoading 1.5s infinite;
}

@keyframes categoryLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Status indicators */
.status-active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-inactive {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* View toggle buttons */
.view-toggle-active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.3);
}

.view-toggle-inactive {
    background: transparent;
    color: #ababab;
    transition: all 0.2s ease;
}

.view-toggle-inactive:hover {
    color: #f5f5f5;
    background: rgba(246, 177, 0, 0.1);
}


/* Mobile POS Toggle Button Animation */
#mobile-pos-toggle {
    position: relative;
    overflow: hidden;
}

#mobile-pos-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#mobile-pos-toggle:hover::before {
    left: 100%;
}

/* Mobile POS Layout Styles */
#mobile-pos-layout {
    animation: mobileSlideIn 0.3s ease-out;
}

@keyframes mobileSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Order Type Buttons */
.mobile-order-type-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-order-type-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.mobile-order-type-btn:hover::before {
    left: 100%;
}

.mobile-order-type-btn.active {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.3);
}

/* Mobile Menu Items */
.mobile-menu-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid #404040;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mobile-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6b100, #e6a000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mobile-menu-item:hover::before {
    transform: scaleX(1);
}

.mobile-menu-item:hover {
    border-color: #f6b100;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 177, 0, 0.15);
}

.mobile-menu-item-image {
    width: 100%;
    height: 120px;
    background: #262626;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-menu-item-image i {
    font-size: 2rem;
    color: #f6b100;
}

.mobile-menu-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.mobile-menu-item-description {
    font-size: 0.875rem;
    color: #ababab;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-item-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f6b100;
}

.mobile-add-btn {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.3);
}

.mobile-add-btn:hover {
    background: linear-gradient(135deg, #e6a000 0%, #d69000 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.4);
}

/* Mobile Cart Items */
.mobile-cart-item {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #404040;
    transition: all 0.3s ease;
}

.mobile-cart-item:hover {
    border-color: #f6b100;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.1);
}

.mobile-cart-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.mobile-cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
    flex: 1;
    margin-right: 1rem;
}

.mobile-cart-item-price {
    font-size: 1rem;
    font-weight: bold;
    color: #f6b100;
}

.mobile-cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a1a1a;
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.mobile-qty-btn {
    background: #404040;
    color: #f5f5f5;
    border: none;
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.mobile-qty-btn:hover {
    background: #f6b100;
    color: #000;
    transform: scale(1.1);
}

.mobile-qty-display {
    font-size: 1.125rem;
    font-weight: bold;
    color: #f5f5f5;
    min-width: 2rem;
    text-align: center;
}

.mobile-remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-remove-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

/* Mobile Category Tabs */
.mobile-category-tab {
    background: #262626;
    color: #ababab;
    border: 1px solid #404040;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-category-tab:hover {
    background: #404040;
    color: #f5f5f5;
    border-color: #f6b100;
}

.mobile-category-tab.active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border-color: #f6b100;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.3);
}

/* Mobile Cart Toggle Button */
#mobile-cart-toggle button {
    animation: mobilePulse 2s infinite;
}

@keyframes mobilePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 177, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(246, 177, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 177, 0, 0);
    }
}

/* Mobile Search Input */
#mobile-menu-search {
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

#mobile-menu-search:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(246, 177, 0, 0.2);
}

/* Mobile Table Selection */
#mobile-selected-table {
    transition: all 0.3s ease;
}

#mobile-selected-table:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
    .mobile-menu-item {
        padding: 1rem;
    }
    
    .mobile-menu-item-image {
        height: 100px;
    }
    
    .mobile-cart-item {
        padding: 0.75rem;
    }
    
    #mobile-cart-toggle button {
        width: 56px;
        height: 56px;
    }
    
    .mobile-order-type-btn {
        padding: 1rem;
        font-size: 0.875rem;
    }
}

/* Mobile Animation Classes */
.mobile-fade-in {
    animation: mobileFadeIn 0.3s ease-out;
}

.mobile-slide-up {
    animation: mobileSlideUp 0.3s ease-out;
}

.mobile-bounce-in {
    animation: mobileBounceIn 0.5s ease-out;
}

@keyframes mobileFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mobileSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Loading States */
.mobile-loading {
    background: linear-gradient(90deg, #262626 25%, #404040 50%, #262626 75%);
    background-size: 200% 100%;
    animation: mobileLoading 1.5s infinite;
}

@keyframes mobileLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Mobile Touch Improvements */
.mobile-touch-target {
    min-height: 44px;
    min-width: 44px;
}

/* Mobile Scrollbar Styling */
#mobile-category-tabs::-webkit-scrollbar {
    height: 4px;
}

#mobile-category-tabs::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
}

#mobile-category-tabs::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 2px;
}

#mobile-category-tabs::-webkit-scrollbar-thumb:hover {
    background: #f6b100;
}

/* Mobile Cart Section Transitions */
#mobile-cart-section {
    transition: all 0.3s ease;
}

#mobile-cart-section.show {
    animation: mobileSlideUp 0.3s ease-out;
}

#mobile-cart-section.hide {
    animation: mobileSlideDown 0.3s ease-out;
}

@keyframes mobileSlideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Mobile Success States */
.mobile-success-pulse {
    animation: mobileSuccessPulse 0.6s ease-out;
}

@keyframes mobileSuccessPulse {
    0% {
        transform: scale(1);
        background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    }
    50% {
        transform: scale(1.05);
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    }
    100% {
        transform: scale(1);
        background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    }
}/*
 ============================================
   ENHANCED POS SYSTEM STYLES
   ============================================ */

/* Enhanced POS Toggle Button */
#enhanced-pos-toggle {
    position: relative;
    overflow: hidden;
}

#enhanced-pos-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#enhanced-pos-toggle:hover::before {
    left: 100%;
}

/* Enhanced POS Layout */
#enhanced-pos-layout {
    animation: enhancedSlideIn 0.4s ease-out;
    padding-bottom: 100px;
}

@keyframes enhancedSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Menu Cards */
.enhanced-menu-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid #404040;
    border-radius: 1rem;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.enhanced-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6b100, #e6a000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.enhanced-menu-card:hover::before {
    transform: scaleX(1);
}

.enhanced-menu-card:hover {
    border-color: #f6b100;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(246, 177, 0, 0.2);
}

.enhanced-menu-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #262626 0%, #404040 100%);
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.enhanced-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enhanced-menu-image i {
    font-size: 2.5rem;
    color: #f6b100;
}

.enhanced-menu-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.enhanced-menu-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enhanced-menu-station {
    font-size: 0.75rem;
    color: #f6b100;
    background: rgba(246, 177, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.enhanced-menu-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: #f6b100;
    margin-bottom: 0.75rem;
}

.enhanced-add-button {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.3);
    width: 100%;
}

.enhanced-add-button:hover {
    background: linear-gradient(135deg, #e6a000 0%, #d69000 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.4);
}

/* Enhanced Categories */
.enhanced-category-btn {
    background: linear-gradient(135deg, #262626 0%, #404040 100%);
    color: #ababab;
    border: 1px solid #404040;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enhanced-category-btn:hover {
    background: linear-gradient(135deg, #404040 0%, #505050 100%);
    color: #f5f5f5;
    border-color: #f6b100;
    transform: translateY(-1px);
}

.enhanced-category-btn.active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border-color: #f6b100;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.3);
    transform: translateY(-1px);
}

/* Enhanced Cart */
#enhanced-cart {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

#enhanced-cart.open {
    transform: translateX(0);
}

.enhanced-cart-item {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #404040;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.enhanced-cart-item:hover {
    border-color: #f6b100;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.1);
}

.enhanced-cart-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.enhanced-cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
    flex: 1;
    margin-right: 1rem;
}

.enhanced-cart-item-price {
    font-size: 1rem;
    font-weight: bold;
    color: #f6b100;
}

.enhanced-cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.enhanced-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a1a1a;
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.enhanced-qty-btn {
    background: #404040;
    color: #f5f5f5;
    border: none;
    border-radius: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.enhanced-qty-btn:hover {
    background: #f6b100;
    color: #000;
    transform: scale(1.1);
}

.enhanced-qty-display {
    font-size: 1.125rem;
    font-weight: bold;
    color: #f5f5f5;
    min-width: 2rem;
    text-align: center;
}

.enhanced-remove-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enhanced-remove-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

/* Enhanced Search */
#enhanced-search {
    transition: all 0.3s ease;
}

#enhanced-search:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(246, 177, 0, 0.2);
}

/* Floating Cart Button */
#enhanced-cart-float button {
    animation: enhancedPulse 2s infinite;
}

@keyframes enhancedPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 177, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(246, 177, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 177, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1536px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1280px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #enhanced-cart {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .enhanced-menu-card {
        height: 260px;
    }
    
    .enhanced-menu-image {
        height: 120px;
    }
    
    .enhanced-pos-container {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    #enhanced-menu-grid {
        grid-template-columns: 1fr;
    }
    
    .enhanced-menu-card {
        height: 240px;
    }
    
    .enhanced-menu-image {
        height: 100px;
    }
}

/* Loading Animation */
.enhanced-loading {
    background: linear-gradient(90deg, #262626 25%, #404040 50%, #262626 75%);
    background-size: 200% 100%;
    animation: enhancedLoading 1.5s infinite;
}

@keyframes enhancedLoading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Success Animation */
.enhanced-success-pulse {
    animation: enhancedSuccessPulse 0.6s ease-out;
}

@keyframes enhancedSuccessPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    }
    100% {
        transform: scale(1);
    }
}

/* Fade In Animation */
.enhanced-fade-in {
    animation: enhancedFadeIn 0.3s ease-out;
}

@keyframes enhancedFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* En
hanced POS Improvements */
.enhanced-category-btn {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    color: #f5f5f5;
    border: 1px solid #404040;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enhanced-category-btn:hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.2);
}

.enhanced-category-btn.active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border-color: #f6b100;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.3);
}

.enhanced-category-count {
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    border-radius: 50%;
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 1.25rem;
    text-align: center;
}

.enhanced-category-selected {
    animation: enhancedCategoryPulse 0.3s ease;
}

@keyframes enhancedCategoryPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Menu Card Improvements */
.enhanced-menu-card {
    flex-direction: column;
    height: 320px;
}

.enhanced-menu-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.enhanced-menu-description {
    font-size: 0.75rem;
    color: #ababab;
    margin: 0.25rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enhanced-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}

.enhanced-popular-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.3);
}

.enhanced-add-button {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(246, 177, 0, 0.2);
}

.enhanced-add-button:hover {
    background: linear-gradient(135deg, #e6a000 0%, #d69000 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 177, 0, 0.3);
}

.enhanced-add-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    animation: enhancedAddSuccess 0.3s ease;
}

@keyframes enhancedAddSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Enhanced Toast Notifications */
.enhanced-toast {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    max-width: 300px;
}

.enhanced-toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.enhanced-toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.enhanced-toast-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.enhanced-slide-in {
    animation: enhancedSlideIn 0.3s ease-out;
}

.enhanced-slide-out {
    animation: enhancedSlideOut 0.3s ease-in;
}

@keyframes enhancedSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Enhanced Fade In Animation */
.enhanced-fade-in {
    animation: enhancedFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes enhancedFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Success Pulse */
.enhanced-success-pulse {
    animation: enhancedSuccessPulse 0.6s ease;
}

@keyframes enhancedSuccessPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(246, 177, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(246, 177, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(246, 177, 0, 0); }
}

/* Enhanced Search Input */
#enhanced-search {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 2px solid #404040;
    transition: all 0.3s ease;
}

#enhanced-search:focus {
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    border-color: #f6b100;
    box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Grid Responsive Improvements */
@media (max-width: 1536px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1280px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .enhanced-menu-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    #enhanced-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .enhanced-menu-card {
        height: 280px;
    }
    
    .enhanced-menu-image {
        height: 120px;
    }
    
    .enhanced-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    #enhanced-menu-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .enhanced-menu-card {
        height: 260px;
    }
    
    .enhanced-menu-image {
        height: 100px;
    }
}/* Bea
utiful POS Page Redesign - UI Only */

/* POS Page Container */
#pos-page {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* Menu Items Grid Enhancement */
#menu-items-grid {
    gap: 1rem;
    padding: 1rem;
}

/* Beautiful Flat Menu Item Cards */
.menu-item {
    background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6b100 0%, #e6a000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item:hover {
    transform: translateY(-4px);
    border-color: #f6b100;
    box-shadow: 0 8px 25px rgba(246, 177, 0, 0.15);
    background: linear-gradient(145deg, #252525 0%, #303030 100%);
}

/* Menu Item Content */
.menu-item .item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item .item-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f6b100;
    margin-bottom: 0.25rem;
}

.menu-item .item-station {
    font-size: 0.75rem;
    color: #ababab;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.menu-item .item-station i {
    color: #f6b100;
    font-size: 0.7rem;
}

/* Category Tabs Enhancement */
.category-btn {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
    color: #f5f5f5;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(246, 177, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    border-color: #f6b100;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.3);
}

/* Search Bar Enhancement */
#menu-search {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 2px solid #404040;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

#menu-search:focus {
    border-color: #f6b100;
    background: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    box-shadow: 0 0 0 3px rgba(246, 177, 0, 0.1);
    transform: translateY(-1px);
}

#menu-search::placeholder {
    color: #ababab;
}

/* Layout Toggle Button */
#layout-toggle-btn {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 0.75rem;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

#layout-toggle-btn:hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    color: #f6b100;
    transform: translateY(-1px);
}

/* Cart Section Enhancement */
.col-span-4 .bg-\[#1a1a1a\] {
    background: linear-gradient(145deg, #1a1a1a 0%, #1e1e1e 100%) !important;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Order Type Buttons */
.order-type-btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-type-btn:not(.active) {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
}

.order-type-btn:not(.active):hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    transform: translateY(-1px);
}

.order-type-btn.active {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(246, 177, 0, 0.3);
}

/* Table Selection Button */
#selected-table-display {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#selected-table-display:hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    transform: translateY(-1px);
}

/* Process Order Button */
#process-order-btn {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#process-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#process-order-btn:hover::before {
    left: 100%;
}

#process-order-btn:hover {
    background: linear-gradient(135deg, #e6a000 0%, #d69000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 177, 0, 0.4);
}

#process-order-btn:disabled {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    color: #ababab;
    transform: none;
    box-shadow: none;
}

/* Guest Counter Buttons */
button[onclick*="Guests"] {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
    border-radius: 6px;
    color: #f5f5f5;
    transition: all 0.3s ease;
}

button[onclick*="Guests"]:hover {
    background: linear-gradient(135deg, #404040 0%, #4a4a4a 100%);
    border-color: #f6b100;
    color: #f6b100;
    transform: scale(1.05);
}

/* Number of Guests Input */
#number-of-guests {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #404040;
    border-radius: 6px;
    color: #f5f5f5;
    text-align: center;
    font-weight: 600;
}

#number-of-guests:focus {
    border-color: #f6b100;
    box-shadow: 0 0 0 2px rgba(246, 177, 0, 0.1);
}

/* Cart Items Enhancement */
.cart-item {
    background: linear-gradient(135deg, #262626 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #f6b100;
    box-shadow: 0 2px 10px rgba(246, 177, 0, 0.1);
}

/* Responsive Grid Improvements */
@media (max-width: 1536px) {
    #menu-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1280px) {
    #menu-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    #menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-item {
        min-height: 110px;
    }
}

@media (max-width: 768px) {
    #menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .menu-item {
        min-height: 100px;
        padding: 0.75rem;
    }
    
    .menu-item .item-name {
        font-size: 0.9rem;
    }
    
    .menu-item .item-price {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    #menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        min-height: 90px;
    }
}

/* Floor Plan Container Enhancement */
#floor-plan-container {
    background: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
}

/* Enhanced POS Toggle Button Styling */
#enhanced-pos-toggle {
    background: linear-gradient(135deg, #f6b100 0%, #e6a000 100%);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#enhanced-pos-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#enhanced-pos-toggle:hover::before {
    left: 100%;
}

#enhanced-pos-toggle:hover {
    background: linear-gradient(135deg, #e6a000 0%, #d69000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 177, 0, 0.4);
}

/* Subtle animations for better UX */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    animation: fadeInUp 0.3s ease-out;
}

/* Loading states */
.menu-item.loading {
    background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}