.ha-sticky-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--navyblue);
        padding: 8px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        height: 80px;
    }
    
    .ha-function-keys {
        display: flex;
        gap: 15px;
    }
    
    .ha-function-key {
        background: linear-gradient(145deg, var(--btn-orange-primary), var(--btn-orange-secondary));
        color: white;
        border: 2px solid var(--btn-orange-primary);
        padding: 12px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 700;
        display: flex;
        gap: 8px;
        align-items: center;
        min-width: 120px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
        font-size: 14px;
        height: 65px;
    }
    
    .ha-function-key:hover {
        background: linear-gradient(145deg, var(--btn-orange-hover), var(--btn-orange-hover-secondary));
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
        border-color: var(--btn-orange-hover);
    }
    
    .ha-function-key:active {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
    }
    
    .ha-logout-btn {
        background: linear-gradient(145deg, var(--btn-logout-primary), var(--btn-logout-secondary));
        color: white;
        border: 2px solid var(--btn-logout-primary);
        padding: 12px 16px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        font-size: 14px;
        height: 65px;
        min-width: 120px;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    }
    
    .ha-logout-btn:hover {
        background: linear-gradient(145deg, var(--btn-logout-hover), var(--btn-logout-hover-secondary));
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
        border-color: var(--btn-logout-hover);
    }
    
    .ha-logout-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.5);
    }

    /* Enhanced Footer Styles from HTML */
    .ha-sticky-footer {
        background: linear-gradient(135deg, var(--footer-bg-primary) 0%, var(--footer-bg-secondary) 100%);
        border-top: 1px solid var(--footer-border);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
        padding: 15px 20px;
        height: 80px;
        animation: slideInUp 0.8s ease-out;
    }

    .ha-function-keys {
        display: flex;
        gap: 12px;
        align-items: center;
        flex: 1;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        scroll-behavior: smooth;
    }

    .ha-function-keys::-webkit-scrollbar {
        display: none; /* WebKit browsers */
    }

    .ha-function-key {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(145deg, var(--btn-orange-primary), var(--btn-orange-secondary));
        border: 2px solid var(--btn-orange-primary);
        border-radius: 12px;
        padding: 12px 16px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 120px;
        height: 56px;
        overflow: hidden;
    }

    .ha-function-key::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
        transition: left 0.6s ease;
    }

    .ha-function-key:hover::before {
        left: 100%;
    }

    .ha-function-key:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: var(--btn-orange-hover);
    }

    .ha-function-key:active {
        transform: translateY(-1px) scale(1.02);
    }

    .ha-key-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: var(--icon-bg-light);
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .ha-function-key:hover .ha-key-icon {
        background: var(--icon-bg-hover);
        transform: rotate(5deg);
    }

    .ha-key-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .ha-key-label {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
    }

    .ha-key-shortcut {
        font-size: 10px;
        opacity: 0.7;
        font-weight: 400;
    }

    /* Specific button styles */
    .ha-payment-btn {
        background: linear-gradient(135deg, var(--btn-payment-primary), var(--btn-payment-secondary));
        border-color: var(--btn-payment-primary);
    }

    .ha-payment-btn:hover {
        background: linear-gradient(135deg, var(--btn-payment-hover), var(--btn-payment-hover-secondary));
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    }

    .ha-options-btn {
        background: linear-gradient(135deg, var(--btn-options-primary), var(--btn-options-secondary));
        border-color: var(--btn-options-primary);
    }

    .ha-options-btn:hover {
        background: linear-gradient(135deg, var(--btn-options-hover), var(--btn-options-hover-secondary));
        box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
    }

    .ha-quantity-btn {
        background: linear-gradient(135deg, var(--btn-quantity-primary), var(--btn-quantity-secondary));
        border-color: var(--btn-quantity-primary);
    }

    .ha-quantity-btn:hover {
        background: linear-gradient(135deg, var(--btn-quantity-hover), var(--btn-quantity-hover-secondary));
        box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
    }

    .ha-return-btn {
        background: linear-gradient(135deg, var(--btn-return-primary), var(--btn-return-secondary));
        border-color: var(--btn-return-primary);
    }

    .ha-return-btn:hover {
        background: linear-gradient(135deg, var(--btn-return-hover), var(--btn-return-hover-secondary));
        box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
    }

    .ha-discount-btn {
        background: linear-gradient(135deg, var(--btn-discount-primary), var(--btn-discount-secondary));
        border-color: var(--btn-discount-primary);
    }

    .ha-discount-btn:hover {
        background: linear-gradient(135deg, var(--btn-discount-hover), var(--btn-discount-hover-secondary));
        box-shadow: 0 8px 25px rgba(156, 39, 176, 0.3);
    }

    .ha-switch-btn {
        background: linear-gradient(135deg, var(--btn-switch-primary), var(--btn-switch-secondary));
        border-color: var(--btn-switch-primary);
    }

    .ha-switch-btn:hover {
        background: linear-gradient(135deg, var(--btn-switch-hover), var(--btn-switch-hover-secondary));
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }

    .ha-shift-btn {
        background: linear-gradient(135deg, var(--btn-shift-primary), var(--btn-shift-secondary));
        border-color: var(--btn-shift-primary);
    }

    .ha-shift-btn:hover {
        background: linear-gradient(135deg, var(--btn-shift-hover), var(--btn-shift-hover-secondary));
        box-shadow: 0 8px 25px rgba(96, 125, 139, 0.3);
    }

    .ha-switch-link {
        text-decoration: none;
        display: flex;
    }

    /* Logout Section */
    .ha-logout-section {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .ha-user-info {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        background: var(--icon-bg-light);
        border-radius: 20px;
        border: 1px solid var(--icon-bg-hover);
    }

    .ha-user-avatar {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, var(--btn-switch-primary), var(--btn-switch-secondary));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
    }

    .ha-user-details {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .ha-user-name {
        font-size: 13px;
        font-weight: 600;
        color: white;
    }

    .ha-user-role {
        font-size: 11px;
        opacity: 0.7;
        color: white;
    }

    .ha-logout-btn {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, var(--btn-logout-primary), var(--btn-logout-secondary));
        border: 2px solid var(--btn-logout-primary);
        border-radius: 12px;
        padding: 12px 16px;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        height: 56px;
        overflow: hidden;
    }

    .ha-logout-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .ha-logout-btn:hover::before {
        left: 100%;
    }
    
    .ha-logout-btn:hover {
        background: linear-gradient(135deg, var(--btn-logout-hover), var(--btn-logout-hover-secondary));
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(244, 67, 54, 0.3);
        border-color: var(--btn-logout-hover);
    }

    .ha-logout-btn:active {
        transform: translateY(-1px) scale(1.02);
    }

    .ha-logout-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: var(--icon-bg-light);
        border-radius: 6px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .ha-logout-btn:hover .ha-logout-icon {
        background: var(--icon-bg-hover);
        transform: rotate(-10deg);
    }

    .ha-logout-text {
        font-size: 13px;
        font-weight: 600;
    }

    /* Ripple Effect */
    .ha-key-ripple,
    .ha-logout-ripple {
        position: absolute;
        border-radius: 50%;
        background: var(--ripple-color);
        transform: scale(0);
        animation: ripple 0.6s linear;
        pointer-events: none;
    }

    @keyframes ripple {
        to {
            transform: scale(4);
            opacity: 0;
        }
    }

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

    /* Enhanced Responsive Design */
    
    /* Large Tablets and Small Desktops */
    @media (max-width: 1200px) {
        .ha-function-keys {
            gap: 10px;
        }
        
        .ha-function-key {
            min-width: 110px;
            padding: 10px 14px;
            height: 52px;
        }
        
        .ha-key-label {
            font-size: 12px;
        }
        
        .ha-key-shortcut {
            font-size: 9px;
        }
    }

    /* Tablets */
    @media (max-width: 768px) {
        .ha-sticky-footer {
            padding: 12px 15px;
            height: 75px;
            flex-direction: column;
            gap: 8px;
        }
        
        .ha-function-keys {
            flex-wrap: nowrap;
            gap: 8px;
            justify-content: flex-start;
            width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 2px;
        }
        
        .ha-function-key {
            min-width: 100px;
            padding: 10px 12px;
            height: 50px;
            flex: 0 0 auto;
            max-width: 120px;
        }
        
        .ha-key-content {
            display: none;
        }
        
        .ha-key-icon {
            width: 28px;
            height: 28px;
            font-size: 14px;
        }
        
        .ha-logout-section {
            width: 100%;
            justify-content: space-between;
            gap: 10px;
        }
        
        .ha-user-info {
            display: none;
        }
        
        .ha-logout-btn {
            height: 50px;
            padding: 10px 14px;
            flex: 1;
            max-width: 150px;
        }
        
        .ha-logout-text {
            font-size: 12px;
        }
    }

    /* Mobile Landscape */
    @media (max-width: 640px) and (orientation: landscape) {
        .ha-sticky-footer {
            height: 60px;
            padding: 8px 12px;
        }
        
        .ha-function-keys {
            gap: 6px;
        }
        
        .ha-function-key {
            min-width: 80px;
            padding: 8px 10px;
            height: 44px;
        }
        
        .ha-key-icon {
            width: 24px;
            height: 24px;
            font-size: 12px;
        }
        
        .ha-logout-btn {
            height: 44px;
            padding: 8px 12px;
        }
    }

    /* Mobile Portrait */
    @media (max-width: 480px) {
        .ha-sticky-footer {
            padding: 10px 12px;
            height: 70px;
        }
        
        .ha-function-keys {
            gap: 6px;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 2px;
        }
        
        .ha-function-key {
            min-width: 70px;
            padding: 8px 10px;
            height: 45px;
            flex: 0 0 auto;
            max-width: 90px;
        }
        
        .ha-key-icon {
            width: 26px;
            height: 26px;
            font-size: 13px;
        }
        
        .ha-logout-section {
            gap: 8px;
        }
        
        .ha-logout-btn {
            height: 45px;
            padding: 8px 12px;
            min-width: 100px;
        }
        
        .ha-logout-icon {
            width: 20px;
            height: 20px;
            font-size: 12px;
        }
        
        .ha-logout-text {
            font-size: 11px;
        }
    }

    /* Very Small Mobile */
    @media (max-width: 360px) {
        .ha-sticky-footer {
            padding: 8px 10px;
            height: 65px;
        }
        
        .ha-function-keys {
            gap: 4px;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 2px;
        }
        
        .ha-function-key {
            min-width: 60px;
            padding: 6px 8px;
            height: 40px;
            flex: 0 0 auto;
            max-width: 75px;
        }
        
        .ha-key-icon {
            width: 22px;
            height: 22px;
            font-size: 11px;
        }
        
        .ha-logout-btn {
            height: 40px;
            padding: 6px 10px;
            min-width: 80px;
        }
        
        .ha-logout-icon {
            width: 18px;
            height: 18px;
            font-size: 11px;
        }
        
        .ha-logout-text {
            font-size: 10px;
        }
    }

    /* Scroll Indicators */
    .ha-function-keys::before,
    .ha-function-keys::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.3s ease;
    }

    .ha-function-keys::before {
        left: 0;
        background: linear-gradient(to right, var(--footer-bg-primary), transparent);
        opacity: 0;
    }

    .ha-function-keys::after {
        right: 0;
        background: linear-gradient(to left, var(--footer-bg-primary), transparent);
        opacity: 0;
    }

    .ha-function-keys.scroll-left::before {
        opacity: 1;
    }

    .ha-function-keys.scroll-right::after {
        opacity: 1;
    }

    /* Touch Device Optimizations */
    @media (hover: none) and (pointer: coarse) {
        .ha-function-key,
        .ha-logout-btn {
            min-height: 44px; /* iOS minimum touch target */
        }
        
        .ha-function-key:hover,
        .ha-logout-btn:hover {
            transform: none; /* Disable hover effects on touch devices */
        }
        
        .ha-function-key:active,
        .ha-logout-btn:active {
            transform: scale(0.95);
            transition: transform 0.1s ease;
        }

        /* Enhanced touch scrolling */
        .ha-function-keys {
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
        }

        .ha-function-key {
            scroll-snap-align: start;
        }
    }

    /* High DPI Displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .ha-key-icon,
        .ha-logout-icon {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
    }

    /* Print Styles */
    @media print {
        .ha-sticky-footer {
            display: none !important;
        }
    }
    