/* =========================================================
   USER MANAGEMENT
   ========================================================= */

.user-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.user-table th {
    padding: 12px 16px;

    background: #4f5fa8;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.user-table td {
    padding: 11px 16px;

    background: rgba(255, 255, 255, 0.18);

    font-size: 15px;
    vertical-align: middle;
}

.user-table tbody tr + tr td {
    border-top: 1px solid rgba(23, 32, 51, 0.10);
}

.user-edit-button {
    display: inline-block;

    min-width: 90px;
    padding: 7px 12px;

    border: 1px solid #52606f;
    border-radius: 2px;

    color: #172033;
    background: transparent;

    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.user-edit-button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.user-actions {
    margin-top: auto;
    padding-top: 35px;

    display: flex;
    justify-content: center;
    gap: 30px;
}

.user-actions .button-primary,
.user-back-button {
    width: 210px;
    min-width: 210px;
    padding: 11px 18px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.user-back-button {
    display: inline-block;

    border: 1px solid #52606f;

    background: transparent;
    color: #172033;
}

.user-back-button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.user-success {
    margin-bottom: 20px;
    padding: 10px 14px;

    border: 1px solid #52606f;
    background: rgba(255, 255, 255, 0.30);

    font-size: 14px;
}

/* =========================================================
   ADD / EDIT USER FORM
   ========================================================= */

.user-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-form-fields {
    width: 620px;
}

.user-form-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 20px;

    margin-bottom: 14px;
}

.user-form-row label {
    font-size: 15px;
    font-weight: 600;
}

.user-form-row input,
.user-form-row select {
    width: 100%;
    height: 34px;

    padding: 5px 8px;

    border: 1px solid #6f7885;
    background: #ffffff;

    font-family: inherit;
    font-size: 15px;
}

.user-form-actions {
    margin-top: auto;

    display: flex;
    justify-content: center;
    gap: 70px;

    padding-top: 40px;
}

.user-form-actions .button-primary,
.user-form-actions .user-back-button {
    width: 220px;
    min-width: 220px;
    padding: 11px 18px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.user-form-actions button {
    border: none;
    cursor: pointer;
}

.user-form-errors {
    width: 620px;

    margin-bottom: 25px;
    padding: 10px 14px;

    border: 1px solid #a94442;
    background: rgba(255, 255, 255, 0.45);

    font-size: 14px;
}

.user-form-errors div + div {
    margin-top: 5px;
}

