.scroll-bar {
    display: block;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 80vh;
    scrollbar-width: thin;
    border-radius: 6px;
}

.trace-div {
    width: 100%;
    margin-top: 20px;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.checkboxstyle {
    padding-left: 5px;
    padding-right: 10px;
    font-size: 16px;
}

.checkbox-div {
    margin-left: 10px;
}

.Search-Bar {
    border: 2px solid var(--border-subtle);
    height: 36px;
    width: 390px;
    // border-radius: 136px;
    border-radius: 14px;
    position: relative;
    margin-left: 25px;
    align-items: center;
    background-color: var(--bg-surface);
}

.icon-container {
    margin: 12px;
}

.search-icon {
    color: var(--button-secondary-text-disabled);
    margin-bottom: 7px;
    font-size: 24px;
    cursor: pointer;
    width: 24px !important;
    height: 24px !important;
}

.search-input {
    position: absolute;
    top: 16%;
    font-size: 16px;
    left: 10px;
    outline: none;
    width: 85%;
    height: 70%;
    background-color: var(--bg-surface);
    color: var(--field-text-default);
}

.icon-container-right {
    float: right;
    margin: 12px;
    display: flex;
    align-items: center;
    height: 24px;
}

.item-div {
    width: 100%;
    margin-top: 15px;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.table-cointainer {
    width: 100%;
    margin-top: 10px;
    margin-left: 10px;
    display: flex;
}

.tabs {
    width: calc(100% - 200px);
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    margin-left: -220px;
    height: 48px;
    align-items: center;
    width: 250px;
}

.table-div {
    width: 100%;
    margin-top: 15px;
    position: relative;
}

table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    height: 40px;
    width: 100%;
}

th {
    height: 42px;
    padding-right: 10px;
    padding-left: 10px;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: 'Helvetica Neue';
    font-size: 14px;
    position: relative;
}

tbody {
    border: 1px solid var(--border-subtle);
    border-collapse: separate;
    background-color: var(--bg-surface);
}

thead {
    height: 42px;
    background-color: var(--bg-subtle);
}

td {
    height: 40px;
    font-family: 'Helvetica Neue';
    font-size: 14px;
}

.right-align {
    text-align: right;
}

.left-align {
    text-align: left;
}

.pointer-cursor {
    cursor: pointer;
}

.default-cursor {
    cursor: default;
}

.trace-data {
    padding-right: 10px;
    padding-left: 10px;
    color: var(--text-primary);
}

.heading-div {
    justify-content: center;
    align-items: center;
    max-height: 26px;
    min-height: 26px;
}

.drilldown-display {
    display: inline-flex;
}

.mat-styles {
    max-height: 26px;
    min-height: 26px;
}

.bold-label {
    font-weight: 700;
    padding-left: 20px;
}

.label-bold {
    font-weight: 700;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

.dropdown-btn mat-icon {
    transition: transform 0.3s ease;
}

.rotated {
    transform: rotate(90deg);
}

.attachment-pill {
    background-color: var(--field-bg-disabled);
    border-radius: 16px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    max-width: 100px;
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1;
    justify-content: center;
}

.attachment-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    display: inline-block;
    max-width: 100%;
}

.type-style {
    font-weight: bold;
}

.radio-display {
    display: inline-flex;
}

.radio-div {
    display: flex;
    // margin-left: 100px;
    margin-left: 55px;
    align-items: center;
    font-size: 16px;
}

.material-code {
    width: 175px;
}

.stock-attachment {
    width: 230px;
}

.stock-qty {
    width: 150px;
}

.level-width {
    width: 50px;
}

.uom-qty-width {
    width: 80px;
}

.date-width {
    width: 90px;
}

.wo-width {
    width: 190px;
}

.pr-name-width {
    width: 170px;
}

.trace-checkbox {
    display: flex;
    width: 30%;
}

.picklist-margin {
    margin-right: 24px;
}

.matgroup-div {
    width: 100%;
}

.maticon-height {
    height: 24px;
}

.custom-cell {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}










// tab style
::ng-deep .mat-tab-group {
    border-bottom: 2px solid #ccc;
}

::ng-deep .mat-mdc-tab-header {
    width: 800px;
}

::ng-deep .mat-tab-labels {
    background-color: #f5f4ff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0 8px;
    height: 32px;
    align-items: center;
    display: flex;
    gap: 4px;
}

::ng-deep .mat-tab-label {
    min-width: auto;
    max-width: 120px;
    padding: 0 5px;
    height: 32px;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    line-height: 32px;
    color: #5e5e5e;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

::ng-deep .mat-tab-label:hover {
    background-color: #e8e6ff !important;
}

::ng-deep .mat-tab-label-active {
    color: var(--mat-sys-background) !important;
    background-color: white;
    border: 2px solid #d3ccff;
    border-bottom: none;
    font-weight: 600;
    height: 32px;
}

::ng-deep .mat-ink-bar {
    background-color: var(--mat-sys-background) !important;
    height: 3px;
    border-radius: 2px;
    margin-top: -3px;
}

::ng-deep .mdc-tab {
    padding: 0px 10px !important;
    min-width: auto !important;
}

::ng-deep .mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
    color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-tab .mdc-tab-indicator__content--underline {
    border-color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label {
    color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline {
    border-color: var(--action-primary-default) !important;
}

// radio style
::ng-deep .mat-mdc-radio-button.mat-accent {
    --mat-radio-checked-ripple-color: none;
}

::ng-deep.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,
.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before {
    background-color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,
.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle {
    border-color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle {
    border-color: var(--action-primary-default) !important
}

::ng-deep .mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,
.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before {
    background-color: var(--action-primary-default) !important;
}

::ng-deep.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,
.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before {
    background-color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle {
    border-color: var(--action-primary-default) !important;
    opacity: 1 !important;
}

::ng-deep.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,
.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle {
    border-color: var(--action-primary-default) !important;
    opacity: 1 !important;
}

::ng-deep.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,
.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle {
    border-color: var(--action-primary-default) !important;
    opacity: 1 !important;
}

::ng-deep .mat-mdc-radio-button .mdc-radio--disabled+label {
    color: var(--mat-sys-inverse-surface) !important;
}

::ng-deep .mat-internal-form-field>label {
    color: var(--mat-sys-inverse-surface) !important;
}

::ng-deep .mat-internal-form-field>label {
    font-size: 16px;
    height: 40px;
    padding-left: 0px !important;
    padding-right: 10px !important;
}

::ng-deep .mat-mdc-radio-button .mdc-form-field {
    align-items: center;
    display: inline-flex;
}

::ng-deep .mat-mdc-radio-button .mdc-label {
    line-height: normal;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle {
    background-color: var(--action-primary-default) !important;
}

::ng-deep .mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle {
    transform: scale(0.7) translate(0%, 0%) !important;
    transform-origin: center center !important;
}