/* ==========================================================
   EVERYONE ASSEMBLE
   JOBLISTE & MOD-CP
   ========================================================== */

/* ==========================================================
   GEMEINSAME FARBEN UND GRUNDLAGEN
   ========================================================== */

.job-wrap,
.job-modcp-page{
  --job-bg:#020d18;
  --job-bg-deep:#010914;
  --job-panel:#04192b;
  --job-panel-soft:#082b45;
  --job-panel-light:#0b3150;
  --job-line:#1d5f8f;
  --job-line-soft:rgba(33,139,208,.16);
  --job-accent:#218bd0;
  --job-accent-light:#75d0ff;
  --job-text:#c4d8e4;
  --job-text-light:#e1f1fa;
  --job-muted:#8fa9bc;
  --job-success:#74c5a3;
  --job-danger:#d47f87;

  width:100%;

  color:var(--job-text);

  font-family:Arial,sans-serif;
  font-size:13px;
  line-height:1.6;
}

.job-wrap,
.job-wrap *,
.job-wrap *:before,
.job-wrap *:after,
.job-modcp-page,
.job-modcp-page *,
.job-modcp-page *:before,
.job-modcp-page *:after{
  box-sizing:border-box;
}

/* ==========================================================
   HAUPTSEITE – RAHMEN
   ========================================================== */

.job-wrap{
  position:relative;

  width:100%;
  margin:20px auto 40px;

  overflow:hidden;

  background:
    linear-gradient(
      125deg,
      rgba(33,139,208,.045),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      var(--job-panel),
      var(--job-bg)
    );

  border:1px solid rgba(33,139,208,.32);
  border-left:5px solid var(--job-accent);

  box-shadow:
    0 18px 40px rgba(0,0,0,.30),
    inset 0 1px rgba(255,255,255,.025);
}

/* ==========================================================
   SEITENKOPF
   ========================================================== */

.job-head{
  position:relative;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  min-height:140px;
  padding:25px 20px;

  overflow:hidden;

  background:
    radial-gradient(
      circle at 50% 135%,
      rgba(33,139,208,.23),
      transparent 49%
    ),
    linear-gradient(
      90deg,
      rgba(33,139,208,.07),
      transparent 50%,
      rgba(33,139,208,.045)
    ),
    var(--job-bg-deep);

  border-bottom:2px solid #1674b5;

  text-align:center;
}

.job-head:before{
  content:"";

  position:absolute;
  top:0;
  left:50%;

  width:220px;
  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--job-accent-light),
      transparent
    );

  transform:translateX(-50%);
}

.job-head:after{
  content:"EMPLOYMENT DATABASE";

  position:absolute;
  right:17px;
  bottom:9px;

  color:rgba(117,208,255,.055);

  font-family:Antonio,Arial,sans-serif;
  font-size:20px;
  font-weight:700;
  line-height:1;

  letter-spacing:4px;

  pointer-events:none;
}

.job-kicker{
  display:block;

  margin-bottom:5px;

  color:var(--job-muted);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:2.4px;
  text-transform:uppercase;
}

.job-title{
  display:block;

  color:var(--job-accent-light);

  font-family:Antonio,Arial,sans-serif;
  font-size:28px;
  font-weight:700;
  line-height:1.2;

  letter-spacing:2px;
  text-transform:uppercase;

  text-shadow:0 0 18px rgba(33,139,208,.20);
}

.job-subtitle{
  display:block;

  max-width:650px;
  margin-top:8px;

  color:var(--job-muted);

  font-size:12px;
  line-height:1.6;
}

/* ==========================================================
   FORMULARBEREICH
   ========================================================== */

.job-forms{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;

  width:100%;
  padding:18px;

  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 12px,
      rgba(33,139,208,.012) 12px,
      rgba(33,139,208,.012) 13px
    );

  border-bottom:1px solid rgba(33,139,208,.14);
}

.job-forms > form{
  width:100%;
  min-width:0;
  margin:0;
}

.job-form-card{
  display:flex;
  flex-direction:column;

  width:100%;
  min-width:0;
  height:100%;

  overflow:hidden;

  color:var(--job-text);

  background:
    linear-gradient(
      145deg,
      rgba(8,43,69,.61),
      rgba(2,13,24,.86)
    );

  border:1px solid rgba(33,139,208,.19);
  border-left:3px solid #1674b5;

  box-shadow:0 9px 21px rgba(0,0,0,.18);
}

.job-form-head{
  position:relative;

  display:flex;
  align-items:center;

  min-height:48px;
  padding:10px 13px;

  color:var(--job-accent-light);

  background:
    linear-gradient(
      90deg,
      rgba(33,139,208,.12),
      transparent 68%
    ),
    var(--job-bg-deep);

  border-bottom:1px solid rgba(33,139,208,.21);

  font-family:Antonio,Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:1.1px;
  text-transform:uppercase;
}

.job-form-head:after{
  content:"";

  position:absolute;
  bottom:-1px;
  left:13px;

  width:58px;
  height:2px;

  background:var(--job-accent);
}

.job-form-body{
  display:flex;
  flex:1;
  flex-direction:column;
  gap:11px;

  padding:13px;
}

.job-form-field{
  display:flex;
  flex-direction:column;
  gap:6px;

  min-width:0;
}

.job-form-label{
  color:var(--job-muted);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:.8px;
  text-transform:uppercase;
}

.job-wrap input[type="text"],
.job-wrap input[type="number"],
.job-wrap select,
.job-wrap textarea,
.job-modcp-page input[type="text"],
.job-modcp-page input[type="number"],
.job-modcp-page select,
.job-modcp-page textarea{
  width:100%;
  min-height:41px;
  padding:8px 10px;

  color:var(--job-text-light);
  background:var(--job-bg-deep);

  border:1px solid rgba(33,139,208,.25);
  border-radius:0;

  font-family:Arial,sans-serif;
  font-size:13px;
  line-height:1.45;

  outline:none;

  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.job-wrap textarea,
.job-modcp-page textarea{
  min-height:105px;

  resize:vertical;
}

.job-wrap input:focus,
.job-wrap select:focus,
.job-wrap textarea:focus,
.job-modcp-page input:focus,
.job-modcp-page select:focus,
.job-modcp-page textarea:focus{
  background:#031426;

  border-color:var(--job-accent);

  box-shadow:0 0 0 1px rgba(33,139,208,.18);
}

.job-form-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;

  margin-top:auto;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.job-wrap .button,
.job-wrap input.button,
.job-wrap a.button,
.job-modcp-page .button,
.job-modcp-page input.button,
.job-modcp-page a.button,
.job-review-accept,
.job-review-decline{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:35px;
  padding:7px 12px;

  color:var(--job-accent-light);
  background:var(--job-bg-deep);

  border:1px solid rgba(33,139,208,.28);
  border-radius:0;

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:.8px;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;

  cursor:pointer;

  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.job-wrap .button:hover,
.job-wrap input.button:hover,
.job-wrap a.button:hover,
.job-modcp-page .button:hover,
.job-modcp-page input.button:hover,
.job-modcp-page a.button:hover{
  color:var(--job-text-light);
  background:var(--job-panel-light);

  border-color:var(--job-accent);

  transform:translateY(-1px);
}

/* ==========================================================
   MELDUNGEN IN DEN FORMULARKARTEN
   ========================================================== */

.job-form-card .pm_alert,
.job-form-card .red_alert,
.job-form-card .error,
.job-form-notice{
  margin:0;
  padding:10px 12px;

  color:var(--job-text);
  background:rgba(33,139,208,.08);

  border:0;
  border-bottom:1px solid rgba(33,139,208,.18);
  border-left:3px solid var(--job-accent);

  font-size:12px;
  line-height:1.55;
}

/* ==========================================================
   SEITENNAVIGATION
   ========================================================== */

.job-pagination{
  padding:13px 18px;

  background:rgba(2,13,24,.38);

  border-bottom:1px solid rgba(33,139,208,.12);

  text-align:center;
}

.job-pagination-bottom{
  border-top:1px solid rgba(33,139,208,.12);
  border-bottom:0;
}

.job-pagination:empty{
  display:none;
}

.job-wrap .pagination{
  margin:0;
}

/* ==========================================================
   JOBKARTEN-RASTER
   ========================================================== */

.jobs-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;

  width:100%;
  padding:18px;

  align-items:start;

  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 12px,
      rgba(33,139,208,.012) 12px,
      rgba(33,139,208,.012) 13px
    );
}

/* ==========================================================
   EINZELNE JOBKARTE
   ========================================================== */

.job-card{
  display:flex;
  flex-direction:column;

  width:100%;
  min-width:0;

  overflow:hidden;

  color:var(--job-text);

  background:
    linear-gradient(
      145deg,
      rgba(8,43,69,.59),
      rgba(2,13,24,.87)
    );

  border:1px solid rgba(33,139,208,.19);
  border-left:3px solid #1674b5;

  box-shadow:0 10px 23px rgba(0,0,0,.20);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.job-card:hover{
  border-color:rgba(33,139,208,.37);

  box-shadow:0 14px 29px rgba(0,0,0,.27);

  transform:translateY(-2px);
}

/* ==========================================================
   JOBKARTEN-KOPF
   ========================================================== */

.job-card-head{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:12px;
  align-items:center;

  min-height:78px;
  padding:10px 12px;

  background:
    linear-gradient(
      90deg,
      rgba(33,139,208,.12),
      transparent 70%
    ),
    var(--job-bg-deep);

  border-bottom:1px solid rgba(33,139,208,.19);
}

.job-card-logo{
  width:58px;
  height:58px;

  overflow:hidden;

  background:var(--job-panel-soft);

  border:1px solid rgba(33,139,208,.30);
}

.job-card-logo img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;
}

.job-card-heading{
  min-width:0;
}

.job-card-name{
  color:var(--job-accent-light);

  font-family:Antonio,Arial,sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1.35;

  letter-spacing:1px;
  text-transform:uppercase;

  overflow-wrap:anywhere;
}

.job-card-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;

  margin-top:5px;
}

.job-card-chip{
  display:inline-flex;
  align-items:center;

  min-height:24px;
  padding:4px 7px;

  color:var(--job-accent-light);
  background:rgba(33,139,208,.08);

  border:1px solid rgba(33,139,208,.23);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  line-height:1.2;

  letter-spacing:.7px;
  text-transform:uppercase;
}

/* ==========================================================
   JOBKARTEN-INHALT
   ========================================================== */

.job-card-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  gap:13px;
  align-items:start;

  min-width:0;
  padding:12px;
}

.job-card-body > *{
  min-width:0;
}

.job-card-description{
  max-height:245px;
  padding:11px;

  overflow-x:hidden;
  overflow-y:auto;

  color:var(--job-text);
  background:rgba(2,13,24,.42);

  border:1px solid rgba(33,139,208,.11);
  border-left:2px solid rgba(33,139,208,.36);

  font-size:12px;
  line-height:1.7;

  text-align:justify;
  overflow-wrap:anywhere;

  scrollbar-width:thin;
  scrollbar-color:#1674b5 var(--job-bg-deep);
}

.job-card-description:empty:before{
  content:"Für diesen Arbeitsplatz wurde keine Beschreibung hinterlegt.";

  color:var(--job-muted);

  font-style:italic;
}

.job-card-description::-webkit-scrollbar,
.job-card-staff::-webkit-scrollbar{
  width:7px;
  height:7px;
}

.job-card-description::-webkit-scrollbar-track,
.job-card-staff::-webkit-scrollbar-track{
  background:var(--job-bg-deep);
}

.job-card-description::-webkit-scrollbar-thumb,
.job-card-staff::-webkit-scrollbar-thumb{
  background:#1674b5;

  border:2px solid var(--job-bg-deep);
}

/* ==========================================================
   MITARBEITERBEREICH
   ========================================================== */

.job-card-meta{
  width:100%;
  min-width:0;

  overflow:hidden;

  background:rgba(2,13,24,.46);

  border:1px solid rgba(33,139,208,.13);
}

.job-card-meta-head{
  min-height:38px;
  padding:9px 10px;

  color:var(--job-accent-light);

  background:
    linear-gradient(
      90deg,
      rgba(33,139,208,.10),
      transparent 70%
    ),
    var(--job-bg-deep);

  border-bottom:1px solid rgba(33,139,208,.16);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:.9px;
  text-transform:uppercase;
}

.job-card-staff{
  display:flex;
  flex-direction:column;
  gap:6px;

  width:100%;
  max-height:205px;
  padding:8px;

  overflow-x:hidden;
  overflow-y:auto;

  scrollbar-width:thin;
  scrollbar-color:#1674b5 var(--job-bg-deep);
}

.job-card-staff:empty:before{
  content:"Noch keine Mitarbeiter eingetragen.";

  padding:12px 6px;

  color:var(--job-muted);

  font-size:11px;
  font-style:italic;

  text-align:center;
}

.job-staff-line{
  display:block;

  width:100%;
  min-width:0;
  padding:7px 8px;

  color:var(--job-text);
  background:rgba(8,43,69,.53);

  border:1px solid rgba(33,139,208,.13);
  border-left:2px solid rgba(33,139,208,.34);

  font-size:11px;
  line-height:1.45;

  overflow-wrap:anywhere;

  transition:
    background-color .2s ease,
    border-color .2s ease;
}

.job-staff-line:hover{
  background:rgba(8,43,69,.76);

  border-color:rgba(33,139,208,.28);
  border-left-color:var(--job-accent);
}

.job-staff-line a{
  text-decoration:none;
}

.job-staff-line a:hover{
  filter:brightness(1.25);
}

.job-staff-role{
  color:var(--job-muted);

  font-size:11px;
}

/* ==========================================================
   MOD-CP – GRUNDLAYOUT
   ========================================================== */

.job-modcp-page{
  width:100%;
  min-width:0;
}

.job-modcp-shell{
  width:100%;
  min-width:0;

  overflow:hidden;

  background:
    linear-gradient(
      145deg,
      var(--job-panel),
      var(--job-bg)
    );

  border:1px solid rgba(33,139,208,.32);
  border-left:5px solid var(--job-accent);

  box-shadow:0 15px 34px rgba(0,0,0,.26);
}

.job-modcp-head{
  position:relative;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  min-height:100px;
  padding:19px;

  background:
    radial-gradient(
      circle at 50% 145%,
      rgba(33,139,208,.20),
      transparent 55%
    ),
    var(--job-bg-deep);

  border-bottom:2px solid #1674b5;

  text-align:center;
}

.job-modcp-kicker{
  margin-bottom:5px;

  color:var(--job-muted);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;

  letter-spacing:2px;
  text-transform:uppercase;
}

.job-modcp-title{
  color:var(--job-accent-light);

  font-family:Antonio,Arial,sans-serif;
  font-size:22px;
  font-weight:700;
  line-height:1.25;

  letter-spacing:1.7px;
  text-transform:uppercase;
}

.job-modcp-content{
  padding:16px;
}

/* ==========================================================
   MOD-CP – FREISCHALTKARTEN
   ========================================================== */

.job-review-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;

  width:100%;
}

.job-review-empty{
  padding:25px;

  color:var(--job-muted);
  background:rgba(2,13,24,.42);

  border:1px solid rgba(33,139,208,.13);

  font-size:12px;

  text-align:center;
}

.job-review-card{
  width:100%;
  min-width:0;

  overflow:hidden;

  color:var(--job-text);

  background:
    linear-gradient(
      145deg,
      rgba(8,43,69,.57),
      rgba(2,13,24,.86)
    );

  border:1px solid rgba(33,139,208,.19);
  border-left:3px solid #1674b5;

  box-shadow:0 9px 21px rgba(0,0,0,.18);
}

.job-review-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;

  padding:11px 13px;

  background:
    linear-gradient(
      90deg,
      rgba(33,139,208,.12),
      transparent 70%
    ),
    var(--job-bg-deep);

  border-bottom:1px solid rgba(33,139,208,.19);
}

.job-review-heading{
  min-width:0;
}

.job-review-name{
  color:var(--job-accent-light);

  font-family:Antonio,Arial,sans-serif;
  font-size:16px;
  font-weight:700;
  line-height:1.35;

  letter-spacing:.8px;
  text-transform:uppercase;

  overflow-wrap:anywhere;
}

.job-review-submitter{
  margin-top:4px;

  color:var(--job-muted);

  font-size:11px;
}

.job-review-date{
  flex:0 0 auto;

  color:var(--job-muted);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;

  letter-spacing:.7px;
  text-transform:uppercase;
}

.job-review-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);
  gap:14px;

  padding:13px;
}

.job-review-description{
  min-width:0;
  max-height:260px;
  padding:12px;

  overflow-x:hidden;
  overflow-y:auto;

  color:var(--job-text);
  background:rgba(2,13,24,.43);

  border:1px solid rgba(33,139,208,.12);
  border-left:2px solid rgba(33,139,208,.38);

  font-size:12px;
  line-height:1.7;

  text-align:justify;
  overflow-wrap:anywhere;
}

.job-review-decline-form{
  display:flex;
  flex-direction:column;
  gap:9px;

  min-width:0;
}

.job-review-form-label{
  color:var(--job-muted);

  font-family:Antonio,Arial,sans-serif;
  font-size:10px;
  font-weight:700;

  letter-spacing:.8px;
  text-transform:uppercase;
}

.job-review-decline-form textarea{
  flex:1;

  min-height:145px;
}

.job-review-footer{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;

  padding:11px 13px;

  background:rgba(2,13,24,.62);

  border-top:1px solid rgba(33,139,208,.13);
}

.job-review-accept{
  color:var(--job-success) !important;

  border-color:rgba(116,197,163,.42) !important;
}

.job-review-accept:hover{
  color:#071711 !important;
  background:var(--job-success) !important;

  border-color:var(--job-success) !important;
}

.job-review-decline{
  color:var(--job-danger) !important;

  border-color:rgba(212,127,135,.42) !important;
}

.job-review-decline:hover{
  color:#1b0709 !important;
  background:var(--job-danger) !important;

  border-color:var(--job-danger) !important;
}

/* ==========================================================
   MOD-CP-NAVIGATION
   ========================================================== */

.modcp_nav_item.modcp_jobliste{
  display:block;

  padding-left:10px;

  border-left:3px solid var(--job-accent,#218bd0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media screen and (max-width:1050px){

  .job-forms{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .job-forms > form:first-child{
    grid-column:1 / -1;
  }
}

@media screen and (max-width:900px){

  .jobs-grid{
    grid-template-columns:1fr;
  }

  .job-review-body{
    grid-template-columns:1fr;
  }
}

@media screen and (max-width:700px){

  .job-forms{
    grid-template-columns:1fr;
  }

  .job-forms > form:first-child{
    grid-column:auto;
  }

  .job-card-body{
    grid-template-columns:1fr;
  }

  .job-card-staff{
    max-height:240px;
  }

  .job-head{
    min-height:120px;
    padding:21px 14px;
  }

  .job-title{
    font-size:23px;
  }

  .job-head:after{
    display:none;
  }
}

@media screen and (max-width:480px){

  .job-forms,
  .jobs-grid{
    padding:11px;
  }

  .job-review-head{
    flex-direction:column;
    gap:5px;
  }

  .job-review-date{
    flex:auto;
  }

  .job-review-footer{
    align-items:stretch;
    flex-direction:column;
  }

  .job-review-footer a,
  .job-review-footer input{
    width:100%;
  }
}