/* Clean, centred Dropzone box */
#lw-dropzone {
    border: 2px dashed #888;
    border-radius: 10px;
    padding: 40px;
    background: #fafafa;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #555;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: border 0.25s ease, background 0.25s ease;
}

#lw-dropzone.dz-drag-hover {
    border-color: #333;
    background: #f0f0f0;
}

/* Hide Dropzone default ugly blue 'dz-message' text */
#lw-dropzone .dz-message {
    font-size: 18px;
    color: #555 !important;
    margin: 0;
    padding: 0;
}

/* Optional: Slight spacing before upload button */
#lw-upload-btn {
    margin-top: 20px;
}

.dz-success-mark,
.dz-error-mark {
    display: none !important;
}

/* Container for each file preview */
#lw-dropzone .dz-preview {
    background: #fafafa;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* File info */
#lw-dropzone .dz-details {
    flex: 1;
}

/* Progress bar outer box */
#lw-dropzone .dz-progress {
    width: 150px;
    height: 6px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 15px;
}

/* The inner bar that grows */
#lw-dropzone .dz-upload {
    display: block;
    height: 100%;
    width: 0%;
    background: #4caf50;
    border-radius: 4px;
    transition: width 0.2s linear;
}

/* Remove button */
#lw-dropzone .dz-remove {
    font-size: 20px;
    color: #c00;
    cursor: pointer;
}

/* Hide remove button after success */
.dz-upload-complete .dz-remove {
    display: none !important;
}

/* Tabs */
#lw-tabs {
    margin-bottom: 20px;
}

.lw-tab {
    padding: 8px 16px;
    margin-right: 8px;
    background: #eee;
    border: 1px solid #bbb;
    cursor: pointer;
}

.lw-tab.active {
    background: #fff;
    border-bottom: 1px solid #fff;
}

/* Panels */
.lw-panel {
    display: none;
}

.lw-panel.active {
    display: block;
}

.lw-token-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.lw-token-table th,
.lw-token-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    font-size: 14px;
}

.lw-token-table th {
    background: #f4f4f4;
    text-align: left;
}

.lw-token-table button {
    margin-right: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}



/* Force Dropzone main container to behave normally */
#lw-dropzone {
    display: block !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

/* Force vertical stacking of previews */
#lw-dropzone .dz-preview {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 12px 0 !important;
}

/* Style inside each preview row */
#lw-dropzone .dz-file-preview {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    padding: 14px 18px !important;
    border-radius: 6px !important;
    width: 100% !important;
}
