/* ==================== 举报模态框样式 ==================== */

.uap-report-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.uap-report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.uap-report-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.uap-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--uap-border, #e5e7eb);
}

.uap-report-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--uap-text, #374151);
}

.uap-report-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--uap-text-light, #6b7280);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.uap-report-close:hover {
    background: #f3f4f6;
    color: var(--uap-text, #374151);
}

.uap-report-body {
    padding: 20px;
}

.uap-report-section {
    margin-bottom: 20px;
}

.uap-report-section:last-child {
    margin-bottom: 0;
}

.uap-report-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--uap-text, #374151);
}

.uap-report-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uap-report-reason-item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.uap-report-reason-item input[type="radio"] {
    display: none;
}

.uap-report-reason-item span {
    display: inline-block;
    padding: 8px 14px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 13px;
    color: var(--uap-text, #374151);
    transition: all 0.2s;
}

.uap-report-reason-item:hover span {
    background: #e5e7eb;
}

.uap-report-reason-item input[type="radio"]:checked+span {
    background: var(--uap-primary-bg);
    border-color: var(--uap-primary);
    color: var(--uap-action-bg, #4f46e5);
}

.uap-report-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--uap-border, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.uap-report-body textarea:focus {
    outline: none;
    border-color: var(--uap-primary);
}

.uap-report-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--uap-border, #e5e7eb);
    background: #f9fafb;
}

/* 举报模态框响应式 */
@media (max-width: 640px) {
    .uap-report-modal {
        padding: 0;
        align-items: flex-end;
    }

    .uap-report-content {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .uap-report-reasons {
        gap: 6px;
    }

    .uap-report-reason-item span {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 模态框打开时禁止滚动 */
body.uap-modal-open {
    overflow: hidden;
}

