:root, .fundcore-wrapper {
  --fc-primary: #059669;
  --fc-primary-hover: #047857;
  --fc-primary-light: #ecfdf5;
  --fc-accent: #0d9488;
  --fc-surface: #ffffff;
  --fc-bg: #f8fafc;
  --fc-text-main: #0f172a;
  --fc-text-muted: #64748b;
  --fc-border: #e2e8f0;
  --fc-radius-sm: 8px;
  --fc-radius-md: 12px;
  --fc-radius-lg: 16px;
  --fc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --fc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --fc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --fc-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fundcore-wrapper {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--fc-text-main);
  box-sizing: border-box;
}

.fundcore-wrapper * {
  box-sizing: border-box;
}

/* Card UI */
.fundcore-wrapper .fc-card {
  background: var(--fc-surface);
  border-radius: var(--fc-radius-md);
  border: 1px solid var(--fc-border);
  box-shadow: var(--fc-shadow-sm);
  transition: var(--fc-transition);
  overflow: hidden;
}

.fundcore-wrapper .fc-card:hover {
  box-shadow: var(--fc-shadow-md);
  transform: translateY(-2px);
}

/* Progress Bar UI */
.fundcore-wrapper .fc-progress {
  width: 100%;
  height: 8px;
  background-color: var(--fc-border);
  border-radius: 9999px;
  overflow: hidden;
  margin: 10px 0;
}

.fundcore-wrapper .fc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--fc-primary), var(--fc-accent));
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* Badge UI */
.fundcore-wrapper .fc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: var(--fc-primary-light);
  color: var(--fc-primary);
}

/* Form UI */
.fundcore-wrapper .fc-form-group {
  margin-bottom: 1rem;
}

.fundcore-wrapper .fc-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--fc-transition);
}

.fundcore-wrapper .fc-input:focus {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 3px var(--fc-primary-light);
}

.fundcore-wrapper .fc-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: var(--fc-radius-sm);
  background-color: var(--fc-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--fc-transition);
  text-decoration: none;
}

.fundcore-wrapper .fc-btn:hover {
  background-color: var(--fc-primary-hover);
  color: #ffffff;
}

/* Amount Pills */
.fundcore-wrapper .fc-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.fundcore-wrapper .fc-pill {
  padding: 10px;
  text-align: center;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius-sm);
  background: var(--fc-surface);
  cursor: pointer;
  font-weight: 600;
  transition: var(--fc-transition);
}

.fundcore-wrapper .fc-pill:hover,
.fundcore-wrapper .fc-pill.active {
  border-color: var(--fc-primary);
  background: var(--fc-primary-light);
  color: var(--fc-primary);
}
