.cgd-widget {
  max-width: 380px;
  margin: 0 0 0 auto; /* align to right column in hero-like layout */
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(45deg, #FFD700, #0057B8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.cgd-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px 18px;
  text-align: left; /* match hero style */
  position: relative;
}

.cgd-logo-wrap {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.12);
}

.cgd-logo {
  max-width: 75px;
  max-height: 75px;
  border-radius: 50%;
}

/* Title now rendered outside card; hide legacy element */
/* Card heading (visible inside widget) */
.cgd-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  color:#101828;
}

/* Description now rendered outside card; hide legacy element */
/* Card description (visible inside widget) */
.cgd-desc {
  margin: 0 0 12px;
  font-size: 15px;
  color: #555;
}

.cgd-form {
  text-align: left;
}

.cgd-field {
  margin-bottom: 16px;
  display: block;
}

.cgd-label {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 500; 
  line-height: 1.6;
  color: #101828;
}

.cgd-amount-input {
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 4px 10px;
  color: #101828;
}

.cgd-currency-symbol {
  font-size: 18px;
  margin-right: 4px;
  font-weight: 400; 
  color: #101828;
}

.cgd-amount-input input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 6px 0;
  font-size: 18px;
  font-weight: 400; 
  outline: none;
  color: #101828;
}

.cgd-button {
  width: 100%;
}

.cgd-powered {
  text-align: center;
  font-size: 11px;
  color: #9BA5C0;
}

.cgd-powered-logo img {
  width: 92px;
  height: auto;
  margin-left: 4px;
}

.cgd-error {
  max-width: 360px;
  margin: 0 auto 8px;
  color: #EE3737;
  font-size: 13px;
}

/* Inline error under amount input */
.cgd-inline-error {
  color: #EE3737;
  font-size: 13px;
  margin-top: 6px;
}
