
.form-content .el-form-item__label::before {
    content: '*';
    color: red;
    margin-right: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-width: 0;
}

.form-row .el-form-item {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .el-form-item {
        margin-bottom: 25px;
    }
}

/* 举报详情对话框样式 */
.report-detail-dialog .el-dialog__header {
    /*padding: 15px 20px;*/
    border-bottom: 1px solid #e4e7ed;
    margin-bottom: 20px;
}

.report-detail-dialog .el-dialog__title {
    font-size: 18px;
    font-weight: bold;
    color: #303133;
}

.detail-container {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0 10px;
}

.detail-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #303133;
    padding-left: 10px;
    border-left: 4px solid #409eff;
    margin-bottom: 15px;
    line-height: 1.5;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-item.vertical {
    flex-direction: column;
    align-items: flex-start;
}

.info-item .label {
    color: #606266;
    font-size: 14px;
    min-width: 140px;
    flex-shrink: 0;
}

.info-item .value {
    color: #303133;
    font-size: 14px;
    flex: 1;
    word-break: break-all;
}

.info-content {
    padding-left: 10px;
}

.reply-info {
    padding-left: 10px;
}

.attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.attachment-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 120px;
    min-height: 100px;
    padding: 15px 10px;
    background-color: #f5f7fa;
    border: 1px solid #e4e7ed;
    border-radius: 6px;
    color: #303133;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.attachment-link:hover {
    background-color: #ecf5ff;
    border-color: #409eff;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.2);
    transform: translateY(-2px);
}

.attachment-link .el-icon {
    margin-bottom: 10px;
    color: #409eff;
    flex-shrink: 0;
}

.attachment-link span {
    font-size: 12px;
    text-align: center;
    word-break: break-all;
    line-height: 1.4;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.attachment-link:hover .el-icon {
    color: #66b1ff;
}

.dialog-footer {
    display: flex;
    justify-content: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .report-detail-dialog .el-dialog {
        width: 95% !important;
        margin: 10px auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .info-item.full-width {
        grid-column: span 1;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-item .label {
        min-width: auto;
        margin-bottom: 4px;
    }

    .detail-container {
        max-height: 70vh;
    }
}
