* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f5f5f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #282c3f;
}

.payment-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.payment-options {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-summary {
  background: white;
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaec;
}

.payment-method {
  border: 1px solid #eaeaec;
  border-radius: 4px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: #ff3f6c;
}

.payment-header {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon {
  font-size: 20px;
  width: 30px;
  color: #535766;
}

.payment-title {
  font-weight: 500;
}

.payment-content {
  padding: 16px;
  border-top: 1px solid #eaeaec;
  display: none;
}

.payment-method.active {
  border-color: #ff3f6c;
}

.payment-method.active .payment-content {
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d4d5d9;
  border-radius: 4px;
  font-size: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eaeaec;
  font-weight: 600;
  font-size: 16px;
}

.pay-button {
  background: #ff3f6c;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-top: 20px;
}

.pay-button:hover {
  background: #ff527b;
}

.offer-badge {
  background: #fff1ec;
  color: #ff3f6c;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 12px;
}

.payment-info {
  font-size: 13px;
  color: #7e808c;
  margin-top: 8px;
}

.upi-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.upi-option {
  border: 1px solid #d4d5d9;
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upi-option:hover {
  border-color: #ff3f6c;
}

.upi-option img {
  height: 24px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .payment-container {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .payment-header {
    padding: 12px;
  }

  .payment-content {
    padding: 12px;
  }

  .upi-options {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
