/* ======================
Custom Info Card Styling
======================= */
.pay-info-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin: 20px 0;
  border: 1px solid #eee;
}

.pay-info-row {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f5f5;
}

.pay-info-row:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.pay-info-column {
  margin-bottom: 1rem;
}

.pay-info-column:last-child {
  margin-bottom: 0;
}

.pay-info-label {
  color: #00244d;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-info-description {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pay-info-value {
  position: relative;
  background: #f8f8f8;
  padding: 12px 15px;
  border-radius: 6px;
  font-family: monospace;
  word-break: break-all;
  color: #333;
  border: 1px solid #bfbfbf;
}

.pay-copy-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #00244d;
  color: white !important;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.pay-copy-btn:hover {
  background: #d4530a;
}

.pay-copy-feedback {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.pay-copy-success {
  background: #48bb78;
  color: white;
}

.pay-copy-error {
  background: #e31b1b;
  color: white;
}
/* Mobile Fix */
@media (max-width: 768px) {

  .pay-copy-btn,
  .pay-copy-feedback {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }

}
.pay-info-card-footer {
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}

.pay-submit-link {
  background: #00244d;
  color: white !important;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pay-submit-link:hover {
  background: #00244d;
  color: white !important;
  transform: translateY(-1px);
}

.pay-submit-link:active,
.pay-submit-link:focus {
  background: #00244d;
  transform: translateY(0);
  outline: none;
}

.pay-submit-link i {
  font-size: 16px;
}

.pay-info-row--inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 0;
  border-bottom: 0;
}

.pay-info-row--inline .pay-info-column {
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f5f5f5;
}

/* Remove border from last row */
.pay-info-row--inline .pay-info-column:nth-last-child(-n + 2) {
  border-bottom: 0;
  padding-bottom: 0;
}

.pay-info-row--inline-always {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

/* Mobile Stacking */
@media (max-width: 768px) {

  .pay-info-row--inline:not(.pay-info-row--inline-always) > :nth-child(n + 2) {
    margin-top: 10px;
  }

  .pay-info-row--inline:not(.pay-info-row--inline-always) {
    grid-template-columns: 1fr;
  }

  .pay-info-row--inline-always {
    gap: 10px;
    overflow-x: auto;
  }

  .info-row--inline-always .info-column {
    min-width: 140px;
  }

  /* Submit button mobile */
  .pay-submit-link {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
  }
	.pay-info-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    box-sizing: border-box;
  }
}
