.c9-file-uploader {
    position: relative;
    width: 100%;
}

.c9-file-uploader--enhanced {
    display: block;
    clear: both;
    margin-top: .85rem;
}

.c9-file-uploader--full-row {
    margin-top: .75rem;
}

.c9-file-uploader__dropzone {
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem;
    border: 2px dashed rgba(18, 52, 88, .24);
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
    text-align: center;
}

.c9-file-uploader--enhanced .c9-file-uploader__dropzone {
    min-height: 96px;
}

.c9-file-uploader__dropzone:hover,
.c9-file-uploader.is-dragover .c9-file-uploader__dropzone {
    border-color: #0d6efd;
    background: #eef5ff;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .1);
}

.c9-file-uploader.is-uploading .c9-file-uploader__dropzone {
    border-color: #6c757d;
}

.c9-file-uploader.is-success .c9-file-uploader__dropzone {
    border-color: #198754;
    background: #f0fff6;
}

.c9-file-uploader.is-error .c9-file-uploader__dropzone {
    border-color: #dc3545;
    background: #fff5f5;
}

.c9-file-uploader__icon {
    font-size: 1.45rem;
    color: #0d6efd;
}

.c9-file-uploader__title {
    font-weight: 700;
}

.c9-file-uploader__hint {
    margin-top: .2rem;
    font-size: .84rem;
    color: #64748b;
}

.c9-file-uploader__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.c9-file-uploader__list {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
}

.c9-file-uploader__item {
    border: 1px solid rgba(18, 52, 88, .13);
    border-radius: 8px;
    background: #fff;
    padding: .65rem .75rem;
}

.c9-file-uploader__item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.c9-file-uploader__file-name {
    font-weight: 600;
    word-break: break-word;
}

.c9-file-uploader__meta {
    flex: 0 0 auto;
    font-size: .8rem;
    color: #64748b;
    white-space: nowrap;
}

.c9-file-uploader__status {
    margin-top: .35rem;
    font-size: .84rem;
    color: #64748b;
}

.c9-file-uploader__item.is-success .c9-file-uploader__status {
    color: #198754;
}

.c9-file-uploader__item.is-error .c9-file-uploader__status {
    color: #dc3545;
}

.c9-file-uploader__progress {
    height: 6px;
    margin-top: .45rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e9ecef;
}

.c9-file-uploader__bar {
    width: 0;
    height: 100%;
    background: #0d6efd;
    transition: width .12s linear;
}

@media (max-width: 575.98px) {
    .c9-file-uploader__dropzone {
        min-height: 96px;
        padding: .875rem;
    }

    .c9-file-uploader__item-head {
        display: block;
    }

    .c9-file-uploader__meta {
        margin-top: .15rem;
        white-space: normal;
    }
}
