/* Report Modal Styles */

.report-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.report-modal.show {
    opacity: 1;
}

.report-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.report-modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.report-modal:not(.show) .report-modal-content {
    transform: translateY(20px);
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.report-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.report-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-xs);
    line-height: 1;
    transition: color var(--transition-base);
}

.report-modal-close:hover {
    color: var(--text-primary);
}

.report-modal-body {
    padding: var(--spacing-lg);
}

.report-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.report-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.report-categories {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.report-category-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.report-category-option:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.report-category-option input[type="radio"] {
    margin: 0;
    margin-right: var(--spacing-sm);
    cursor: pointer;
}

.report-category-option input[type="radio"]:checked + .report-category-label {
    color: var(--primary-color);
    font-weight: 600;
}

.report-category-option:has(input[type="radio"]:checked) {
    background: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
    border-color: var(--primary-color);
}

.report-category-label {
    flex: 1;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.report-modal-error {
    padding: var(--spacing-sm) var(--spacing-md);
    background: #fee2e2;
    color: #991b1b;
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.report-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* Success State */
.report-success {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.report-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.report-success h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.report-success p {
    color: var(--text-secondary);
    margin: 0;
}

/* Report Button in Cards */
.report-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-xs);
    font-size: 1.2rem;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .report-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .report-modal-header,
    .report-modal-body,
    .report-modal-footer {
        padding: var(--spacing-md);
    }

    .report-category-label {
        font-size: var(--font-size-xs);
    }
}
