.file-dropzone {
    position: relative;
    min-height: 5.25rem;
    padding: 1rem 1rem 1rem 4.25rem;
    border: 2px dashed #d8dce5;
    border-radius: 0.5rem;
    background: #fbfbfc;
    cursor: default;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.file-dropzone::before {
    position: absolute;
    top: 50%;
    left: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #edf2ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23466be8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5M5 14v5h14v-5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1.3rem;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}

.file-dropzone:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 15%);
}

.file-dropzone.is-dragging {
    border-color: #0d6efd;
    background: #eaf3ff;
    box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 15%);
}

.file-dropzone.is-invalid {
    border-color: #dc3545;
}

.file-dropzone__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.file-dropzone__instruction {
    margin: 0;
    color: #252b36;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: default;
}

.file-dropzone__browse {
    padding: 0;
    border: 0;
    color: #0d6efd;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.file-dropzone__browse:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.file-dropzone__filename {
    margin-top: 0.35rem;
    color: #495057;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.file-dropzone__hint {
    margin-top: 0.25rem;
    color: #78808d;
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .file-dropzone {
        padding-right: 0.75rem;
        padding-left: 3.75rem;
    }

    .file-dropzone::before {
        left: 0.75rem;
        width: 2.25rem;
        height: 2.25rem;
    }
}
