/* ========================================
   File Upload Styles
   Auto-generated by BW.Framework.WebApp
   Generated at 00:52:08 on 12/27/2025
   Safe to customize - will never be overwritten
   ======================================== */

.bw-file-upload-container {
    margin: 1rem 0;
}

/* Drag-drop zone */
.bw-drop-zone {
    border: 2px dashed #ccc;  /* Customize border */
    border-radius: 8px;
    background-color: #f8f9fa;  /* Customize background */
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bw-drop-zone:hover {
    border-color: #007bff;
    background-color: #e7f3ff;
}

.bw-drop-zone.drag-over {
    border-color: #007bff;  /* Customize drag-over border */
    background-color: #e7f3ff;  /* Customize drag-over background */
    border-width: 3px;
}

.bw-drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
}

.bw-drop-zone-content i {
    color: #6c757d;
}

.bw-drop-zone.drag-over .bw-drop-zone-content {
    color: #007bff;
}

.bw-drop-zone.drag-over .bw-drop-zone-content i {
    color: #007bff;
}

/* Hidden file input */
.bw-file-input {
    display: none;
}

/* File input wrapper (for non-drag-drop mode) */
.bw-file-input-wrapper {
    margin-bottom: 1rem;
}

/* Progress bar */
.bw-upload-progress {
    margin-top: 1rem;
    display: none;
}

.bw-upload-progress.show {
    display: block;
}

.bw-progress-container {
    width: 100%;
    height: 24px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bw-progress-bar {
    height: 100%;
    background-color: #007bff;  /* Customize progress color */
    transition: width 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Result message */
.bw-upload-result {
    margin-top: 1rem;
}

.bw-upload-result.success {
    color: #28a745;
    font-weight: 500;
}

.bw-upload-result.error {
    color: #dc3545;
    font-weight: 500;
}

/* File list */
.bw-file-list {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.bw-file-list-item {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bw-file-list-item-name {
    font-size: 0.875rem;
}

.bw-file-list-item-size {
    font-size: 0.75rem;
    color: #6c757d;
}
