/* --- AWAKENING YOUTH RETREAT 2026 - NEW DESIGN --- */

/* 1. Global Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Background image with 55% opacity gradient overlay */
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #333333;
  font-family: 'Poppins', 'Inter', sans-serif;
  /* Clean body font */
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px 10px;
}

/* 2. Page Container & Card styling */
.container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 16px;
  /* Soft, app-like corners */
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
  /* Midnight Blue shadow base */
  overflow: hidden;
  border: 1px solid rgba(44, 62, 80, 0.03);
}

/* 3. Header Banner */
.banner {
  /* Forest Green / Midnight Blue gradient with 75% opacity */
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.75) 0%, rgba(30, 86, 49, 0.75) 100%);
  color: #FFFFFF;
  padding: 40px 25px;
  text-align: center;
  position: relative;
}

/* Subtle glowing accent effect in header */
.banner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, rgba(255, 193, 7, 0) 70%);
  border-radius: 50%;
}

.header-logo {
  max-width: 550px;
  width: 100%;
  height: auto;
  margin: 0 auto 12px auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.banner h1 {
  font-family: 'Playfair Display', serif;
  /* Timeless Serif font */
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  text-align: center;
}

.banner p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 4. Form Section Layout */
.form-section {
  padding: 30px 25px;
  border-bottom: 1px solid #EEEEEE;
}

.form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #2C3E50;
  /* Deep Midnight Blue header */
  margin-bottom: 25px;
  position: relative;
  display: block;
  text-align: center;
}

/* Subtle orange underline motif */
.form-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #FF8C00;
  margin-top: 6px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* 5. Input Field Styling */
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555555;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
input[type="file"] {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  font-size: 15px;
  background-color: #FFFFFF;
  transition: all 0.2s ease;
}

/* Focus state: Primary Accent Orange */
input:focus,
select:focus {
  outline: none;
  border-color: #FF8C00;
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

/* 6. Radio & Specialized Inputs */
.radio-group {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: 400;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: #FF8C00;
  /* Modern radio color handling */
  margin-right: 10px;
  transform: scale(1.2);
}


.prayer-box {
  margin-left: 15px;
  margin-right: 15px;

}

/* UPI Payment Box */
.upi-box {
  background: #FFFBF5;
  border: 2px dashed #FFC107;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.upi-box p {
  color: #8B4513;
}

.qr-placeholder img {
  border: 5px solid white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
}

/* Declaration Box */
.declaration-section {
  background: #F8F9FA;
  border: 1px solid #E2E8F0;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.declaration-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #2C3E50;
  margin-bottom: 12px;
}

.declaration-title {
  font-size: 15px;
  color: #2C3E50;
  margin-bottom: 10px;
}

.declaration-list {
  padding-left: 20px;
  margin: 15px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4A5568;
}

.declaration-list li {
  margin-bottom: 10px;
}

.checkbox-group {
  margin-top: 18px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #2C3E50;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #FF8C00;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

/* 7. Buttons */
button {
  width: 100%;
  background-color: #FF8C00;
  /* Energetic Orange CTA */
  color: #FFFFFF;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.2s ease;
  box-shadow: 0 4px 10px rgba(255, 140, 0, 0.2);
}

button:hover {
  background-color: #E67E00;
}

/* Click feedback */
button:active {
  transform: scale(0.98);
}

button:disabled {
  background-color: #CCCCCC;
  box-shadow: none;
  cursor: not-allowed;
}

/* Helper Utilities */
.hidden {
  display: none !important;
}

.status-msg {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  font-size: 15px;
}

/* 8. Success Screen (Message Screen) Styles */
.success-card {
  padding: 50px 30px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #28A745;
  color: #FFFFFF;
  font-size: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px auto;
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.2);
}

.success-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.4;
  color: #2C3E50;
  margin-bottom: 25px;
}

.reg-number-box {
  background-color: #F9FDF9;
  border: 3px solid #28A745;
  padding: 25px 20px;
  border-radius: 12px;
  margin: 25px 0 30px 0;
  position: relative;
}

.reg-number-box::before {
  content: 'OFFICIAL ID';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28A745;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.reg-number-box span {
  display: block;
  font-size: 14px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.reg-number-box strong {
  font-family: 'Courier New', Courier, monospace;
  /* Monospace for ID clarity */
  font-size: 36px;
  color: #28A745;
  letter-spacing: 2px;
}

.sub-text {
  font-size: 14px;
  color: #777777;
  margin-bottom: 30px;
}

.reload-btn {
  background-color: #2C3E50;
  width: auto;
  padding: 12px 24px;
  font-size: 15px;
}

.reload-btn:hover {
  background-color: #1A252F;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
  .header-logo {
    max-width: 90%;
    margin-bottom: 8px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .banner h1 {
    font-size: 28px;
  }

  .form-section {
    padding: 25px 15px;
  }

  .reg-number-box strong {
    font-size: 30px;
  }
}