/* You can add global styles to this file, and also import other style files */
@import "~ng-zorro-antd/style/index.min.css";
@import "~ng-zorro-antd/form/style/index.min.css";
@import "~ng-zorro-antd/icon/style/index.min.css";
@import "~ng-zorro-antd/input/style/index.min.css";
@import "~ng-zorro-antd/checkbox/style/index.min.css";
@import "~ng-zorro-antd/button/style/index.min.css";
@import "~ng-zorro-antd/select/style/index.min.css";
@import "~ng-zorro-antd/dropdown/style/index.min.css";
@import "~ng-zorro-antd/tooltip/style/index.min.css";
@import "~ng-zorro-antd/badge/style/index.min.css";

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
    min-width: 102.4rem;
    overflow-y: hidden;
}

.prefixSelect {
    text-align: left;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 6rem;
        height: 5rem;
        display: block;
        background-size: 2.8rem 2.8rem;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }
    &.roleSwitch::before {
        background-image: url(assets/icons/role-switch.svg);
    }
    &.projSwitch::before {
        background-image: url(assets/icons/proj-switch.svg);
    }
    .ant-select-selector {
        height: 5rem !important;
        padding-left: 6rem !important;
        border-radius: 1rem !important;
        border: 0 !important;
        box-shadow: 0 0.4rem 1rem 0 #70707080;
        .ant-select-selection-search {
            left: 6rem;
            .ant-select-selection-search-input {
                height: 5rem !important;

            }
        }
        .ant-select-selection-item,
        .ant-select-selection-placeholder {
            line-height: 5rem !important;
        }
        .ant-select-selection-item {
            .label-main {
                line-height: 2rem !important;
                padding-top: 0.5rem;
            }
            .label-child {
                line-height: 2rem !important;
                font-size: 1.2rem;
                font-family: Helvetica;
                font-weight: 100;
                color: #b3b3b3;
            }
        }
    }
}

.login-select{
    .ant-select-item-option {
        &:not(:last-child) {
            border-bottom: 0.1rem solid #ccc;
        }
    }
    .option-manage {
        font-weight: 100;
    }
    .option-des {
        font-weight: 100;
        color: #bbb;
        white-space: initial;
        padding-bottom: 0.5rem;
    }
}

nz-header {
    padding: 0 2.5rem;
}

nz-content {
    height: calc(100% - 6.4rem);
    background: #fff;
}
