:root{
  --ink:#14213d;--muted:#657189;--line:#e6eaf0;--bg:#f7f9fc;--card:#fff;
  --accent:#1664ff;--accent-dark:#0d49c7;--shadow:0 18px 50px rgba(20,33,61,.09);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.container{width:min(1120px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{min-height:72px;display:flex;align-items:center;gap:12px}.brand{font-weight:850;font-size:21px;letter-spacing:-.7px;margin-right:auto;white-space:nowrap;text-decoration:none}.brand span{color:var(--accent)}nav{display:flex;gap:24px;color:var(--muted);font-size:14px}nav a:hover{color:var(--accent)}.nav-actions{display:flex;gap:10px}
.btn{border:0;border-radius:11px;padding:12px 18px;font-weight:750;cursor:pointer;font-size:14px}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-dark)}.btn-ghost{background:#eef3ff;color:var(--accent)}.full{width:100%}
.hero{background:linear-gradient(180deg,#f7faff 0,#fff 100%);padding:82px 0 70px}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.eyebrow{font-size:11px;font-weight:850;letter-spacing:1.6px;color:var(--accent);margin:0 0 12px}.hero h1{font-size:clamp(42px,6vw,68px);line-height:1.02;letter-spacing:-3px;margin:0 0 22px;max-width:760px}.hero h1 span{color:var(--accent)}.hero-copy{font-size:18px;color:var(--muted);max-width:610px;line-height:1.6}.search-box{margin-top:30px;background:#fff;padding:9px;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px}.search-box input{border:0;outline:0;padding:13px;font-size:14px;min-width:0}.quick-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.quick-tags button{border:1px solid var(--line);background:#fff;color:var(--muted);padding:8px 12px;border-radius:999px;cursor:pointer}.hero-card{background:#14213d;border-radius:24px;padding:20px;color:#fff;box-shadow:var(--shadow)}.stat-card{padding:20px 12px 25px}.stat-card strong{display:block;font-size:48px;letter-spacing:-2px}.stat-card span{color:#c9d3e8}.mini-job{background:#fff;color:var(--ink);border-radius:16px;padding:18px;margin-top:10px}.mini-job h3{margin:12px 0 5px}.mini-job p{color:var(--muted);margin:0 0 12px;font-size:13px}.mini-job strong{font-size:13px}.pill{display:inline-block;background:#eaf1ff;color:var(--accent);border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}
.section{padding:82px 0}.muted{background:var(--bg)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-heading h2{font-size:34px;letter-spacing:-1.5px;margin:0}.section-heading select{padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff}.centered{display:block;text-align:center}
.jobs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.job-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px;transition:.2s}.job-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.job-top{display:flex;justify-content:space-between;gap:10px}.company-logo{width:42px;height:42px;border-radius:12px;background:#edf2ff;display:grid;place-items:center;color:var(--accent);font-weight:850}.job-card h3{margin:18px 0 6px;font-size:18px}.job-card .company,.job-meta{color:var(--muted);font-size:13px}.job-meta{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.job-card .salary{font-weight:800;font-size:13px}.job-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.job-actions button{border:0;background:none;color:var(--accent);font-weight:800;cursor:pointer}.empty{text-align:center;padding:50px;color:var(--muted)}.hidden{display:none!important}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.steps article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}.steps span{color:var(--accent);font-weight:900}.steps h3{margin-bottom:8px}.steps p{color:var(--muted);line-height:1.6}.about-card{background:#14213d;color:#fff;border-radius:24px;padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:40px}.about-card h2{font-size:34px;letter-spacing:-1px;margin:0}.about-card p:last-child{color:#c9d3e8;line-height:1.7}
footer{border-top:1px solid var(--line)}
.footer{
  min-height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:13px
}
.modal{position:fixed;inset:0;background:rgba(10,20,40,.55);z-index:50;display:grid;place-items:center;padding:20px}.modal-card{background:#fff;border-radius:20px;padding:30px;width:min(420px,100%);position:relative;box-shadow:var(--shadow)}.modal-card h2{margin:0 0 8px}.modal-card>p{color:var(--muted);font-size:14px}.modal-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:28px;cursor:pointer;color:var(--muted)}label{display:block;font-size:13px;font-weight:700;margin:15px 0}label input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid var(--line);border-radius:10px;font-size:14px}.switch-auth{text-align:center;font-size:13px}.switch-auth button{border:0;background:none;color:var(--accent);font-weight:800;cursor:pointer}
@media(max-width:850px){nav{display:none}.hero-grid{grid-template-columns:1fr}.jobs-grid{grid-template-columns:1fr 1fr}.about-card{grid-template-columns:1fr}.search-box{grid-template-columns:1fr}.steps{grid-template-columns:1fr}}
@media(max-width:850px){
  nav{display:none}
  .hero-grid{grid-template-columns:1fr}
  .jobs-grid{grid-template-columns:1fr 1fr}
  .about-card{grid-template-columns:1fr}
  .search-box{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}

@media(max-width:560px){

  .nav{
    min-height:64px;
    width:100%;
    gap:6px;
  }

  #menuBtn{
    flex:0 0 auto;
    padding:9px 10px;
    font-size:18px;
  }

  .brand{
    flex:1 1 auto;
    min-width:0;
    margin-right:0;
  }

  .brand img{
    width:105px !important;
    max-width:105px;
    height:auto;
  }

  .brand small{
    font-size:8px !important;
    white-space:nowrap;
    letter-spacing:0 !important;
  }

  nav{
    display:none;
  }

  .nav-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:4px;
  }

  .language-switcher{
    display:flex;
    align-items:center;
    gap:1px;
    white-space:nowrap;
  }

  .language-switcher button{
    border:0;
    background:transparent;
    padding:5px 3px;
    font-size:11px;
    cursor:pointer;
  }

  .nav-actions .btn-ghost{
    display:block;
  }

  .nav-actions .btn{
    padding:8px 8px;
    font-size:11px;
    border-radius:8px;
    white-space:nowrap;
  }

  #mainMenu{
    left:8px;
    top:68px;
    width:220px;
  }

  .hero{
    padding-top:55px;
  }

  .hero h1{
    letter-spacing:-2px;
  }

  .section{
    padding:60px 0;
  }

  .jobs-grid{
    grid-template-columns:1fr;
  }
}

.modal-card{
  max-height:90vh;
  overflow-y:auto;
}

/* =========================
   DETAIL LOWONGAN MODERN
   ========================= */

#jobDetailModal {
  background:
    linear-gradient(135deg, rgba(235, 244, 255, 0.96), rgba(248, 250, 252, 0.97));
  backdrop-filter: blur(6px);
}

.job-detail-card {
  width: min(760px, 94%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 60px rgba(20, 40, 80, 0.18);
  border: 1px solid rgba(30, 80, 140, 0.08);
}

.job-detail-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.job-detail-header h2 {
  margin: 8px 0 6px;
  font-size: 32px;
  line-height: 1.2;
}

.job-detail-header > p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
}

.job-detail-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-detail-info span {
  background: #f4f7fb;
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.job-detail-section {
  margin-top: 26px;
}

.job-detail-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.job-detail-section p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

#jobDetailApply {
  margin-top: 30px;
}

@media (max-width: 560px) {
  .job-detail-card {
    width: 94%;
    padding: 24px;
    border-radius: 20px;
  }

  .job-detail-header h2 {
    font-size: 25px;
  }

  .job-detail-info {
    flex-direction: column;
  }

  .job-detail-info span {
    width: 100%;
  }
}

/* =========================
   MENU UTAMA KERJIVA
   ========================= */

#mainMenu {
  position: fixed;
  left: 20px;
  top: 76px;
  width: 255px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(20, 33, 61, 0.16);
  padding: 9px;
  z-index: 99999;
  backdrop-filter: blur(12px);
}

.nav-actions {
  position: relative;
}

#mainMenu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  margin: 2px 0;
  border: 0;
  background: transparent;
  color: #14213d;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

#mainMenu button:hover {
  background: #eef4ff;
  color: #1664ff;
  transform: translateX(2px);
}

#mainMenu button:active {
  transform: translateX(1px);
}

/* Logout dipisahkan dari menu utama */
#mainMenu #menuLogout {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e6eaf0;
  border-radius: 0 0 10px 10px;
  color: #657189;
}

#mainMenu #menuLogout:hover {
  background: #f8fafc;
  color: #14213d;
}

@media (max-width: 560px) {

  #mainMenu {
    left: 8px;
    top: 68px;
    width: 235px;
    border-radius: 14px;
    padding: 7px;
  }

  #mainMenu button {
    min-height: 43px;
    padding: 10px 12px;
    font-size: 13px;
  }
}

  #mainMenu {
    left: 8px;
    top: 68px;
    width: 230px;
    border-radius: 14px;
    padding: 7px;
  }

  #mainMenu button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* =========================
   CHATBOT KERJIVA
   ========================= */
#chatbot-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #123b6d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

#chatbot-button:hover {
  transform: scale(1.05);
}

#chatbot-box {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 350px;
  height: 470px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

#chatbot-header {
  background: #123b6d;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

#chatbot-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f4f7fb;
}

.chatbot-message {
  max-width: 80%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  line-height: 1.4;
  font-size: 14px;
}

.chatbot-message.bot {
  background: white;
  border: 1px solid #e2e8f0;
}

#chatbot-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e2e8f0;
  background: white;
  gap: 8px;
}

#chatbot-input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
}

#chatbot-input-area button {
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: #123b6d;
  color: white;
  cursor: pointer;
}

#chatbot-input-area button:hover {
  opacity: 0.9;
}

@media (max-width: 480px) {
  #chatbot-box {
    right: 10px;
    left: 10px;
    bottom: 80px;
    width: auto;
    height: 450px;
  }

  #chatbot-button {
    right: 15px;
    bottom: 15px;
  }
}

.search-box {
  position: relative;
}

.job-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  overflow: hidden;
  z-index: 1000;
}

.job-suggestions.hidden {
  display: none;
}

.suggestion-header {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}

.job-suggestion-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 0;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.job-suggestion-item:hover {
  background: #f1f5f9;
}

.job-suggestion-item span:last-child {
  color: #64748b;
  font-weight: 700;
}
/* =========================
   PANAH DROPDOWN KEYWORD
   ========================= */

#keyword {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23647189' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
@media (min-width: 851px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 50px;
    align-items: center;
  }

  #featuredJob {
    width: 100%;
  }
}

#featuredJob.empty-search {
  background: linear-gradient(135deg, #123b6d, #1d5fa7);
}
/* ================================
   PROMO PASANG LOKER GRATIS
   ================================ */

.kerjiva-promo {
  margin-top: -50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  line-height: 1;
  position: relative;
  width: max-content;
  max-width: 100%;
  text-align: center;
}

.kerjiva-promo-title {
  position: relative;
  overflow: hidden;

  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #123b6d;
  text-transform: uppercase;

  text-shadow:
    0 0 6px rgba(37,99,235,.20),
    0 0 14px rgba(37,99,235,.12);

 animation: kerjivaPromoTextFade 3s ease-in-out infinite;
}

.kerjiva-promo-free {
  margin-top: 6px;

  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: #f97316;
  text-transform: uppercase;

  text-shadow:
    0 0 6px rgba(249,115,22,.40),
    0 0 14px rgba(249,115,22,.25),
    0 0 22px rgba(249,115,22,.15);

 animation: kerjivaPromoTextFade 3s ease-in-out infinite;
}
@keyframes kerjivaPromoTextFade {
  0%, 15% {
    opacity: 0;
  }

  25%, 65% {
    opacity: 1;
  }

  75%, 100% {
    opacity: 0;
  }
}

.kerjiva-light {
  position: absolute;
  top: 0;
  left: -70px;

  width: 40px;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.95),
    transparent
  );

  transform: skewX(-20deg);

  animation: kerjivaLightSweep 3s ease-in-out infinite;

  pointer-events: none;
}

@keyframes kerjivaPromoFade {
  0%, 15% {
    opacity: 0;
  }

  25%, 65% {
    opacity: 1;
  }

  75%, 100% {
    opacity: 0;
  }
}

@keyframes kerjivaLightSweep {
  0%, 20% {
    left: -70px;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    left: calc(100% + 20px);
    opacity: 1;
  }

  70%, 100% {
    left: calc(100% + 20px);
    opacity: 0;
  }
}

@keyframes kerjivaTextGlow {
  0%, 100% {
    text-shadow:
      0 0 5px rgba(37,99,235,.15),
      0 0 12px rgba(37,99,235,.10);
  }

  50% {
    text-shadow:
      0 0 7px rgba(37,99,235,.28),
      0 0 18px rgba(37,99,235,.18);
  }
}

@keyframes kerjivaGratisGlow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(249,115,22,.30),
      0 0 14px rgba(249,115,22,.18);
  }

  50% {
    text-shadow:
      0 0 8px rgba(249,115,22,.55),
      0 0 20px rgba(249,115,22,.35),
      0 0 28px rgba(249,115,22,.18);
  }
}
/* =====================================================
   LOADING PENCARIAN KERJIVA
   ===================================================== */

@keyframes kerjivaHourglass {
  0% {
    transform: rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: rotate(8deg);
    opacity: 1;
  }

  100% {
    transform: rotate(0deg);
    opacity: 0.7;
  }
}
