/*!
 * Copyright (c) 2026 OHTCC (ohtccwa.org)
 * All rights reserved.
 */

.janmashtami-page-header {
  padding: 8px 0 18px;
}

.janmashtami-page-header .section-title {
  color: #cc4e00 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 30px !important;
}

.janmashtami-page-header .section-title i {
  margin-right: 8px;
  font-size: .95em;
}

.janmashtami-page-header .section-title::after {
  width: 80px !important;
  height: 4px !important;
  margin: 10px auto 0 !important;
  border-radius: 2px !important;
}

.janmashtami-info-box {
  display: block !important;
  width: min(100%, 920px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #f5c97a !important;
  border-left: 5px solid #cc4e00 !important;
  border-radius: 8px;
  background: #fff8f0 !important;
  padding: 22px 28px;
  color: #1d2230;
  font-size: 1.04rem;
  line-height: 1.75;
  box-shadow: none;
  margin-top: 0;
}

.janmashtami-info-box p {
  margin: 0 0 26px;
}

.janmashtami-info-box p:last-child {
  margin-bottom: 0;
}

.janmashtami-info-box i {
  color: #cc4e00;
  margin-right: 10px;
}

.janmashtami-form-wrap {
  margin-top: 18px;
}

.registration-closed-banner {
  background: #fff8f0;
  border: 1px solid #f5c97a;
  border-left: 5px solid #cc4e00;
  border-radius: 10px;
  color: #3a1a00;
  font-size: 1rem;
  line-height: 1.65;
  padding: 22px 26px;
  text-align: center;
}

.registration-closed-banner .closed-title {
  color: #7a0c10;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.registration-closed-banner p {
  margin: 0 0 8px;
}

.registration-closed-banner p:last-child {
  margin-bottom: 0;
}

.registration-closed-banner a {
  color: #cc4e00;
  font-weight: 700;
  text-decoration: none;
}

.janmashtami-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.performer-section {
  margin-top: 20px;
}

.performer-option-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.performer-option {
  position: relative;
  display: block !important;
  cursor: pointer;
  border: 2px solid #e0c89a;
  border-radius: 10px;
  background: #fffdf5;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.performer-option:hover {
  border-color: #cc4e00;
  background: #fff3e8;
}

.performer-option:has(input:checked) {
  border-color: #cc4e00;
  background: #fff3e8;
  box-shadow: 0 0 0 3px rgba(204, 78, 0, .18);
}

.performer-option input {
  position: absolute !important;
  inset: 0;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  cursor: pointer;
}

.performer-option-content {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  padding: 14px;
  color: #3a1a00;
  font-weight: 800;
  text-align: center;
}

.performer-option-content i {
  color: #cc4e00;
  font-size: 1.35rem;
}

.child-name-wrap {
  display: none !important;
  margin-top: 16px;
}

.child-name-wrap.show {
  display: block !important;
}

.janmashtami-option {
  display: block;
  cursor: pointer;
  border: 2px solid #e0c89a;
  border-radius: 12px;
  background: #fffdf5;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.janmashtami-option:hover {
  border-color: #cc4e00;
  background: #fff3e8;
}

.janmashtami-option:has(input:checked) {
  border-color: #cc4e00;
  background: #fff3e8;
  box-shadow: 0 0 0 3px rgba(204, 78, 0, .18);
}

.janmashtami-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 152px;
  padding: 22px 16px;
  text-align: center;
}

.option-content i {
  color: #cc4e00;
  font-size: 2rem;
  margin-bottom: 10px;
}

.option-title {
  color: #3a1a00;
  font-size: 1.05rem;
  font-weight: 800;
}

.option-desc {
  color: #7a4010;
  font-size: .88rem;
  line-height: 1.45;
  margin-top: 6px;
}

.activity-details-wrap {
  display: none;
  margin-top: 18px;
}

.activity-details-wrap.show {
  display: block;
}

.kids-workshop-page-header .section-title {
  color: #9b1c1f !important;
  margin-bottom: 18px !important;
}

.kids-workshop-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 10px;
}

.kids-workshop-logo {
  display: block;
  width: min(240px, 68vw);
  height: auto;
}

.kids-workshop-info-box {
  border-color: #f1b45c !important;
  border-left-color: #9b1c1f !important;
  padding: 16px 24px;
  line-height: 1.55;
}

.kids-workshop-info-box p {
  margin-bottom: 12px;
}

.children-rows {
  display: grid;
  gap: 14px;
}

.child-row {
  border: 1px solid #ead2a6;
  border-radius: 10px;
  background: #fffdf7;
  padding: 16px;
}

.child-row-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.child-row-title {
  color: #7a0c10;
  font-weight: 800;
}

.btn-remove-child {
  width: 34px;
  height: 34px;
  border: 1px solid #e0c89a;
  border-radius: 50%;
  background: #fff8f0;
  color: #9b1c1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-remove-child:hover {
  background: #ffe8e8;
  border-color: #d79696;
}

.btn-add-child {
  margin-top: 16px;
  border: 2px solid #cc4e00;
  border-radius: 8px;
  background: #fff8f0;
  color: #7a3800;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
}

.btn-add-child:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.navaratri-page-header .section-title {
  color: #9b1c1f !important;
  margin-bottom: 18px !important;
}

.navaratri-info-box {
  border-color: #f1b45c !important;
  border-left-color: #9b1c1f !important;
  padding: 18px 24px;
}

.navaratri-info-box a {
  color: #cc4e00;
  font-weight: 800;
  text-decoration: none;
}

.navaratri-pooja-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.navaratri-pooja-list div {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(150px, .9fr) minmax(220px, 1.6fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #ead2a6;
  border-radius: 8px;
  background: #fffdf7;
  padding: 12px 14px;
}

.navaratri-pooja-list strong {
  color: #7a0c10;
}

.navaratri-pooja-list span {
  color: #7a4010;
  font-size: .92rem;
  font-weight: 700;
}

.navaratri-pooja-list em {
  color: #1d2230;
  font-style: normal;
  font-weight: 700;
}

.navaratri-amount-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  border: 1px solid #f1b45c;
  border-left: 5px solid #cc4e00;
  border-radius: 8px;
  background: #fff8f0;
  color: #3a1a00;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.navaratri-amount-box span,
.navaratri-amount-box em {
  font-style: normal;
  font-weight: 700;
}

.navaratri-amount-box strong {
  color: #9b1c1f;
  font-size: 1.7rem;
  line-height: 1;
}

.navaratri-payment-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.navaratri-payment-help div {
  display: grid;
  gap: 7px;
  justify-items: center;
  border: 1px solid #ead2a6;
  border-radius: 8px;
  background: #fffdf7;
  color: #3a1a00;
  padding: 14px;
  text-align: center;
}

.navaratri-payment-help i {
  color: #cc4e00;
  font-size: 1.4rem;
}

.navaratri-payment-help strong {
  color: #7a0c10;
}

.navaratri-payment-help a {
  color: #cc4e00;
  font-weight: 800;
  text-decoration: none;
}

.navaratri-payment-help img {
  display: block;
  width: min(132px, 100%);
  height: auto;
}

@media (max-width: 640px) {
  .janmashtami-option-grid {
    grid-template-columns: 1fr;
  }

  .performer-option-grid {
    grid-template-columns: 1fr;
  }

  .janmashtami-page-header {
    padding-top: 18px;
  }

  .janmashtami-info-box {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .kids-workshop-logo-wrap {
    margin-bottom: 6px;
  }

  .kids-workshop-logo {
    width: min(210px, 68vw);
  }

  .navaratri-pooja-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .navaratri-payment-help {
    grid-template-columns: 1fr;
  }
}
