.payment-failed {
  background-color: var(--primary-color);
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  color: var(--text-color);
  margin-top: 60px;
  position: relative;
}

.payment-failed-animation {
  width: 150px;
  height: 150px;
  top: -60px;
  position: absolute;
  margin: auto;
}

.payment-failed hr {
  border: 2.5px solid var(--text-color);
  border-radius: 50px;
  width: 100%;
  margin: 30px 0;
}

.payment-info-summary {
  width: 100%;
}

.payment-failed-heading {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  gap: 15px;
}

.payment-failed-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
  color: #fff !important;
}

.payment-failed-subtitle {
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  opacity: 0.5;
}

.payment-info-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 50px;
}

.payment-info-data {
  display: flex;
  flex-direction: column;
}

.payment-info__title {
  opacity: 0.5;
}

.payment-info-brand {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.payment-info-brand img {
  height: 50px;
}

@media (max-width: 500px) {
  .payment-info-summary {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
  }
}
