.dic-upload-area {
    border: 2px dashed #ccd0d4;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.dic-upload-area:hover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.dic-upload-area.dragover {
    border-color: #2271b1;
    background: #f0f6fc;
}

.dic-upload-area.has-files {
    border-style: solid;
    border-color: #00a32a;
    background: #f0fff1;
}

.dic-file-input {
    display: none;
}

.dic-upload-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #646970;
    margin-bottom: 10px;
}

.dic-upload-placeholder p {
    color: #646970;
    margin: 0;
}

.dic-upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.dic-upload-preview:empty {
    display: none;
}

.dic-preview-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ccd0d4;
    background: #fff;
}

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

.dic-preview-item .dic-remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(214, 54, 56, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dic-preview-item:hover .dic-remove-file {
    opacity: 1;
}

.dic-preview-item .dic-file-name {
    padding: 5px 8px;
    font-size: 11px;
    color: #646970;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dic-review-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e4e7;
}

.dic-review-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dic-review-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1d2327;
    font-size: 16px;
}

.dic-review-section p {
    margin: 8px 0;
}

.dic-review-section strong {
    color: #1d2327;
}

.dic-confirmation {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.dic-confirmation label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.dic-confirmation input[type="checkbox"] {
    margin-top: 3px;
}

.dic-field-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
}

.dic-field.error input,
.dic-field.error textarea,
.dic-field.error select {
    border-color: #d63638;
}

.dic-upload-progress {
    margin-top: 10px;
    height: 4px;
    background: #e2e4e7;
    border-radius: 2px;
    overflow: hidden;
}

.dic-upload-progress-bar {
    height: 100%;
    background: #2271b1;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.dic-upload-status {
    margin-top: 10px;
    font-size: 12px;
    color: #646970;
}

.dic-upload-status.success {
    color: #00a32a;
}

.dic-upload-status.error {
    color: #d63638;
}

.dic-gallery-upload .dic-upload-preview {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.dic-gallery-upload .dic-preview-item img {
    height: 100px;
}
