/* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f0f4f8;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        header {
            background-color: #2563eb;
            color: white;
            padding: 1rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header-title {
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .header-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .cashier-badge {
            background-color: #1e40af;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
        }
        
        /* Main Content Layout */
        .main-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding: 1rem;
        }
        
        @media (min-width: 992px) {
            .main-content {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        /* Card Styles */
        .card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            padding: 1rem;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #4b5563;
        }
        
        /* Scanner Styles */
        .scanner {
            position: relative;
            height: 12rem;
            border: 2px solid #d1d5db;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f3f4f6;
        }
        
        .scanner-container {
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .scanner-line {
            height: 2px;
            width: 100%;
            background-color: #ff3b30;
            position: absolute;
            animation: scan 2s infinite;
            box-shadow: 0 0 8px rgba(255, 59, 48, 0.8);
            z-index: 10;
            pointer-events: none;
        }
        
        @keyframes scan {
            0% { top: 10%; }
            50% { top: 90%; }
            100% { top: 10%; }
        }
        
        .scanner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 5;
            pointer-events: none;
        }
        
        .scanner-target {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 200px;
            height: 100px;
            border: 2px solid #ff3b30;
            border-radius: 10px;
            box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
            z-index: 6;
            pointer-events: none;
        }
        
        .scanner-placeholder {
            text-align: center;
            color: #9ca3af;
            z-index: 10;
        }
        
        .scanner-placeholder svg {
            width: 3rem;
            height: 3rem;
            margin: 0 auto 0.5rem;
        }
        
        .beep {
            animation: beepEffect 0.5s;
        }
        
        @keyframes beepEffect {
            0% { background-color: rgba(255, 59, 48, 0.1); }
            50% { background-color: rgba(255, 59, 48, 0.3); }
            100% { background-color: rgba(255, 59, 48, 0); }
        }
        
        .drawingBuffer {
            position: absolute;
            top: 0;
            left: 0;
        }
        
        /* Button Styles */
        .btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.1s;
            border: none;
            outline: none;
        }
        
        .btn:active {
            transform: translateY(1px);
        }
        
        .btn-primary {
            background-color: #2563eb;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #1d4ed8;
        }
        
        .btn-danger {
            background-color: #dc2626;
            color: white;
        }
        
        .btn-danger:hover {
            background-color: #b91c1c;
        }
        
        .btn-success {
            background-color: #10b981;
            color: white;
        }
        
        .btn-success:hover {
            background-color: #059669;
        }
        
        .btn-secondary {
            background-color: #e5e7eb;
            color: #4b5563;
        }
        
        .btn-secondary:hover {
            background-color: #d1d5db;
        }
        
        .btn-block {
            display: block;
            width: 100%;
        }
        
        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1.125rem;
        }
        
        .btn-disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* Form Controls */
        .form-control {
            display: flex;
            margin-bottom: 1rem;
        }
        
        .input {
            flex-grow: 1;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem 0 0 0.375rem;
            outline: none;
        }
        
        .input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }
        
        .input-group-append .btn {
            border-radius: 0 0.375rem 0.375rem 0;
        }
        
        /* Product Buttons */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .product-btn {
            background-color: #f3f4f6;
            padding: 0.5rem;
            border-radius: 0.375rem;
            text-align: left;
            padding-left: 0.75rem;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .product-btn:hover {
            background-color: #e5e7eb;
        }
        
        /* Numpad */
        .numpad {
            margin-top: auto;
        }
        
        .numpad-title {
            font-size: 1.125rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #4b5563;
        }
        
        .numpad-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
        }
        
        .num-btn {
            background-color: #e5e7eb;
            padding: 0.75rem;
            border-radius: 0.375rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .num-btn:hover {
            background-color: #d1d5db;
        }
        
        /* Cart Styles */
        .order-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .order-badge {
            background-color: #dbeafe;
            color: #1e40af;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
        }
        
        .cart-items {
            flex-grow: 1;
            overflow-y: auto;
            margin-bottom: 1rem;
            max-height: 300px;
        }
        
        .cart-empty {
            text-align: center;
            padding: 2rem 0;
            color: #9ca3af;
        }
        
        .cart-empty svg {
            width: 3rem;
            height: 3rem;
            margin: 0 auto 0.5rem;
        }
        
        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .cart-item-details {
            flex-grow: 1;
        }
        
        .cart-item-name {
            font-weight: 500;
        }
        
        .cart-item-price {
            font-size: 0.875rem;
            color: #6b7280;
        }
        
        .cart-item-total {
            text-align: right;
        }
        
        .cart-item-total-price {
            font-weight: 500;
        }
        
        .cart-item-remove {
            color: #dc2626;
            font-size: 0.875rem;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.25rem;
        }
        
        .cart-summary {
            border-top: 1px solid #e5e7eb;
            padding-top: 1rem;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            color: #6b7280;
        }
        
        .summary-total {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            font-size: 1.125rem;
        }
        
        .cart-actions {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-top: 1rem;
        }
        
        /* Payment Styles */
        .payment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .payment-btn {
            background-color: #f3f4f6;
            padding: 1rem;
            border-radius: 0.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .payment-btn:hover {
            background-color: #e5e7eb;
        }
        
        .payment-btn svg {
            width: 2rem;
            height: 2rem;
            margin-bottom: 0.5rem;
        }
        
        .payment-btn.selected {
            border: 2px solid #2563eb;
        }
        
        .payment-btn.cash svg {
            color: #10b981;
        }
        
        .payment-btn.card svg {
            color: #2563eb;
        }
        
        .payment-btn.mobile svg {
            color: #8b5cf6;
        }
        
        .payment-btn.gift-card svg {
            color: #ec4899;
        }
        
        .payment-details {
            background-color: #f3f4f6;
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
            display: none;
        }
        
        .payment-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .payment-value {
            font-weight: bold;
        }
        
        .payment-info {
            background-color: #dbeafe;
            color: #1e40af;
            padding: 0.75rem;
            border-radius: 0.375rem;
            text-align: center;
        }
        
        .payment-info p {
            margin-bottom: 0.25rem;
        }
        
        .payment-info p:last-child {
            margin-bottom: 0;
            font-size: 0.875rem;
            color: #3b82f6;
        }
        
        .payment-actions {
            margin-top: auto;
        }
        
        .action-row {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
        }
        
        .action-row .btn {
            flex: 1;
        }
        
        .action-row .btn:first-child {
            margin-right: 0.5rem;
        }
        
        /* Modal Styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 50;
            display: none;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            max-width: 28rem;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .modal-title {
            font-size: 1.25rem;
            font-weight: bold;
        }
        
        .modal-close {
            background: none;
            border: none;
            color: #6b7280;
            cursor: pointer;
        }
        
        .modal-close:hover {
            color: #4b5563;
        }
        
        .modal-body {
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            padding: 1rem 0;
            margin: 1rem 0;
        }
        
        .modal-footer {
            display: flex;
            justify-content: flex-end;
        }
        
        /* Receipt Styles */
        .receipt-header {
            text-align: center;
            margin-bottom: 1rem;
        }
        
        .receipt-store-name {
            font-weight: bold;
            font-size: 1.125rem;
        }
        
        .receipt-store-info {
            font-size: 0.875rem;
            color: #6b7280;
        }
        
        .receipt-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        
        .receipt-items {
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            padding: 0.5rem 0;
            margin-bottom: 1rem;
        }
        
        .receipt-item-header {
            display: grid;
            grid-template-columns: 6fr 2fr 2fr 2fr;
            font-weight: 500;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        
        .receipt-item {
            display: grid;
            grid-template-columns: 6fr 2fr 2fr 2fr;
            font-size: 0.875rem;
            padding: 0.25rem 0;
        }
        
        .receipt-item-price, .receipt-item-qty, .receipt-item-total {
            text-align: right;
        }
        
        .receipt-summary {
            font-size: 0.875rem;
        }
        
        .receipt-footer {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e5e7eb;
            text-align: center;
        }
        
        .receipt-thank-you {
            font-weight: 500;
        }
        
        .receipt-note {
            font-size: 0.875rem;
            color: #6b7280;
            margin-top: 0.5rem;
        }
        
        /* Processing Modal */
        .processing-modal .modal-content {
            text-align: center;
        }
        
        .spinner {
            display: inline-block;
            width: 4rem;
            height: 4rem;
            border: 4px solid rgba(37, 99, 235, 0.1);
            border-radius: 50%;
            border-top-color: #2563eb;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 1rem;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .processing-title {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        
        .processing-message {
            color: #6b7280;
            margin-bottom: 1rem;
        }
        
        .processing-status {
            font-size: 0.875rem;
            color: #9ca3af;
        }
        
        /* Permission Modal */
        .permission-modal .modal-content {
            text-align: center;
        }
        
        .permission-icon {
            color: #eab308;
            width: 4rem;
            height: 4rem;
            margin: 0 auto 1rem;
        }
        
        /* Notification */
        .notification {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            background-color: #10b981;
            color: white;
            padding: 1rem;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transform: translateY(5rem);
            opacity: 0;
            transition: transform 0.3s, opacity 0.3s;
            z-index: 50;
            display: flex;
            align-items: center;
        }
        
        .notification.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .notification svg {
            width: 1.5rem;
            height: 1.5rem;
            margin-right: 0.5rem;
        }
        
        .notification.error {
            background-color: #dc2626;
        }
        
        /* Utility Classes */
        .hidden {
            display: none !important;
        }
        
        .flex {
            display: flex;
        }
        
        .flex-col {
            flex-direction: column;
        }
        
        .items-center {
            align-items: center;
        }
        
        .justify-between {
            justify-content: space-between;
        }
        
        .mt-auto {
            margin-top: auto;
        }
        
        .mb-1 {
            margin-bottom: 0.25rem;
        }
        
        .mb-2 {
            margin-bottom: 0.5rem;
        }
        
        .mb-4 {
            margin-bottom: 1rem;
        }
        
        .mr-2 {
            margin-right: 0.5rem;
        }
        
        .mx-auto {
            margin-left: auto;
            margin-right: auto;
        }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #2563eb;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cashier-badge {
    background-color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

@media (min-width: 992px) {
    .main-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4b5563;
}

/* Scanner Styles */
.scanner {
    position: relative;
    height: 12rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
}

.scanner-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scanner-line {
    height: 2px;
    width: 100%;
    background-color: #ff3b30;
    position: absolute;
    animation: scan 2s infinite;
    box-shadow: 0 0 8px rgba(255, 59, 48, 0.8);
    z-index: 10;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.scanner-target {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 100px;
    border: 2px solid #ff3b30;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    z-index: 6;
    pointer-events: none;
}

.scanner-placeholder {
    text-align: center;
    color: #9ca3af;
    z-index: 10;
}

.scanner-placeholder svg {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.5rem;
}

.beep {
    animation: beepEffect 0.5s;
}

@keyframes beepEffect {
    0% { background-color: rgba(255, 59, 48, 0.1); }
    50% { background-color: rgba(255, 59, 48, 0.3); }
    100% { background-color: rgba(255, 59, 48, 0); }
}

.drawingBuffer {
    position: absolute;
    top: 0;
    left: 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    border: none;
    outline: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #4b5563;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Controls */
.form-control {
    display: flex;
    margin-bottom: 1rem;
}

.input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem 0 0 0.375rem;
    outline: none;
}

.input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.input-group-append .btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Product Buttons */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-btn {
    background-color: #f3f4f6;
    padding: 0.5rem;
    border-radius: 0.375rem;
    text-align: left;
    padding-left: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-btn:hover {
    background-color: #e5e7eb;
}

/* Numpad */
.numpad {
    margin-top: auto;
}

.numpad-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.numpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.num-btn {
    background-color: #e5e7eb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.num-btn:hover {
    background-color: #d1d5db;
}

/* Cart Styles */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-badge {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    max-height: 300px;
}

.cart-empty {
    text-align: center;
    padding: 2rem 0;
    color: #9ca3af;
}

.cart-empty svg {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 500;
}

.cart-item-price {
    font-size: 0.875rem;
    color: #6b7280;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total-price {
    font-weight: 500;
}

.cart-item-remove {
    color: #dc2626;
    font-size: 0.875rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.cart-summary {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.125rem;
}

.cart-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Payment Styles */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-btn {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.payment-btn:hover {
    background-color: #e5e7eb;
}

.payment-btn svg {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
}

.payment-btn.selected {
    border: 2px solid #2563eb;
}

.payment-btn.cash svg {
    color: #10b981;
}

.payment-btn.card svg {
    color: #2563eb;
}

.payment-btn.mobile svg {
    color: #8b5cf6;
}

.payment-btn.gift-card svg {
    color: #ec4899;
}

.payment-details {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.payment-value {
    font-weight: bold;
}

.payment-info {
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.75rem;
    border-radius: 0.375rem;
    text-align: center;
}

.payment-info p {
    margin-bottom: 0.25rem;
}

.payment-info p:last-child {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #3b82f6;
}

.payment-actions {
    margin-top: auto;
}

.action-row {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.action-row .btn {
    flex: 1;
}

.action-row .btn:first-child {
    margin-right: 0.5rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    display: none;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 28rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

.modal-close:hover {
    color: #4b5563;
}

.modal-body {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    margin: 1rem 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

/* Receipt Styles */
.receipt-header {
    text-align: center;
    margin-bottom: 1rem;
}

.receipt-store-name {
    font-weight: bold;
    font-size: 1.125rem;
}

.receipt-store-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.receipt-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.receipt-items {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.receipt-item-header {
    display: grid;
    grid-template-columns: 6fr 2fr 2fr 2fr;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.receipt-item {
    display: grid;
    grid-template-columns: 6fr 2fr 2fr 2fr;
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

.receipt-item-price, .receipt-item-qty, .receipt-item-total {
    text-align: right;
}

.receipt-summary {
    font-size: 0.875rem;
}

.receipt-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.receipt-thank-you {
    font-weight: 500;
}

.receipt-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Processing Modal */
.processing-modal .modal-content {
    text-align: center;
}

.spinner {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    border-top-color: #2563eb;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.processing-message {
    color: #6b7280;
    margin-bottom: 1rem;
}

.processing-status {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Permission Modal */
.permission-modal .modal-content {
    text-align: center;
}

.permission-icon {
    color: #eab308;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(5rem);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 50;
    display: flex;
    align-items: center;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

.notification.error {
    background-color: #dc2626;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.mt-auto {
    margin-top: auto;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: bold;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}
        .text-center {
            text-align: center;
        }
        
        .font-bold {
            font-weight: bold;
        }
        
        .text-sm {
            font-size: 0.875rem;
        }
        
        .text-lg {
            font-size: 1.125rem;
        }
        /* Cashier Dropdown Styles */
.cashier-select {
    background-color: #1e40af;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: none;
    outline: none;
    cursor: pointer;
}

.cashier-select option {
    background-color: #2563eb;
    color: white;
}

.cashier-select:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}