/**
 * 이 파일은 영업관리모듈의 일부입니다. (https://www.imodules.io)
 *
 * 영업관리모듈관리 패널을 정의한다.
 *
 * @file /modules/naddle/sales/admin/styles/Admin.ts
 * @author sungjin <esung246@naddle.net>
 * @license MIT License
 * @modified 2026. 8. 10.
 */
span.ACTIVE,
span.EXTENDABLE,
span.EXPIRED,
span.PENDDING {
    position: relative;
    display: inline-block;
    padding-left: 14px;
}

span.ACTIVE::before,
span.EXTENDABLE::before,
span.EXPIRED::before,
span.PENDDING::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}

span.ACTIVE::before {
    background-color: #00bb00;
}

span.EXTENDABLE::before {
    background-color: #a400ff;
}

span.EXPIRED::before {
    background-color: #dc3545;
}

span.PENDDING::before {
    background-color: #999999;
}

aui-component[data-type='panel'][data-variant='tab'][data-name='Orders'] {
    aui-component[data-type='panel'][data-variant='grid'] {
        div[data-model='table'][data-role='body'] {
            div[data-model='table'][data-role='column'] {
                > div.types {
                    > label {
                        display: inline-block;
                        width: var(--aui-font-size-extra-large);
                        margin-right: var(--aui-component-inset);
                        text-align: center;
                        border-radius: var(--aui-component-inset);
                        color: var(--aui-white-primary);
                        font-weight: 900;

                        &.REVIEW {
                            background: #e3f2fd;
                            color: var(--aui-black-secondary);
                            border: 0.5px solid var(--aui-black-tertiary);
                        }

                        &.INTRO {
                            background: #bbdefb;
                            color: var(--aui-black-secondary);
                        }

                        &.DELIVERY {
                            background: #90caf9;
                            color: var(--aui-black-secondary);
                        }

                        &.BIDDING {
                            background: #64b5f6;
                        }

                        &.PROGRESS {
                            background: #42a5f5;
                        }

                        &.CONTRACT_COMPLETED {
                            background: #187ccb;
                        }

                        &.BUSINESS_COMPLETED {
                            background: #1565c0;
                        }

                        &.HOLD {
                            background: #a1a1a1;
                        }

                        &.LOST {
                            background: #795548;
                        }

                        &.CANCELED {
                            background: #636363;
                        }

                        &.BUILD {
                            background: #4caf50;
                        }

                        &.ADDITIONAL_DEV {
                            background: #2196f3;
                        }

                        &.CLOUD {
                            background: #ff9800;
                        }

                        &.MAINTENANCE {
                            background: #9c27b0;
                        }

                        &.LICENSE {
                            background: #607d8b;
                        }

                        &.OUTSOURCED_OPERATION {
                            background: #ffc107;
                        }

                        &.RESEARCH_CONTRACT {
                            background: #00bcd4;
                        }

                        &.HW_EQUIPMENT {
                            background: #3f51b5;
                        }

                        &.LOST {
                            background: #795548;
                        }

                        &.OTHER_SERVICE {
                            background: #ff0000;
                        }
                    }
                }
            }
        }
    }
}
