/* ==========================================================================
   aeroKLE Registrations Page Styles
   Spacious, centered layout with elongated input boxes & Signika typography
   ========================================================================== */

:root {
  --accent: #c10000;
  --accent-hover: #e60000;
  --form-teal-bg: rgba(47, 79, 79, 0.35);
  --form-teal-hover: rgba(47, 79, 79, 0.55);
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Signika', 'Roboto', sans-serif;
  overflow-x: hidden;
  width: 100%;
}

/* Authentic aeroKLE Big Heading */
h1.reg-title {
  text-align: center;
  letter-spacing: 4px;
  font-family: 'Signika', sans-serif;
  font-size: 72px;
  font-weight: 700;
  padding: 0 15px;
  margin: 30px auto 40px auto;
  text-transform: uppercase;
  color: #ffffff;
}

h1.reg-title span {
  color: var(--accent);
}

@media (max-width: 768px) {
  h1.reg-title {
    font-size: 44px;
    letter-spacing: 2px;
    margin: 25px auto 25px auto;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  h1.reg-title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    letter-spacing: 1.5px;
    margin: 22px auto 20px auto;
    padding: 0 10px;
    line-height: 1.2;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  h1.reg-title {
    font-size: clamp(1.45rem, 6.8vw, 1.75rem);
    letter-spacing: 1px;
    margin: 18px auto 16px auto;
  }
}

/* Page Section Layout - Flow naturally without viewport height constraints */
.reachus {
  position: relative;
  z-index: 0;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  margin-bottom: 50px;
  overflow: visible !important;
  display: block !important;
  width: 100%;
}

.reachus .container-fluid {
  width: 100%;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.reachus .container-fluid .row {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

@media (max-width: 1200px) {
  .reachus,
  .reachus .container-fluid,
  .reachus .container-fluid .row {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }
}

/* Flanking Side Wings (positioned symmetrically on the edges) */
#left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
}

#right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0;
}

#left img,
#right img {
  width: 140px;
  opacity: 0.85;
}

@media (min-width: 1300px) {
  #left img,
  #right img {
    width: 190px;
  }
}

@media (max-width: 991px) {
  #left,
  #right {
    display: none !important;
  }
}

/* Centered Wide Form Column */
.reg-form-column {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 25px;
}

@media (max-width: 576px) {
  .reg-form-column {
    padding: 0 12px;
  }

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

  .form-section-header {
    margin: 26px 0 16px 0;
    padding: 10px 14px;
    border-radius: 8px;
  }

  .form-section-title {
    font-size: 1.15rem;
    gap: 8px;
  }

  .optional-tag {
    font-size: 0.78rem;
    padding: 2px 8px;
  }

  .form-label {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .form-control {
    font-size: 1rem;
    padding: 12px 16px;
    min-height: 50px;
    border-radius: 10px;
  }

  .form-control::placeholder {
    font-size: 0.95rem;
  }

  select.form-control {
    height: 50px;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .radio-option {
    padding: 12px 16px;
    min-height: 50px;
    gap: 12px;
    border-radius: 10px;
  }

  .radio-text {
    font-size: 1.05rem;
  }

  .form-submit-container {
    padding: 15px 0 35px 0;
  }

  .btn-submit {
    font-size: 1.15rem !important;
    padding: 14px 20px !important;
    min-height: 50px !important;
  }

  .form-submit-container small {
    font-size: 0.85rem;
  }
}

/* Form Styles */
#aerokle-reg-form {
  color: #ffffff;
  width: 100%;
}

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

/* Form Section Headers for 1st Year & 2nd Year */
.form-section-header {
  margin: 38px 0 20px 0;
  padding: 12px 18px;
  background: rgba(193, 0, 0, 0.12);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.form-section-title {
  font-family: 'Signika', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.optional-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.3px;
  text-transform: none;
}

/* Labels: Clear, Prominent & Distinct */
.form-label {
  display: block;
  font-family: 'Signika', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f5f7ff;
  letter-spacing: 0.5px;
}

.required {
  color: var(--accent);
  font-weight: bold;
  margin-left: 4px;
}

/* Elongated & Taller Input Boxes */
.form-control {
  background-color: var(--form-teal-bg);
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 22px;
  font-family: 'Signika', sans-serif;
  font-size: 1.15rem;
  min-height: 58px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-family: 'Signika', sans-serif;
  font-size: 1.1rem;
}

.form-control:focus {
  background-color: var(--form-teal-hover);
  border: 2px solid var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 0, 0, 0.3);
  color: #ffffff;
}

select.form-control {
  height: 58px;
  cursor: pointer;
  padding: 14px 20px;
}

select.form-control option {
  background-color: #060911;
  color: #ffffff;
  padding: 14px;
  font-family: 'Signika', sans-serif;
  font-size: 1.05rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  padding: 18px 22px;
  line-height: 1.5;
}

/* Form Helper Text */
.form-text {
  font-family: 'Signika', sans-serif;
  font-size: 0.95rem;
  color: rgba(231, 236, 255, 0.72);
  margin-top: 8px;
  line-height: 1.4;
}

/* Vertical Options List (Stacked one below the other & elongated) */
.vertical-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--form-teal-bg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 22px;
  min-height: 58px;
  cursor: pointer;
  margin: 0;
  transition: all 0.25s ease;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.radio-option:hover {
  background-color: var(--form-teal-hover);
  border-color: rgba(255, 255, 255, 0.4);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-radio-dot {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.custom-radio-dot::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .custom-radio-dot {
  border-color: var(--accent);
}

.radio-option input[type="radio"]:checked + .custom-radio-dot::after {
  opacity: 1;
  transform: scale(1);
}

.radio-option input[type="radio"]:checked {
  background-color: rgba(193, 0, 0, 0.18);
  border-color: var(--accent);
}

.radio-text {
  font-family: 'Signika', sans-serif;
  color: rgba(231, 236, 255, 0.9);
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.radio-option input[type="radio"]:checked ~ .radio-text {
  color: #ffffff;
  font-weight: 600;
}

/* Submit Button - aeroKLE Signature Button */
.form-submit-container {
  width: 100%;
  padding: 25px 0 45px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  clear: both;
}

.btn-submit {
  background: linear-gradient(135deg, #c10000 0%, #900000 100%) !important;
  border: 2px solid #ff4d4d !important;
  border-radius: 30px !important;
  color: #ffffff !important;
  padding: 16px 45px !important;
  margin: 15px auto 12px auto !important;
  font-family: 'Signika', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 280px !important;
  max-width: 400px !important;
  width: auto !important;
  text-align: center !important;
  box-shadow: 0 6px 20px rgba(193, 0, 0, 0.45) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #e60000 0%, #c10000 100%) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(193, 0, 0, 0.6) !important;
  color: #ffffff !important;
}

.btn-submit:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(193, 0, 0, 0.4) !important;
}

.btn-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .form-submit-container {
    padding: 20px 0 50px 0;
  }

  .btn-submit {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 54px !important;
    padding: 16px 24px !important;
    margin: 15px 0 10px 0 !important;
    font-size: 1.2rem !important;
    border-radius: 28px !important;
    box-shadow: 0 6px 22px rgba(193, 0, 0, 0.55) !important;
  }
}

/* Feedback / Alert */
.form-feedback {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-family: 'Signika', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background-color: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Success Card */
.reg-success-card {
  text-align: center;
  padding: 50px 20px;
  font-family: 'Signika', sans-serif;
}

.reg-success-card h2 {
  font-size: 2.4rem;
  font-family: 'Signika', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-top: 20px;
  letter-spacing: 1px;
}

.reg-success-card p {
  color: rgba(231, 236, 255, 0.88);
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.reg-details-box {
  background-color: rgba(47, 79, 79, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto 35px;
  text-align: left;
}

.reg-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.reg-detail-row:last-child {
  border-bottom: none;
}

.reg-detail-row span {
  color: rgba(231, 236, 255, 0.7);
}

.reg-detail-row strong {
  color: #ffffff;
}

/* Recruitment Material Download Card */
.recruitment-material-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1.5px solid rgba(193, 0, 0, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(193, 0, 0, 0.15);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 520px;
  margin: 0 auto 35px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.recruitment-material-card:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 38, 38, 0.7);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(193, 0, 0, 0.25);
}

.material-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(193, 0, 0, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d4d;
  font-size: 1.7rem;
}

.material-info h3 {
  font-family: 'Signika', sans-serif;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}

.material-info p {
  font-family: 'Signika', sans-serif;
  color: rgba(231, 236, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
  max-width: 440px;
}

.btn-download-material {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #c10000 0%, #900000 100%);
  border: 2px solid #ff4d4d;
  border-radius: 26px;
  color: #ffffff !important;
  font-family: 'Signika', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(193, 0, 0, 0.4);
  transition: all 0.25s ease;
  margin-top: 6px;
}

.btn-download-material:hover {
  background: linear-gradient(135deg, #e60000 0%, #c10000 100%);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 0, 0, 0.6);
  color: #ffffff !important;
}

.btn-download-material:active {
  transform: translateY(1px);
}

@media (max-width: 576px) {
  .recruitment-material-card {
    padding: 20px 16px;
    margin: 0 auto 28px;
    width: 100%;
    box-sizing: border-box;
  }

  .material-info h3 {
    font-size: 1.2rem;
  }

  .material-info p {
    font-size: 0.9rem;
  }

  .btn-download-material {
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    box-sizing: border-box;
  }
}

.btn-reg-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  color: #ffffff;
  padding: 12px 28px;
  margin: 6px;
  font-family: 'Signika', sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-reg-secondary:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
}

/* Ensure footer appears cleanly after the entire form on all devices */
body[data-page="registrations"] .footer {
  position: relative;
  clear: both;
  margin-top: 50px;
  z-index: 2;
  width: 100%;
}

