#anlab-popup-container {
    z-index: calc(infinity) !important;
}
.anlab-popup-wrapper {
    display: none; 
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex; 
    justify-content: center;
    align-items: center;
}
body.prompt-open {
    overflow: hidden !important;
}
body.prompt-open .anlab-popup-wrapper.anlab-popup-active-popup {
     
}
.anlab-popup-wrapper .anlab-popup-content {
    position: relative; 
    background: white;
    border-radius: 0px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: var(--anlab-popup-max-w, 90%);
    max-height: 90vh;
}
.anlab-popup-wrapper .anlab-popup-body {
    overflow: hidden; 
    border-radius: 0px; 
}
.anlab-popup-wrapper .anlab-popup-body img {
    width: 100% !important;
}
.anlab-popup-wrapper .anlab-popup-inner {
    display: block; 
    max-width: 100%; 
}

.anlab-popup-wrapper .anlab-popup-inner img {
    display: block;
    width: 100%; 
    height: auto;
    max-width: 100%; 
    border-radius: 0px; 
}
.anlab-popup-wrapper .anlab-popup-placeholder {
    padding: 60px 40px;
    background: #f5f5f5;
    text-align: center;
    color: #666;
    min-width: 300px;
    border-radius: 0px;
}
.anlab-popup-wrapper .anlab-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent !important;
    color: black !important;
    border: none !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 10; 
    transition: background-color 0.2s;
}
.anlab-popup-wrapper .prompt_notoday {
    display: block; 
    margin: 10px auto; 
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: none !important;
    border-radius: 0px;
    color: #333;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    transition: background-color 0.2s;
}
.anlab-popup-wrapper .prompt_notoday:hover {
    background-color: #e0e0e0;
}

.prompt_modal_controller {
    display: flex !important;
    justify-content: space-between;
    background-color: transparent;
    background-color: black !important;
    padding-inline: 10px !important;
    border: 0px !important;
    
    * {
        background-color: transparent !important;
        color: white !important;
        cursor: pointer !important;
        margin: 0px !important;
        font-size: 14px !important;
        padding: 0px !important;
    }
    .prompt_close {
        display: block !important;
        margin-top: 4px !important;
        font-weight: 500;
        border: none !important;
    }
}
.consulting_banner,
.set {
    z-index: 9999 !important; 
}
@media only screen and (max-width: 767px) {
    .anlab-popup-wrapper .anlab-popup-content {
        width: var(--anlab-popup-instance-w-mobile, auto);
        max-width: var(--anlab-popup-instance-w-mobile, 90vw);
        max-height: 95vh;
    }

    .anlab-popup-wrapper .anlab-popup-inner {
        
    }

    .anlab-popup-wrapper .anlab-popup-inner img {
        
    }

    .anlab-popup-wrapper .anlab-popup-placeholder {
        padding: 40px 20px;
        min-width: auto;
    }

    .anlab-popup-wrapper .anlab-popup-close {
        top: 0;
        right: 0;
        width: 25px;
        height: 25px;
        font-size: 16px;
        line-height: 25px;
    }
    .anlab-popup-wrapper .prompt_notoday {
        font-size: 12px;
        padding: 6px 10px;
    }
}
@media only screen and (min-width: 1200px) {
    
    #anlab-popup-container {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px;
        pointer-events: none; 
    }
    #anlab-popup-container .anlab-popup-wrapper {
        position: static;
        inset: auto;
        
        z-index: auto; 
        pointer-events: none;
    }
    #anlab-popup-container .anlab-popup-content {
        width: var(--anlab-popup-instance-w-desktop, auto);
        max-width: var(--anlab-popup-instance-w-desktop, min(600px, var(--anlab-popup-max-w, 600px)));
        pointer-events: auto; 
    }
    #anlab-popup-container[data-visible-count="1"] { --anlab-popup-max-w: 600px; }
    #anlab-popup-container[data-visible-count="2"] { --anlab-popup-max-w: 35vw; }
    #anlab-popup-container[data-visible-count="3"] { --anlab-popup-max-w: 27vw; }
    #anlab-popup-container[data-visible-count="4"] { --anlab-popup-max-w: 22vw; }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    #anlab-popup-container {
        position: fixed;
        inset: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        align-content: center;
        gap: 20px;
        padding: 20px;
        pointer-events: none;
    }

    #anlab-popup-container .anlab-popup-wrapper {
        position: static;
        inset: auto;
        
        z-index: auto;
        pointer-events: none;
    }
    #anlab-popup-container .anlab-popup-content {
        width: var(--anlab-popup-instance-w-tablet, auto);
        max-width: var(--anlab-popup-instance-w-tablet, min(40vw, var(--anlab-popup-max-w, 40vw)));
        pointer-events: auto;
    }
    #anlab-popup-container[data-visible-count="1"] { --anlab-popup-max-w: 40vw; }
    #anlab-popup-container[data-visible-count="2"] { --anlab-popup-max-w: 40vw; }
    #anlab-popup-container[data-visible-count="3"] { --anlab-popup-max-w: 40vw; }
    #anlab-popup-container[data-visible-count="4"] { --anlab-popup-max-w: 40vw; }
}
@media only screen and (max-width: 767px) {
    .anlab-popup-wrapper:nth-child(1) .anlab-popup-content { --popup-i: 0; }
    .anlab-popup-wrapper:nth-child(2) .anlab-popup-content { --popup-i: 1; }
    .anlab-popup-wrapper:nth-child(3) .anlab-popup-content { --popup-i: 2; }
    .anlab-popup-wrapper:nth-child(4) .anlab-popup-content { --popup-i: 3; }
    .anlab-popup-wrapper:nth-child(5) .anlab-popup-content { --popup-i: 4; }
    .anlab-popup-wrapper:nth-child(6) .anlab-popup-content { --popup-i: 5; }
    .anlab-popup-wrapper:nth-child(7) .anlab-popup-content { --popup-i: 6; }
    .anlab-popup-wrapper:nth-child(8) .anlab-popup-content { --popup-i: 7; }

    .anlab-popup-wrapper .anlab-popup-content {
        transform: translate(calc(2vw * var(--popup-i, 0)), calc(2vw * var(--popup-i, 0)));
    }
}
#anlab-popup-global-overlay { display: none; }
body.prompt-open #anlab-popup-global-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: calc(infinity) !important;
}
.anlab-popup-wrapper.anlab-popup-active-popup {
    z-index: calc(infinity) !important;
}
