/* JuicePOS Custom Styles */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* POS Screen Styles */
.pos-container {
    height: 100vh;
    overflow: hidden;
}

.product-grid {
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.cart-container {
    height: calc(100vh - 120px);
    border-left: 2px solid #eee;
}

.cart-items {
    height: 60%;
    overflow-y: auto;
}

.cart-summary {
    height: 40%;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.category-btn {
    margin: 5px;
    border-radius: 20px;
    padding: 8px 20px;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

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

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.size-option, .addon-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 10px;
    margin: 5px 0;
}

.size-option:hover, .addon-option:hover {
    border-color: #667eea;
    background-color: #f8f9fa;
}

.size-option.selected, .addon-option.selected {
    border-color: #667eea;
    background-color: #e3f2fd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pos-container {
        flex-direction: column;
    }
    
    .cart-container {
        border-left: none;
        border-top: 2px solid #eee;
        height: 40vh;
    }
    
    .product-grid {
        height: 60vh;
    }
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .receipt, .receipt * {
        visibility: visible;
    }
    
    .receipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        font-size: 12px;
        font-family: 'Courier New', monospace;
    }
}

