/* ============================================ */

/* SUCCESS SECTION */

/* ============================================ */

.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--background);
}

.success-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid var(--border-color);
}

/* Success Icon with Animation */

.success-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.success-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

.success-icon i {
  font-size: 4rem;
  color: white;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Confetti Animation */

.success-confetti {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.success-confetti span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-solid);
  border-radius: 50%;
  animation: confetti 2s ease-out forwards;
}

.success-confetti span:nth-child(1) {
  background: #FFD700;
  animation-delay: 0s;
  left: 20%;
  top: 0;
}

.success-confetti span:nth-child(2) {
  background: #FF6B6B;
  animation-delay: 0.1s;
  left: 40%;
  top: 0;
}

.success-confetti span:nth-child(3) {
  background: #4ECDC4;
  animation-delay: 0.2s;
  left: 60%;
  top: 0;
}

.success-confetti span:nth-child(4) {
  background: #95E1D3;
  animation-delay: 0.3s;
  left: 80%;
  top: 0;
}

.success-confetti span:nth-child(5) {
  background: #F38181;
  animation-delay: 0.4s;
  left: 30%;
  top: 0;
}

.success-confetti span:nth-child(6) {
  background: #AA96DA;
  animation-delay: 0.5s;
  left: 70%;
  top: 0;
}

@keyframes confetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(200px) rotate(720deg);
    opacity: 0;
  }
}

/* Success Text */

.success-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Transaction Details */

.transaction-details {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.transaction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.transaction-row span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.transaction-row strong {
  font-size: 1rem;
  color: var(--text-primary);
}

/* Success Actions */

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.success-actions .btn {
  padding: 1rem 2rem;
}

/* Additional Options */

.additional-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.option-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-solid);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.option-link:hover {
  gap: 0.8rem;
}

.option-link i {
  font-size: 1.2rem;
}

/* ============================================ */

/* WHAT'S NEXT SECTION */

/* ============================================ */

.whats-next-section {
  padding: 4rem 0;
  background: var(--card-bg);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline */

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.timeline-content {
  flex: 1;
  background: var(--accent);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ============================================ */

/* IMPACT STATS SECTION */

/* ============================================ */

.impact-stats-section {
  padding: 4rem 0;
  background: var(--background);
}

.impact-stats-card {
  background: var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.impact-stats-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2.5rem;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.impact-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.impact-stat-item i {
  font-size: 2.5rem;
  color: #FFD700;
  flex-shrink: 0;
}

.impact-stat-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.3rem;
}

.impact-stat-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ============================================ */

/* TESTIMONIAL SECTION */

/* ============================================ */

.testimonial-section {
  padding: 4rem 0;
  background: var(--card-bg);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.quote-icon-large {
  font-size: 3rem;
  color: var(--primary-solid);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.testimonial-author p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================ */

/* SUCCESS CTA SECTION */

/* ============================================ */

.success-cta-section {
  padding: 4rem 0;
  background: var(--background);
}

.success-cta-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  border: 2px dashed var(--border-color);
}

.success-cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.success-cta-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================ */

/* HELP SECTION */

/* ============================================ */

.help-section {
  padding: 4rem 0 5rem !important;
  background: var(--background) !important;
}

.help-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
}

.help-card {
  background: var(--card-bg) !important;
  border-radius: var(--radius-md) !important;
  padding: 2rem 1.5rem !important;
  text-align: center !important;
  border: 2px solid var(--border-color) !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 4px 10px var(--shadow) !important;
  box-sizing: border-box !important;
}

.help-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px var(--shadow-hover) !important;
  border-color: var(--primary-solid) !important;
}

.help-card i {
  font-size: 3rem !important;
  color: var(--primary-solid) !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

.help-card h3 {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  margin-bottom: 0.75rem !important;
}

.help-card p {
  font-size: 0.95rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.5 !important;
  flex-grow: 1 !important;
}

.help-card .btn {
  margin-top: auto !important;
  min-width: 150px !important;
}

/* ============================================ */

/* RESPONSIVE - TABLETS */

/* ============================================ */

@media (max-width: 991.98px) {
  .help-section {
    padding: 3rem 0 4rem !important;
  }
}

@media (max-width: 991.98px) {
  .help-grid {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 991.98px) {
  .help-card {
    width: 100% !important;
  }
}

/* ============================================ */

/* RESPONSIVE - MOBILE */

/* ============================================ */

@media (max-width: 767.98px) {
  .help-section {
    padding: 2.5rem 0 3rem !important;
  }
}

@media (max-width: 767.98px) {
  .help-grid {
    gap: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .help-card {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .help-card i {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .help-card h3 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 767.98px) {
  .help-card p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .help-section {
    padding: 2rem 0 !important;
  }
}

@media (max-width: 575.98px) {
  .help-card {
    padding: 1.5rem 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .help-card i {
    font-size: 2.2rem !important;
    margin-bottom: 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .help-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .help-card .btn {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* ============================================ */

/* MOBILE RESPONSIVE */

/* ============================================ */

@media (max-width: 768px) {
  .success-card {
    padding: 3rem 2rem;
  }
}

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

@media (max-width: 768px) {
  .success-message {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .success-actions {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .success-actions .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .additional-options {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .timeline-item {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .impact-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .impact-stat-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .success-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .success-icon i {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .success-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .transaction-details {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
}

