.jq-upload {
    font-family: Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
    margin: 20px 20px 20px 0;
}

/* 上传区域样式 */
.upload-area {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    padding: 20px;
    width: 100px;
    height: 100px;
    text-align: center;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #409eff;
}

.upload-icon {
    font-size: 24px;
    color: #8c939d;
}

.upload-text {
    margin-top: 8px;
    color: #606266;
}

/* 文件列表样式 */
.file-list {
    /* margin-top: 15px; */
}

.file-item {
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.file-item img {
    max-width: 100%;
    max-height: 100%;
}

.file-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 0;
    font-size: 12px;
    text-align: center;
}

.file-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.file-item:hover .file-actions {
    display: block;
}

.file-actions span {
    cursor: pointer;
    padding: 5px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
}


/**===============================================================*/
/* 基础容器样式 */
.yn-review {
    max-width: 1200px;
    margin: 20px auto;
    padding: 16px;
    font-family: Arial, sans-serif;
}

/* 内容区域 */
.yn-review-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

/* 标题样式 */
.yn-review-title h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #333;
    font-weight: 600;
}

/* 表单行布局 */
.yn-review-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

/* 输入框容器 */
.yn-review-input-box {
    flex: 1;
    min-width: 0;
}

/* 输入框标签 */
.yn-review-input-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
}

/* 输入框通用样式 */
.yn-review-input,
.yn-review-textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.yn-review-input:focus,
.yn-review-textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* 文本域样式 */
.yn-review-textarea {
    height: 100px;
    resize: vertical;
}

/* 提交按钮 */
.yn-review-submit-btn {
    background: #426BEB;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}

.yn-review-submit-btn:hover {
    opacity: 0.9;
}

.red {
    color: red;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .yn-review-row {
        flex-direction: column;
        gap: 16px;
    }

    .yn-review {
        padding: 12px;
        margin: 12px;
    }

    .yn-review-content {
        padding: 16px;
    }

    .yn-review-submit-btn {
        padding: 12px;
    }
}

/* 紧凑间距调整 */
.yn-review *+* {
    margin-top: 0;
    /* 移除默认外边距 */
}