[data-ai-loading-layer]{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.45);
    z-index: 9999;
}

[data-ai-loading-layer].is_active{
    display: flex;
}

.ai_loading_box{
    min-width: 320px;
    max-width: 420px;
    padding: 28px 32px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.ai_loading_spinner{
    width: 42px;
    height: 42px;
    margin: 0 auto 18px;
    border: 4px solid #dbe3f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: aiLoadingSpin 0.8s linear infinite;
}

.ai_loading_step{
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.ai_loading_message{
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

@keyframes aiLoadingSpin{
    from{
        transform: rotate(0deg);
    }

    to{
        transform: rotate(360deg);
    }
}

.ai_button{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-content: center;
    justify-content: center;
    align-items: center;

    &.m_button{ height: 37px; }

    /* &::after{ content: 'AI 작성'; } */

    & .icon{
        height: 22px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;

        /* & > img{
            height: 70%; 
            width: auto; 
            object-fit: contain; 
            flex-shrink: 0;
        } */
    }

    & img[src="/img_work/icon_faq.png"]{ margin-bottom: -3px !important; }
}