
/* Modal de signalement unifié */
.report-modal {
    display: none;
    position: fixed;
    z-index: 10003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.3s ease-out;
}

.report-modal.active {
    display: flex;
}

.report-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.report-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    animation: modalSlideIn 0.3s ease-out;
}

.report-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.report-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.report-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.report-modal-title {
    text-align: center;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.report-modal-description {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.report-modal-form {
    margin-bottom: 1.5rem;
}

.report-modal-group {
    margin-bottom: 1rem;
}

.report-modal-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.report-modal-select,
.report-modal-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.report-modal-select:focus,
.report-modal-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.report-modal-textarea {
    resize: vertical;
    min-height: 100px;
}

.report-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.report-modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.report-modal-btn.cancel {
    background: #f3f4f6;
    color: #374151;
}

.report-modal-btn.cancel:hover {
    background: #e5e7eb;
}

.report-modal-btn.submit {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.report-modal-btn.submit:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.report-modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .report-modal-content {
        padding: 1.5rem;
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .report-modal-actions {
        flex-direction: column;
    }

    .report-modal-btn {
        width: 100%;
    }
    
    .report-modal-title {
        font-size: 1.1rem;
    }
    
    .report-modal-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .report-modal-content {
        padding: 1rem;
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .report-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .report-modal-title {
        font-size: 1rem;
    }
}
