/* 上传弹窗样式 */
.modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-modal-content {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #f0f2f5;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f0f2f5;
    color: #666;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 表单部分样式 */
.upload-form .form-section {
    margin-bottom: 25px;
    padding: 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f2f5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-form .form-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.upload-form .form-section h4 {
    margin: 0 0 24px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-form .form-section h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 2px;
}

.upload-form .form-group {
    margin-bottom: 20px;
}

.upload-form .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.upload-form .form-group .required {
    color: #ff4d4f;
    font-size: 16px;
    margin-left: 4px;
}

/* 输入框样式 */
.upload-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.upload-form .form-control:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f8faff;
    transform: translateY(-1px);
}

/* 选择框样式 */
.upload-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* 文本域样式 */
.upload-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* 表单帮助文本 */
.form-help {
    margin: 5px 0 10px 0;
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

/* 封面预览样式 */
.cover-preview {
    width: 100%;
    max-width: 300px;
    height: 200px;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.cover-preview:hover {
    border-color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: #718096;
    text-align: center;
    transition: all 0.3s;
}

.cover-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.cover-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 预览项封面标记 */
.preview-item.cover-selected {
    position: relative;
}

.preview-item.cover-selected::before {
    content: '封面';
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    z-index: 10;
}

.preview-item .set-cover-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    z-index: 5;
}

.preview-item:hover .set-cover-btn {
    opacity: 1;
}

.preview-item .set-cover-btn:hover {
    background: #fff;
    border-color: #1890ff;
    color: #1890ff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.upload-form .form-row {
    display: flex;
    gap: 15px;
}

.upload-form .form-group.half {
    flex: 1;
}

.upload-form .form-group.third {
    flex: 1;
}

/* 筛选部分样式 */
.filter-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.filter-section h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

/* 标签选择器样式 */
.tag-selector {
    margin-top: 15px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
}

.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tag-item:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.15);
}

.tag-item.selected {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 20px;
    font-size: 13px;
    color: #1890ff;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(24, 144, 255, 0.1);
}

.selected-tag .remove-tag {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #1890ff;
    padding: 0;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.selected-tag .remove-tag:hover {
    color: #ff4d4f;
    background: rgba(255, 77, 79, 0.1);
}

.upload-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* 上传区域 */
.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #1890ff;
    background: #f0f7ff;
}

.upload-icon {
    width: 60px;
    height: 60px;
    background: #e6f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.upload-icon i {
    font-size: 24px;
    color: #1890ff;
}

.upload-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px;
}

.upload-desc {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* 图片预览列表 */
.image-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.preview-actions {
    padding: 10px;
}

.preview-actions .image-title {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 6px;
}

.preview-actions .btn-remove {
    width: 100%;
    padding: 6px;
    border: none;
    background: #ff4d4f;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.preview-actions .btn-remove:hover {
    background: #ff7875;
}

.upload-progress {
    height: 3px;
    background: #f0f0f0;
}

.upload-progress .progress-bar {
    height: 100%;
    background: #1890ff;
    width: 0;
    transition: width 0.3s;
}

/* 积分提示 */
.score-notice {
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    border: 1px solid #91d5ff;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #096dd9;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.score-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.15);
}

.score-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-notice i {
    font-size: 18px;
    color: #1890ff;
}

.score-notice strong {
    color: #1890ff;
    font-size: 18px;
    font-weight: 600;
}

.score-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 10px 0 0 10px;
}

/* 积分规则按钮 */
.score-rule-btn {
    background: rgba(24, 144, 255, 0.1);
    border: 1px solid #91d5ff;
    color: #1890ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.score-rule-btn:hover {
    background: rgba(24, 144, 255, 0.2);
    border-color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

/* 积分规则详情 */
.score-rules {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.score-rules:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.score-rules h5 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-rules h5::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 2px;
}

.score-rules ul {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.score-rules li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.4;
}

.score-rules li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #52c41a;
    font-size: 16px;
}

.score-rules li strong {
    color: #1890ff;
    font-weight: 600;
    margin: 0 2px;
}

/* 积分兑换说明 */
.score-conversion {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.score-conversion h6 {
    margin: 0 0 10px 0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.score-conversion p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(24, 144, 255, 0.05);
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid #1890ff;
}

/* 积分规则响应式设计 */
@media (max-width: 768px) {
    .score-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .score-info {
        flex: 1;
    }
    
    .score-rule-btn {
        align-self: flex-end;
    }
    
    .score-rules {
        padding: 16px;
        margin: 12px 0 20px;
    }
    
    .score-rules h5 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .score-rules li {
        font-size: 13px;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .score-rules li i {
        font-size: 14px;
    }
    
    .score-conversion {
        padding-top: 12px;
    }
    
    .score-conversion h6 {
        font-size: 13px;
    }
    
    .score-conversion p {
        font-size: 12px;
        padding: 8px 10px;
    }
}6px;
}

/* 表单操作 */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #f0f2f5;
    background: #f8fafc;
    padding: 30px 28px;
    border-radius: 0 0 16px 16px;
    margin: 0 -28px -28px -28px;
}

.btn-default {
    padding: 14px 28px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-default:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.15);
}

.btn-default:active {
    transform: translateY(0);
}

.btn-submit {
    padding: 14px 32px;
    border: none;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(24, 144, 255, 0.4);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.6;
}

/* 积分提示 */
.score-notice {
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    border: 1px solid #91d5ff;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #096dd9;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.score-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.15);
}

.score-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-notice i {
    font-size: 18px;
    color: #1890ff;
}

.score-notice strong {
    color: #1890ff;
    font-size: 18px;
    font-weight: 600;
}

.score-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 10px 0 0 10px;
}

/* 积分规则按钮 */
.score-rule-btn {
    background: rgba(24, 144, 255, 0.1);
    border: 1px solid #91d5ff;
    color: #1890ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.score-rule-btn:hover {
    background: rgba(24, 144, 255, 0.2);
    border-color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

/* 积分规则详情 */
.score-rules {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.score-rules:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.score-rules h5 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-rules h5::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 2px;
}

.score-rules ul {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style: none;
}

.score-rules li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.4;
}

.score-rules li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #52c41a;
    font-size: 16px;
}

.score-rules li strong {
    color: #1890ff;
    font-weight: 600;
    margin: 0 2px;
}

/* 积分兑换说明 */
.score-conversion {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.score-conversion h6 {
    margin: 0 0 10px 0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.score-conversion p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(24, 144, 255, 0.05);
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid #1890ff;
}

/* 积分规则响应式设计 */
@media (max-width: 768px) {
    .score-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .score-info {
        flex: 1;
    }
    
    .score-rule-btn {
        align-self: flex-end;
    }
    
    .score-rules {
        padding: 16px;
        margin: 12px 0 20px;
    }
    
    .score-rules h5 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .score-rules li {
        font-size: 13px;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .score-rules li i {
        font-size: 14px;
    }
    
    .score-conversion {
        padding-top: 12px;
    }
    
    .score-conversion h6 {
        font-size: 13px;
    }
    
    .score-conversion p {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* 上传区域样式 */
.upload-area {
    border: 3px dashed #e2e8f0;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #1890ff;
    background: linear-gradient(135deg, #f0f7ff 0%, #f8faff 100%);
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.15);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-style: solid;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 16px rgba(24, 144, 255, 0.15);
    }
    50% {
        box-shadow: 0 6px 24px rgba(24, 144, 255, 0.25);
    }
    100% {
        box-shadow: 0 4px 16px rgba(24, 144, 255, 0.15);
    }
}

.upload-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(24, 144, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-area:hover .upload-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(24, 144, 255, 0.4);
}

.upload-icon i {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.upload-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px;
    line-height: 1.4;
}

.upload-desc {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* 图片预览列表 */
.image-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f2f5;
}

.preview-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-item:hover img {
    transform: scale(1.05);
}

.preview-image-container {
    position: relative;
    overflow: hidden;
    height: 120px;
}

.preview-actions {
    padding: 12px;
    background: #f8fafc;
    border-top: 1px solid #f0f2f5;
}

.preview-actions .image-title {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.preview-actions .image-title:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.preview-actions .btn-remove {
    width: 100%;
    padding: 8px;
    border: none;
    background: #ff4d4f;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.preview-actions .btn-remove:hover {
    background: #ff7875;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

.preview-actions .btn-remove:active {
    transform: translateY(0);
}

.upload-progress {
    height: 4px;
    background: #f0f2f5;
    position: relative;
    overflow: hidden;
}

.upload-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1890ff 0%, #36cfc9 100%);
    width: 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.upload-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 上传成功标记 */
.upload-success-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(82, 196, 26, 0.9);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(82, 196, 26, 0.4);
    animation: successPulse 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.upload-success-mark i {
    font-size: 24px;
}

@keyframes successPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* 上传失败样式 */
.preview-item.upload-failed {
    animation: shake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-10px);
    }
    40%, 80% {
        transform: translateX(10px);
    }
}

/* 上传区域点击动画 */
.upload-area.clicked {
    animation: clickPulse 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes clickPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

/* 批量操作工具栏 */
.batch-operations {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.batch-operations:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.batch-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.selected-count {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.selected-count strong {
    color: #1890ff;
    font-size: 16px;
    font-weight: 600;
}

.batch-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-batch {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-batch:hover:not(:disabled) {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 144, 255, 0.15);
}

.btn-batch:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 图片选择样式 */
.preview-item {
    cursor: pointer;
    user-select: none;
}

.preview-item.selected {
    border: 2px solid #1890ff;
    box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.preview-item.selected::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: #1890ff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    z-index: 10;
}

.preview-item.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 11;
}

/* 图片排序样式 */
.preview-item[draggable="true"] {
    cursor: move;
}

.preview-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 图片预览样式 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.image-preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: previewFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes previewFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preview-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.preview-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* 拖拽排序提示 */
.drag-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(24, 144, 255, 0.9);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    z-index: 5;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-item:hover .drag-hint {
    opacity: 1;
}

/* 错误提示样式 */
.error-message {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 6px;
    font-size: 13px;
    color: #cf1322;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: errorFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 错误输入框样式 */
.upload-form .form-control.error {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
    background-color: #fff2f0;
}

.upload-form .form-control.error:focus {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 增强Toast提示样式 */
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.toast-info {
    background: rgba(24, 144, 255, 0.9);
    color: #ffffff;
    border: 1px solid rgba(24, 144, 255, 0.3);
}

.toast-success {
    background: rgba(82, 196, 26, 0.9);
    color: #ffffff;
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.toast-error {
    background: rgba(255, 77, 79, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 77, 79, 0.3);
}

.toast-warning {
    background: rgba(250, 173, 20, 0.9);
    color: #ffffff;
    border: 1px solid rgba(250, 173, 20, 0.3);
}

/* 响应式Toast提示 */
@media (max-width: 768px) {
    .toast-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* 标签分类样式 */
.tag-categories {
    margin-top: 20px;
}

.tag-category-section {
    margin-bottom: 25px;
}

.tag-category-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-category-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-radius: 2px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 增强标签样式 */
.tag-item {
    position: relative;
    padding: 8px 20px 8px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    white-space: nowrap;
    overflow: hidden;
}

.tag-item:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.15);
}

.tag-item.selected {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

/* 热门标签样式 */
.tag-item.hot-tag {
    background: linear-gradient(135deg, #fff7e6 0%, #fff1c1 100%);
    border-color: #ffd591;
    color: #fa8c16;
}

.tag-item.hot-tag:hover {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    border-color: #fa8c16;
    color: #fa8c16;
    box-shadow: 0 2px 8px rgba(250, 140, 22, 0.2);
}

.tag-item.hot-tag.selected {
    background: linear-gradient(135deg, #fff2e8 0%, #ffd9bf 100%);
    border-color: #fa8c16;
    color: #fa8c16;
    box-shadow: 0 2px 8px rgba(250, 140, 22, 0.3);
}

/* 标签使用次数 */
.tag-count {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #94a3b8;
    background: rgba(226, 232, 240, 0.5);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-item:hover .tag-count {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.1);
}

.tag-item.selected .tag-count {
    color: #1890ff;
    background: rgba(24, 144, 255, 0.2);
}

/* 标签搜索样式 */
.tag-search {
    position: relative;
    margin-bottom: 20px;
}

.tag-search .form-control {
    border-radius: 25px;
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-search .form-control:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
    padding-left: 20px;
}

.result-tag {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.result-count {
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

/* 空标签提示 */
.empty-tags {
    padding: 20px;
    text-align: center;
    color: #718096;
    font-size: 14px;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.empty-tags:hover {
    border-color: #1890ff;
    background: #f0f7ff;
    color: #4a5568;
}

/* 标签选择器响应式设计 */
@media (max-width: 768px) {
    .tag-list {
        gap: 6px;
    }
    
    .tag-item {
        padding: 6px 16px 6px 10px;
        font-size: 12px;
    }
    
    .tag-count {
        font-size: 10px;
        padding: 1px 4px;
        right: 6px;
    }
    
    .tag-category-section {
        margin-bottom: 20px;
    }
    
    .tag-category-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .search-result-item {
        padding: 10px 12px;
    }
    
    .result-tag {
        font-size: 13px;
    }
    
    .result-count {
        font-size: 11px;
    }
}

/* 小屏设备标签优化 */
@media (max-width: 480px) {
    .tag-list {
        gap: 4px;
    }
    
    .tag-item {
        padding: 5px 12px 5px 8px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .tag-count {
        font-size: 9px;
        padding: 1px 3px;
        right: 4px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upload-modal-content {
        max-width: 98%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .upload-form .form-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .upload-form .form-section h4 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .upload-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .upload-form .form-group {
        margin-bottom: 15px;
    }
    
    .upload-form .form-control {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .upload-icon {
        width: 60px;
        height: 60px;
    }
    
    .upload-icon i {
        font-size: 24px;
    }
    
    .upload-title {
        font-size: 16px;
    }
    
    .image-preview-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .preview-item img {
        height: 100px;
    }
    
    .preview-actions {
        padding: 10px;
    }
    
    .preview-actions .image-title {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .preview-actions .btn-remove {
        padding: 6px;
        font-size: 12px;
    }
    
    .batch-operations {
        padding: 12px 16px;
        margin-bottom: 15px;
    }
    
    .batch-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .batch-buttons {
        justify-content: center;
    }
    
    .btn-batch {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .score-notice {
        padding: 12px 16px;
        margin: 20px 0;
        font-size: 13px;
    }
    
    .form-actions {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-default,
    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .toast-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* 移动端图片预览优化 */
    .image-preview-content {
        padding: 10px;
        margin: 10px;
    }
    
    .preview-image {
        max-height: 70vh;
    }
    
    .preview-close {
        top: -30px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* 小屏设备优化 */
@media (max-width: 480px) {
    .upload-modal-content {
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .upload-form .form-section {
        padding: 16px;
    }
    
    .upload-form .form-section h4 {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
    
    .upload-icon {
        width: 50px;
        height: 50px;
    }
    
    .upload-icon i {
        font-size: 20px;
    }
    
    .upload-title {
        font-size: 14px;
    }
    
    .upload-desc {
        font-size: 12px;
    }
    
    .image-preview-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .preview-item img {
        height: 80px;
    }
    
    .batch-operations {
        padding: 10px 12px;
    }
    
    .selected-count {
        font-size: 12px;
    }
    
    .score-notice {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .form-actions {
        padding: 16px;
    }
    
    .btn-default,
    .btn-submit {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* 灵感池弹窗样式 */
.inspiration-modal-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease-out;
}

.inspiration-content {
    padding: 30px;
}

.inspiration-intro {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: 500;
}

/* 灵感池头部 - 搜索和排序 */
.inspiration-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.inspiration-search {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.inspiration-search input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.inspiration-search input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.inspiration-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.inspiration-search button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.inspiration-sort {
    min-width: 150px;
}

.inspiration-sort select {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.inspiration-sort select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

/* 灵感分类 */
.inspiration-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 144, 255, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
    border-color: #1890ff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 子分类筛选 */
.inspiration-subcategories {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.subcategory-btn {
    padding: 6px 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.subcategory-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
}

.subcategory-btn.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

/* 灵感图集 */
.inspiration-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.inspiration-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f2f5;
    position: relative;
}

.inspiration-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.inspiration-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.inspiration-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.inspiration-item:hover .inspiration-item-image img {
    transform: scale(1.05);
}

.inspiration-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s;
}

.inspiration-item:hover .inspiration-item-actions {
    opacity: 1;
}

.inspiration-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.inspiration-action-btn:hover {
    background: white;
    color: #1890ff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.inspiration-action-btn.collected {
    color: #ff4d4f;
}

.inspiration-item-content {
    padding: 15px;
}

.inspiration-item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2c3e50;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inspiration-item-description {
    font-size: 14px;
    color: #718096;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inspiration-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #a0aec0;
}

.inspiration-item-category {
    padding: 2px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.inspiration-item-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inspiration-item-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.inspiration-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 加载更多 */
.inspiration-load-more {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    padding: 10px 30px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.btn-load-more:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 无更多数据 */
.inspiration-no-more {
    text-align: center;
    padding: 30px;
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inspiration-no-more i {
    font-size: 20px;
    color: #36cfc9;
}

/* 灵感池响应式设计 */
@media (max-width: 768px) {
    .inspiration-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .inspiration-content {
        padding: 20px;
    }
    
    .inspiration-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .inspiration-search {
        min-width: auto;
    }
    
    .inspiration-sort {
        min-width: auto;
    }
    
    .inspiration-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .inspiration-item-image {
        height: 150px;
    }
    
    .inspiration-item-actions {
        opacity: 1;
    }
}

/* 加载动画 */
.inspiration-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    font-size: 16px;
    color: #666;
}

.inspiration-loading i {
    margin-right: 10px;
    font-size: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   移动端上传弹出框优化样式
   一行两列布局 + 全部显示（不再横向滑动隐藏）
   ============================================ */

/* 移动端上传模态框基础样式 */
@media (max-width: 768px) {
    /* 弹出框尺寸优化 */
    #upload-modal .modal-content {
        width: 95%;
        max-width: 95%;
        max-height: 85vh;
        padding: 16px;
        margin: 10px auto;
        border-radius: 12px;
    }
    
    /* 头部缩小 */
    #upload-modal .modal-header {
        padding: 12px 0 16px 0;
        margin-bottom: 16px;
    }
    
    #upload-modal .modal-header h3 {
        font-size: 18px;
    }
    
    /* 表单区域缩小 */
    #upload-modal .form-section {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    
    #upload-modal .form-section h4 {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    /* 标签缩小 */
    #upload-modal .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    /* 输入框缩小 */
    #upload-modal .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 移动端分类、用途、盒型 - 左浮动全部显示 */
    #upload-modal .mobile-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding: 4px 0;
    }
    
    #upload-modal .mobile-pills .pill-option {
        flex-shrink: 0;
    }
    
    #upload-modal .mobile-pills .pill-option span {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 16px;
        background: #f0f2f5;
        border: 1px solid #e2e8f0;
        display: inline-block;
        white-space: nowrap;
    }
    
    #upload-modal .mobile-pills .pill-option input:checked + span {
        background: #1890ff;
        border-color: #1890ff;
        color: #fff;
    }
    
    /* 色彩选择 - 左浮动全部显示 */
    #upload-modal .color-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
        mask-image: none;
        -webkit-mask-image: none;
        padding: 4px 0;
    }
    
    #upload-modal .color-option {
        flex-shrink: 0;
    }
        border-radius: 8px;
    }
    
    /* 一行两列布局 - 用途和行业 */
    #upload-modal .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    #upload-modal .form-row .form-group.half {
        width: auto;
        min-width: 0;
        margin-bottom: 0;
    }
    
    /* 色彩选项样式 */
    #upload-modal .color-option {
        padding: 6px 10px;
        border-radius: 16px;
        gap: 4px;
    }
    
    #upload-modal .color-option .color-dot {
        width: 16px;
        height: 16px;
    }
    
    #upload-modal .color-option .color-label {
        font-size: 12px;
    }
    
    /* 标签输入区域缩小 */
    #upload-modal #tag-cloud {
        gap: 6px;
        margin-top: 8px;
    }
    
    #upload-modal .tag-item {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    /* 上传区域缩小 */
    #upload-modal .upload-area {
        padding: 30px 20px;
    }
    
    #upload-modal .upload-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    #upload-modal .upload-icon i {
        font-size: 24px;
    }
    
    #upload-modal .upload-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    #upload-modal .upload-desc {
        font-size: 12px;
    }
    
    /* 图片预览两列 */
    #upload-modal .image-preview-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 16px;
    }
    
    #upload-modal .preview-item img {
        height: 100px;
    }
    
    /* 积分提示缩小 */
    #upload-modal .score-notice {
        padding: 12px;
        margin: 16px 0;
        font-size: 13px;
        flex-direction: row;
        align-items: center;
    }
    
    #upload-modal .score-notice i {
        font-size: 16px;
    }
    
    #upload-modal .score-notice strong {
        font-size: 16px;
    }
    
    /* 积分规则按钮缩小 */
    #upload-modal .score-rule-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    /* 积分规则详情缩小 */
    #upload-modal .score-rules {
        padding: 14px;
        margin: 12px 0 16px;
    }
    
    #upload-modal .score-rules h5 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    #upload-modal .score-rules li {
        font-size: 12px;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    #upload-modal .score-rules li i {
        font-size: 14px;
    }
    
    #upload-modal .score-conversion {
        padding-top: 12px;
    }
    
    #upload-modal .score-conversion h6 {
        font-size: 12px;
    }
    
    #upload-modal .score-conversion p {
        font-size: 11px;
        padding: 8px;
    }
    
    /* 底部按钮 */
    #upload-modal .form-actions {
        padding: 16px 0 0 0;
        margin-top: 20px;
        flex-direction: row;
        gap: 10px;
    }
    
    #upload-modal .btn-submit,
    #upload-modal .btn-cancel {
        flex: 1;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
    #upload-modal .modal-content {
        padding: 12px;
        max-height: 90vh;
    }
    
    #upload-modal .modal-header {
        padding: 10px 0 12px 0;
    }
    
    #upload-modal .modal-header h3 {
        font-size: 16px;
    }
    
    #upload-modal .form-section {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    #upload-modal .form-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* 更小的一行两列间距 */
    #upload-modal .form-row {
        gap: 8px;
    }
    
    /* 色彩选项更紧凑 */
    #upload-modal .color-option {
        padding: 5px 8px;
    }
    
    #upload-modal .color-option .color-dot {
        width: 14px;
        height: 14px;
    }
    
    #upload-modal .color-option .color-label {
        font-size: 11px;
    }
    
    /* 预览图片更小 */
    #upload-modal .image-preview-list {
        gap: 8px;
    }
    
    #upload-modal .preview-item img {
        height: 90px;
    }
    
    #upload-modal .preview-actions {
        padding: 8px;
    }
    
    #upload-modal .preview-actions .image-title {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    #upload-modal .preview-actions .btn-remove {
        padding: 5px;
        font-size: 11px;
    }
    
    /* 积分提示更紧凑 */
    #upload-modal .score-notice {
        padding: 10px;
        font-size: 12px;
    }
    
    #upload-modal .score-notice strong {
        font-size: 14px;
    }
    
    /* 按钮更小 */
    #upload-modal .btn-submit,
    #upload-modal .btn-cancel {
        padding: 10px 16px;
        font-size: 13px;
    }
}