/*!
 * 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;
}

@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;
  }
}
