/* Painel no escopo do conteúdo do site: navegação interna horizontal, sem sidebar. */
.dmjobs.dmjobs-portal{width:100%;max-width:100%!important;margin:0;overflow-x:visible}
/* Respiro entre o cabeçalho fixo do tema e o painel autenticado.
   Não afeta a tela de login. A variável permite ajuste por tema/Elementor. */
.dmjobs.dmjobs-portal:not(.dmjobs-portal--login){
  --dmjobs-portal-header-offset:108px;
  margin-block-start:var(--dmjobs-portal-header-offset);
}
@media(max-width:780px){
  .dmjobs.dmjobs-portal:not(.dmjobs-portal--login){
    --dmjobs-portal-header-offset:116px;
  }
}
@media(max-width:480px){
  .dmjobs.dmjobs-portal:not(.dmjobs-portal--login){
    --dmjobs-portal-header-offset:128px;
  }
}

.dmjobs-portal{background:#f3f6fb;color:#12253d;border:1px solid #e2eaf2;border-radius:24px;padding:24px;min-width:0;max-width:100%}
.dmjobs-portal,.dmjobs-portal *,.dmjobs-portal *::before,.dmjobs-portal *::after{box-sizing:border-box}
.dmjobs-portal__main{width:100%;max-width:1420px;margin:0 auto;min-width:0}
.dmjobs-portal__header{background:white;border:1px solid #e0e8f1;border-radius:19px;box-shadow:0 4px 24px #0a24400a;overflow:hidden;min-width:0}
.dmjobs-portal__topbar{padding:24px 30px 21px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.dmjobs-portal__eyebrow{font-size:11px;color:#70849c;font-weight:750;letter-spacing:.025em;margin:0 0 7px}
.dmjobs-portal__eyebrow span{padding:0 5px;color:#a6b4c4}
.dmjobs-portal__topbar h1{font-size:29px;color:#10243c;letter-spacing:-.04em;margin:0;line-height:1.2}
.dmjobs-portal__account{display:flex;align-items:flex-end;flex-direction:column;gap:9px;min-width:0}
.dmjobs-portal__user{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:800;color:#4d6079;min-width:0}
.dmjobs-portal__user>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}
.dmjobs-portal__avatar{height:36px;width:36px;flex:0 0 36px;border-radius:50%;background:#e9f5fe;display:grid;place-items:center;color:#1678b0;text-transform:uppercase}
.dmjobs-portal__account-links{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.dmjobs-portal__account-links a{font-size:11px;font-weight:750;text-decoration:none;color:#53718e}
.dmjobs-portal__account-links a:hover{color:#0877b8;text-decoration:underline}
.dmjobs-portal__nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #e9eff5;padding:12px 23px}
.dmjobs-portal__nav a{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:11px 16px;border:1px solid transparent;border-radius:10px;color:#536982;text-decoration:none;font-size:13px;font-weight:750;transition:background .15s,color .15s,border-color .15s}
.dmjobs-portal__nav a:hover{background:#f1f7fd;color:#176c9e}
.dmjobs-portal__nav a.is-active{background:#e6f3ff;border-color:#cae7fa;color:#096d9e;box-shadow:inset 0 -2px 0 #138fd1}
.dmjobs-portal__nav a:focus-visible,.dmjobs-portal__account-links a:focus-visible{outline:3px solid #168bd0;outline-offset:2px}
.dmjobs-portal__content{padding:30px 0 20px;min-width:0}
.dmjobs-portal__intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:25px}
.dmjobs-portal__intro h2{font-size:22px;color:#112640;margin:0 0 6px;letter-spacing:-.025em}.dmjobs-portal__intro p,.dmjobs-portal__settings>p{font-size:13px;color:#65778e;line-height:1.7;margin:0}
.dmjobs-portal__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.dmjobs-portal__metric{padding:23px;background:white;border:1px solid #e0e8f0;border-radius:17px;box-shadow:0 4px 20px #0a24400a}
.dmjobs-portal__metric span{display:block;font-size:12px;color:#637790;font-weight:700}.dmjobs-portal__metric strong{display:block;font-size:35px;letter-spacing:-.035em;margin-top:14px;color:#102541}
.dmjobs-portal__panel{padding:27px;background:#fff;border:1px solid #e0e8f0;border-radius:18px;margin-bottom:20px}.dmjobs-portal__panel h2{font-size:18px;margin:0 0 13px;color:#12253c}
.dmjobs-portal__shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.dmjobs-portal__shortcuts a{padding:22px;background:#f5f9fd;border:1px solid #e1edf6;border-radius:12px;text-decoration:none;font-size:13px;font-weight:750;color:#254767;display:flex;justify-content:space-between;gap:10px}
.dmjobs-portal__shortcuts a:hover{background:#eaf5fe}.dmjobs-portal__shortcuts span{font-size:18px;color:#0582ce}
.dmjobs-portal__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dmjobs-portal__job{padding:24px;border:1px solid #e0e8f0;border-radius:19px;background:white;display:flex;flex-direction:column;min-width:0;min-height:265px}
.dmjobs-portal__job-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.dmjobs-portal__job-head small{font-size:11px;color:#77899e}.dmjobs-portal__job h3{font-size:20px;color:#142a45;margin:15px 0 7px;line-height:1.25}.dmjobs-portal__job>p{color:#63778e;font-size:12px;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dmjobs-portal__chips{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 22px}.dmjobs-portal__chips span{border-radius:8px;padding:5px 8px;background:#f1f6fa;color:#526b83;font-size:10px;font-weight:700}
.dmjobs-portal__job-actions{margin-top:auto;border-top:1px solid #e8edf3;padding-top:16px;display:flex;flex-wrap:wrap;gap:10px}.dmjobs-portal__job-actions button{border:0;background:#eef4fa;color:#254e74;border-radius:8px;padding:9px 11px;font-size:11px;font-weight:800;cursor:pointer}.dmjobs-portal__job-actions button:hover{background:#daedfc}.dmjobs-portal__job-actions .is-danger{color:#ad2d35;background:#fff1f1}
.dmjobs-portal__filters{background:white;border:1px solid #e0e8f0;padding:20px;border-radius:16px;display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}.dmjobs-portal__filters label{display:grid;gap:7px;flex:1 1 150px;min-width:130px}.dmjobs-portal__filters label:first-of-type{flex:2 1 240px}
.dmjobs-portal__filters label span,.dmjobs-portal__settings form label span{font-size:11px;color:#586e84;font-weight:800}.dmjobs-portal__filters input,.dmjobs-portal__filters select,.dmjobs-portal__table select,.dmjobs-portal__settings input{padding:11px 12px;border:1px solid #d8e3ee;border-radius:10px;background:white;color:#1a334e;max-width:100%;min-width:0}
.dmjobs-portal__clear{font-size:12px;color:#3f6789;padding:13px 5px;text-decoration:underline}.dmjobs-portal__table-wrap{overflow:auto;border:1px solid #e0e8f0;border-radius:17px;background:white}
.dmjobs-portal__table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;min-width:870px}.dmjobs-portal__table th{padding:17px 16px;color:#526a83;background:#f5f8fc;border-bottom:1px solid #e1e8f0;font-size:10px;text-transform:uppercase;letter-spacing:.055em}
.dmjobs-portal__table td{padding:17px 16px;border-bottom:1px solid #edf1f6;vertical-align:top;color:#374e68}.dmjobs-portal__table tr:last-child td{border-bottom:none}.dmjobs-portal__table td strong{display:block;color:#132e4a;font-size:12px}.dmjobs-portal__table td small{display:block;color:#8190a3;margin-top:4px}.dmjobs-portal__table td select{font-size:12px;padding:9px}
.dmjobs-portal__candidate-details{margin-top:9px;max-width:400px}.dmjobs-portal__candidate-details summary{color:#167db8;font-weight:800;cursor:pointer}.dmjobs-portal__candidate-details dl{display:grid;grid-template-columns:110px 1fr;gap:8px;margin:12px 0 0;padding:12px;background:#f5f9fd;border-radius:9px;min-width:260px;white-space:normal;overflow-wrap:anywhere}.dmjobs-portal__candidate-details dt{font-weight:750;color:#5b7591}.dmjobs-portal__candidate-details dd{margin:0;color:#233e5a;white-space:pre-wrap}
.dmjobs-portal__download{font-weight:800;color:#1684be!important}.dmjobs-portal__pagination{display:flex;align-items:center;justify-content:center;gap:18px;padding:20px;font-size:12px;color:#647d95}.dmjobs-portal__pagination a{color:#157ab6;font-weight:800}
.dmjobs-portal__settings{max-width:850px}.dmjobs-portal__settings>p{margin:0 0 15px}.dmjobs-portal__settings form{display:flex;flex-direction:column;align-items:flex-start;gap:16px;max-width:460px}.dmjobs-portal__settings form label{width:100%;display:grid;gap:7px}.dmjobs-portal__settings input{width:100%}
.dmjobs-portal__hint{margin-top:16px!important;font-size:11px!important}.dmjobs-portal__alert{padding:14px 18px;margin:0 0 24px;border:1px solid #a9dec1;border-radius:10px;color:#176a3c;background:#e7f7ef;font-size:12px;font-weight:750}.dmjobs-portal__alert.is-error{border-color:#f3b7b7;background:#fff0ef;color:#a62525}
.dmjobs-portal__empty{padding:30px;text-align:center;background:white;border:1px dashed #cfddea;color:#70839a;border-radius:15px;font-size:13px;grid-column:1/-1}
/* A tela de login começa no início do conteúdo do tema, sem margem negativa
   fixa. Um ajuste mensurado pode neutralizar espaçamento residual do template. */
.dmjobs.dmjobs-portal.dmjobs-portal--login{
  --dmjobs-login-actual-gap:0px;
  position:relative;
  top:calc(-1 * var(--dmjobs-login-actual-gap));
  width:100vw;
  max-width:none!important;
  margin:0 calc(50% - 50vw) calc(-1 * var(--dmjobs-login-actual-gap))!important;
  min-height:78vh;
  min-height:78svh;
  display:grid;
  place-items:center;
  padding:clamp(116px,13vh,164px) clamp(20px,4vw,52px) clamp(84px,10vh,120px);
  border:0;
  border-radius:0;
  background:radial-gradient(circle at 74% 12%,#164c7d,#07192d 70%);
  overflow-x:clip;
}
/* Escopo exclusivo da página do shortcode; os templates de outras páginas
   e o cabeçalho do tema permanecem inalterados. */
body.dmjobs-site-login .entry-content{
  margin-block-start:0;
}
body.dmjobs-site-login .elementor-widget-shortcode > .elementor-widget-container{
  padding-block-start:0!important;
  margin-block-start:0!important;
}
.dmjobs-portal--login .dmjobs-login{
  width:min(480px,100%);
  max-width:100%;
  padding:clamp(28px,3.5vw,44px);
  background:#fff;
  color:#18334f;
  border-radius:22px;
  box-shadow:0 20px 80px #0002;
}

.dmjobs-login h1{font-size:30px;letter-spacing:-.04em;margin:0 0 9px;color:#112a47}.dmjobs-login>p{font-size:13px;color:#647890;line-height:1.6}.dmjobs-login form{margin-top:25px}.dmjobs-login form p{margin:0 0 15px}.dmjobs-login form label{display:block;font-size:12px;font-weight:750;color:#48627b;margin:0 0 6px}.dmjobs-login form input[type=text],.dmjobs-login form input[type=password]{width:100%;border:1px solid #d3e1ec;border-radius:10px;padding:12px}.dmjobs-login form input[type=submit]{background:#118bd3;border:0;color:white;padding:12px 22px;font-weight:800;border-radius:10px;cursor:pointer}.dmjobs-login #rememberme{width:auto}.dmjobs-login .login-remember label{display:flex;gap:9px;align-items:center}.dmjobs-login__help{margin:18px 0 0}.dmjobs-login__help a{color:#167fb8;text-decoration:none;font-weight:750}
@media(max-width:1020px){
  .dmjobs-portal{padding:18px}
  .dmjobs-portal__topbar{padding:23px}
  .dmjobs-portal__nav{padding:10px 16px}
  .dmjobs-portal__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dmjobs-portal__cards{grid-template-columns:1fr}
  .dmjobs-portal__shortcuts{grid-template-columns:1fr}
}
@media(max-width:700px){
  .dmjobs-portal{padding:12px;border-radius:16px}
  .dmjobs-portal__header{border-radius:13px}
  .dmjobs-portal__topbar{padding:19px;gap:16px;flex-wrap:wrap}
  .dmjobs-portal__topbar h1{font-size:23px}
  .dmjobs-portal__account{align-items:flex-end;margin-left:auto}
  .dmjobs-portal__user>span:first-child{max-width:130px}
  .dmjobs-portal__nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:11px 12px;gap:6px;-webkit-overflow-scrolling:touch}
  .dmjobs-portal__nav a{flex:0 0 auto;padding:10px 12px;font-size:12px}
  .dmjobs-portal__content{padding:24px 3px 20px}
  .dmjobs-portal__intro{display:block}
  .dmjobs-portal__intro .dmjobs-btn{margin-top:15px}
  .dmjobs-portal__metrics{gap:10px}
  .dmjobs-portal__metric{padding:17px}
  .dmjobs-portal__metric strong{font-size:29px}
  .dmjobs-portal__filters{display:grid}
  .dmjobs-portal__filters label{min-width:0}
  .dmjobs-portal__filters .dmjobs-btn{width:100%}
  .dmjobs-login{padding:28px 22px}
  .dmjobs-portal__job{padding:20px}
}
@media(max-width:470px){
  .dmjobs-portal__topbar{align-items:flex-start}
  .dmjobs-portal__heading{width:100%}
  .dmjobs-portal__account{width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-left:0}
  .dmjobs-portal__account-links{gap:12px;justify-content:flex-end}
  .dmjobs-portal__user>span:first-child{max-width:110px}
}

/* Respiro interno do formulário, sem criar faixa branca externa. */
@media (max-width:700px){
  .dmjobs.dmjobs-portal.dmjobs-portal--login{
    padding:100px 20px 80px;
    min-height:75vh;
    min-height:75svh;
  }
  .dmjobs-portal--login .dmjobs-login{padding:30px 25px}
}
@media (max-width:420px){
  .dmjobs.dmjobs-portal.dmjobs-portal--login{padding:96px 16px 72px}
  .dmjobs-portal--login .dmjobs-login{padding:28px 22px}
}
