/* kfbeta16 — footer (from footer.php) */
/* ================================================================
   MOBILE NAV BAR — Web App Style
================================================================ */
#mobile-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 50px;
    background: #13141a;
    border: 1px solid #1e2030;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: stretch;
    z-index: 9998;
    padding-bottom: env(safe-area-inset-bottom);
  /*  box-shadow: 0 -4px 24px rgba(0,0,0,0.5); */
}

body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }

.mnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #5c6080;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.18s ease, background 0.18s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    border-radius: 10px 10px 0 0;
    margin: 1px 1px 0;
}

/* Hover — sáng lên rõ ràng */
.mnav-item:hover {
    color: #a09cf7;
    background: rgba(108,99,255,0.12);
}

.mnav-item.active {
    color: #6c63ff;
}

/* Chấm active indicator */
.mnav-item.active::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 14px; height: 2px;
    background: #6c63ff;
    border-radius: 2px;
}

/* Ripple khi tap */
.mnav-item:active { background: rgba(108,99,255,0.18); }

/* Icon */
.mnav-icon {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.18s ease;
}
.mnav-item.active .mnav-icon { transform: translateY(-1px); }
.mnav-icon svg { width: 18px; height: 18px; }

/* Active icon fill */
.mnav-item.active .mnav-icon svg .icon-fill { fill: #6c63ff; }
.mnav-item .mnav-icon svg .icon-fill { fill: none; }
.mnav-item .mnav-icon svg { stroke: currentColor; }
.toast-container {
    position: fixed;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); 
    background-color: #1e1e1e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
    border: 1px solid #333;
    min-width: 250px;
    justify-content: center;
}

.toast-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.2em;
}


.toast-success .toast-icon { color: #4caf50; } 
.toast-error .toast-icon { color: #f44336; }   
.toast-info .toast-icon { color: #2196f3; }    
