/*
 * alignvu UI v2.1: Admin & Security > Organisations (application/views/admin/configure/organisations; js/admin/configure/organisations.js).
 * Shared Admin rules are in css/v21_admin.css.
 */

/* the old grid layout (css/admin.css .organisations .row / .headers) is not used: the list is a FeedTable */
.organisations .app-admin-organisations td,
.organisations .app-admin-organisations tbody th {
    word-break: normal;
}

/* ---------- Configure FTP Dialog ---------- */

/* a radio group's help text spans the row above its Radios */
.app-org-ftp-dialog .app-admin-form__radios .app-org-ftp__help {
    width: 100%;
    margin: -4px 0 4px;
}

.app-org-ftp-dialog p.app-org-ftp__help {
    margin: 0;
    font: 400 12px/18px var(--font-display);   /* css/application.css enlarges paragraphs */
    color: var(--muted);
}

/* the two Radios of a group side by side (av-fieldset stacks them) */
.app-org-ftp-dialog .app-admin-form__radios {
    flex-direction: row;
}

/* the password and its Show / Hide button on one line */
.app-org-ftp__password {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.app-org-ftp__password .av-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid var(--muted);   /* the legacy input[type="password"] rule in css/application.css takes it off */
}

.app-org-ftp__password .av-input:focus-visible {
    outline: 2px solid var(--heading-ink);
    outline-offset: 1px;
}

.app-org-ftp__password .av-btn {
    flex: none;
}

/* the folder takes the whole row */
.app-org-ftp-dialog .app-org-ftp__wide {
    grid-column: 1 / -1;
}
