/**
 * Forward Order Pricing Upload Styles
 * Copyright © Zhik Pty Ltd. All rights reserved.
 */

/* Upload dropzone */
.upload-dropzone {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    transition: border-color 0.3s;
    margin: 20px 0;
}

.upload-dropzone.dragover {
    border-color: #007bdb;
    background-color: #f0f8ff;
}

.upload-icon {
    color: #666;
    margin-bottom: 10px;
}

.dropzone-text {
    color: #666;
    margin: 10px 0;
}

/* File details section */
.file-details {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 10px 0;
}

.file-name {
    font-weight: bold;
}

.file-size {
    color: #666;
}

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-bar-fill {
    height: 100%;
    background: #007bdb;
    transition: width 0.3s;
    width: 0;
}

.progress-text {
    text-align: center;
    color: #666;
}

/* Preview table */
#preview-table {
    margin: 20px 0;
}

/* Confirmation section */
#confirmation-section .field {
    margin: 10px 0;
}

#countdown-timer {
    margin: 10px 0;
    color: #eb5202;
}

/* Action buttons */
.actions {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

/* Results section */
#results-section {
    margin: 20px 0;
}

/* Result messages */
#result-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

#result-message.message-success,
#result-message.success {
    background-color: #e5efde;
    border: 1px solid #7cb342;
    color: #2e7d32;
}

#result-message.message-error,
#result-message.error {
    background-color: #fde5e8;
    border: 1px solid #e02b2c;
    color: #c1041c;
}

#result-message div {
    white-space: pre-line;
}