/* Sticky Mobile Quick Add FAB - Mobile Only */

/* Hide on desktop */
.fab-container {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .fab-container {
        display: block;
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
    }

    /* Main FAB trigger button */
    .fab-trigger {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #4b5563;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .fab-trigger svg {
        fill: #ffffff;
        width: 22px;
        height: 22px;
    }

    .fab-trigger:hover {
        background: #6b7280;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    /* FAB Menu */
    .fab-menu {
        position: absolute;
        bottom: 54px;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .fab-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Menu Items */
    .fab-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: #1e293b;
        border-radius: 28px;
        text-decoration: none;
        color: white;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.2s ease;
        animation: fadeInUp 0.3s ease forwards;
        opacity: 0;
    }

    .fab-menu-item:nth-child(1) { animation-delay: 0.05s; }
    .fab-menu-item:nth-child(2) { animation-delay: 0.1s; }
    .fab-menu-item:nth-child(3) { animation-delay: 0.15s; }
    .fab-menu-item:nth-child(4) { animation-delay: 0.2s; }

    .fab-menu-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .fab-menu-item:hover {
        background: #334155;
        transform: translateX(-4px);
    }

    /* Icon Colors */
    .fab-menu-item.dashboard svg { fill: #3b82f6; }
    .fab-menu-item.calendar svg { fill: #22c55e; }
    .fab-menu-item.start-job svg { fill: #f59e0b; }
    .fab-menu-item.reports svg { fill: #8b5cf6; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Backdrop when menu is open */
    .fab-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 9998;
    }

    .fab-backdrop.show {
        display: block;
    }
}
