/**
 * Estilos para la Página de Agradecimiento (Thank You Page)
 */

/* ========== Container Principal ========== */
.thank-you-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ========== Card de Agradecimiento ========== */
.thank-you-card {
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Título ========== */
.thank-you-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  color: #212529;
}

.thank-you-title .text-primary {
  color: #6366f1 !important;
  display: inline-block;
}

@media (max-width: 768px) {
  .thank-you-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .thank-you-title {
    font-size: 1.75rem;
  }
}

/* ========== Texto Descriptivo ========== */
.thank-you-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .thank-you-text {
    font-size: 1rem;
  }
}

/* ========== Botón CTA ========== */
.thank-you-card .btn-cta-primary .wp-block-button__link {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.thank-you-card .btn-cta-primary .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #5558e3 0%, #7c4de8 100%);
}

@media (max-width: 576px) {
  .thank-you-card .btn-cta-primary .wp-block-button__link {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ========== Link de Volver ========== */
.back-link {
  margin-bottom: 0;
}

.back-link a {
  color: #6c757d;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: #6366f1;
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .thank-you-card {
    padding: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .thank-you-page {
    margin-top: 80px !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .thank-you-card {
    padding: 2rem !important;
  }
}

/* ========== Animación de Entrada ========== */
.thank-you-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Icono de Check (opcional) ========== */
.thank-you-card::before {
  content: "✓";
  display: block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 3rem;
  color: white;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
