/* easyPOS Public Styles - Enhanced UX */
.easypos-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

/* Header styling improvements */
.easypos-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-left h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-left h1 i {
    margin-right: 12px;
    color: #ffd700;
}

.header-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.current-time {
    font-weight: 600;
    color: #ffd700;
}

.user-info {
    font-weight: 500;
}

.easypos-header-actions {
    display: flex;
    gap: 10px;
}

.easypos-header-actions .btn {
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.easypos-header-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.easypos-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    height: calc(100vh - 200px);
}

.easypos-left-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.easypos-right-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Search section layout fix */
.easypos-search-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.easypos-search {
    flex: 1;
    position: relative;
}

.easypos-barcode {
    flex: 1;
    position: relative;
}

.easypos-search {
    position: relative;
}

.easypos-barcode {
    position: relative;
}

.barcode-input-group {
    position: relative;
    display: flex;
}

.barcode-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 2;
}

.barcode-input-group input {
    flex: 1;
    padding: 12px 45px 12px 45px;
    border: 2px solid #e1e8ed;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.barcode-input-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.barcode-input-group button {
    padding: 12px 20px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.barcode-input-group button:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.search-input-group {
    position: relative;
    display: flex;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 2;
}

.search-input-group input {
    flex: 1;
    padding: 12px 45px 12px 45px;
    border: 2px solid #e1e8ed;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.search-input-group button {
    padding: 12px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-input-group button:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e1e8ed;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item img {
    border-radius: 5px;
    object-fit: cover;
}

.suggestion-price {
    margin-left: auto;
    font-weight: 600;
    color: #667eea;
}

.no-products {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.no-products i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-products p {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.no-products small {
    font-size: 14px;
}

.easypos-categories {
    margin-bottom: 20px;
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 8px 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    color: #2c3e50;
}

.category-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Cart Section in Left Panel */
.easypos-cart-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.easypos-product-display {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-product-selected {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
}

.no-product-selected i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-product-selected p {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.no-product-selected small {
    font-size: 14px;
    opacity: 0.7;
}

/* Product Display when selected */
.product-display-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 300px;
}

.product-display-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-display-item h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.product-display-item .price {
    color: #667eea;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.product-display-item .stock {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.product-display-item .add-to-cart-btn {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-display-item .add-to-cart-btn:hover {
    background: #229954;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    grid-column: 1 / -1;
}

.loading-spinner i {
    font-size: 24px;
    margin-right: 10px;
}

.easypos-product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.easypos-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.easypos-product-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.easypos-product-card h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.easypos-product-card .price {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.easypos-product-card .stock {
    font-size: 12px;
    color: #7f8c8d;
}

.easypos-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.easypos-cart-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count {
    background: #667eea;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.easypos-cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    max-height: 300px;
}

.empty-cart-message {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
}

.empty-cart-message i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-cart-message p {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.empty-cart-message small {
    font-size: 14px;
}

.easypos-cart-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.easypos-cart-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.easypos-cart-item .item-info {
    flex: 1;
}

.easypos-cart-item .item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 14px;
}

.easypos-cart-item .item-price {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
}

.easypos-cart-item .item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.easypos-cart-item .quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.easypos-cart-item .quantity-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

.easypos-cart-item .quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
}

.easypos-cart-item .item-total {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
    min-width: 80px;
    text-align: right;
}

.easypos-cart-item .item-actions {
    display: flex;
    gap: 5px;
    align-items: center;
}

.easypos-cart-item .duplicate-item,
.easypos-cart-item .remove-item {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.easypos-cart-item .duplicate-item {
    background: #3498db;
}

.easypos-cart-item .duplicate-item:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.easypos-cart-item .remove-item:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.easypos-cart-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.easypos-cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #2c3e50;
}

.easypos-cart-summary .total {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    border-top: 2px solid #e1e8ed;
    padding-top: 10px;
    margin-top: 10px;
}

/* Discount section styling */
.easypos-discount-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.easypos-discount-section h4 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
}

.easypos-discount-section h4 i {
    margin-right: 8px;
    color: #ffc107;
}

.discount-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.discount-input-group input {
    flex: 2;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.discount-input-group input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
    outline: none;
}

.discount-input-group select {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.discount-input-group button {
    padding: 10px 20px;
    background: #ffc107;
    color: #212529;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discount-input-group button:hover {
    background: #e0a800;
    transform: translateY(-1px);
}

.easypos-payment-methods {
    margin-bottom: 20px;
}

.easypos-payment-methods h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.easypos-payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-option {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-option:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateY(-1px);
}

.payment-option.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.payment-option i {
    font-size: 20px;
    margin-bottom: 5px;
}

.easypos-customer-section {
    margin-bottom: 20px;
}

.easypos-customer-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.customer-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.customer-inputs .form-group {
    margin-bottom: 0;
}

.customer-inputs .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.customer-inputs .form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    background: white;
    transition: all 0.3s ease;
    font-size: 14px;
}

.customer-inputs .form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.easypos-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.easypos-actions button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.easypos-actions .btn-success {
    background: #27ae60;
    color: white;
}

.easypos-actions .btn-success:hover {
    background: #229954;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.2);
}

.easypos-actions .btn-info {
    background: #3498db;
    color: white;
}

.easypos-actions .btn-info:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.easypos-quick-actions {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.easypos-quick-actions .quick-btn,
.easypos-quick-actions a.button {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2c3e50;
    text-decoration: none;
}

.easypos-quick-actions .quick-btn:hover,
.easypos-quick-actions a.button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    text-decoration: none;
}

.easypos-quick-actions .quick-btn i,
.easypos-quick-actions a.button i {
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.modal-close:hover {
    color: #e74c3c;
    background: #f8f9fa;
}

.form-group {
    margin-bottom: 20px;
    padding: 0 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 2px solid #f1f3f4;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #667eea;
    font-weight: 500;
    min-width: 300px;
}

.notification-toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.toast-icon {
    font-size: 24px;
}

.toast-icon.success {
    color: #27ae60;
}

.toast-icon.error {
    color: #e74c3c;
}

.toast-icon.warning {
    color: #f39c12;
}

.toast-icon.info {
    color: #3498db;
}

/* Previous Orders Modal */
.orders-list {
    max-height: 400px;
    overflow-y: auto;
}

.orders-header {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.order-item-header {
    display: grid;
    grid-template-columns: 80px 120px 120px 80px 80px 100px;
    gap: 10px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}

.order-item {
    display: grid;
    grid-template-columns: 80px 120px 120px 80px 80px 100px;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    align-items: center;
    font-size: 12px;
}

.order-item:last-child {
    border-bottom: none;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.processing {
    background: #fff3cd;
    color: #856404;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 11px;
}

.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.loading, .error, .no-orders {
    text-align: center;
    padding: 20px;
    color: #666;
}

.error {
    color: #dc3545;
}

/* Keyboard Shortcuts Help */
.shortcuts-help {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 500px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

kbd {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
}

/* Animations and Visual Feedback */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Enhanced button states */
.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced form focus states */
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .easypos-main {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 768px) {
    .easypos-container {
        padding: 10px;
    }
    
    .easypos-main {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        height: auto;
    }
    
    .easypos-right-panel {
        height: auto;
    }
    
    .easypos-search-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .easypos-search,
    .easypos-barcode {
        flex: none;
    }
    
    .easypos-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .easypos-payment-options {
        grid-template-columns: 1fr;
    }
    
    .payment-option {
        padding: 12px;
        font-size: 13px;
    }
    
    .easypos-quick-actions {
        flex-wrap: wrap;
    }
    
    .easypos-quick-actions a.button {
        justify-content: center;
        text-align: center;
        min-width: 120px;
    }
    
    .easypos-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-info {
        justify-content: center;
    }
} 