
/* Shared Navigation and Refresh Styles */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 0 calc(env(safe-area-inset-bottom) + 10px);
    z-index: 9999;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-item.active { color: #6366f1; }
.nav-item svg { width: 22px; height: 22px; stroke-width: 2; }

/* Global Refresh FAB */
.global-refresh-fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 46px;
    height: 46px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s;
}

.global-refresh-fab:hover { transform: scale(1.1) rotate(180deg); }
.global-refresh-fab:active { transform: scale(0.9); }

/* Vibration utility */
.vibrate-on-click { cursor: pointer; }

/* Skeleton Loaders */
.skeleton {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.42) 25%, rgba(255,255,255,0.05) 50%, rgba(30, 41, 59, 0.42) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    height: 100%; width: 100%;
    min-height: 20px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
}
.toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center; gap: 12px;
    animation: toast-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes toast-in {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

