/**
 * @package     LoginSecure
 * @subpackage  App Menu
 *
 * @copyright   Copyright (C) 2009 - 2026 LoginSecure. All rights reserved.
 * @license     Proprietary. No redistribution allowed.
 * 
 * This software is the confidential and proprietary information of LoginSecure.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into
 * with LoginSecure.
 *
 * Redistribution of this file, in any form, without prior written permission
 * from LoginSecure is strictly prohibited.
 */

:root {
    --ls-tabbar-height: 60px;
    --ls-tabbar-total: calc(var(--ls-tabbar-height) + env(safe-area-inset-bottom, 0px));
}

body {
    padding-bottom: var(--ls-tabbar-total);
}

#ls-app-tabbar {
    position: fixed;
    bottom: 0;
    left: 0 !important;
    right: auto !important;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    height: var(--ls-tabbar-total);
    width: 100vw !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.ls-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 4px 0;
    gap: 3px;
    text-decoration: none;
    color: #555555;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.ls-tab-item:active,
.ls-tab-item.ls-active {
    color: #007a7a;
}

.ls-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.ls-tab-icon i {
    font-size: 20px;
    line-height: 1;
}

.ls-tab-icon img {
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ls-tab-label {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

#ls-hamburger-btn .ls-tab-icon {
    display: flex !important;
}

/* === TEMPLATE & MODE CLASS HELPERS === */
/* Zorgt dat overflow visible werkt voor Eclipse notch */
#ls-app-tabbar {
    overflow: visible;
}

/* === RIPPLE ANIMATIE === */
@keyframes ls-ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}