/* MwFileDropZone — invisible input overlay */
.mw-fdz-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

/* Drop zone — default state */
.mw-fdz-zone {
    border: 2px dashed var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

/* Drop zone — drag-over state (added/removed by JS) */
.mw-fdz-zone--active {
    border-color: var(--mud-palette-primary);
    background-color: rgba(126, 87, 194, 0.06);
    box-shadow: inset 0 0 24px rgba(126, 87, 194, 0.12);
}

/* Circular icon badge */
.mw-fdz-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(126, 87, 194, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

/* File list */
.mw-fdz-file-list {
    margin-top: 1rem;
}

/* Single file row */
.mw-fdz-file {
    display: grid;
    grid-template-columns: 32px 1fr auto auto;
    align-items: start;
    gap: 0.625rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Small file type icon in a tinted square */
.mw-fdz-file-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(126, 87, 194, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* File info column: name, size, progress stacked */
.mw-fdz-file-info {
    min-width: 0;
}

.mw-fdz-file-name {
    font-size: 0.875rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mw-fdz-file-size {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    margin-top: 0.125rem;
}

/* Progress bar wrapper — sits below name+size */
.mw-fdz-progress {
    margin-top: 0.375rem;
}

/* Status + actions column */
.mw-fdz-file-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2px;
}
