.order-btn {
    position: absolute;
    top:30%;
    left:50%;
    transform:translateX(-50%);
    padding: 12px 28px;
    gap: 8px;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    
    color: #000;
    background-color: lightblue; 
    border: 1px solid #0f172a;
    border-radius: 6px;
    
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.success-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.success-overlay.is-active .success-card {
  transform: translateY(0) scale(1);
}

.checkmark-svg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #10b981; 
  stroke-miterlimit: 10;
  margin: 0 auto 20px auto;
  box-shadow: inset 0px 0px 0px #10b981;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.success-overlay.is-active .checkmark-circle {
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-overlay.is-active .checkmark-svg {
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.success-overlay.is-active .checkmark-check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.success-text {
  opacity: 0;
  transform: translateY(10px);
}

.success-overlay.is-active .success-text {
  animation: fadeUp 0.5s ease forwards 0.8s; 
}

.success-text h3 {
  margin: 0 0 8px 0;
  color: #0f172a;
  font-family: sans-serif;
  font-size: 24px;
}

.success-text p {
  margin: 0 0 24px 0;
  color: #64748b;
  font-family: sans-serif;
  line-height: 1.5;
}

.close-btn {
  background-color: #0f172a;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transition: background 0.2s;
}

.success-overlay.is-active .close-btn {
  animation: fadeUp 0.5s ease forwards 1s; 
}

.close-btn:hover {
  background-color: #334155;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px rgba(16, 185, 129, 0.1); }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}