.global-file-upload {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.global-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.global-dropzone {
    min-height: 132px;
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 22px;
    color: #173f82;
    border: 2px dashed #9fb2ca;
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfdff, #eef3f8);
    text-align: center;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.global-dropzone:hover,
.global-dropzone:focus-visible,
.global-dropzone.is-dragover {
    border-color: #c98b00;
    background: #fff9e9;
    outline: none;
    transform: translateY(-1px);
}

.global-dropzone-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #173f82;
    font-size: 21px;
    font-weight: 900;
}

.global-dropzone strong {
    color: #082758;
    font-size: 16px;
}

.global-dropzone span {
    color: #6a7a8e;
    font-size: 13px;
    line-height: 1.4;
}

.global-file-list {
    display: grid;
    gap: 7px;
}

.global-file-list[hidden] {
    display: none;
}

.global-file-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #d7e1ec;
    border-radius: 11px;
    background: #fff;
}

.global-file-preview {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #173f82;
    border-radius: 9px;
    background: #eaf0f7;
    font-size: 11px;
    font-weight: 900;
}

.global-file-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.global-file-meta {
    min-width: 0;
}

.global-file-meta strong,
.global-file-meta small {
    display: block;
}

.global-file-meta strong {
    overflow: hidden;
    color: #10284d;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-file-meta small {
    margin-top: 3px;
    color: #718096;
    font-size: 12px;
}

.global-file-remove {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    color: #9d281e;
    border: 1px solid #edc2bd;
    border-radius: 9px;
    background: #fff6f5;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.global-file-remove:hover {
    background: #ffe9e6;
}

@media (max-width: 560px) {
    .global-dropzone {
        min-height: 116px;
        padding: 18px 14px;
    }

    .global-file-item {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }
}
