
.junot-ai-search-wrapper{
    max-width:1900px;
    margin:40px auto;
    padding:20px;
}

#junot-ai-search-input{
    width:100%;
    padding:18px;
    border:1px solid;
    font-size:18px;
    margin-bottom:30px;
}

#junot-ai-loading{
    display:none;
    color:#999;
    margin-bottom:20px;
}

#junot-ai-results{
    column-count:4;
}

.junot-ai-card{
    overflow:hidden;
    margin-bottom:24px;
    break-inside:avoid;
    display:inline-block;
    width:100%;
    border:1px solid;
}

.junot-ai-card img{
    width:100%;
    display:block;
}

.junot-ai-content{
    padding:16px;
}

.junot-ai-title{
    font-size:18px;
    font-weight:bold;
    margin-bottom:10px;
}

.junot-ai-description{
    line-height:1.7;
}

.junot-ai-link{
    display:inline-block;
    margin-top:14px;
    text-decoration:none;
}

@media(max-width:1400px){
    #junot-ai-results{
        column-count:3;
    }
}

@media(max-width:1000px){
    #junot-ai-results{
        column-count:2;
    }
}

@media(max-width:700px){
    #junot-ai-results{
        column-count:1;
    }
}


#junot-ai-search-button{

    background:#222;
    color:#fff;
    border:1px solid #444;
    border-radius:12px;
    padding:0 20px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.15s ease;
    min-width:110px;
}

#junot-ai-search-button:hover{

    background:#333;
}


.junot-ai-title-link{

    display:block;
    color:#ffffff;
    text-decoration:none;
    font-weight:bold;
}

.junot-ai-title-link:hover{

    text-decoration:underline;
}


/* =========================================================
   AUTO SEARCH UI
========================================================= */

.jasp-search-wrap{

    position:relative;

    width:100%;
}

.jasp-search{

    width:100% !important;

    padding-right:140px !important;

    position:relative;

    z-index:2;

    box-sizing:border-box;
}

.jasp-search-progress{

    position:absolute;

    left:0;
    top:0;

    height:100%;

    width:100%;

    border-radius:999px;

    pointer-events:none;

    opacity:.14;

    z-index:1;

    transition:width .08s linear;
}

.jasp-search-button{

    position:absolute;

    right:8px;

    top:50%;

    transform:translateY(-50%);

    z-index:3;

    border:none;

    border-radius:999px !important;

    padding:10px 18px;

    cursor:pointer;
}



/* =========================================================
   V37 BUTTON FIX
========================================================= */

.jasp-search-wrap{

    position:relative !important;

    width:100% !important;
}

.jasp-search{

    width:100% !important;

    padding-right:140px !important;

    box-sizing:border-box !important;
}

.jasp-search-button{

    position:absolute !important;

    right:8px !important;

    top:50% !important;

    transform:translateY(-50%) !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    height:36px !important;

    border-radius:999px !important;

    z-index:999 !important;

    white-space:nowrap !important;
}



/* V42 FINAL */

.junot-ai-search-bar{
    position:relative !important;
    width:100% !important;
}

#junot-ai-search-input{
    width:100% !important;
    padding-right:110px !important;
    box-sizing:border-box !important;
}

#junot-ai-search-button{
    position:absolute !important;
    right:6px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    max-width:120px !important;
    overflow:hidden !important;
}


/* V43 FIX */

#junot-ai-search-button{

    height:30px !important;

    min-height:30px !important;

    line-height:30px !important;

    padding:0 12px !important;

    font-size:13px !important;

    max-width:90px !important;

    right:5px !important;
}

#junot-ai-search-input{

    padding-right:100px !important;
}


/* AUTO SEARCH COUNTDOWN */

.junot-ai-search-wrap{
    position:relative;
}

.junot-ai-autosearch-bar{

    position:absolute;

    left:0;
    bottom:0;

    height:3px;

    width:0%;

    border-radius:999px;

    opacity:.7;

    pointer-events:none;

    transition:none;

    background:currentColor;
}


/* V46 AUTOSARCH */

.junot-ai-search-wrap{

    position:relative !important;

    width:100% !important;
}

.junot-ai-autosearch-progress{

    position:absolute;

    left:0;

    bottom:-4px;

    width:0%;

    height:2px;

    border-radius:999px;

    background:currentColor;

    opacity:.35;

    pointer-events:none;
}




/* V48 UNIFIED BUTTON POSITION */

#junot-ai-search-button{

    position:absolute !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    transform:
        translate(
            calc(var(--junot-inner-x, 0px)),
            calc(-50% + var(--junot-inner-y, 0px))
        ) !important;

    will-change:transform !important;
}

#junot-ai-search-button:hover{

    transform:
        translate(
            calc(var(--junot-inner-x, 0px)),
            calc(-50% + var(--junot-inner-y, 0px))
        ) scale(1.02) !important;
}


/* V49 HIDE BUTTON */

body.junot-ai-hide-search-button
#junot-ai-search-input{

    padding-right:16px !important;
}


/* V50 AUTOSEARCH BAR */

.junot-ai-autosearch-progress{

    position:absolute !important;

    left:0 !important;

    bottom:-4px !important;

    height:2px !important;

    width:0% !important;

    border-radius:999px !important;

    opacity:.45 !important;

    background:currentColor !important;

    pointer-events:none !important;
}


/* V51 VISUAL COUNTDOWN */

.junot-ai-search-wrap{

    position:relative !important;

    width:100% !important;
}

.junot-ai-autosearch-progress{

    position:absolute !important;

    left:0 !important;

    bottom:-5px !important;

    width:0% !important;

    height:2px !important;

    border-radius:999px !important;

    background:currentColor !important;

    opacity:.45 !important;

    pointer-events:none !important;

    transition:none !important;
}


/* V52 FORCE COUNTDOWN VISIBILITY */

.junot-ai-search-wrap{

    position:relative !important;

    width:100% !important;

    overflow:visible !important;
}

.junot-ai-autosearch-progress{

    position:absolute !important;

    left:0 !important;

    bottom:-6px !important;

    width:0% !important;

    height:4px !important;

    background:#00c2ff !important;

    border-radius:999px !important;

    opacity:.75 !important;

    z-index:999999 !important;

    pointer-events:none !important;

    box-shadow:
        0 0 6px rgba(0,194,255,.65) !important;
}


/* V53 FINAL COUNTDOWN BAR */

.junot-ai-search-bar{

    position:relative !important;

    overflow:visible !important;
}

.junot-ai-autosearch-progress{

    position:absolute !important;

    left:0 !important;

    bottom:-7px !important;

    width:0% !important;

    height:4px !important;

    border-radius:999px !important;

    background:#00d5ff !important;

    opacity:1 !important;

    z-index:999999 !important;

    pointer-events:none !important;

    transition:none !important;

    box-shadow:
        0 0 10px rgba(0,213,255,.9) !important;
}
