body {
  font-family: "Vazirmatn", sans-serif;
  background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  color: #333;
  text-align: right;
  position: relative;
  padding-top: 20px;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(80px);
  z-index: -1;
  animation: moveShape 15s infinite alternate ease-in-out;
}

body::before {
  width: 300px;
  height: 300px;
  background: #ff7e5f;
  top: 10%;
  left: 15%;
  animation-duration: 15s;
}

body::after {
  position: fixed; 
  width: 400px;
  height: 400px;
  background: #feb47b;
  bottom: 10%;
  right: 10%;
  animation-duration: 20s;
  transform: translateX(50%);
  z-index: -1;
}

.payment-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 50px;
  perspective: 1000px;
  animation: fadeInScaleUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.logo-container {
  position: absolute;
  top: -65px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ffffff 30%, #f0f0f0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border: 6px solid rgba(255, 255, 255, 0.9);
  animation: logoPopIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

.logo-container img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
}

.content-box {
  width: 90%;
  max-width: 550px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 50px 40px;
  box-sizing: border-box;
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-section {
  text-align: center;
  width: 100%;
}

.fa-check-circle {
  color: #4caf50;
  font-size: 80px;
  margin-bottom: 25px;
  animation: iconPopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

.fa-times-circle {
  color: red;
  font-size: 80px;
  margin-bottom: 25px;
  animation: iconPopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

.fa-circle-exclamation {
  color: #f7a016;
  font-size: 80px;
  margin-bottom: 25px;
  animation: iconPopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards;
}

.status-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.3;
}
.status-message {
  color: #e0e0e0;
  font-size: 17px;
  margin-bottom: 35px;
  line-height: 1.6;
  font-weight: 300;
}

.info-details {
  width: 100%;
}
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
}
.info-item:last-child {
  border-bottom: none;
}
.info-label {
  color: #cfcfcf;
  font-weight: 400;
}
.info-value {
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}
.info-value.amount {
  font-size: 20px;
  color: #90ee90;
  font-weight: 900;
}

.button-container {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}
.button-home {
    display: inline-block; 
    padding: 16px 35px;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px; 
    border: none;
    cursor: pointer;
    position: relative;
    background: linear-gradient(145deg, #007bff, #0056b3);
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.2),
        -5px -5px 15px rgba(255, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease-in-out;
}


.button-home:hover {
    transform: translateY(-2px);
    box-shadow: 
        8px 8px 20px rgba(0, 0, 0, 0.3),
        -8px -8px 20px rgba(255, 255, 255, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.4);
}

.button-home:active {
    transform: translateY(1px);
    box-shadow: 
        inset 3px 3px 10px rgba(0, 0, 0, 0.6),
        inset -3px -3px 10px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.2);
}
.info-label .info-icon {
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.7;
    color: #fff;
}
.status-icon {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 
        5px 5px 15px rgba(0, 0, 0, 0.3),     /* سایه تیره */
        -5px -5px 15px rgba(255, 255, 255, 0.15), /* سایه روشن */
        inset 0 0 10px rgba(255, 255, 255, 0.1); /* براقیت داخلی */
    
    padding: 1px;
    animation: iconPopIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards; 
}

/* --- فرم: باکس خطا --- */
.error-message-box {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 10px;
    background: red;
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #fff;
    font-weight: 700;
    text-align: right;
    font-size: 16px;
}

/* --- فرم جدید: فقط اضافه می‌شود --- */
.input-form {
    width: 100%;
}

/* بدون تداخل با .info-item */
.form-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    width: 100%;
}

/* بدون override شدن .info-label قبلی */
.form-item .info-label {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
}

/* آیکون داخل لیبل */
.info-label .info-icon {
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.7;
    color: #fff;
}

/* استایل ورودی‌های تازه */
.input-field {
    width: 100%;
    padding: 18px 20px;
    margin-top: 5px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: right;
    box-sizing: border-box;
    font-family: "Vazirmatn", sans-serif;
}

.input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(76, 175, 80, 0.5);
}

/* Placeholder */
.input-field::placeholder {
    color: #cccccc;
    font-weight: 300;
    opacity: 0.8;
}


/* Animations */
@keyframes fadeInScaleUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoPopIn {
  0% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
  60% {
    transform: translateY(0) scale(1.2);
    opacity: 1;
  }
  80% {
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes iconPopIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  80% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes moveShape {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@media (max-width: 600px) {
  .content-box {
    padding: 40px 25px;
    max-width: 95%;
  }
  .status-title {
    font-size: 20px;
  }
  .status-message,
  .info-item {
    font-size: 15px;
  }
  .status-icon {
    font-size: 70px;
  }
  .logo-container {
    top: -55px;
    width: 90px;
    height: 90px;
  }
  .logo-container img {
    width: 80px;
    height: 80px;
  }
}