@import "../../../utils/theme/colorVariable.scss";
.pagemain {
    height: calc(100% - 81px);
    overflow: auto;
    scrollbar-width: thin;
    // scrollbar-color: #343560 #090f2f;
}

.select-company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    border-bottom: 1px solid $Black;
    padding-bottom: 30px;
}

.select-company2 {
    border: none;
    padding: 0;
}

.page-footer {
    // border-bottom: 1px solid $Black;
    // padding-bottom: 30px;
    margin-bottom: 20px;
}

select {
    background: $White;
    border: 1px solid $Black;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    color: $Black;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

input {
    background: $White;
    border: 1px solid $Black;
    border-radius: 4px;
    padding: 10px;
    width: calc(100% - 20px);
    color: $Black;
    margin: 15px 0;
}

.select-box {
    position: relative;
    width: 48% !important;
    margin: 15px 0;
    span {
        position: absolute;
        top: 18px;
        right: 20px;
        content: "";
        border-color: #000 #0000 #0000;
        border-style: solid;
        border-width: 5px 5px 2.5px;
    }
}

label {
    display: block;
    color: $Black;
    font-size: 15px;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 5px;
}

.select-box2 {
    width: 100% !important;
}

.check-app {
    label {
        margin: 0;
    }
}

.search-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    span {
        display: block;
        color: $Black;
        font-size: 17px;
        font-weight: 500;
    }
    .search-wrap {
        width: 30%;
        input {
            // border-radius: 30px;
            width: calc(100% - 50px);
            padding: 10px 40px 10px 10px;
            border-radius: 0px;
            color: $searchText;
            background-color: $searchBg;
            border: 1px solid $searchText;
        }
    }
}

.footer-div {
    position: fixed;
    right: 0;
    bottom: 0;
    width: calc(100% - 298px);
    padding: 20px;
    border-top: 1px solid $Black;
    background: $White;
    text-align: end;
    button {
        background: none;
        color: $Black;
        border: 1px solid $Black;
        padding: 10px;
        min-width: 110px;
        // border-radius: 30px;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.5px;
        cursor: pointer;
        margin-right: 20px;
        &:last-child {
            background: $Pink;
            color: $White;
            border: 1px solid transparent;
        }
        &:disabled {
            cursor: not-allowed;
        }
    }
}

.container {
    display: block;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: -8px;
    left: 0;
    height: 15px;
    width: 15px;
    border: 1px solid $Black;
    border-radius: 5px;
}

/* When the checkbox is checked, add a blue background */

.container input:checked ~ .checkmark {
    background: $Pink;
    border: 1px solid transparent;
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */

.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */

.container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

tr.mat-header-row th:nth-child(2) {
    text-align: start !important;
}

.search-icon {
    position: relative;
    margin: 0;
    width: 100%;
    span {
        position: absolute;
        right: 11px;
        top: 24px;
        color: #989898;
    }
}

.ckdiv {
    position: relative;
    .ckfull {
        position: absolute;
        right: 44px;
        top: 5px;
        z-index: 1;
        color: #968fd0;
        font-size: 19px;
        cursor: pointer;
        padding: 6px 4px;
        border-radius: 3px;
        &:hover {
            background: #e6e6e6;
        }
    }
}

.not-confirm {
    color: red;
}

.confirm {
    color: green;
}
::ng-deep .mat-paginator-container {
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    .mat-icon-button {
    background: $paginationBtnBg !important;
    border-radius: 5px !important;
    border: 1px solid $paginationBtnBorder !important;
    margin: 0 5px !important;
    cursor: pointer;
    color: $paginationBtnText !important;

        &:hover {
      border: 1px solid $PaginationBtnHover !important;
      color: $PaginationBtnHover !important;
    }
    }

    .mat-paginator-page-size-label {
    color: $paginationText !important;
    font-size: 14px !important;
  }

    .mat-paginator-range-label {
        color: $paginationNo;
        width: 140px;
        font-size: 14px !important;
    }
}
::ng-deep .web-templete {
    display: flex;
    justify-content: center;
    width: 700px;
    margin: auto;
    table {
        tbody {
            tr {
                td {
                    table {
                        &:nth-child(2) {
                            width: 90%;
                        }
                    }
                }
            }
        }
    }
}
