.clients-section {
    height: 100%;
    margin: 24px;
    display: flex;
    gap: 13px;
}

    .clients-section .clients-card {
        border-radius: 10px;
        background: rgba(0, 21, 34, 0.40);
        box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.09);
    }

    .clients-section .clients-details {
        width: 420px;
        max-height: calc(100vh - 118px);
        padding: 31px 15px;
    }

.clients-details .product-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .clients-details .product-title h3 {
        color: #FFFFFF;
        font-family: Ubuntu-Medium;
        font-size: 20px;
        font-weight: 500;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 300px;
    }

    .clients-details .product-title .back {
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        margin-right: 5px;
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        background: rgba(0, 21, 34, 0.7);
    }

.clients-details .clients-list {
    margin-top: 32px;
}

.clients-list .clients-topbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.clients-topbar .clients-topbar-brand {
    font-family: Ubuntu-Regular;
    font-size: 20px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0em;
    text-align: left;
}

.clients-topbar .clients-topbar-actions a {
    font-family: Ubuntu-Regular;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
    color: #074AF8;
    text-transform: uppercase;
}

.clients-list .clients-controls {
    margin-top: 17px;
}

.clients-list.scroll_bar table {
    display: block;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}
.clients-list.scroll_bar .clients-items thead {
    position: sticky;
    top: 0px;
    background: #001d2f;
}
.clients-list.scroll_bar .clients-items {
    max-height: calc(100vh - 320px);
}
.clients-list .clients-items {
    margin-top: 20px;
    overflow-y: auto;
    max-height: 700px;
}


    .clients-list .clients-items::-webkit-scrollbar,
    .licenses-list .licenses-items::-webkit-scrollbar {
        width: 14px;
    }

    .clients-list .clients-items::-webkit-scrollbar-thumb,
    .licenses-list .licenses-items::-webkit-scrollbar-thumb {
        border: 4px solid rgba(0, 0, 0, 0);
        background-clip: padding-box;
        border-radius: 9999px;
        background-color: rgba(255, 255, 255, 0.05);
    }

.clients-section .licenses-list {
    width: 100%;
    max-height: calc(100vh - 118px);
    padding: 31px 24px;
}

.licenses-list .licenses-items {
    margin-top: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 350px);
}

.licenses-list .clients-items-empty {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.licenses-list .licenses-items-empty {
    display: flex;
    width: 100%;
    height: 75%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

    .licenses-list .licenses-items-empty h3,
    .licenses-list .clients-items-empty h3 {
        color: rgba(255, 255, 255, 0.87);
        font-family: Ubuntu-Medium;
        font-size: 30px;
        font-weight: 700;
    }

.licenses-list .licenses-client-brand {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.header_navs {
    margin-left: auto;
}

    .header_navs button {
        padding: 0px 10px;
    }


    .licenses-list .licenses-client-brand h1 {
        font-family: Ubuntu-Medium;
        font-size: 26px;
        font-weight: 500;
        line-height: 30px;
        letter-spacing: 0em;
        text-align: left;
        color: #FFFFFF;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 50%;
    }

    .licenses-list .licenses-client-brand .edit {
        cursor: pointer;
        margin-left: 10px;
    }

.licenses-list .licenses-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.licenses-topbar .licenses-topbar-brand {
    color: #FFF;
    font-family: Ubuntu-Medium;
    font-size: 26px;
    font-weight: 500;
}

.licenses-topbar .licenses-topbar-actions {
    display: flex;
    align-items: center;
}

.clients-controls .clients-filter,
.licenses-topbar-actions .licenses-filter {
    height: 40px;
    width: 209px;
    margin-right: 20px;
    font-family: Ubuntu-Regular;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    border-radius: 4px;
    border: none;
    padding-left: 15px;
    padding-right: 17px;
    background: rgba(0, 23, 38, 0.70);
}

.clients-controls .clients-filter {
    width: 100%;
}

.licenses-topbar-actions .filter-container {
    margin-right: 20px;
    cursor: pointer;
    position: relative;
}

    .licenses-topbar-actions .filter-container .filter-card {
        position: absolute;
        top: 40px;
        right: 0;
        width: 349px;
        height: 285px;
        border-radius: 4px;
        padding: 24px 27px;
        background: #001726;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        z-index: 999;
    }

.filter-card .status-filter {
    margin-bottom: 28px;
}

.status-filter h5,
.validity-filter h5 {
    font-family: Ubuntu-Regular;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    margin-bottom: 14px;
}

.status-filter .status-filter-checkboxes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .status-filter .status-filter-checkboxes span {
        display: flex;
        flex-direction: row;
    }

.status-filter-checkboxes span label {
    cursor: pointer;
}

.validity-filter .validity-filter-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 53px;
    font-family: Ubuntu-Regular;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    color: #074AF8;
    text-transform: uppercase;
}

.licenses-topbar-actions a {
    font-family: Ubuntu-Medium;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-transform: uppercase;
    color: #074AF8;
}

.licenses-filter.search,
.clients-filter.search {
    padding-right: 42px;
    background-image: url(../../svg/search.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 13px) center;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
}

    /*
.clients-table {
    width: 100%;
    border-collapse: separate; // border space appears
}

.clients-table th {
    position: sticky;
    top: 0;
    // need to find color, because it's transparent in figma
}*/

    .clients-table thead tr th {
        font-family: Ubuntu-Regular;
        font-size: 13px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0em;
        text-align: left;
        color: #BDBDBD;
        border-bottom: 1px solid #BDBDBD;
        padding-bottom: 6px;
    }

        .clients-table thead tr th:nth-child(1) {
            width: 50%;
        }

        .clients-table thead tr th:nth-child(2) {
            width: 50%;
        }

    .clients-table tbody:before {
        content: "lol";
        display: block;
        line-height: 5px;
        text-indent: -99999px;
    }

    .clients-table tbody tr {
        height: 62px;
        cursor: pointer;
    }

        .clients-table tbody tr td {
            font-size: 15px;
        }

            .clients-table tbody tr td p {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                width: 184px;
            }
                .clients-table tbody tr td p.unwrap, .clients-card.licenses-list td p.unwrap {
                    overflow: unset;
                    white-space: unset;
                    text-overflow: unset;
                    word-break: break-all;
                }
                tr.active p {
                    color: #000;
                }


                .clients-table tbody tr td p.company {
                    color: #828282DE;
                }

            .clients-table thead tr th:first-child,
            .clients-table tbody tr td:first-child {
                padding-left: 8px;
            }

        .clients-table tbody tr.active {
            background: #FFFFFF;
            border-radius: 6px;
        }

            .clients-table tbody tr.active td:first-child {
                border-radius: 6px 0 0 6px;
            }

            .clients-table tbody tr.active td:last-child {
                border-radius: 0 6px 6px 0;
            }

            .clients-table tbody tr.active td p.name,
            .clients-table tbody tr.active td p.email,
            .clients-table tbody tr.active td {
                color: #000000;
            }

.licenses-list .licenses-actions {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 14px;
}

    .licenses-list .licenses-actions p {
        cursor: pointer;
        font-family: Ubuntu-Regular;
        font-size: 12px;
        font-weight: 500;
        line-height: 14px;
        letter-spacing: 0em;
        text-align: left;
        text-transform: uppercase;
        color: #074AF8;
        width: max-content;
    }

.licenses-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 3px;
}

    .licenses-table thead tr th {
        font-family: Ubuntu-Regular;
        font-size: 13px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0em;
        text-align: left;
        color: #BDBDBD;
        padding: 6px;
    }

        .licenses-table thead tr th .sort-icon, .clients-items .sort-icon {
            display: inline-block;
            width: 11px;
            height: 12px;
            cursor: pointer;
            margin-left: 4px;
            margin-top: 2px;
            background: url(../../svg/arrow_sort.svg) 50% 50% no-repeat;
        }

            .licenses-table thead tr th .sort-icon.asc, .clients-items .sort-icon.asc {
                transform: rotate(180deg);
            }

.licenses-items thead {
    position: sticky;
    top: 0;
    z-index: 55;
    background: #001d30;
}

    .licenses-table tbody tr {
        height: 62px;
        background: #001522;
    }

    .licenses-table th:first-child {
        padding-left: 8px;
    }

        .licenses-table th:first-child input {
            margin-right: 8px;
        }

    .licenses-table tbody tr td:first-child {
        width: 350px;
        padding-left: 8px;
    }

    .licenses-table tbody tr td:last-child {
        padding-right: 12px;
    }

    .licenses-table tbody tr td:nth-child(4) {
        max-width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 5px;
    }

    .licenses-table td:first-child {
        border-radius: 6px 0 0 6px;
    }

    .licenses-table td:last-child {
        border-radius: 0 6px 6px 0;
    }

    .licenses-table tbody tr td .name-cell {
        display: flex;
        align-items: center;
        width: 100%;
    }

        .licenses-table tbody tr td .name-cell input {
            margin-right: 12px;
        }

    .licenses-table tbody tr td .datetime-cell {
        display: flex;
        flex-direction: column;
    }

    .licenses-table tbody tr td .license-code h3,
    .licenses-table tbody tr td .license-code span {
        font-family: Ubuntu-Regular;
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0em;
        text-align: left;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 320px;
    }

    .licenses-table tbody tr td .license-code {
        width: 100%;
    }

        .licenses-table tbody tr td .license-code span {
            color: #717577;
        }

    .licenses-table tbody tr td .options-cell {
        cursor: pointer;
        color: #2F80ED;
    }

    .licenses-table tbody tr td .status-cell {
        font-family: Ubuntu-Regular;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
        text-transform: uppercase;
        padding: 4px 8px;
        border-radius: 4px;
        font-size:12px;
    }

        .licenses-table tbody tr td .status-cell.active {
            color: #FFFFFF;
            background: #219653;
        }

        .licenses-table tbody tr td .status-cell.inactive {
            color: #4F4F4F;
            background: #E0E0E0;
        }

        .licenses-table tbody tr td .status-cell.disabled {
            color: #FFFFFF;
            background: #EB5757;
        }

    .licenses-table tbody tr td .activations-cell {

    }

.tab-container {
    display: flex;
    gap: 10px;
}
button.tab.tab_badge {
    position: relative;
}

    button.tab.tab_badge span {
        position: absolute;
        top: -15px;
        right: -4px;
        background: #0133eb;
        font-size: 12px;
        border-radius: 10px;
        padding: 3px 6px;
    }

.tab {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

   
   

    .licenses-table tbody tr td .actions-cell {
        display: flex;
        justify-content: space-between;
        gap: 24px;
        position: relative;
    }

        .licenses-table tbody tr td .actions-cell span {
            cursor: pointer;
        }

.product-administrators-table th {
    padding-left: 17px;
}

.product-administrators-table td {
    padding: 13px 17px;
}

    .product-administrators-table td:first-child {
        border-radius: 6px 0 0 6px;
    }

    .product-administrators-table td:last-child {
        border-radius: 0 6px 6px 0;
    }

.product-administrators-table tbody:before {
    content: 'X';
    display: block;
    line-height: 5px;
    text-indent: -99999px;
}

.product-administrators-table thead tr th {
    background: none;
    border: none;
    font-family: Ubuntu-Regular;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
    color: #BDBDBD;
}

.product-administrators-table tbody tr td .products-cell {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.product-administrators-table tbody tr td .status-cell {
    font-family: Ubuntu-Regular;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
}

    .product-administrators-table tbody tr td .status-cell.active {
        color: #FFFFFF;
        background: #219653;
    }

    .product-administrators-table tbody tr td .status-cell.inactive {
        color: #4F4F4F;
        background: #E0E0E0;
    }

.modal#add-client-modal,
.modal#edit-client-modal {
    height: 545px;
}

.modal#renew-license-modal {
    height: 300px;
}

    .modal#renew-license-modal .modal-form .modal-form-body {
        height: 65%;
    }

.modal#add-license-modal,
.modal#edit-license-group-modal {
    height: 948px;
}

    .modal#add-license-modal .modal-form .modal-form-body,
    .modal#edit-license-group-modal .modal-form .modal-form-body {
        height: 85%;
    }

.modal#edit-license-modal {
    height: 948px;
}

    .modal#edit-license-modal .modal-form .modal-form-body {
        height: 85%;
    }

.modal#license-info-modal {
    height: 376px;
}

    .modal#license-info-modal .license-code span {
        font-family: Ubuntu-Regular;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: 0.17000000178813934px;
        text-align: left;
        color: #717577;
    }


    /****custom modal css*/

.cmn_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgb(0 0 0 / 62%);
}

.cmn_modal-dialog {
    max-width: 500px;
    margin: auto;
    width: 100%;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #002338;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    color: #000;
}

    .modal-body p {
    }

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

    .modal-header h5 {
        font-size: 18px;
    }

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
    gap: 15px;
}

    .modal-footer button {
        padding: 0px 15px;
    }

/*15 jan*/
.licenses-items table, tr.red td {
    border: 1px solid transparent
}

tr.red {
    outline: 1px solid red;
}

tr.yellow {
    outline: 1px solid #FFEB3B;
}
td.action_data {
    width: 50px;
}
.license-code p {
    font-size: 12px;
}
.licenses-table tbody tr td .license-code {
    padding: 10px 0px;
}
@media screen and (max-width: 1630px) {
    .licenses-table tbody tr td:first-child {
        width: 380px;
    }
}

@media screen and (max-width: 1580px) {
    .clients-section .clients-details {
        /*width: 320px;*/
        min-width:320px;
        width:50%;
    }

    .clients-table tbody tr td p {
        width: 125px;
    }
}

@media screen and (max-width: 1680px) {
    .licenses-table tbody tr td:first-child {
        max-width: 200px;
    }

    .licenses-table tbody tr td .name-cell {
        width: 90%;
    }

    .licenses-table tbody tr td .license-code {
       /* overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;*/
        color: #717577;
    }

        .licenses-table tbody tr td .license-code span {
            font-size: 14px
        }

    .licenses-table tbody tr td:nth-child(3),
    .licenses-table tbody tr td:nth-child(4),
    .licenses-table tbody tr td:nth-child(5),
    .licenses-table tbody tr td:nth-child(6),
    .licenses-table tbody tr td:nth-child(7),
    .licenses-table tbody tr td:nth-child(8) {
        width: 50px;
        /*padding-right: 5px;*/
        padding: 5px;
    }

    .licenses-table thead tr th:nth-child(4),
    .licenses-table thead tr th:nth-child(5),
    .licenses-table thead tr th:nth-child(6),
    .licenses-table thead tr th:nth-child(7),
    .licenses-table thead tr th:nth-child(8) {
        padding-right: 5px;
    }
}

@media screen and (max-width: 1230px) {
    .licenses-table tbody tr td:first-child {
        max-width: 150px;
    }

    .licenses-table tbody tr td .license-code h3, .licenses-table tbody tr td .license-code span {
        font-size: 14px;
    }

    .licenses-table thead tr th {
        font-size: 10px;
    }

    .licenses-table tbody tr td:nth-child(3),
    .licenses-table tbody tr td:nth-child(4),
    .licenses-table tbody tr td:nth-child(5),
    .licenses-table tbody tr td:nth-child(6),
    .licenses-table tbody tr td:nth-child(7),
    .licenses-table tbody tr td:nth-child(8) {
        width: 50px;
        padding-right: 10px;
    }

    .licenses-table thead tr th:nth-child(4),
    .licenses-table thead tr th:nth-child(5),
    .licenses-table thead tr th:nth-child(6),
    .licenses-table thead tr th:nth-child(7),
    .licenses-table thead tr th:nth-child(8) {
        padding-right: 10px;
    }

    .licenses-table tbody tr td {
        font-size: 14px;
    }

    .clients-section .clients-details {
        width: 240px;
    }

    .clients-table tbody tr td p {
        width: 95px;
        font-size: 14px;
    }
}
