/* Core POS Stylesheet */
.pos-container-72a0fa3d {
	display: flex;
    flex-direction: column;
	height: 85vh;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #f1f5f9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Top Navigation */
.pos-topnav-72a0fa3d {
	background: #0f172a;
	color: #fff;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #1e293b;
}

.pos-topnav-brand-72a0fa3d {
	font-size: 22px;
	font-weight: 800;
	color: #38bdf8;
	letter-spacing: 0.5px;
    margin-right: 30px;
}

.pos-topnav-links-72a0fa3d {
    display: flex;
    gap: 15px;
}

.pos-nav-btn-72a0fa3d {
	background: transparent;
	border: none;
	color: #94a3b8;
	padding: 10px 15px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s ease-in-out;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pos-nav-btn-72a0fa3d:hover,
.pos-nav-btn-72a0fa3d.active {
	background: #1e293b;
	color: #fff;
}

/* Main Display Area */
.pos-main-72a0fa3d {
	flex: 1;
	background: #f8fafc;
	overflow-y: auto;
	position: relative;
}

.pos-tab-content-72a0fa3d {
	display: none;
	padding: 25px;
	height: 100%;
}

.pos-tab-content-72a0fa3d.active-tab {
	display: flex;
	flex-direction: column;
}

/* Top bar style */
.pos-register-header-72a0fa3d {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	gap: 20px;
}

.pos-search-bar-72a0fa3d {
	display: flex;
	gap: 10px;
	flex: 1;
}

.pos-search-bar-72a0fa3d input {
	padding: 10px 15px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	width: 100%;
}

.pos-controls-72a0fa3d {
    display: flex;
    gap: 10px;
}

.pos-controls-72a0fa3d select {
	padding: 10px 15px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
}

/* Body and split */
.pos-body-72a0fa3d {
	display: flex;
	flex: 1;
	gap: 20px;
	height: calc(100% - 70px);
}

.pos-catalog-72a0fa3d {
	flex: 2;
	overflow-y: auto;
}

.pos-products-grid-72a0fa3d {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
}

.pos-product-card-72a0fa3d {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.pos-product-card-72a0fa3d:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.pos-product-card-72a0fa3d img {
	width: 100%;
	height: 120px;
	object-fit: cover;
}

.pos-prod-info-72a0fa3d {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pos-prod-title-72a0fa3d {
	margin: 0;
	font-size: 14px;
	color: #1e293b;
	font-weight: 600;
}

.pos-prod-price-72a0fa3d {
	color: #059669;
	font-weight: 700;
	font-size: 15px;
}

.pos-prod-sku-72a0fa3d {
	font-size: 11px;
	color: #64748b;
}

.pos-product-card-72a0fa3d.low-stock {
	border: 1px solid #f87171;
	background: #fef2f2;
}

/* Cart Panel */
.pos-cart-panel-72a0fa3d {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Customer selector explicitly on top */
.pos-customer-selector-72a0fa3d {
	display: flex;
	flex-direction: column;
	gap: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 5px;
}

.customer-select-row-72a0fa3d {
	display: flex;
	gap: 8px;
}

.customer-select-row-72a0fa3d select {
	flex: 1;
	padding: 8px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
}

.pos-cart-header-72a0fa3d {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pos-cart-items-72a0fa3d {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Updated strictly structured cart items */
.pos-cart-item-72a0fa3d {
	display: grid;
    grid-template-columns: auto 1fr auto auto;
	align-items: center;
	padding: 10px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
    gap: 12px;
}

.pos-cart-item-img-container-72a0fa3d {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.pos-cart-item-img-container-72a0fa3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pos-cart-item-details-72a0fa3d {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pos-cart-item-name-72a0fa3d {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-cart-item-price-72a0fa3d {
    font-size: 12px;
    color: #64748b;
}

.pos-cart-item-controls-72a0fa3d {
	display: flex;
	align-items: center;
	gap: 6px;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 20px;
}

.pos-cart-item-controls-72a0fa3d button {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: #fff;
	cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #0f172a;
}

.pos-cart-item-qty-72a0fa3d {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
    font-size: 13px;
}

.pos-cart-item-line-total-72a0fa3d {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    text-align: right;
    min-width: 60px;
}


.pos-discount-input-row-72a0fa3d {
	display: flex;
	gap: 8px;
}

.pos-discount-input-row-72a0fa3d input {
	flex: 1;
	padding: 8px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
}

.pos-discount-input-row-72a0fa3d button {
	padding: 8px 12px;
	background: #1e293b;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.pos-actions-72a0fa3d {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.pos-btn-72a0fa3d {
	padding: 12px;
	border-radius: 8px;
	border: none;
	font-weight: 700;
	cursor: pointer;
}

.cash-btn-72a0fa3d { background: #10b981; color: #fff; }
.card-btn-72a0fa3d { background: #3b82f6; color: #fff; }
.print-btn-72a0fa3d { background: #64748b; color: #fff; grid-column: span 2; }

/* Customers tab and form */
.pos-customer-mgmt-72a0fa3d {
	display: flex;
	gap: 25px;
}

.pos-form-grid-72a0fa3d {
	flex: 1;
	background: #fff;
	padding: 25px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.pos-form-grid-72a0fa3d input {
	padding: 10px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
}

.pos-primary-btn-72a0fa3d {
	background: #3b82f6;
	color: #fff;
	border: none;
	padding: 12px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}

.pos-customer-list-panel-72a0fa3d {
	flex: 1.5;
	background: #fff;
	padding: 25px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.pos-customer-list-72a0fa3d {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.customer-list-item-72a0fa3d {
	padding: 12px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}