.pos-container {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.pos-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    padding: 20px;
}

/* Products Section */
.product-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-search input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
}

.product-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.product-card .name {
    font-weight: 600;
    margin-bottom: 5px;
}

.product-card .price {
    color: var(--success-color);
    font-weight: 600;
    font-size: 18px;
}

.product-card .stock {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Cart Section */
.pos-cart {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 4px;
    margin-bottom: 5px;
}

.cart-item .item-name {
    font-weight: 500;
}

.cart-item .item-price {
    color: var(--success-color);
}

.cart-item .item-qty input {
    width: 60px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-align: center;
}

.cart-item .item-total {
    font-weight: 600;
}

.cart-item .remove-item {
    color: var(--danger-color);
    cursor: pointer;
    font-size: 18px;
}

.cart-summary {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding-top: 8px;
    margin-top: 8px;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions button {
    flex: 1;
}

/* Packing Queue */
.packing-queue {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.packing-item {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 15px;
}

.packing-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.packing-items-list {
    margin: 10px 0;
    padding-left: 20px;
}

.packing-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

/* Order Summary Cards */
.order-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.summary-card h4 {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.summary-card p {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Patient Info Grid */
.patient-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.info-card {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 6px;
}

.info-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Form Checks */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.form-check input[type="checkbox"] {
    width: auto;
}

/* Text Utilities */
.text-right {
    text-align: right;
}
/* Packing Queue Styles */
.packing-queue {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.packing-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.packing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.packing-item.priority-high {
    border-left: 4px solid #dc3545;
}

.packing-item.priority-normal {
    border-left: 4px solid #28a745;
}

.packing-item.priority-low {
    border-left: 4px solid #ffc107;
}

.packing-item-header {
    padding: 15px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priority-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.priority-badge.priority-high {
    background: #f8d7da;
    color: #721c24;
}

.packing-item-body {
    padding: 15px;
}

.packing-item-footer {
    padding: 15px;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s;
}

/* Packing Filters */
.packing-filters {
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.packing-filters select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

/* Verification Checks */
.verification-checks {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background: white;
    border-radius: 4px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Photo Upload */
.photo-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 4px;
}

/* Timeline Events */
.timeline-event {
    padding: 10px;
    border-left: 2px solid var(--primary-color);
    margin-left: 10px;
    margin-bottom: 10px;
    background: var(--light-bg);
    border-radius: 0 4px 4px 0;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 60px;
    color: #6c757d;
    font-style: italic;
    background: white;
    border-radius: 8px;
    grid-column: 1 / -1;
}