.csc-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  padding: 32px;
  padding-top: 10px;
}

/* Steps */
.csc-step {
  display: none;
}
.csc-step.is-active {
  display: block;
}

/* Header */
.csc-header {
  text-align: center;
  margin-bottom: 32px;
  margin-top: 30px;
}
.csc-header h1 {
  font-size: 18px;
  font-weight: 200;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Amount selection */
.csc-amount-display {
  font-size: 20px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 200;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.display-currency {
  color: #666;
}
.is-selected .display-currency {
  color: white !important;
}
.csc-edit-link {
  color: #666;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

.csc-amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.csc-amount-btn {
  background: #e5e5e5;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csc-amount-btn .btn-description {
  font-size: 13px;
  color: white;
  margin-top: 8px;
  line-height: 1.3;
  text-align: start;
}
.csc-amount-btn:hover {
  background: #d5d5d5;
}
.csc-amount-btn.is-selected {
  background: #f08930;
  color: #fff;
}

/* Form fields */
.csc-field {
  margin-bottom: 20px;
}
.csc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.csc-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 200;
}
.csc-input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
  border: 1px solid #c6c3c3 !important;
}
.csc-input:focus {
  outline: none !important;
  border-color: #f08930;
}

/* Phone input */
.csc-phone-input {
  display: flex;
  align-items: center;
}
.csc-country-code {
  background: #f8f8f8;
  border: 2px solid #e5e5e5;
  border-right: none;
  border-radius: 6px 0 0 6px;
  padding: 12px 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.csc-phone-input .csc-input {
  border-radius: 0 6px 6px 0;
  border-left: none;
}

/* Buttons */
.csc-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 20px;
}
.csc-btn--primary {
  background: #f08930 !important;
  color: white !important;
  outline: none !important;
}
.csc-btn--primary:hover {
  background: #f08930;
}

/* Security notice */
.csc-security-notice {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}
.csc-security-notice a {
  color: #666;
  text-decoration: underline;
}
.csc-lock-icon {
  display: inline-block;
  margin-right: 4px;
}

.csc-frequency__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.csc-frequency__btn {
  flex: 1 1 calc(33.333% - 8px); /* 3 per row on average */
  min-width: 100px;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #555;
  transition: all 0.2s;
  text-align: center;
}

.csc-frequency__btn:hover {
  background: #e0e0e0;
}

.csc-frequency__btn.is-selected {
  background: #f08930;
  color: #fff;
}

/* Container box */
.donation-receipt-option {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
  background: #fff;
}

/* Hide native checkbox */
.custom-checkbox input {
  display: none;
}

.custom-checkbox {
  margin-top: 10px !important;
}

/* Custom checkmark box */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-checkbox .checkmark {
  height: 20px;
  width: 20px;
  border: 2px solid #f08930;
  border-radius: 4px;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  transition: background 0.3s;
}

/* Checkmark icon */
.custom-checkbox input:checked + .checkmark::after {
  content: '✔';
  position: absolute;
  left: 3px;
  top: 4px;
  font-size: 8px;
  color: #f08930;
}

/* Label text */
.custom-checkbox .label-text {
  font-size: 14px;
  color: #333;
}

/* Accordion */
.donation-receipt-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  margin-top: 10px;
  pointer-events: none;
}

.donation-receipt-fields.show {
  max-height: 1000px;
  opacity: 1;
  pointer-events: auto;
}

.receipt-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

/* Utility */
.is-hidden {
  display: none;
}

/* Add spinner style for loading states */
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.field-error {
  color: #cc0000;
  font-size: 13px;
  margin-top: 4px;
}

.csc-input.error {
  border-color: #cc0000;
  background: #fff5f5;
}

.currency-selector {
  border: 1px solid #bebcbc;
}
