/**
 * Copyright (c) Enalean, 2017-Present. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

$small-screen-size: 1200px;

.project-admin-pending-invitation-pane {
    margin: 0 0 var(--tlp-x-large-spacing);
}

.project-admin-pending-invitation-email {
    display: flex;
    align-items: center;
    gap: var(--tlp-small-spacing);
}

#project-admin-members-controls {
    display: flex;
}

#project-admin-members-modal-buttons-section {
    > button:nth-child(2) {
        margin-left: var(--tlp-large-spacing);
    }

    > button:not(:nth-child(2)) {
        margin-left: var(--tlp-small-spacing);
    }
}

#project-admin-members-add-user-select {
    width: 250px;
}

#project-admin-members-modal-import-users-button {
    margin-left: var(--tlp-large-spacing);
}

#project-admin-members-input-file-helper {
    line-height: 24px;
}

.projectadmin-userlist-result-ugroup-separator:last-child {
    display: none;
}

.project-admin-members-username-column {
    width: 25%;
}

.project-admin-members-uemails {
    width: 25%;
    color: var(--tlp-main-color);
}

.project-admin-members-account-status {
    width: 20%;
}

.project-admin-members-ugroups {
    width: 25%;

    @media screen and (max-width: #{$small-screen-size}) {
        word-break: break-all;
    }
}

#project-admin-import-members-list-preview {
    > tbody {
        > .project-admin-members-import-warning {
            > .project-admin-members-import-warning-line {
                background: var(--tlp-warning-color-transparent-90);
                color: var(--tlp-warning-color-darker-10);
            }
        }
    }
}

.project-admin-members-import-warning-icon {
    margin: 0 5px 0 0;
}

#project-admin-members-upload-file-form-element {
    margin-bottom: var(--tlp-medium-spacing);
}

.file-input-error {
    color: var(--tlp-danger-color);
}

#import-members-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}
