﻿
.grid-with-top-buttons-layout {
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 100%;
}

.grid-with-top-buttons-layout-tab {
    padding: 10px;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
/* Track */
::-webkit-scrollbar-track {
    width: 3px;
    height: 3px;
    color: #E5E5E5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    color: #E5E5E5;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #A3A3A3;
    width: 3px;
    height: 3px;
}

@media screen and (max-width: 768px) {
    .grid-with-top-buttons-layout {
        margin: 0;
        position: relative;
        padding: 20px;
        height: calc(100vh - 48px);
    }
}

.grid-modal-layout {
    width: 100%;
}

.buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
}

.grid-with-top-buttons-layout .buttons,
.split-page-container .buttons {
    margin-top: 32px;
    margin-bottom: 20px;
}

.grid-with-top-buttons-layout .card .buttons {
    margin-top: 0px;
}

.buttons-for-modal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    width: 100%;
}

.buttons-for-modal-margin {
    margin-top: 20px;
}

.right-buttons-actions {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.column-class {
    margin-left: 50px;
}

.user-info-data:nth-child(1) {
    width: 40%;
}

.user-info-data:nth-child(2) {
    width: 50%;
}

.user-info-row {
    display: flex;
    flex-direction: row;
    border: none;
    border-radius: 10px;
    justify-content: space-between;
    height: 40px;
    padding: 7px 0px 0px 15px
}

.action-buttons-disabled .grid-button.disabled,
.grid-button.enabled {
    display: flex;
}

.action-buttons-disabled .grid-button.enabled,
.grid-button.disabled {
    display: none;
}

.action-buttons-disabled .grid-button.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .user-info-row {
        flex-direction: column;
        height: fit-content;
        min-height: 62px;
        padding: 10px 12px;
    }

    .user-info-data:nth-child(2) {
        width: 100%;
    }

    .user-info-data:nth-child(1) {
        width: 100%;
    }
}

.user-info-row:nth-child(even) {
    background-color: #F7F7F7;
}

.user-info-row div {
    word-wrap: break-word;
}

    .user-info-row div:nth-child(1) {
        width: 60%;
    }

    .user-info-row div:nth-child(2) {
        width: 40%;
    }

.regular-table,
.inverse-table,
.regular-table-no-first-child-width{
    height: 40px;
    width: 100%;
}

    .regular-table tr td:first-child,
    .inverse-table tr td:first-child {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        width: 20%;
    }

    .regular-table-no-first-child-width {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .regular-table tr td:last-child,
    .inverse-table tr td:last-child,
    .regular-table-no-first-child-width tr td:last-child {
        border-bottom-right-radius: 12px;
        border-top-right-radius: 12px;
        width: 100%;
    }

    .regular-table tr td,
    .inverse-table tr td{
        padding: 8px 20px;
    }

    .regular-table-no-first-child-width tr td {
        padding: 8px 5px;
    }

    .regular-table tr:nth-child(odd),
    .regular-table-no-first-child-width tr:nth-child(odd) {
        background-color: #FFFFFF;
    }

    .regular-table tr:nth-child(even),
    .regular-table-no-first-child-width tr:nth-child(even) {
        background-color: #F7F7F7F7;
    }

    .inverse-table tr:nth-child(odd) {
        background-color: #F7F7F7F7;
    }

    .inverse-table tr:nth-child(even) {
        background-color: #FFFFFF;
    }

.table-user-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 80px;
}

.table-user-info-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 80px;
}

    .table-user-info table tr label {
        white-space: nowrap;
    }

@media screen and (max-width: 1100px) {
    .split-page-container .buttons {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 768px) {
    .table-user-info {
        flex-direction: column;
        gap: 0px;
    }

    .regular-table td,
    .inverse-table td,
    .regular-table-no-first-child-width td{
        display: block;
        width: 100%;
    }

    .regular-table tr,
    .inverse-table tr,
    .regular-table-no-first-child-width tr{
        min-height: 62px;
        border-radius: 12px;
    }

        .regular-table tr td,
        .inverse-table tr td,
        .regular-table-no-first-child-width td{
            padding: 0 10px;
        }

            .regular-table tr td:first-child,
            .inverse-table tr td:first-child,
            .regular-table-no-first-child-width tr td:first-child {
                padding-top: 7px;
            }

            .regular-table tr td:last-child,
            .inverse-table tr td:last-child,
            .regular-table-no-first-child-width tr td:last-child {
                padding-bottom: 7px;
            }
}
