/* POS Specific Styles */
.pos-container {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.pos-header {
    background: #2a2a2a;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left h1 {
    margin: 0;
    font-size: 1.8em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shift-info {
    padding: 8px 15px;
    background: #3a3a3a;
    border-radius: 6px;
    font-size: 0.9em;
}

.pos-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.pos-left-panel {
    flex: 1;
    background: white;
    border-right: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pos-right-panel {
    width: 400px;
    background: white;
    display: flex;
    flex-direction: column;
    border-left: 2px solid #e0e0e0;
}

.product-search {
    padding: 20px;
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.product-search input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.category-filter {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    overflow-x: auto;
}

.category-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.products-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.product-card {
    background: #f9fafb;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

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

.product-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-card .product-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.product-card .product-price {
    color: #667eea;
    font-weight: 700;
    font-size: 16px;
}

.cart-header {
    padding: 20px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.order-type-selector {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.order-type-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.order-type-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.table-number-input {
    padding: 15px 20px;
    border-bottom: 2px solid #e0e0e0;
}

.table-number-input input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-top: 5px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cart-item-name {
    font-weight: 600;
    flex: 1;
}

.cart-item-price {
    color: #667eea;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.qty-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
}

.cart-item-notes {
    margin-top: 10px;
}

.cart-item-notes input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
}

.cart-summary {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
    background: #f9fafb;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.summary-row.discount-row {
    color: #10b981;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #e0e0e0;
}

.cart-actions {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.btn-large {
    flex: 1;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
}

.order-notes {
    padding: 20px;
    border-top: 2px solid #e0e0e0;
}

.order-notes textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    resize: vertical;
    min-height: 60px;
    margin-top: 5px;
}

.modal-large {
    max-width: 600px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.payment-method-btn {
    padding: 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.payment-method-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.payment-method-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pos-main {
        flex-direction: column;
    }
    
    .pos-right-panel {
        width: 100%;
        max-height: 50vh;
    }
}


