/* ============================================================
   Floating Report Button + Modal
   Extracted from parent style.css for conditional loading
   ============================================================ */

.nc-floating-report-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: #e74c3c !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4) !important;
    cursor: pointer !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

/* Ensure report widget uses theme font */
.nc-floating-report-btn,
.nc-floating-report-modal {
  font-family: 'Manrope', sans-serif;
}

.nc-floating-report-btn:hover,
.nc-floating-report-btn:active {
    background: #c0392b !important;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6) !important;
    transform: translateY(-2px) !important;
}

.nc-report-icon {
    font-size: 20px !important;
    line-height: 1 !important;
}

.nc-report-text {
    white-space: nowrap !important;
}

.nc-report-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 9999 !important;
    justify-content: center !important;
    align-items: center !important;
}

.nc-report-modal.active {
    display: flex !important;
}

.nc-report-modal-content {
    background: white !important;
    padding: 30px !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.nc-report-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    font-size: 28px !important;
    color: #999 !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s !important;
}

.nc-report-close:hover,
.nc-report-close:active {
    background: #f5f5f5 !important;
    color: #333 !important;
}

.nc-report-modal h3 {
    margin: 0 0 20px 0 !important;
    font-size: 24px !important;
    color: #333 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nc-floating-report-btn {
        bottom: 15px !important;
        right: 15px !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
    
    .nc-report-text {
        display: none !important;

    }
    
    .nc-report-modal-content {
        padding: 20px !important;
        width: 95% !important;
        max-height: 95vh !important;
        border-radius: 8px !important;
    }
    
    .nc-report-modal h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
        padding-right: 30px !important;
    }
    
    /* Fluent Forms responsive override inside modal */
    .nc-report-modal .ff-el-group,
    .nc-report-modal .ff-el-form-control {
        width: 100% !important;
    }
}
