/* Bulk Selection UI Styles */

/* Bulk Selection UI Styles - Premium Glassmorphism */

/* Floating Action Button (FAB) */
.bulk-fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 15px 35px -5px var(--accent-glow);
    z-index: 1000;
    transition: var(--transition-bounce);
    animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bulk-fab:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px -10px var(--accent-glow);
}

.fab-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.fab-badge {
    background: var(--white);
    color: var(--accent);
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        transform: translateY(120px) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Card Selection Checkbox - Modern Style */
.bulk-checkbox-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.bulk-select-checkbox {
    appearance: none;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.bulk-select-checkbox:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.bulk-select-checkbox:checked {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.bulk-select-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.selected-card {
    border: 1px solid var(--accent) !important;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.05), rgba(99, 102, 241, 0.05)) !important;
    box-shadow: 0 0 30px var(--accent-glow) !important;
}

/* Modal Styling - Premium Side Drawer */
.bulk-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

.bulk-modal-content {
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid var(--glass-border);
    width: 450px;
    height: 100%;
    max-width: 90%;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    color: var(--text-main);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--white);
    color: var(--bg-body);
    transform: rotate(90deg);
}

.bulk-list {
    flex: 1;
    overflow-y: auto;
    margin: 30px 0;
    padding-right: 15px;
}

/* Custom Scrollbar */
.bulk-list::-webkit-scrollbar {
    width: 4px;
}

.bulk-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.bulk-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.bulk-item:hover {
    transform: translateX(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.bulk-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bulk-item-info img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    padding: 6px;
}

.bulk-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.bulk-remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.bulk-remove-btn:hover {
    transform: scale(1.1);
    color: #ff4757;
}

.bulk-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Response adjustments */
@media (max-width: 600px) {
    .bulk-actions {
        flex-direction: column;
    }

    .bulk-actions button {
        width: 100%;
    }

    .bulk-item p {
        display: none;
        /* Hide desc on small screens */
    }
}