/* ---------- SCOPED TO THIS FORM ONLY ---------- */
#parent-registration-form {
  --prf-brand: #E13D17;
  --prf-ink: #222;
  --prf-muted: #6b7280;
  --prf-bg: #fafafa;
  --prf-card: #fff;
  --prf-ring: #e5e7eb;
  --prf-ok: #10b981;
}

/* Keep bootstrap/selectpicker/global styles intact elsewhere */
#parent-registration-form .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px
}

#parent-registration-form .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--prf-ring);
  border-radius: 999px;
  background: var(--prf-card);
  color: var(--prf-muted);
  font-size: 12px
}

/* Dropdown shells */
#parent-registration-form .select {
  position: relative
}

#parent-registration-form .select>button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 260px;
  width: max-content;
  padding: 10px 12px;
  border: 1px solid var(--prf-ring);
  border-radius: 10px;
  background: var(--prf-card);
  cursor: pointer;
  color: var(--prf-ink)
}

#parent-registration-form .select[aria-disabled="true"]>button,
#parent-registration-form .select>button[disabled] {
  opacity: .5;
  cursor: not-allowed
}

/* Dropdown panel */
#parent-registration-form .menu {
  position: absolute;
  z-index: 50;
  margin-top: 6px;
  min-width: 260px;
  max-width: calc(100vw - 48px);
  background: var(--prf-card);
  border: 1px solid var(--prf-ring);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 8px;
  display: none
}

#parent-registration-form .menu.open {
  display: block
}

#parent-registration-form .menu label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer
}

#parent-registration-form .menu label:hover {
  background: #f6f6f6
}

/* Group cards */
#parent-registration-form .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 18px
}

#parent-registration-form .card {
  background: var(--prf-card);
  border: 1px solid var(--prf-ring);
  border-radius: 16px;
  padding: 14px
}

#parent-registration-form .card h3 {
  margin: 0 0 6px;
  font-size: 16px
}

#parent-registration-form .muted {
  color: var(--prf-muted);
  font-size: 12px
}

/* Counters */
#parent-registration-form .counter {
  display: flex;
  align-items: center;
  gap: 8px
}

#parent-registration-form .counter button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--prf-ring);
  background: var(--prf-card);
  cursor: pointer;
  font-size: 18px;
  line-height: 0
}

#parent-registration-form .counter input {
  width: 56px;
  text-align: center;
  border: 1px solid var(--prf-ring);
  border-radius: 10px;
  height: 32px
}

/* Header rows inside the table */
#parent-registration-form tr.group-header td {
  background: #f8f9fb;
  font-weight: 600;
  color: #111
}

#parent-registration-form tr.group-header small {
  color: var(--prf-muted);
  font-weight: 400;
  margin-left: 8px
}

/* Age highlight */
#parent-registration-form td[data-col="age"].age-out {
  color: var(--prf-brand);
  font-weight: 600
}

/* Table frame – scoped only */
#parent-registration-form .requestortablesection table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--prf-card);
  border: 1px solid var(--prf-ring);
  border-radius: 16px
}

#parent-registration-form .requestortablesection th,
#parent-registration-form .requestortablesection td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--prf-ring);
  vertical-align: top
}

#parent-registration-form .requestortablesection thead th {
  background: #f8f9fb;
  font-weight: 600
}

#parent-registration-form .requestortablesection tbody tr:last-child td {
  border-bottom: none
}

/* Small status styles */
#parent-registration-form .ok {
  color: var(--prf-ok)
}

#parent-registration-form .error {
  color: var(--prf-brand)
}

#parent-registration-form .rowline {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px
}

#parent-registration-form .inline {
  display: flex;
  gap: 8px;
  align-items: center
}

#parent-registration-form .flex {
  display: flex;
  gap: 8px;
  align-items: center
}

#parent-registration-form .grow {
  flex: 1
}

/* Optional: ensure only this form’s selectpicker gets a consistent height */
#parent-registration-form .selectpicker.form-control {
  min-height: 38px
}



/* ALI CSS */

.child-block {
  width: 100%;
}

.child-block h2 {
  font-size: 1.375em;
  color: #5d2e82;
  font-family: EffraBold;
  font-weight: 300;
  line-height: 1.75em;
  margin: 0 0 1.5em;
}

#parent-registration-form .requestortablesection thead th {
  vertical-align: middle;
}

#parent-registration-form .select>button {
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 50px;
}

#parent-registration-form .card {
  border: solid .03125em rgb(57 57 57 / .4);
}

#parent-registration-form .card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

#parent-registration-form .muted {
  color: #000;
  font-size: 14px;
}

#parent-registration-form .counter {
  gap: 0;
}

#parent-registration-form .counter button {
  color: #fff;
  border-radius: 0;
  border: 1px solid #5d2e82;
  background: #5d2e82;
}

#parent-registration-form .counter input {
  width: 56px;
  text-align: center;
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 0;
  height: 32px;
}

#parent-registration-form .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px 16px;
  margin-bottom: 18px;
}

.requestorcontainerw [type="text"] {
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 50px;
  padding: 8px 15px;
  width: 100%;
  font-family: DubaiW23-Regular !important;
  font-size: 15px;
  height: 45px;
  font-size: 14px;
}

.requestorcontainerw [type="date"] {
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 50px;
  padding: 8px 15px;
  width: 100%;
  font-family: DubaiW23-Regular !important;
  font-size: 15px;
  height: 45px;
  font-size: 14px;
}

.requestorcontainerw select {
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 50px;
  padding: 8px 15px;
  width: 100%;
  font-family: DubaiW23-Regular !important;
  font-size: 15px;
  height: 45px;
  font-size: 14px;
}

#parent-registration-form .badge {
  display: none;
}

.requestorcontainerw [type="date"] {
  border: solid .03125em rgb(57 57 57 / .4);
  border-radius: 50px;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: normal;
}

.form-wrap .dashboard-table .requestorcontainerw table td [type="checkbox"] {
  margin: 0;
}

#parent-registration-form .requestortablesection th,
#parent-registration-form .requestortablesection td {
  vertical-align: bottom;
}

#parent-registration-form .flex {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-right: 10px;
}


/* ALI CSS */

/* Raghu CSS */
/* Scoped styles for coupon UI only */
#couponBlock {
  margin-top: 12px;
  font-family: inherit;
}

#couponBlock .coupon-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

#couponBlock input[type="text"]#couponInput {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 200px;
}

#couponBlock button {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: #fff;
}

#couponBlock button:active {
  transform: translateY(1px);
}

#couponStatus {
  margin-left: 12px;
  font-size: 13px;
  color: #333;
  min-width: 220px;
}

/* small error style used by JS flash() */
#couponStatus.error {
  color: #E13D17 !important;
}

/* hide remove by default - script will toggle */
#removeCouponBtn {
  display: none;
}


/* Ali CSS 13-11-2025 */

#parent-registration-form .requestortablesection thead th {
  white-space: nowrap;
  background: #5d2e82;
  font-weight: 600;
  color: #fff;
  padding: 18px 18px;
}

#tblWorkflow {
  table-layout: fixed;
}

label#lbltermcondition {
  margin-top: 30px;
}

.dashboard-table .requestorcontainerw table th:nth-child(6) {
  max-width: 220px;
  width: 220px;
}

.dashboard-table .requestorcontainerw table td:nth-child(6) {
  max-width: 220px;
  width: 220px;
  vertical-align: middle !important;
}

.dashboard-table .requestorcontainerw table td:nth-child(7) {
  vertical-align: middle !important;
}

.dashboard-table .requestorcontainerw table th:nth-child(4) {
  max-width: 35px;
  width: 35px;
}

.dashboard-table .requestorcontainerw table td:nth-child(4) {
  max-width: 35px;
  width: 35px;
}

.dashboard-table .requestorcontainerw table th:nth-child(1) {
  max-width: 35px;
  width: 35px;
}

.dashboard-table .requestorcontainerw table td:nth-child(1) {
  max-width: 35px;
  width: 35px;
  vertical-align: middle !important;
}

.dashboard-table table th:nth-child(6) .inner {
  justify-content: flex-start;
}

.requestorcontainerw {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ali CSS 13-11-2025 */





/* Ali CSS 17-11-2025 */

@media(max-width: 1560px) {

  .dashboard-table .requestorcontainerw table th:nth-child(3) {
    max-width: 225px;
    width: 225px;
  }

  .dashboard-table .requestorcontainerw table td:nth-child(3) {
    max-width: 35px;
    width: 35px;
  }

  .dashboard-table .requestorcontainerw table th:nth-child(5) {
    max-width: 205px;
    width: 2025px;
  }

  .dashboard-table .requestorcontainerw table td:nth-child(5) {
    max-width: 225px;
    width: 225px;
  }

}

/* Ali CSS 17-11-2025 */

/* Ali CSS 19-11-2025 */

.form-wrap label {
    font-size: 14px;
    color: #5d2e82;
    width: 100%;
    margin-bottom: .625em;
    line-height: 20px;
    letter-spacing: .1px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.paymentamountcalc {
    font-weight: bold;
    font-size: 1.075em;
}

.paymentcontainer{
  font-size: 1.075em;
}

/* Ali CSS 19-11-2025 */

/* Ali CSS 21-11-2025 */

[dir="rtl"] .dashboard-table .requestorcontainerw table th:nth-child(1) {
  max-width: 85px;
  width: 85px;
}

[dir="rtl"] .dashboard-table .requestorcontainerw table td:nth-child(1) {
  max-width: 85px;
  width: 85px;
}

[dir="rtl"] .child-block h2{
  font-family: NeoSansArabic, ui-sans-serif;
}

@media(max-width: 575.98px){
  #parent-registration-form .inline {
    flex-wrap: wrap;
  }
  #parent-registration-form .cards{
    display: block;
  }
  #parent-registration-form .select>button{
    width: 100%;
  }
  #parent-registration-form .select {
    width: 100%;
}
}

@media (max-width: 575.98px) {
    .dashboard-table table tbody tr td::before, .dashboard-table-2 table tbody tr td::before {
		content: attr(data-mobile-label) !important;
        font-weight: 700;
        text-transform: capitalize;
        margin-bottom: 8px;
        display: block;
        font-size: 14px;
    }

    .dashboard-table .requestorcontainerw table td:nth-child(1){
      font-size: 18px;
    }

    [dir="rtl"] .dashboard-table table tbody tr td::before, [dir="rtl"] .dashboard-table-2 table tbody tr td::before{
      text-align: right;
    }

    [dir="rtl"] .form-wrap label{
      text-align: right;
      display: block
    }
}

/* Ali CSS 21-11-2025 */
