/* POS System Styles */
:root {
    --primary: #c8102e;
    --primary-dark: #a00d25;
    --primary-light: #ffe5e5;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    --bg-dark: #1a1a2e;
    --bg-sidebar: #16213e;
    --bg-main: #f5f7fa;
    --bg-card: #ffffff;
    --bg-input: #f0f2f5;

    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;

    --border: #e5e7eb;
    --border-focus: #c8102e;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

/* ========================================
   POS CONTAINER LAYOUT
======================================== */
.pos-container {
    display: grid;
    grid-template-columns: 240px 1fr 380px;
    height: 100vh;
    overflow: hidden;
}

/* ========================================
   LEFT SIDEBAR
======================================== */
.pos-sidebar {
    background: var(--bg-sidebar);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pos-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pos-logo h1 {
    font-size: 20px;
    font-weight: 700;
}

.pos-badge {
    background: var(--primary);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.pos-user-info {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.btn-clock {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-clock:hover {
    background: var(--primary);
}

.btn-clock svg {
    width: 18px;
    height: 18px;
}

.btn-clock.clocked-in {
    background: var(--success);
}

/* Categories */
.pos-categories {
    padding: 20px;
    flex: 1;
}

.pos-categories h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 4px;
    transition: var(--transition);
    text-align: left;
}

.category-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

.category-btn.active {
    background: var(--primary);
    color: var(--text-white);
}

.cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.category-btn.active .cat-icon {
    background: rgba(255,255,255,0.2);
}

/* Quick Actions */
.pos-quick-actions {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pos-quick-actions h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.quick-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.quick-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

.quick-btn svg {
    width: 18px;
    height: 18px;
}

/* Session Info */
.pos-session-info {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.session-stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

/* ========================================
   MAIN CONTENT AREA
======================================== */
.pos-main {
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pos-header {
    padding: 15px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.search-container {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-container svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

.search-container input {
    width: 100%;
    padding: 12px 12px 12px 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--bg-input);
    transition: var(--transition);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-type-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--bg-card);
    cursor: pointer;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-input);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

/* Menu Grid */
.menu-grid {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    align-content: start;
}

.menu-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.menu-item:active {
    transform: scale(0.98);
}

.menu-item.selected {
    border-color: var(--primary);
}

.menu-item-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--bg-input);
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.menu-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.menu-item-category {
    font-size: 11px;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 6px;
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

/* ========================================
   RIGHT PANEL - ORDER TICKET
======================================== */
.pos-ticket {
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ticket-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.ticket-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ticket-title h2 {
    font-size: 18px;
    font-weight: 700;
}

.ticket-number {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.ticket-customer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-customer input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-input);
}

.ticket-customer input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
}

/* Delivery address, shown only for delivery orders */
.ticket-delivery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.ticket-delivery input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-input);
    width: 100%;
}

.ticket-delivery input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
}

.delivery-address-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 8px;
}

.delivery-zone-note {
    font-size: 13px;
    font-weight: 600;
    min-height: 18px;
}

.delivery-zone-note.zone-ok { color: var(--success, #2e7d32); }
.delivery-zone-note.zone-blocked { color: var(--danger, #c62828); }
.delivery-zone-note.zone-pending { color: var(--text-muted, #888); font-weight: 500; }

/* Ticket Items */
.ticket-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.empty-ticket {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    text-align: center;
}

.empty-ticket svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-ticket p {
    font-weight: 600;
    margin-bottom: 4px;
}

.empty-ticket span {
    font-size: 13px;
}

/* Ticket Item */
.ticket-item {
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.ticket-item-name {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.ticket-item-price {
    font-weight: 700;
    color: var(--primary);
}

.ticket-item-details {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.ticket-item-modifier {
    display: block;
    padding-left: 10px;
    color: var(--text-secondary);
}

.ticket-item-modifier.premium {
    color: var(--warning);
}

.ticket-item-modifier.added {
    color: var(--primary);
    font-weight: 500;
}

.ticket-item-modifier.included {
    color: var(--text-secondary);
}

.ticket-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--bg-input);
}

.qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.btn-remove-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: var(--danger-light);
    color: var(--danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-remove-item:hover {
    background: var(--danger);
    color: white;
}

.btn-remove-item svg {
    width: 16px;
    height: 16px;
}

/* Discounts */
.ticket-discounts {
    padding: 0 15px 15px;
}

.discount-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--success-light);
    border-radius: var(--radius-sm);
    color: var(--success);
}

.discount-name {
    flex: 1;
    font-weight: 600;
    font-size: 13px;
}

.discount-amount {
    font-weight: 700;
}

.btn-remove-discount {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: var(--success);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-discount:hover {
    background: var(--success);
    color: white;
}

/* Totals */
.ticket-totals {
    padding: 15px;
    border-top: 1px solid var(--border);
    background: var(--bg-input);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.total-row.discount-row {
    color: var(--success);
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 2px solid var(--border);
}

/* Ticket Actions */
.ticket-actions {
    padding: 10px 15px;
    border-top: 1px solid var(--border);
}

.action-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.action-row:last-child {
    margin-bottom: 0;
    grid-template-columns: repeat(2, 1fr);
}

.btn-ticket {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 11px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-ticket:hover {
    background: var(--bg-input);
}

.btn-ticket svg {
    width: 18px;
    height: 18px;
}

.btn-ticket.btn-clear:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

/* Payment Buttons */
.payment-buttons {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid var(--border);
}

.btn-pay {
    padding: 16px 10px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-pay svg {
    width: 24px;
    height: 24px;
}

.btn-cash {
    background: var(--success);
    color: white;
}

.btn-cash:hover {
    background: #0d9668;
}

.btn-card {
    background: var(--info);
    color: white;
}

.btn-card:hover {
    background: #2563eb;
}

.btn-split {
    background: var(--warning);
    color: white;
}

.btn-split:hover {
    background: #d97706;
}

/* ========================================
   MODALS
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal-content.modal-large {
    max-width: 900px;
}

.modal-content.modal-payment {
    max-width: 450px;
}

.modal-content.modal-success {
    max-width: 400px;
    text-align: center;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 18px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--bg-input);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: var(--border);
}

/* ========================================
   PIZZA BUILDER
======================================== */
.pizza-builder {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.builder-preview {
    position: sticky;
    top: 0;
}

.pizza-visual {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #fef3c7;
    position: relative;
    margin: 0 auto 20px;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.1);
}

.pizza-base {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    background: #f8e4a0;
    border: 15px solid #d4a852;
}

.pizza-sauce {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border-radius: 50%;
    background: #e74c3c;
}

.pizza-cheese {
    position: absolute;
    top: 35px;
    left: 35px;
    right: 35px;
    bottom: 35px;
    border-radius: 50%;
    background: #f5d76e;
}

.pizza-toppings {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    bottom: 40px;
    border-radius: 50%;
}

.pizza-quadrant-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.pizza-quadrant-lines .line-h,
.pizza-quadrant-lines .line-v {
    position: absolute;
    background: rgba(0,0,0,0.15);
}

.pizza-quadrant-lines .line-h {
    left: 20%;
    right: 20%;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
}

.pizza-quadrant-lines .line-v {
    top: 20%;
    bottom: 20%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
}

.half-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.half-indicator span {
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.builder-price {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-right: 8px;
}

.price-value {
    color: var(--primary);
}

/* Builder Options */
.builder-options {
    overflow-y: auto;
}

.option-group {
    margin-bottom: 25px;
}

.option-group h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topping-count {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Size Options */
.size-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.size-btn {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.size-btn:hover {
    border-color: var(--primary);
}

.size-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.size-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.size-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Crust Options */
.crust-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crust-btn {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.crust-btn:hover {
    border-color: var(--primary);
}

.crust-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Sauce */
.sauce-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sauce-select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-card);
}

.sauce-amount-btns {
    display: flex;
    gap: 4px;
}

.amt-btn {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.amt-btn:hover {
    border-color: var(--primary);
}

.amt-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Placement Options */
.placement-options {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.placement-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.placement-btn:hover {
    border-color: var(--primary);
}

.placement-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.placement-selector {
    background: var(--bg-input);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.placement-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.placement-grid {
    display: grid;
    gap: 8px;
}

.placement-grid.half-grid {
    grid-template-columns: 1fr 1fr;
}

.placement-grid.quarter-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.placement-area {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.placement-area:hover {
    border-color: var(--primary);
}

.placement-area.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Toppings */
.topping-subsection {
    margin-bottom: 15px;
}

.topping-subsection h4 {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toppings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.topping-btn {
    padding: 10px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.topping-btn:hover {
    border-color: var(--primary);
}

.topping-btn.selected {
    background: var(--primary-light);
    border-color: var(--primary);
}

.topping-btn.premium {
    border-color: var(--warning);
}

.topping-btn.premium.selected {
    background: var(--warning-light);
    border-color: var(--warning);
}

.topping-name {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.topping-price {
    font-size: 11px;
    color: var(--text-secondary);
}

.topping-amount {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
}

.topping-btn.premium .topping-amount {
    background: var(--warning);
}

/* Included toppings (recipe pizzas) */
.topping-btn.included {
    background: var(--success-light);
    border-color: var(--success);
}

.topping-btn.included .topping-amount {
    background: var(--success);
}

.topping-price.included {
    color: var(--success);
    font-weight: 600;
}

.topping-placement {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 9px;
    color: var(--text-light);
}

/* Special Instructions */
#pizzaInstructions {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
}

/* ========================================
   COMBOS GRID
======================================== */
.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.combo-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.combo-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.combo-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.combo-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.combo-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.combo-items-list {
    list-style: none;
    margin-bottom: 15px;
}

.combo-items-list li {
    font-size: 13px;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.combo-items-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.combo-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.combo-original {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.combo-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.combo-savings {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

/* ========================================
   ITEM MODAL
======================================== */
.item-image-container {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.item-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.size-selection {
    margin-bottom: 20px;
}

.size-selection h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.size-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-radio {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.size-radio:hover {
    border-color: var(--primary);
}

.size-radio.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.modifier-groups {
    margin-bottom: 20px;
}

.modifier-group {
    margin-bottom: 15px;
}

.modifier-group h4 {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modifier-required {
    font-size: 11px;
    color: var(--danger);
}

.modifier-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modifier-option {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.modifier-option:hover {
    border-color: var(--primary);
}

.modifier-option.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control .qty-btn {
    width: 36px;
    height: 36px;
}

.quantity-control .qty-value {
    font-size: 18px;
    min-width: 30px;
}

.special-instructions {
    margin-bottom: 10px;
}

.special-instructions label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.special-instructions textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    min-height: 60px;
    resize: vertical;
}

.item-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* ========================================
   PAYMENT MODALS
======================================== */
.payment-summary {
    background: var(--bg-input);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    text-align: center;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-total span:first-child {
    font-size: 16px;
    color: var(--text-secondary);
}

.payment-total .amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.cash-input-section {
    margin-bottom: 20px;
}

.cash-input-section label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.cash-input {
    width: 100%;
    padding: 16px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
}

.cash-input:focus {
    outline: none;
    border-color: var(--primary);
}

.quick-cash-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-cash {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.quick-cash:hover {
    background: var(--bg-input);
}

.change-display {
    background: var(--success-light);
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.change-display span:first-child {
    font-size: 16px;
}

.change-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--success);
}

/* Tip Section */
.tip-section {
    margin-bottom: 20px;
}

.tip-section label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.tip-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tip-btn {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-card);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.tip-btn:hover {
    border-color: var(--primary);
}

.tip-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.custom-tip {
    margin-top: 12px;
}

.custom-tip input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.final-total {
    background: var(--bg-input);
    padding: 16px;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.final-total span:first-child {
    font-size: 16px;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Processing */
.card-processing {
    text-align: center;
    padding: 30px;
}

.processing-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   SUCCESS MODAL
======================================== */
.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.modal-success h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.order-number-display {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.order-number-display span {
    font-weight: 700;
    color: var(--text-primary);
}

.completion-details {
    background: var(--bg-input);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.completion-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.completion-details .detail-row span:last-child {
    font-weight: 700;
}

.completion-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ========================================
   DRAWER
======================================== */
.drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-header h3 {
    font-size: 18px;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--bg-input);
    cursor: pointer;
    font-size: 20px;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.held-order-card {
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.held-order-card:hover {
    background: var(--primary-light);
}

.held-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.held-order-name {
    font-weight: 600;
}

.held-order-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.held-order-items {
    font-size: 13px;
    color: var(--text-secondary);
}

.held-order-total {
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

/* ========================================
   CLOCK MODAL
======================================== */
.clock-status {
    text-align: center;
    margin-bottom: 20px;
}

.clock-status p {
    font-size: 16px;
}

.clock-time {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    font-family: monospace;
}

/* ========================================
   PROMO MODAL
======================================== */
.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-transform: uppercase;
}

.promo-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.promo-message.success {
    background: var(--success-light);
    color: var(--success);
}

.promo-message.error {
    background: var(--danger-light);
    color: var(--danger);
}

/* ========================================
   TOAST NOTIFICATIONS
======================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.toast-success {
    border-left: 4px solid var(--success);
}

.toast.toast-error {
    border-left: 4px solid var(--danger);
}

.toast.toast-warning {
    border-left: 4px solid var(--warning);
}

.toast.toast-info {
    border-left: 4px solid var(--info);
}

.toast-icon {
    width: 24px;
    height: 24px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .pos-container {
        grid-template-columns: 200px 1fr 350px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

@media (max-width: 1024px) {
    .pos-container {
        grid-template-columns: 1fr 320px;
    }

    .pos-sidebar {
        display: none;
    }

    .pizza-builder {
        grid-template-columns: 1fr;
    }

    .builder-preview {
        position: static;
    }

    .pizza-visual {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .pos-container {
        grid-template-columns: 1fr;
    }

    .pos-ticket {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: auto;
        max-height: 60vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        transform: translateY(calc(100% - 80px));
        transition: transform 0.3s ease;
    }

    .pos-ticket.expanded {
        transform: translateY(0);
    }

    .menu-grid {
        padding-bottom: 100px;
    }
}

/* ========================================
   SETTINGS MODAL
======================================== */
.modal-content.modal-settings {
    max-width: 600px;
}

.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.settings-section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: var(--bg-input);
    padding: 12px 16px;
    margin: 0;
    border-bottom: 1px solid var(--border);
}

.settings-group {
    padding: 8px 0;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    transition: background 0.15s ease;
}

.setting-row:hover {
    background: var(--bg-input);
}

.setting-info {
    flex: 1;
    min-width: 0;
}

.setting-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.setting-desc {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-left: 16px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.2);
}

/* Settings Select */
.setting-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 140px;
    margin-left: 16px;
    transition: border-color 0.2s;
}

.setting-select:hover {
    border-color: var(--text-secondary);
}

.setting-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

/* ========================================
   DARK MODE
======================================== */
body.dark-mode {
    --bg-main: #1a1a2e;
    --bg-card: #16213e;
    --bg-input: #1f2b4a;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-light: #707070;
    --border: #2a3a5a;
}

body.dark-mode .pos-main {
    background: var(--bg-main);
}

body.dark-mode .pos-ticket {
    background: var(--bg-card);
}

body.dark-mode .menu-item {
    background: var(--bg-card);
    border-color: var(--border);
}

body.dark-mode .menu-item:hover {
    border-color: var(--primary);
}

body.dark-mode .modal-content {
    background: var(--bg-card);
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    border-color: var(--border);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: var(--bg-input);
    border-color: var(--border);
    color: var(--text-primary);
}

body.dark-mode .setting-select {
    background: var(--bg-input);
    color: var(--text-primary);
}

body.dark-mode .settings-section {
    border-color: var(--border);
}

body.dark-mode .settings-section-title {
    background: var(--bg-input);
    border-color: var(--border);
}

/* ========================================
   COMPACT MODE
======================================== */
body.compact-mode .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

body.compact-mode .menu-item {
    padding: 8px;
}

body.compact-mode .menu-item-image {
    height: 60px;
}

body.compact-mode .menu-item-name {
    font-size: 12px;
}

body.compact-mode .menu-item-price {
    font-size: 13px;
}

body.compact-mode .menu-item-category {
    display: none;
}

/* ========================================
   HIDE IMAGES MODE
======================================== */
body.hide-images .menu-item-image {
    display: none;
}

body.hide-images .menu-item {
    padding: 12px;
}

body.hide-images .menu-item-name {
    margin-top: 0;
}

/* ========================================
   PRINT RECEIPT CONTAINER (Hidden in normal view)
======================================== */
.print-receipt {
    display: none;
}

/* ========================================
   PRINT STYLES FOR RECEIPT
======================================== */
@media print {
    /* Hide everything */
    body * {
        visibility: hidden;
    }

    /* Show only the print receipt container */
    .print-receipt,
    .print-receipt * {
        visibility: visible !important;
    }

    .print-receipt {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm; /* Standard thermal receipt width */
        max-width: 100%;
        background: white !important;
        color: black !important;
        font-size: 12px;
        padding: 10px;
        margin: 0;
        box-shadow: none !important;
        font-family: 'Courier New', Courier, monospace;
    }

    /* Hide UI elements that shouldn't print */
    .pos-container,
    .pos-ticket,
    .pos-sidebar,
    .pos-header,
    .pos-nav,
    .pos-main,
    .modal,
    .drawer,
    .toast-container,
    .btn {
        display: none !important;
    }

    /* Receipt header styling */
    .receipt-header {
        text-align: center;
        padding-bottom: 8px;
    }

    .receipt-store-name {
        font-size: 20px;
        font-weight: bold;
        margin: 0;
    }

    .receipt-tagline {
        font-size: 10px;
        margin: 2px 0 0 0;
        color: #666;
    }

    /* Receipt dividers */
    .receipt-divider {
        border-bottom: 1px dashed #000;
        margin: 8px 0;
    }

    /* Order info section */
    .receipt-order-info p {
        margin: 3px 0;
        font-size: 11px;
    }

    /* Receipt items */
    .receipt-items {
        padding: 5px 0;
    }

    .receipt-item {
        margin-bottom: 8px;
    }

    .receipt-item-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        font-size: 12px;
    }

    .receipt-item-qty {
        min-width: 25px;
    }

    .receipt-item-name {
        flex: 1;
        padding: 0 5px;
    }

    .receipt-item-price {
        text-align: right;
        min-width: 50px;
    }

    .receipt-item-detail {
        font-size: 10px;
        color: #444;
        margin-left: 25px;
    }

    .receipt-item-note {
        font-style: italic;
    }

    /* Receipt totals */
    .receipt-totals {
        padding: 5px 0;
    }

    .receipt-total-row {
        display: flex;
        justify-content: space-between;
        padding: 2px 0;
        font-size: 11px;
    }

    .receipt-grand-total {
        font-weight: bold;
        font-size: 14px;
        border-top: 1px solid #000;
        padding-top: 5px;
        margin-top: 5px;
    }

    /* Payment section */
    .receipt-payment p {
        margin: 3px 0;
        font-size: 11px;
    }

    /* Receipt footer */
    .receipt-footer {
        text-align: center;
        padding-top: 5px;
    }

    .receipt-footer p {
        margin: 3px 0;
        font-size: 11px;
    }

    .receipt-small {
        font-size: 9px;
        color: #666;
    }

    /* Footer message */
    .ticket-footer {
        text-align: center;
        margin-top: 15px;
        font-size: 11px;
    }

    /* Page settings */
    @page {
        size: 80mm auto;
        margin: 0;
    }
}

/* ============================================
   POS Upsell Modal Styles
   ============================================ */

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

.modal-upsell .modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 1px solid #f59e0b;
}

.modal-upsell .modal-header h2 {
    color: #92400e;
}

.upsell-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    text-align: center;
}

.upsell-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.upsell-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.pos-upsell-item {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    gap: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pos-upsell-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.pos-upsell-image {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pos-upsell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pos-upsell-image .upsell-placeholder {
    font-size: 2rem;
    color: var(--text-light);
}

.pos-upsell-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.pos-upsell-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.pos-upsell-message {
    font-size: 0.8rem;
    color: var(--text-light);
}

.pos-upsell-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.pos-upsell-pricing .upsell-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.pos-upsell-pricing .upsell-price-original {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.pos-upsell-pricing .upsell-price-discounted {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--success);
}

.pos-upsell-item .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Dark mode adjustments */
.dark-mode .modal-upsell .modal-header {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    border-bottom-color: #b45309;
}

.dark-mode .modal-upsell .modal-header h2 {
    color: #fef3c7;
}

.dark-mode .pos-upsell-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .pos-upsell-name {
    color: var(--text-primary);
}

.dark-mode .pos-upsell-image {
    background: var(--bg-secondary);
}
