/* Script files (script-files.js): the "Vælg fil" row in the import dialog, the dialog lit up as a
   drop target, and the full-window overlay shown while a file is held over the dashboard or the
   editor. Only new classes; nothing here changes an existing rule. Theme tokens from styles.css. */

.import-file-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.import-file-hint {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--muted);
}

/* The dialog while a file is held over it: a dashed ink rule, nothing more */
.modal-dialog.is-drop-target {
    outline: 2px dashed var(--ink);
    outline-offset: 6px;
}

.file-drop-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 16px;
    background: var(--backdrop);
    /* The drop lands on window (script-files.js), so the overlay must not take the events */
    pointer-events: none;
}
.file-drop-overlay.hidden {
    display: none;
}
.file-drop-message {
    box-sizing: border-box;
    max-width: 100%;
    padding: 28px 36px;
    background: var(--surface);
    border: 2px dashed var(--ink);
    border-radius: 4px;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
