/* Payment Widget Hydration Styles for MkDocs */

/* Amount selection buttons */
.cm-amt-btn {
  display: inline-block;
  padding: 10px 22px;
  margin: 4px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.cm-amt-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.cm-amt-active {
  background: #eb2f96 !important;
  border-color: #eb2f96 !important;
}

/* Fallback when API is unreachable */
.cm-payment-fallback {
  display: none;
  text-align: center;
  padding: 12px 16px;
  margin-top: 12px;
}

.cm-payment-fallback a {
  display: inline-block;
  padding: 14px 36px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .cm-amt-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin: 3px;
  }
}
