﻿.drivers-licence-main-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .drivers-licence-main-grid label {
        font-size: 14px;
    }

.drivers-licence-sub-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.user-roles-main-grid {
    display: flex;
    gap: 8px;
}

.user-info {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.user-info-data {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.matrix-info-data {
    display: flex;
    flex-direction: column;
    width: 600px;
}

.user-info-flags {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 16px;
    gap: 20px;
}

.user-info-flags-borderless {
    display: flex;
    flex-direction: row;
    padding-bottom: 16px;
    align-items: start;
    justify-content: left;
    gap: 20px;
    margin-top: 20px;
}

.user-info-additional {
    display: flex;
    flex-direction: row;
    width: 100%;
    font-family: Inter;
    font-size: 14px;
    gap: 40px;
}

.flag,
.flag-inactive {
    display: flex;
    flex-direction: row;
    background: #FFFBDE;
    align-items: center;
    padding: 6px 10px 6px 8px;
    border-radius: 26px;
    border: none;
    gap: 8px;
}

.flag-inactive {
    background: #F5F5F5;
}

.flag.inactive {
    background-color: #FFEBEB
}

.flag-borderless {
    background: #FFFBDE;
    align-items: center;
    padding: 6px 10px 6px 8px;
    border-radius: 26px;
    border: none;
    gap: 8px;
}

.flag label,
.flag-inactive label {
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    color: #2C2C2C;
}

.flag-without-check {
    align-items: center;
    padding: 6px 10px 6px 8px;
    border-radius: 6px;
    border: none;
    background: #FFFBDE;
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    color: #2C2C2C;
}

.flag-with-delete {
    padding: 6px 10px 6px 10px;
}

.delete-role-button {
    border: none;
    background-color: transparent;
}

.user-info-additional-last-seen {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#additionalInfoFirstChild {
    font-weight: 500;
    color: #1D1D1B;
}

#additionalInfoSecondChild {
    font-weight: 400;
    color: #525252;
}

#driversLicenceFirstLabel {
    color: #737373;
    width: 88px;
}

#driversLicenceSecondLabel {
    color: #2C2C2C;
}

.user-info-additional-unsuccessfull-login {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inverted-grid-colors.grid td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-left: 21px;
    padding-left: 15px;
}

.inverted-grid-colors.grid td {
    align-content: center;
}

    .inverted-grid-colors.grid td:last-child {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
        padding-right: 12px;
    }

.inverted-grid-colors.grid tbody tr {
    background-color: #FAFAFA;
}


@media screen and (max-width: 768px) {
    .flag,
    .flag-inactive {
        width: fit-content;
    }

    .user-info-additional {
        flex-direction: column;
        gap: 16px;
    }

    .user-info-flags {
        flex-direction: column;
        gap: 16px;
    }

    .user-info-data {
        margin-right: 0;
    }

    .user-info {
        flex-direction: column;
    }

    .card-full-width .user-info {
        overflow-x: auto;
        overflow-x: hidden;
    }

    .card .row > * {
        padding-bottom: 20px;
    }
}
