/* 举报功能样式 */

/* 举报弹窗 */
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.report-modal.show {
    display: flex;
}

.report-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: reportModalSlideIn 0.3s ease-out;
}

@keyframes reportModalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.report-modal-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.report-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.report-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.report-modal-body {
    padding: 24px;
}

.report-form-group {
    margin-bottom: 20px;
}

.report-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.report-form-label .required {
    color: #ff6b6b;
    margin-left: 2px;
}

/* 举报原因选择 */
.report-reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.report-reason-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.report-reason-item:hover {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.report-reason-item.selected {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.report-reason-item input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.report-reason-label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    flex: 1;
}

/* 详细说明 */
.report-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s;
}

.report-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.report-textarea::placeholder {
    color: #999;
}

/* 上传证据 */
.report-upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.report-upload-area:hover {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.report-upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.report-upload-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.report-upload-hint {
    font-size: 12px;
    color: #999;
}

.report-file-input {
    display: none;
}

/* 已上传的文件列表 */
.report-uploaded-files {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.report-uploaded-file {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.report-uploaded-file img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-file-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.report-file-remove:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

/* 提示信息 */
.report-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
    margin-bottom: 20px;
}

/* 按钮 */
.report-modal-buttons {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}

.report-modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.report-modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.report-modal-btn-cancel:hover {
    background: #e0e0e0;
}

.report-modal-btn-submit {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.report-modal-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.report-modal-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 加载状态 */
.report-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.report-loading.show {
    display: block;
}

.report-loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b6b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: reportSpin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes reportSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式 */
@media (max-width: 768px) {
    .report-modal-content {
        max-width: 100%;
    }
    
    .report-modal-body {
        padding: 20px;
    }
    
    .report-reasons {
        gap: 8px;
    }
    
    .report-reason-item {
        padding: 10px;
    }
}

