.job-details-card {
    background:#fff; border:1px solid #e5e5e5; border-radius:10px;
    padding:20px; box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
.kd-btn { padding:10px 16px; border:none; border-radius:8px; cursor:pointer; font-weight:600; }
.kd-btn-primary { background:#0073aa; color:#fff; margin-bottom:10px;}
.kd-btn-primary:hover { background:#005f8d; }
.kd-btn-complete { background:green; color:#fff; }
.kd-btn-complete:hover { background:darkgreen; }
.kd-btn-quote { background:#f1b80e; color:#222; }
.kd-btn-quote:hover { background:#d4a20c; }
textarea, input[type=number] {
    width:100%; border-radius:6px; border:1px solid #ccc; padding:8px;
}
.kd-progress { display:flex; gap:12px; margin-top:12px; flex-wrap:wrap; }
.kd-step { text-align:center; width:18%; min-width:90px; }
.kd-step-circle { width:44px; height:44px; border-radius:50%; background:#e9eef3; display:flex; align-items:center; justify-content:center; margin:0 auto 8px; font-weight:700; color:#444; }
.kd-step.done .kd-step-circle { background:#0073aa; color:#fff; box-shadow:0 6px 18px rgba(0,115,170,0.12); }
.kd-step-label { font-size:13px; color:#333; }

/* 🔹 Current active step (highlight + pulse) */
.kd-step.current .kd-step-circle {
  background: #ffb300;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.7);
  animation: pulse 1.4s infinite;
  
  transition: all 0.3s ease;
}

/* 🔹 Completed steps */
.kd-step.done .kd-step-circle {
  background: #0073aa !important;
  color: #fff !important;
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(255, 179, 0, 0.4); }
  50% { box-shadow: 0 0 12px rgba(255, 179, 0, 0.9); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 rgba(255, 179, 0, 0.4); }
}

/* 🔹 Connector lines between steps */
.kd-step {
  position: relative;
}

.kd-step::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -40px;
  width: 80px;
  height: 3px;
  background: #e9eef3;
  z-index: 0;
}

.kd-step.done::after {
  background: #0073aa;
}

.kd-step:last-child::after {
  display: none;
}

.qr-modal {
  display:none;
  position:fixed;
  top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.6);
  z-index:9999;
  justify-content:center;
  align-items:center;
}
.qr-modal.active {
  display:flex;
}
.qr-content {
  background:#fff;
  padding:25px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  text-align:center;
  max-width:320px;
  width:90%;
  position:relative;
}
#closeQR {
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
}
#qrContainer img {
  display:block;
  margin:15px auto;
}

@media(max-width:720px){
    .kd-step { width:18%; min-width:70px; }
    .kd-step::after {
        display: none; /* remove connecting line on small screens */
      }
}
