* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #fff;
}

.success-container {
  margin: 50px auto;
  max-width: 390px;
  padding: 40px 20px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Success Icon */
.success-icon {
  width: 90px;
  height: 90px;
  background: #1e6dfb;
  color: #fff;
  border-radius: 50%;
  font-size: 42px;
  display: flex;              
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  box-shadow: 0 0 0 8px rgba(30, 109, 251, 0.15);
  opacity: 0;
  animation: pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;  
  }
}

/* headings */
h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  animation-delay: 0.7s;
}

.subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  animation-delay: 0.85s;
}

/* Refund Card */
.refund-card {
  display: flex;
  gap: 12px;
  background: #f5f8ff;
  padding: 15px;
  border-radius: 10px;
  margin: 25px 0;
  text-align: left;
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  animation-delay: 1s;
}

.refund-card img {
  width: 28px;
  height: 28px;
  margin-top: 0px;
}

.refund-card h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.refund-card p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

/* Continue Button */
.continue-btn {
  width: 100%;
  padding: 15px;
  background: #1e66f5;
  border: none;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 40px;
  transition: 0.2s;
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  animation-delay: 1.35s;
}

.continue-btn:hover {
  background: #155ac4;
}

.continue-btn:active {
  opacity: 0.9;
}

/* Helper Keyframes */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 360px) {
  .success-container {
    margin: 30px auto;
    padding: 30px 15px;
  }
  h1 {
    font-size: 20px;
  }
  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 38px;
  }
  .continue-btn {
    font-size: 17px;
  }
}
