body {
    background: #f5f5f5;
}

.pos-transaction-container {
    padding: 10px;
    height: calc(100vh - 75px); /* Adjusted to fit screen without scrolling */
    display: flex;
    gap: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.pos-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 0; /* CRITICAL: allows flex children to shrink below their content size */
    height: 100%;
}

.pos-right-section {
    width: 400px; /* Slightly narrower to give more space to table */
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 0;
}

.pos-right-content {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: 100%;
    overflow-y: auto; /* allow right side to scroll if screen is too small */
}

.scan-search-container {
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.scan-search-box {
    background: #fff;
    border: 2px solid #3498db;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 16px;
    flex: 1;
    box-sizing: border-box;
}

.price-inquiry-btn {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.price-inquiry-btn:hover {
    background: #229954;
}

.price-inquiry-btn i {
    margin-right: 5px;
}

.scan-search-box:focus {
    outline: none;
    border-color: #2980b9;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
}

.search-results-dropdown.show {
    display: block;
}

.search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item.active {
    background-color: #e3f2fd;
}

.search-result-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.customer-search-container {
    position: relative;
}

.customer-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
}

.customer-search-results.show {
    display: block !important;
}

.customer-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.customer-result-item:hover,
.customer-result-item.active {
    background-color: #e3f2fd;
}

.customer-result-item:last-child {
    border-bottom: none;
}

.customer-result-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    margin-bottom: 4px;
}

.customer-result-contact {
    color: #7f8c8d;
    font-size: 13px;
}

/* Payment Type Selector */
.payment-type-selector {
    display: flex;
    gap: 8px;
    margin-top: 5px;
    flex-shrink: 0;
}

.payment-type-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    background: #ecf0f1;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #7f8c8d;
    min-height: 44px;
    flex-shrink: 0;
}

.payment-type-btn:hover {
    background: #d5dbdb;
    border-color: #95a5a6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-type-btn.active {
    background: #2ecc71;
    border-color: #27ae60;
    color: white;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.payment-type-btn.active#paymentTypeCredit {
    background: #e74c3c;
    border-color: #c0392b;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.payment-type-icon {
    font-size: 18px;
    margin-bottom: 3px;
    display: block;
}

.payment-type-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.search-result-code {
    color: #7f8c8d;
    font-size: 13px;
    margin-left: 10px;
}

.search-result-price {
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-result-meta {
    display: flex;
    align-items: center;
    margin-top: 4px;
    font-size: 12px;
    color: #95a5a6;
}

.items-table-container {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 100px; /* Allow it to shrink significantly if needed */
}

.items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.items-table thead {
    background: #34495e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.items-table th {
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid #2c3e50;
}

.items-table td {
    padding: 6px;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.items-table tbody tr:hover {
    background: #f8f9fa;
}

.tender-section {
    background: #ecf0f1;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.tender-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 5px;
}

.tender-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 13px;
}

.tender-value {
    font-size: 14px;
    color: #27ae60;
    font-weight: 600;
}

.bottom-buttons-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.pos-btn {
    padding: 12px 5px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pos-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pos-btn.purple { background: #9b59b6; }
.pos-btn.purple:hover { background: #8e44ad; }
.pos-btn.red { background: #e74c3c; }
.pos-btn.red:hover { background: #c0392b; }
.pos-btn.green { background: #2ecc71; }
.pos-btn.green:hover { background: #27ae60; }
.pos-btn.blue { background: #3498db; }
.pos-btn.blue:hover { background: #2980b9; }
.pos-btn.orange { background: #f39c12; }
.pos-btn.orange:hover { background: #e67e22; }
.pos-btn.teal { background: #1abc9c; }
.pos-btn.teal:hover { background: #16a085; }
.pos-btn.gray { background: #7f8c8d; }
.pos-btn.gray:hover { background: #95a5a6; }
.pos-btn.dark { background: #34495e; }
.pos-btn.dark:hover { background: #2c3e50; }

.pos-btn.active {
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
    transform: scale(0.98);
    position: relative;
}

/* Show checkmark only for Quantity and Whole buttons */
.pos-btn.active.show-check::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.pos-btn-exit {
    width: 100%;
    padding: 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
}

.pos-btn-exit:hover {
    background: #c0392b;
}

.customer-info-box {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Right-side Customer panel (match POS-style header + fields like screenshot) */
.customer-panel {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e6e9ee;
    background: #fff;
    flex-shrink: 0;
}

.customer-panel-header {
    background: #0f3d66; /* dark blue */
    color: #fff;
    padding: 6px 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.customer-panel-body {
    padding: 10px;
    background: #f7f9fc;
    display: grid;
    gap: 8px;
}

.customer-field {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    align-items: center;
}

.customer-field:has(.payment-type-selector) {
    align-items: start;
}

.customer-field:has(.payment-type-selector) label {
    margin-top: 5px;
}

.customer-field label {
    margin: 0;
    font-weight: 700;
    color: #2c3e50;
    font-size: 12px;
}

.customer-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #2c3e50;
}

.customer-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.12);
}

.customer-help {
    font-size: 12px;
    color: #6c7a89;
    margin-top: -6px;
    padding-left: 105px; /* align with inputs */
}

.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.customer-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.customer-label {
    font-weight: 600;
    color: #2c3e50;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 0;
    flex: 1;
    min-height: 170px;
}

.keypad-btn {
    padding: 8px 6px;
    height: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #34495e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.keypad-btn:hover {
    background: #2c3e50;
    transform: scale(1.03);
}

.keypad-btn:active {
    background: #1a252f !important;
    transform: scale(0.96) !important;
}

.keypad-btn.control {
    background: #7f8c8d;
}

.keypad-btn.control:hover {
    background: #5f6c6d;
}

.keypad-btn.control:active {
    background: #475253 !important;
}

.summary-box {
    background: #1f2d3a;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 8px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.summary-item .summary-value {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
    color: white;
}

.summary-item .summary-label {
    font-size: 11px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-label {
    opacity: 0.8;
}

.summary-value {
    font-weight: 600;
}

.total-amount-display {
    background: #0f1318;
    color: #f1c40f;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: right;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.08);
}

.total-amount-display .total-caption {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
}

.right-footer {
    margin-top: 0;
    display: grid;
    gap: 8px;
    flex-shrink: 0;
}


.subtotal-btn {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 0;
}

.subtotal-btn:hover {
    background: #27ae60;
}

/* Quantity Modal */
.quantity-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.quantity-modal.show {
    display: flex;
}

.quantity-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 300px;
    text-align: center;
}

.quantity-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

.quantity-modal-input {
    width: 100%;
    padding: 15px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #3498db;
    border-radius: 5px;
    margin-bottom: 20px;
}

.quantity-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.quantity-modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-modal-btn.confirm {
    background: #2ecc71;
    color: white;
}

.quantity-modal-btn.confirm:hover {
    background: #27ae60;
}

.quantity-modal-btn.cancel {
    background: #95a5a6;
    color: white;
}

.quantity-modal-btn.cancel:hover {
    background: #7f8c8d;
}

/* Payment Modal */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2001;
    justify-content: center;
    align-items: center;
}

.payment-modal.show {
    display: flex;
}

.payment-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #e0e0e0;
}

.payment-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 1;
    transition: color 0.2s;
}

.payment-modal-close:hover {
    color: #e74c3c;
}

.payment-modal-body {
    padding: 25px;
}

.payment-total-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-total-label {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.payment-total-value {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.payment-methods-section {
    margin-bottom: 20px;
}

.payment-method-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.payment-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.payment-method-select {
    flex: 1;
    padding: 10px;
    border: 2px solid #3498db;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: #2c3e50;
    cursor: pointer;
}

.payment-remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
    transition: background 0.2s;
}

.payment-remove-btn:hover {
    background: #c0392b;
}

.payment-method-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option-selector {
    width: 100%;
}

.payment-option-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #95a5a6;
    border-radius: 5px;
    font-size: 14px;
    background: white;
}

.payment-amount-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #3498db;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.payment-amount-input:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.12);
}

.payment-summary-section {
    background: #ecf0f1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.payment-summary-row:last-child {
    margin-bottom: 0;
}

.payment-change {
    color: #27ae60;
    font-size: 18px;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-add-method-btn {
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.payment-add-method-btn:hover {
    background: #2980b9;
}

.payment-confirm-buttons {
    display: flex;
    gap: 10px;
}

.payment-modal-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-modal-btn.cancel {
    background: #95a5a6;
    color: white;
}

.payment-modal-btn.cancel:hover {
    background: #7f8c8d;
}

.payment-modal-btn.confirm {
    background: #27ae60;
    color: white;
}

.payment-modal-btn.confirm:hover {
    background: #229954;
}

.payment-modal-btn.confirm:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Exchange Modal Styles */
.exchange-step {
    min-height: 300px;
}

.exchange-item-row {
    /* Remove flex display for table rows - use table-row instead */
}

.exchange-item-row.selected {
    background: #e3f2fd !important;
}

.exchange-item-row.selected td {
    background: #e3f2fd;
}

.exchange-item-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.exchange-item-details {
    flex: 1;
}

.exchange-item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.exchange-item-info {
    font-size: 12px;
    color: #666;
}

.exchange-item-qty-input {
    width: 80px;
    padding: 5px;
    margin-left: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.exchange-item-value {
    font-weight: bold;
    color: #2c3e50;
    margin-left: 15px;
    min-width: 100px;
    text-align: right;
}

/* Recall Modal */
.recall-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2002;
    justify-content: center;
    align-items: center;
}

.recall-modal.show {
    display: flex;
}

.recall-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.recall-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #e0e0e0;
}

.recall-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.recall-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 1;
    transition: color 0.2s;
}

.recall-modal-close:hover {
    color: #e74c3c;
}

.recall-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.recall-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recall-loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 16px;
}

.recall-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.recall-item:hover {
    background: #e9ecef;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.recall-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.recall-item-number {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
}

.recall-item-date {
    font-size: 12px;
    color: #7f8c8d;
}

.recall-item-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.recall-item-detail {
    display: flex;
    flex-direction: column;
}

.recall-item-detail-label {
    font-size: 11px;
    color: #7f8c8d;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.recall-item-detail-value {
    font-weight: 600;
    color: #2c3e50;
}

.recall-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.recall-item-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.recall-item-btn.recall {
    background: #27ae60;
    color: white;
}

.recall-item-btn.recall:hover {
    background: #229954;
}

.recall-item-btn.delete {
    background: #e74c3c;
    color: white;
}

.recall-item-btn.delete:hover {
    background: #c0392b;
}

.recall-modal-footer {
    padding: 15px 25px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.recall-modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.recall-modal-btn.cancel {
    background: #95a5a6;
    color: white;
}

.recall-modal-btn.cancel:hover {
    background: #7f8c8d;
}

@media (max-width: 991px) {
    .pos-transaction-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .pos-left-section {
        order: 1;
    }

    .pos-right-section {
        order: 2;
        width: 100%;
    }
}