/* ✅ Bug Report Button - Floating - Opció 2: Vermell suau */
.bug-report-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.bug-report-btn {
    background: linear-gradient(45deg, #EF4444, #DC2626);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bug-report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    background: linear-gradient(45deg, #DC2626, #B91C1C);
    color: white;
}

.bug-report-btn i {
    font-size: 1.1rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .bug-report-container {
        bottom: 80px; /* Above mobile navigation if any */
        right: 15px;
    }
    
    .bug-report-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .bug-report-text {
        display: none; /* Only show icon on mobile */
    }
}

@media (max-width: 480px) {
    .bug-report-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}

/* Modal styling */
#bugReportModal .modal-header {
    border-bottom: 2px solid #EF4444;
}

#bugReportModal .alert-info {
    border-left: 4px solid #4A90E2;
    background-color: #f8f9ff;
}

#bugReportModal details summary {
    transition: color 0.2s ease;
}

#bugReportModal details summary:hover {
    color: #4A90E2;
}

#bugReportModal details[open] summary i {
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}