/* Modal de detalhe de emprego usado na homepage e catálogo. */
body.ve-job-popup-open{overflow:hidden!important}

.job-card,.job,article[data-id]{cursor:pointer}
.job-card button,.job button,article[data-id] button,
.job-card a,.job a,article[data-id] a{cursor:pointer}

.ve-job-popup{
    position:fixed;
    z-index:9000;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    padding:26px;
    background:rgba(7,21,46,.76);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px)
}
.ve-job-popup.is-open{display:flex}

.ve-job-popup__dialog{
    position:relative;
    width:min(1380px,calc(100vw - 52px));
    height:min(900px,calc(100dvh - 52px));
    min-height:560px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#f5f7fb;
    border:1px solid rgba(255,255,255,.78);
    border-radius:26px;
    box-shadow:0 34px 100px rgba(4,15,35,.42)
}
.ve-job-popup__dialog:before{
    content:"";
    position:absolute;
    z-index:5;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,#1768e8 0%,#22b8cf 58%,#b6d83e 100%)
}

.ve-job-popup__bar{
    position:relative;
    z-index:4;
    flex:0 0 auto;
    min-height:66px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:10px 12px 10px 24px;
    background:#fff;
    border-bottom:1px solid #e3e8f1
}
.ve-job-popup__heading{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px
}
.ve-job-popup__kicker{
    color:#1768e8;
    font-size:9px;
    line-height:1;
    font-weight:950;
    letter-spacing:.11em;
    text-transform:uppercase
}
.ve-job-popup__title{
    overflow:hidden;
    max-width:min(920px,70vw);
    color:#102957;
    font-size:15px;
    line-height:1.2;
    font-weight:950;
    letter-spacing:-.01em;
    text-overflow:ellipsis;
    white-space:nowrap
}
.ve-job-popup__close{
    flex:0 0 auto;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0 0 2px;
    color:#516079;
    background:#f4f7fb;
    border:1px solid #dfe6f0;
    border-radius:50%;
    font:400 26px/1 Arial,sans-serif;
    cursor:pointer;
    box-shadow:none;
    transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease
}
.ve-job-popup__close:hover,
.ve-job-popup__close:focus-visible{
    color:#102957;
    background:#edf4ff;
    border-color:#cfe0fb;
    transform:rotate(3deg)
}

.ve-job-popup__frame-wrap{
    position:relative;
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
    background:#f5f7fb
}
.ve-job-popup__frame{
    width:100%;
    height:100%;
    display:block;
    opacity:0;
    border:0;
    background:#f5f7fb;
    transition:opacity .18s ease
}
.ve-job-popup__frame.is-ready{opacity:1}

.ve-job-popup__loading{
    position:absolute;
    z-index:2;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:13px;
    color:#667085;
    background:#f5f7fb;
    font-size:12px;
    font-weight:800
}
.ve-job-popup__loading[hidden]{display:none!important}
.ve-job-popup__spinner{
    width:34px;
    height:34px;
    border:3px solid #d9e4f2;
    border-top-color:#1768e8;
    border-radius:50%;
    animation:veJobPopupSpin .7s linear infinite
}
@keyframes veJobPopupSpin{to{transform:rotate(360deg)}}

@media(max-width:1100px){
    .ve-job-popup{padding:14px}
    .ve-job-popup__dialog{
        width:calc(100vw - 28px);
        height:calc(100dvh - 28px);
        border-radius:22px
    }
}

@media(max-width:760px){
    .ve-job-popup{
        padding:0;
        align-items:stretch;
        justify-content:stretch
    }
    .ve-job-popup__dialog{
        width:100%;
        height:100dvh;
        min-height:0;
        border:0;
        border-radius:0;
        box-shadow:none
    }
    .ve-job-popup__bar{
        min-height:58px;
        padding:8px 9px 8px 14px
    }
    .ve-job-popup__kicker{font-size:8px}
    .ve-job-popup__title{
        max-width:calc(100vw - 90px);
        font-size:13px
    }
    .ve-job-popup__close{width:40px;height:40px;font-size:25px}
}
