/* ---------- Layout ---------- */
.pk-container {
  max-width: 1180px;
  margin: 30px auto;
  padding: 0 20px;
}
.pk-payment-box strong,
.pk-payment-box b,
.pk-payment-box span.bold {
    font-weight: 700 !important;
}
.pk-readonly{
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 14px;
    color: #374151;
}
/* intl-tel-input full width fix */
.iti {
    width: 100%;
}

.iti input,
.iti--allow-dropdown input,
.iti--separate-dial-code input {
    width: 100% !important;
    box-sizing: border-box;
}
.pk-currency {
    margin-right: 2px;
    font-weight: 600;
}

/* Optional – match your other inputs */
.iti input {
    height: 44px;          /* same as other inputs */
    border-radius: 8px;    /* optional */
}

.pk-summary-card br {
    display: none;
}


.pk-flex {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: flex-start;
}

.pk-left .pk-payment-box{
    background:#fff;
    border-radius:14px;
    padding:26px 24px;
    box-shadow:0 10px 28px rgba(15,23,42,0.08);
    border:1px solid rgba(15,23,42,0.05);
}
/* ---------- Left Form Card ---------- */
.pk-left > form,
.pk-left > .card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.08);
  border: 1px solid rgba(15,23,42,0.05);
}

.pk-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

/* fields */
.pk-left label {
  display: block;
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
  font-weight: 600;
}

.pk-left input,
.pk-left select {
  width: 100%;
  height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-size: 14px;
}


/* Two column layout for checkboxes */
.pk-2col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 40px !important;
    margin-top: 8px;
}

/* Checkbox row */
.pk-check{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
     padding:8px 10px;
    border-radius:8px;
    cursor:pointer;
    transition:background .2s ease, border .2s ease;
    border:1px solid transparent;
}

/* Fix checkbox size */
.pk-check input[type="checkbox"]{
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
     accent-color:#0d0d3b; 
}

.pk-check input[type="checkbox"]:checked + span,
.pk-check:has(input[type="checkbox"]:checked){
    color:#000;
    font-weight:600;
}

.pk-left input:focus,
.pk-left select:focus {
  border-color: #7ac142;
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,193,66,0.15);
}

.pk-left form > div {
  margin-bottom: 14px;
}

/* ---------- Right Summary Card ---------- */
.pk-right {
  position: sticky;
  top: 20px;
}

.pk-summary {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.08);
  border: 1px solid rgba(15,23,42,0.05);
}

.pk-summary h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pk-summary-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.pk-course-img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.pk-summary .row {
    display: flex;
    justify-content: flex-start;   /* 🔥 left align */
    gap: 12px;                     /* label & value gap */
    font-size: 13px;
    margin: 6px 0;
    color: #374151;
}
.pk-summary .row span:first-child{
    min-width: 110px;  /* adjust as needed */
}


.pk-summary .total {
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
}

/* ---------- Buttons ---------- */
.pk-btn {
  width: 100%;
  background: #0d0d3b;
  color: #ffffff;
  padding: 12px 16px;
  border: none;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 14px;
}
.pk-pay-btn {
  width: 100%;
  background: #7ac142;
  color: #000000;
  padding: 12px 16px;
  border: none;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 14px;
}
.pk-error{
      color: red;
    font-size: 12px;
}

.pk-invalid {
    border: 1px solid #e00 !important;
    background: #fff5f5;
}
#pk-create-order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pk-progress-wrap{
      width: 45% !important;
    background: #f5f6f8;
    padding: 18px 0;
    margin: 0 auto;
    border-radius: 40px;
}

.pk-progress{
    max-width:900px;
    margin:0 auto;
    display:flex;              /* 🔥 horizontal */
    align-items:center;
    justify-content:center;
    gap:14px;
}

.pk-step{
    display:flex;
    align-items:center;        /* number + label side-by-side */
    gap:8px;
    font-size:14px;
    color:#94a3b8;
    white-space:nowrap;
}

.pk-step.done,
.pk-step.active{
    color:#0f172a;
    font-weight:600;
}

.pk-circle{
    width:26px;
    height:26px;
    border-radius:50%;
    border:2px solid #cbd5e1;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    font-size:12px;
}

.pk-step.done .pk-circle{
    background:#0f172a;
    color:#fff;
    border-color:#0f172a;
}

.pk-step.active .pk-circle{
    border-color:#0f172a;
}

.pk-line{
    width:60px;
    height:2px;
    background:#cbd5e1;
}

.pk-line.done{
    background:#0f172a;
}
/* ---------- GLOBAL LOADER ---------- */
#pk-global-loader{
    position:fixed;
    inset:0;
    z-index:99999;
}

.pk-loader-backdrop{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(2px);
}

.pk-loader-box{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:#fff;
    padding:28px 32px;
    border-radius:14px;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
    text-align:center;
}

.pk-spinner{
    width:36px;
    height:36px;
    border:4px solid #e5e7eb;
    border-top-color:#7ac142;
    border-radius:50%;
    animation:pkspin 1s linear infinite;
    margin:0 auto 12px;
}

@keyframes pkspin{
    to{transform:rotate(360deg)}
}



/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pk-flex {
    grid-template-columns: 1fr;
  }

  .pk-right {
    position: static;
  }
}
/* ---------- MOBILE ORDER CHANGE ---------- */
@media (max-width: 768px) {

  .pk-flex{
    flex-direction: column;
  }

  .pk-right{
    order: 1;   /* 🔥 top */
    margin-bottom: 20px;
  }

  .pk-left{
    order: 2;   /* 🔥 bottom */
  }
  .pk-progress-wrap {
  width: 100% !important;
  border-radius: 0px !important;
  }
  
}