/* RECRUITMENT PAGE STYLES */

.recruitment-section {
  background: linear-gradient(135deg, #0b1220 0%, #0f172e 50%, #0b1220 100%);
  color: #fff;
}

/* Hero más estrecho en página de aeronaves */
.aircraft-hero{height:50vh;min-height:380px}

.recruit-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.recruit-intro {
  text-align: center;
  margin-bottom: 40px;
}

.recruit-intro h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: 'Horizon';
}

.recruit-intro p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Oswald';
}

/* Form Styles */
.recruitment-form {
  background: rgba(15, 23, 46, 0.8);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  font-family: 'Horizon';
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  font-family: 'Oswald';
  transition: all 280ms ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Checkbox Group */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 200ms ease;
  font-size: 13px;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

.checkbox-label span {
  flex: 1;
}

/* Error Messages */
.error-msg {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #f87171;
  min-height: 16px;
}

.form-group.error input,
.form-group.error .checkbox-group {
  border-color: #f87171;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 280ms ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading state */
.btn-submit.loading {
  position: relative;
  color: transparent;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .recruitment-form {
    padding: 20px;
  }

  .recruit-intro h2 {
    font-size: 24px;
  }

  .checkbox-group {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .recruitment-section {
    padding: 20px 0 !important;
  }

  .recruit-wrapper {
    padding: 0 16px;
  }

  .recruitment-form {
    padding: 16px;
  }

  .recruit-intro h2 {
    font-size: 20px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* CONFIRMATION PAGE STYLES */

.confirmation-section {
  background: linear-gradient(135deg, #0b1220 0%, #0f172e 50%, #0b1220 100%);
  color: #fff;
}

.confirmation-wrapper {
  max-width: 700px;
  margin: 120px auto 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .confirmation-wrapper {
    margin-top: 80px;
  }
}

@media (max-width: 480px) {
  .confirmation-wrapper {
    margin-top: 48px;
  }
}

@media (max-width: 768px) {
  .confirmation-wrapper {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .confirmation-wrapper {
    margin-top: 18px;
  }
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  animation: scaleIn 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirmation-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.3));
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.confirmation-wrapper h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Use a larger decorative title matching squadrons style */
.gradient-title{
  font-family: 'krinkes decor', sans-serif;
  font-size: 40px;
  margin: 8px 0 6px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  display: block;
}

.confirmation-top{ text-align:center; margin-bottom:18px; font-family: 'Oswald'; }
.logo-large{ width:110px; height:110px; object-fit:contain; display:block; margin:0 auto 8px; filter:drop-shadow(0 10px 30px rgba(0,0,0,0.6)); }

.summary-card{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding:20px; border-radius:12px; border:1px solid rgba(255,255,255,0.06); margin-bottom:22px; box-shadow:0 20px 50px rgba(0,0,0,0.45); }
.summary-card h3{ font-size:18px; margin-bottom:12px; color:#fff; font-family: 'Horizon'; }
.summary-list{ display:grid; grid-template-columns:1fr 1fr; gap:8px 24px; color:rgba(255,255,255,0.9); font-size:15px; font-family: 'Oswald'; }
.summary-list div{ padding:6px 0 }

.feedback-box{ margin-top:14px; background:rgba(15,23,46,0.55); padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,0.04) }
.feedback-box h4{ margin:0 0 8px; font-size:14px; color:#60a5fa }
.feedback-box .ok{ color:#86efac; font-weight:700 }
.feedback-box .warn{ color:#fbbf24; font-weight:700 }
.feedback-box .err{ color:#f87171; font-weight:700 }

.discord-cta{ background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%); border-color: rgba(88,101,242,0.5); }


.confirmation-msg {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

.confirmation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.info-box {
  background: rgba(15, 23, 46, 0.6);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.info-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #60a5fa;
  font-family: 'Horizon';
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box ul li {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Oswald';
}

.info-box ul li:last-child {
  border-bottom: none;
}

.info-box ul li::before {
  content: '▹ ';
  color: #2563eb;
  font-weight: bold;
  margin-right: 6px;
}

.info-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Oswald';
}

.info-box a {
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px solid #60a5fa;
  transition: color 200ms ease;
  font-family: Arial, Helvetica, sans-serif;
}

.info-box a:hover {
  color: #93c5fd;
}

.action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-action {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 280ms ease;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.3);
  border-color: rgba(37, 99, 235, 0.6);
}

.btn-action.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-action.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

/* Responsive Confirmation */
@media (max-width: 768px) {
  .confirmation-wrapper h2 {
    font-size: 28px;
  }

  .confirmation-content {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .confirmation-section {
    padding: 40px 0 !important;
  }

  .confirmation-wrapper {
    padding: 0 16px;
  }

  .confirmation-wrapper h2 {
    font-size: 22px;
  }

  .confirmation-msg {
    font-size: 14px;
  }

  .info-box {
    padding: 16px;
  }

  .info-box h3 {
    font-size: 14px;
  }
}

/* Full-bleed helper for pages that must span the full viewport width */
.full-bleed{width:100%;max-width:100%;padding-left:0;padding-right:0;margin-left:0;margin-right:0}

/* Ensure confirmation pages are tall enough so the header "scrolled" state can activate
   (adds vertical space so users can scroll and the header switches from overlay -> fixed) */
.confirmation-section.full-bleed{
  min-height:120vh;
}

@media (max-width: 768px){
  .confirmation-section.full-bleed{ min-height:110vh; }
}

@media (max-width: 480px){
  .confirmation-section.full-bleed{ min-height:100vh; }
}

/* Make hero compact like squadrons page */
.aircraft-hero{height:50vh;min-height:380px}
