.file-drop-host {
    position: relative;
}

.file-drop-host--inline.admin-file-picker {
    min-height: 2.75rem;
}

.file-drop-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-radius: inherit;
    background: rgba(56, 189, 248, 0.18);
    border: 2px dashed rgba(56, 189, 248, 0.85);
    color: #e0f2fe;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: none;
}

.file-drop-host--inline.is-dragover .file-drop-overlay {
    display: flex;
}

.file-drop-host--inline.is-dragover.admin-file-picker {
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45);
}

.file-drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    border: 2px dashed rgba(148, 163, 184, 0.45);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.35);
    color: rgba(226, 232, 240, 0.95);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.file-drop-zone:focus {
    outline: 2px solid rgba(56, 189, 248, 0.65);
    outline-offset: 2px;
}

.file-drop-host.is-dragover .file-drop-zone {
    border-color: rgba(56, 189, 248, 0.9);
    background: rgba(56, 189, 248, 0.12);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.file-drop-zone__icon {
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.85;
}

.file-drop-zone__text {
    font-size: 0.85rem;
    line-height: 1.35;
}

.file-drop-zone__name {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    word-break: break-all;
}

.file-drop-zone.has-file .file-drop-zone__text {
    opacity: 0.75;
}

label.file-drop-host > input[type="file"]:not(.admin-file-picker__input) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

label.file-drop-host {
    display: block;
}

.file-drop-host--overlay-only .file-drop-overlay {
    border-radius: 8px;
    z-index: 20;
}

.file-drop-host--overlay-only.is-dragover .file-drop-overlay {
    display: flex;
}

.chat-bar.file-drop-host.is-dragover {
    box-shadow: inset 0 0 0 2px rgba(56, 189, 248, 0.55);
}

.login-main__form--register label.file-drop-host .file-drop-zone,
.profile-edit-popup-body label.file-drop-host .file-drop-zone {
    background: rgba(255, 255, 255, 0.04);
}
