.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; }
.job-details-card { background:#fff;border:1px solid #e7e7e7;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(12,20,30,0.03); }
.kd-btn { padding:9px 14px;border-radius:8px;border:none;font-weight:700;cursor:pointer; }
.kd-btn-primary { background:#28a745 !important;color:#fff; }
.kd-btn-primary:hover { background:#218838 !important; }
.kd-btn-confirm { background: green !important;color:#fff;margin-right:8px; }
.kd-btn-cancel { background: #FF4B33 !important;color:#222; }
.kd-paid-badge { color:green;font-weight:700; }
.kd-info { color:#666; font-weight:600; }
.kd-link { color:#0073aa; text-decoration:none; font-weight:600; }

/* Prevent hover turning white */
.kd-btn,
.kd-btn:hover,
.kd-btn:focus {
    color: #fff !important;
    background-color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}

.kd-btn-primary,
.kd-btn-primary:hover,
.kd-btn-confirm:hover {
    background-color: #0073aa !important;
}
.kd-btn-confirm:hover {
    background-color: darkgreen;
}

.kd-btn-cancel:hover {
    background-color: red !important;
    color: #111 !important;
}

.job-details-card {
  background:#fff;border:1px solid #e7e7e7;padding:18px;
  border-radius:10px;box-shadow:0 6px 18px rgba(12,20,30,0.03);
}

/* 🔹 Current active step */
.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;
   /*transform: scale(1.05);*/
  transition: all 0.3s ease;
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(255, 179, 0, 0.5); }
  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.5); }
}

/* 🔹 Add connecting line between steps (subtle) */
.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;
}

#reject-box select, #reject-box textarea {
  width:100%;max-width:400px;margin-top:8px;padding:8px;border-radius:6px;
  border:1px solid #ccc;font-size:15px;
}
#reject-msg {color:#666;font-weight:600;display:none;}

.payment-modal {
  display:none; position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.5); z-index:9999; align-items:center; justify-content:center;
}
.payment-content {
  background:#fff; padding:25px; border-radius:12px; width:90%; max-width:400px;
  box-shadow:0 8px 20px rgba(0,0,0,0.2); text-align:center;
}
.payment-content h3 { margin-bottom:20px; color:#0073aa; }
.pay-option {
  display:block; width:100%; margin:10px 0; padding:10px; border:none;
  border-radius:8px; font-weight:600; cursor:pointer;
}
.pay-option[data-method="upi"] { background:#1E88E5; color:#fff; }
.pay-option[data-method="card"] { background:#4CAF50; color:#fff; }
.pay-option[data-method="cash"] { background:#FFB300; color:#222; }
#closeModal { background:#ccc; margin-top:12px; }

@media(max-width:720px){
    .kd-step { width:18%; min-width:70px; }
    .kd-step::after {
        display: none; /* remove connecting line on small screens */
      }
}
