@charset "UTF-8";

.login-body {
    position: relative;
    height: 100vh;
}

.login-body .login-block {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.login-body .login-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
.login-body .login-text {
    margin-bottom: 30px;
    text-align: center;
}
.login-body .login-box {
    width: 400px;
    padding: 24px;
    box-sizing: border-box;
    border-radius: .75rem;
    background-color: #ffffff;
}
.login-body .
.login-body .

.login-body .

#side-menu .btn-menu {
    display: none;
}

#login-name-head {
    height: 60px;
}

#login-name-head .login-name {
    margin-left: auto;
}

#main-content {
    width: calc(100vw - 255px);
    height: calc(100% - 60px);
    box-sizing: border-box;
}

.table-div-top {
    min-width: 850px;
    width: 100%;
}
.table-div-head {
    display: flex;
}
.table-div-head-item {
    display: block;
    padding: 16px;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
}
.table-div-link {
    display: flex;
    transition: opacity .3s;
}
.table-div-link:hover {
    background-color: #f9fafb;
}
.table-div-body-item {
    display: block;
    padding: 16px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;
}
.table-div-body-item .status-button {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background-color: #fee2e2;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #991b1b;
}
.table-div-body-item .status-button.is-active {
    background-color: #dcfce7;
    color: #166534;
}
.table-div-top .table-div-head-item:nth-child(1) {
    width: 160px;
}
.table-div-top .table-div-head-item:nth-child(2) {
    width: 190px;
}
.table-div-top .table-div-head-item:nth-child(3) {
    width: calc(100% - 350px);
}
.table-div-top .table-div-body-item:nth-child(1) {
    width: 160px;
}
.table-div-top .table-div-body-item:nth-child(2) {
    width: 190px;
}
.table-div-top .table-div-body-item:nth-child(3) {
    width: calc(100% - 350px);
}
.table-div-list-property {
    min-width: 880px;
    width: 100%;
}
.table-div-list-property .table-div-head-item:nth-child(1) {
    width: 250px;
}
.table-div-list-property .table-div-head-item:nth-child(2) {
    width: 300px;
}
.table-div-list-property .table-div-head-item:nth-child(3) {
    width: 100px;
}
.table-div-list-property .table-div-head-item:nth-child(4) {
    width: 80px;
}
.table-div-list-property .table-div-head-item:nth-child(5) {
    width: 150px;
}
.table-div-list-property .table-div-body-item:nth-child(1) {
    width: 250px;
}
.table-div-list-property .table-div-body-item:nth-child(2) {
    width: 300px;
}
.table-div-list-property .table-div-body-item:nth-child(3) {
    width: 100px;
}
.table-div-list-property .table-div-body-item:nth-child(4) {
    width: 80px;
}
.table-div-list-property .table-div-body-item:nth-child(5) {
    width: 150px;
}


.add-terms-box {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.add-terms-box.is-active {
    position: relative;
    z-index: 1000;
}
.add-terms-box .add-terms-button-outer {
    position: relative;
}
.add-terms-box .add-terms-button {
    display: block;
}
.add-terms-box .add-table-box {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 250px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: .75rem;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,.08);
    transition: opacity .3s;
    opacity: 0;
    pointer-events: none;
}
.add-terms-box .add-table-box.is-active {
    opacity: 1;
    pointer-events: auto;
}
.add-terms-box .add-table-box:before {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    display: block;
    border-style: solid;
    border-width: 0 5px 10px;
    border-color:  transparent transparent #ffffff;
}
.add-terms-box .add-table-box-input {
    width: calc(100% - 28px);
}
.add-terms-box .add-figure-box {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 500px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: .75rem;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(0,0,0,.08);
    transition: opacity .3s;
    opacity: 0;
    pointer-events: none;
}
.add-terms-box .add-figure-box.is-active {
    opacity: 1;
    pointer-events: auto;
}
.add-terms-box .add-figure-box:before {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    display: block;
    border-style: solid;
    border-width: 0 5px 10px;
    border-color:  transparent transparent #ffffff;
}

.preview-block {
    height: calc(var(--block-height) - 196px);
    overflow-y: auto;
}

.preview-block02 {
    height: calc(var(--block-height) - 216px);
    overflow-y: auto;
}

/*form*/
.form-item-title {
    display: block;
    margin-top: 15px;
    margin-right: 20px;
    width: 120px;
}
.form-box {
    width: calc(100% - 140px);
}

/*ai-chat*/
.ai-chat {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height .3s, margin .3s;
}
.ai-chat.is-active {
    margin-top: 20px;
}
.ai-chat .ai-chat-block {
    padding: 20px;
    box-sizing: border-box;
    height: 300px;
    overflow-y: auto;
}
.ai-chat .ai-chat-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.8);
    box-shadow: 7px 0 13px rgba(0, 0, 0, 0.08);
}
.ai-chat .ai-chat-close:before,
.ai-chat .ai-chat-close:after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 15px;
    width: 20px;
    height: 2px;
    background-color: #000000;
}
.ai-chat .ai-chat-close:before {
    transform: rotate(45deg);
}
.ai-chat .ai-chat-close:after {
    transform: rotate(-45deg);
}

.bg-filter {
    transition: opacity .3s;
    opacity: 0;
    z-index: -1;
}
.bg-filter.is-active {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.6);
    opacity: 1;
    z-index: 9999;
}

@media screen and (max-width: 959px) {
    #page-wrapper {
        display: block;
    }
    
    #side-menu {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-right: 20px;
        box-sizing: border-box;
        z-index: 10000;
    }
    
    #side-menu .btn-menu {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    
    #side-menu .btn-menu-inner {
        position: relative;
        display: block;
        width: 26px;
        height: 2px;
        background-color: #000000;
    }
    
    #side-menu .btn-menu-inner:before,
    #side-menu .btn-menu-inner:after {
        content: "";
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #000000;
    }
    
    #side-menu .btn-menu-inner:before {
        top: -8px;
    }
    
    #side-menu .btn-menu-inner:after {
        bottom: -8px;
    }
    
    #side-menu .btn-menu.is-active .btn-menu-inner {
        background-color: transparent;
    }
    
    #side-menu .btn-menu.is-active .btn-menu-inner:before {
        top: 0;
        transform: rotate(45deg);
    }
    
    #side-menu .btn-menu.is-active .btn-menu-inner:after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    #side-menu .nav-outer {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: #ffffff;
        transition: height .3s;
        z-index: 10000;
    }
    
    
    #login-name-head {
        height: 40px;
        border-bottom: none;
        border-top: rgb(229 231 235 / var(--tw-border-opacity, 1)) solid 1px;
    }
    
    .bg-filter {
        transition: opacity .3s;
        opacity: 0;
        z-index: -1;
    }
    .bg-filter.is-active {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,.6);
        opacity: 1;
        z-index: 9999;
    }
    
    #main-content {
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .preview-block {
        height: calc(var(--block-height) - 252px);
    }

    .preview-block {
        height: calc(var(--block-height) - 264px);
    }

    /*form*/
    .form-item-title {
        margin-right: 0;
        width: 100%;
    }
    .form-box {
        width: 100%;
    }
    
    /*元CSS*/
    .text-3xl {
        font-size: 24px !important;
    }
}



@media screen and (max-width: 639px) {

    .filter-block {
        flex-wrap: wrap;
    }
}