/* tenant Footer Navigation Bar - Updated for Unified Design System */
/* Floating tenant FAB (bottom-left) */
.tenant-fab-wrapper { position: fixed; left: 12px; bottom: 12px; z-index: 9999; }
.tenant-fab {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--gradient-primary);
    color: white; border: 0; box-shadow: var(--shadow-2xl);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-base);
}
.tenant-fab:hover { transform: translateY(-2px) scale(1.03); }

.tenant-fab-menu {
    position: absolute; left: 0; bottom: 58px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--color-neutral-200);
    border-radius: 14px;
    box-shadow: var(--shadow-2xl);
    padding: 8px;
    display: grid; gap: 6px;
    grid-template-columns: 1fr;
    min-width: 220px;
    transform: translateY(10px);
    opacity: 0; visibility: hidden;
    transition: var(--transition-base);
}
.tenant-fab-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }

.fab-item {
    display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 10px;
    color: var(--color-neutral-800); text-decoration: none;
    padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 13px;
}
.fab-item i { color: var(--color-primary-600); }
.fab-item:hover { background: var(--color-neutral-100); text-decoration: none; }
.fab-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fab-item .dot { width: 8px; height: 8px; background: var(--color-error-500); border-radius: 50%; margin-left: auto; }

/* Notification badge for tickets */
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-red-500);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.tenant-nav-item:hover {
    color: var(--color-primary-400);
    background: rgba(217, 119, 6, 0.1);
    transform: translateY(-1px);
}

.tenant-nav-item.active {
    color: var(--color-primary-400);
    background: rgba(217, 119, 6, 0.2);
}

/* No bottom bar anymore; no extra padding needed */
body.tenant-user { padding-bottom: 0; }

/* Desktop: hide FAB when sidebar is visible */
@media (min-width: 1024px) {
    .tenant-fab-wrapper {
        display: none;
    }
}

/* Mobile responsiveness - Show FAB when sidebar is hidden */
@media (max-width: 1023px) {
    .tenant-fab-wrapper {
        display: block;
    }
}

@media (max-width: 480px) {
    .tenant-fab { width: 42px; height: 42px; }
    .tenant-fab-menu { min-width: 200px; }
}