@charset "UTF-8";
/**
 * GiftFlow Variables
 *
 * Global variables for styling
 */
/**
 * GiftFlow — Dashboard (React) layout aligned with help center
 */
.giftflow-dashboard-view {
  --gfh-bg: #fff;
  --gfh-bg-soft: #f6f7f7;
  --gfh-bg-muted: #f0f0f1;
  --gfh-line: #dcdcde;
  --gfh-line-strong: #c3c4c7;
  --gfh-text: #1d2327;
  --gfh-text-secondary: #50575e;
  --gfh-text-muted: #646970;
  --gfh-theme: var(--wp-admin-theme-color, #2271b1);
  --gfh-theme-2: var(--wp-admin-theme-color-darker-10, #135e96);
  --gfh-theme-3: var(--wp-admin-theme-color-darker-20, #0a4b78);
  --gfh-radius: 8px;
  --gfh-radius-sm: 6px;
  --gfh-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gfh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gfh-dur: 0.2s;
  --gfh-dur-slow: 0.32s;
  --gfh-shade: 0 1px 3px rgba(0, 0, 0, 0.06);
  --gfh-shade-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --gfh-chart-donations: #007017;
  --gfh-chart-donors: var(--gfh-theme);
  margin: 2rem 0 32px;
  padding: 0;
  font-size: 14px;
  font-family: Arial, sans-serif;
  line-height: 1.55;
  color: var(--gfh-text-secondary);
  -webkit-font-smoothing: antialiased;
}
.giftflow-dashboard-view *,
.giftflow-dashboard-view *::before,
.giftflow-dashboard-view *::after {
  box-sizing: border-box;
}
.giftflow-dashboard-view #GFWP_DASHBOARD_VIEW_ROOT .__monospace {
  font-family: "Courier New", Courier, monospace;
}
.giftflow-dashboard-view__shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.giftflow-dashboard-view__masthead {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius);
}
@media (min-width: 782px) {
  .giftflow-dashboard-view__masthead {
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 1fr);
    min-height: 220px;
  }
}
.giftflow-dashboard-view__masthead-main {
  position: relative;
  z-index: 2;
  padding: 24px 22px 22px;
}
@media (min-width: 782px) {
  .giftflow-dashboard-view__masthead-main {
    padding: 28px 28px 26px;
  }
}
.giftflow-dashboard-view__masthead-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 10px 4px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gfh-text-muted);
  background: var(--gfh-bg-soft);
  border: 1px solid var(--gfh-line);
  border-radius: 999px;
}
.giftflow-dashboard-view__masthead-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gfh-theme);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gfh-theme) 22%, transparent);
}
.giftflow-dashboard-view__masthead-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gfh-text);
}
.giftflow-dashboard-view__masthead-lead {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-view__masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.giftflow-dashboard-view__masthead-actions .button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: transform var(--gfh-dur) var(--gfh-ease);
  padding: 0.5rem 1rem !important;
  font-weight: bold;
}
@media (max-width: 519px) {
  .giftflow-dashboard-view__masthead-actions .button {
    padding: 0.2rem 0.5rem !important;
  }
}
.giftflow-dashboard-view__masthead-actions .button .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}
.giftflow-dashboard-view__masthead-actions .button:active {
  transform: scale(0.98);
}
.giftflow-dashboard-view__masthead-meta {
  margin: 0;
  font-size: 12px;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-view__masthead-meta a {
  color: var(--gfh-theme);
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  transition: color var(--gfh-dur) var(--gfh-ease);
}
.giftflow-dashboard-view__masthead-meta a:hover {
  color: var(--gfh-theme-2);
  text-decoration: underline;
}
.giftflow-dashboard-view__masthead-meta-label {
  margin-right: 6px;
  font-weight: 600;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-view__masthead-deco {
  position: relative;
  min-height: 120px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--gfh-theme) 9%, var(--gfh-bg-soft)) 0%, var(--gfh-bg-soft) 55%, var(--gfh-bg-muted) 100%);
  border-top: 1px solid var(--gfh-line);
}
@media (min-width: 782px) {
  .giftflow-dashboard-view__masthead-deco {
    border-top: none;
    border-left: 1px solid var(--gfh-line);
    min-height: auto;
  }
}
.giftflow-dashboard-view__masthead-deco-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(var(--gfh-line-strong) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
          mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
}
.giftflow-dashboard-view__masthead-deco-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gfh-theme) 28%, transparent) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--gfh-dur-slow) var(--gfh-ease);
}
.giftflow-dashboard-view__masthead:hover .giftflow-dashboard-view__masthead-deco-glow {
  opacity: 0.85;
}
.giftflow-dashboard-view__masthead-aside {
  position: relative;
  z-index: 2;
  padding: 20px 18px 22px;
  height: 100%;
}
@media (min-width: 782px) {
  .giftflow-dashboard-view__masthead-aside {
    padding: 26px 22px 24px;
  }
}
.giftflow-dashboard-view__masthead-aside h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-view__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-view__feature-item:last-of-type {
  margin-bottom: 0;
}
.giftflow-dashboard-view__feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gfh-theme);
}
.giftflow-dashboard-view__feature-item strong {
  color: var(--gfh-text);
  font-weight: 600;
}
.giftflow-dashboard-view__help-callout {
  margin-top: 18px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--gfh-bg) 88%, transparent);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius-sm);
  font-size: 13px;
  line-height: 1.5;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-view__help-callout a {
  color: var(--gfh-theme);
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
}
.giftflow-dashboard-view__help-callout a:hover {
  color: var(--gfh-theme-2);
  text-decoration: underline;
}

.giftflow-overview {
  display: grid;
  grid-template-columns: 1fr 25%;
  gap: 2rem;
  margin-top: 0;
  box-sizing: border-box;
}
.giftflow-overview__main {
  background: var(--gfh-bg, #fff);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius, 8px);
  padding: 1.5rem;
  box-shadow: var(--gfh-shade, 0 1px 3px rgba(0, 0, 0, 0.06));
}
.giftflow-overview__widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.giftflow-overview__widget-header .giftflow-overview__widget-title {
  margin: 0;
}
.giftflow-overview__chart {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius, 8px);
}
.giftflow-overview__widget-header-btn {
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gfh-text-muted, #646970);
  transition: color 0.2s var(--gfh-ease, ease), border-color 0.2s var(--gfh-ease, ease);
  border: 1px solid var(--gfh-line, #dcdcde);
  background: var(--gfh-bg, #fff);
  line-height: 0;
  border-radius: var(--gfh-radius-sm, 6px);
}
.giftflow-overview__widget-header-btn:hover {
  color: var(--gfh-theme, #2271b1);
  border-color: var(--gfh-line-strong, #c3c4c7);
}
.giftflow-overview__widget-header-btn:active {
  opacity: 0.85;
}
.giftflow-overview__widget-header-btn:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-overview__widget-header-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.giftflow-overview__title {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
}
.giftflow-overview__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.giftflow-overview__stat-card {
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius, 8px);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease), box-shadow var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-overview__stat-card:hover {
  background: var(--gfh-bg, #fff);
  border-color: color-mix(in srgb, var(--gfh-theme, #2271b1) 35%, var(--gfh-line, #dcdcde));
  box-shadow: var(--gfh-shade-hover, 0 8px 24px rgba(0, 0, 0, 0.08));
}
.giftflow-overview__stat-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gfh-bg, #fff);
  border-radius: var(--gfh-radius-sm, 6px);
  border: 1px solid var(--gfh-line, #dcdcde);
  color: var(--gfh-theme, #2271b1);
}
.giftflow-overview__stat-icon svg {
  flex-shrink: 0;
}
.giftflow-overview__stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.giftflow-overview__stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gfh-text, #1d2327);
  line-height: 1;
}
.giftflow-overview__stat-label {
  font-size: 0.875rem;
  color: var(--gfh-text-muted, #646970);
  margin-top: 0.25rem;
}
.giftflow-overview__activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.giftflow-overview__activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gfh-bg-soft, #f6f7f7);
  border-radius: var(--gfh-radius-sm, 6px);
  border: 1px solid var(--gfh-line, #dcdcde);
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-overview__activity-item:hover {
  background: var(--gfh-bg, #fff);
  border-color: var(--gfh-line-strong, #c3c4c7);
}
.giftflow-overview__activity-icon {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gfh-bg, #fff);
  border-radius: 4px;
  border: 1px solid var(--gfh-line, #dcdcde);
  flex-shrink: 0;
}
.giftflow-overview__activity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.giftflow-overview__activity-text {
  font-size: 0.875rem;
  color: var(--gfh-text, #1d2327);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.giftflow-overview__activity-time {
  font-size: 0.75rem;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-overview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.giftflow-overview__widget {
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius, 8px);
  padding: 1.5rem;
}
.giftflow-overview__widget-title {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
}
.giftflow-overview__widget--actions {
  background: var(--gfh-bg, #fff);
  box-shadow: var(--gfh-shade, 0 1px 3px rgba(0, 0, 0, 0.06));
}
.giftflow-overview__action-list {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
}
.giftflow-overview__action-list .button {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 600;
  text-align: left;
  padding: 0.5rem 1rem !important;
}
@media (max-width: 519px) {
  .giftflow-overview__action-list .button {
    padding: 0.2rem 0.5rem !important;
  }
}
.giftflow-overview__action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}
.giftflow-overview__campaign-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.giftflow-overview__campaign-item {
  background: var(--gfh-bg, #fff);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius-sm, 6px);
  padding: 1rem;
}
.giftflow-overview__campaign-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.giftflow-overview__campaign-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gfh-text, #1d2327);
}
.giftflow-overview__campaign-progress {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gfh-theme, #2271b1);
}
.giftflow-overview__progress-bar {
  width: 100%;
  height: 6px;
  background: var(--gfh-bg-muted, #f0f0f1);
  border-radius: 3px;
  overflow: hidden;
}
.giftflow-overview__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gfh-theme, #2271b1) 0%, var(--gfh-theme-2, #135e96) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}
@media (max-width: 768px) {
  .giftflow-overview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .giftflow-overview__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .giftflow-overview__stat-card {
    padding: 0.75rem;
  }
  .giftflow-overview__stat-icon {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
  .giftflow-overview__stat-value {
    font-size: 1.125rem;
  }
  .giftflow-overview__main, .giftflow-overview__widget {
    padding: 1rem;
  }
  .giftflow-overview__activity-item {
    padding: 0.5rem;
  }
  .giftflow-overview__action-link {
    padding: 0.5rem;
  }
  .giftflow-overview__campaign-item {
    padding: 0.75rem;
  }
}
@media (max-width: 480px) {
  .giftflow-overview {
    gap: 1rem;
    margin-top: 1rem;
  }
  .giftflow-overview__title {
    font-size: 1.25rem;
  }
  .giftflow-overview__main, .giftflow-overview__widget {
    padding: 0.75rem;
  }
  .giftflow-overview__stats {
    gap: 0.5rem;
  }
  .giftflow-overview__stat-card {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  .giftflow-overview__stat-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .giftflow-overview__stat-value {
    font-size: 1rem;
  }
  .giftflow-overview__stat-label {
    font-size: 0.75rem;
  }
  .giftflow-overview__activity-item {
    padding: 0.5rem;
    gap: 0.5rem;
  }
  .giftflow-overview__activity-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .giftflow-overview__activity-text {
    font-size: 0.8rem;
  }
  .giftflow-overview__activity-time {
    font-size: 0.7rem;
  }
  .giftflow-overview__action-link {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  .giftflow-overview__campaign-item {
    padding: 0.5rem;
  }
  .giftflow-overview__campaign-name {
    font-size: 0.8rem;
  }
  .giftflow-overview__campaign-progress {
    font-size: 0.7rem;
  }
}

.skeleton, .giftflow-overview__stat-card--loading .giftflow-overview__stat-icon,
.giftflow-overview__stat-card--loading .giftflow-overview__stat-value,
.giftflow-overview__stat-card--loading .giftflow-overview__stat-label {
  background: linear-gradient(90deg, var(--gfh-bg-muted, #f0f0f1) 25%, var(--gfh-line, #dcdcde) 37%, var(--gfh-bg-muted, #f0f0f1) 63%);
  background-size: 400% 100%;
  animation: giftflow-skeleton-loading 1.4s ease infinite;
  border-radius: 4px;
  min-height: 1em;
  color: transparent !important;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

@keyframes giftflow-skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.giftflow-chart-container {
  width: 100%;
}
.giftflow-chart-container .giftflow-chart-wrapper {
  position: relative;
  height: 400px;
  margin-bottom: 1rem;
}
.giftflow-chart-container .giftflow-chart-description {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gfh-text-secondary, #50575e);
  color: black;
}
.giftflow-chart-container .giftflow-chart-description__select {
  font-size: 0.95em;
  display: inline;
  padding: 0.2rem 1.5em 0.2rem 0.25rem;
  background-color: var(--gfh-bg, #fff);
  margin: 0;
  line-height: normal;
  border: none;
  border-bottom: 2px solid var(--gfh-theme, #2271b1);
  height: auto !important;
  min-height: auto;
  border-radius: 0;
  color: var(--gfh-text, #1d2327);
  cursor: pointer;
  background-image: url(../../images/chevron-down-icon.svg);
  background-size: 10px;
  background-position: right 0.5em center;
  background-repeat: no-repeat;
}
.giftflow-chart-container .giftflow-chart-description__select:focus {
  outline: 1px solid var(--gfh-theme, #2271b1);
  outline-offset: 2px;
}
.giftflow-chart-container .giftflow-chart-description__legend {
  font-weight: 600;
}
.giftflow-chart-container .giftflow-chart-description__legend--donations {
  color: var(--gfh-chart-donations, #007017);
}
.giftflow-chart-container .giftflow-chart-description__legend--donors {
  color: var(--gfh-chart-donors, #2271b1);
}

.giftflow-chart-cache-note {
  margin-top: 1rem;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  color: var(--gfh-text-muted, #646970);
}

.giftflow-chart-clear-cache-btn {
  margin-left: auto;
  padding: 0.35em 0.85em;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  border-radius: var(--gfh-radius-sm, 6px);
  border: 1px solid var(--gfh-line, #dcdcde);
  background: var(--gfh-bg-soft, #f6f7f7);
  color: var(--gfh-theme, #2271b1);
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-chart-clear-cache-btn:hover {
  background: var(--gfh-bg-muted, #f0f0f1);
  border-color: var(--gfh-theme, #2271b1);
}

.giftflow-chart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-chart-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gfh-bg-muted, #f0f0f1);
  border-top: 3px solid var(--gfh-theme, #2271b1);
  border-radius: 50%;
  animation: giftflow-chart-spin 1s linear infinite;
  margin-bottom: 1rem;
}
.giftflow-chart-loading p {
  margin: 0;
  font-size: 0.875rem;
}

@keyframes giftflow-chart-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.giftflow-chart-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-chart-error__icon {
  margin-bottom: 1rem;
  color: #d63638;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.giftflow-chart-error h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #d63638;
}
.giftflow-chart-error p {
  margin: 0 0 1.5rem 0;
  font-size: 0.875rem;
  max-width: 400px;
  line-height: 1.5;
}
.giftflow-chart-error__retry {
  background: var(--gfh-theme, #2271b1);
  color: #fff;
  border: none;
  border-radius: var(--gfh-radius-sm, 6px);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), transform var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-chart-error__retry:hover {
  background: var(--gfh-theme-2, #135e96);
}
.giftflow-chart-error__retry:active {
  transform: scale(0.98);
}

.giftflow-chart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-chart-empty__icon {
  margin-bottom: 1rem;
  color: var(--gfh-text-muted, #646970);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.giftflow-chart-empty h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
}
.giftflow-chart-empty p {
  margin: 0;
  font-size: 0.875rem;
  max-width: 400px;
  line-height: 1.5;
}

.giftflow-campaigns-list__ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.giftflow-campaigns-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.giftflow-campaigns-list__item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.giftflow-campaigns-list__content {
  flex: 1;
  width: 100%;
  background: var(--gfh-bg, #fff);
  padding: 1rem;
  border-radius: var(--gfh-radius-sm, 6px);
  border: 1px solid var(--gfh-line, #dcdcde);
}
.giftflow-campaigns-list__title-link {
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  border-bottom: none !important;
  color: var(--gfh-theme, #2271b1);
  transition: color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-campaigns-list__title-link:hover {
  color: var(--gfh-theme-2, #135e96);
}
.giftflow-campaigns-list__title {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  color: var(--gfh-text, #1d2327);
  margin-bottom: 0.5rem;
}
.giftflow-campaigns-list__excerpt {
  font-size: 0.95rem;
  color: var(--gfh-text-muted, #646970);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.giftflow-campaigns-list__excerpt p {
  margin: 0;
}
.giftflow-campaigns-list__stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
@media (max-width: 480px) {
  .giftflow-campaigns-list__stats {
    gap: 1rem;
    font-size: 0.875rem;
  }
}
.giftflow-campaigns-list__stat strong {
  font-weight: 600;
  color: var(--gfh-text-secondary, #50575e);
}
.giftflow-campaigns-list__status {
  font-weight: 600;
}
.giftflow-campaigns-list__status--closed {
  color: #d63638;
}
.giftflow-campaigns-list__status--active, .giftflow-campaigns-list__status--open {
  color: var(--gfh-chart-donations, #007017);
}
.giftflow-campaigns-list__status--draft {
  color: #996800;
}
.giftflow-campaigns-list__progress-bar {
  width: 100%;
  background: var(--gfh-bg-muted, #f0f0f1);
  border-radius: 3px;
  height: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.giftflow-campaigns-list__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gfh-theme, #2271b1) 0%, var(--gfh-theme-2, #135e96) 100%);
  border-radius: 3px;
  transition: width 0.5s var(--gfh-ease-out, ease);
}
.giftflow-campaigns-list__meta {
  font-size: 0.85rem;
  color: var(--gfh-text-muted, #646970);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .giftflow-campaigns-list__meta {
    font-size: 0.8rem;
    gap: 0.75rem;
  }
}
.giftflow-campaigns-list__percentage {
  font-weight: 600;
  color: var(--gfh-theme, #2271b1);
}
.giftflow-campaigns-list__date strong {
  font-weight: 600;
  color: var(--gfh-text-secondary, #50575e);
}
.giftflow-campaigns-list__loading {
  text-align: center;
  padding: 2rem;
  color: var(--gfh-text-muted, #646970);
  font-style: italic;
}
.giftflow-campaigns-list__error {
  text-align: center;
  padding: 1rem 1.25rem;
  color: #d63638;
  background: #fcf0f1;
  border: 1px solid #f0b0b5;
  border-radius: var(--gfh-radius-sm, 6px);
}
.giftflow-campaigns-list__modal-state {
  padding: 1rem 1.25rem;
  border-radius: var(--gfh-radius-sm, 6px);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.giftflow-campaigns-list__modal-state--loading {
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  color: var(--gfh-text-muted, #646970);
}
.giftflow-campaigns-list__modal-state--error {
  background: #fcf0f1;
  border: 1px solid #f0b0b5;
  color: #d63638;
}
.giftflow-campaigns-list__auto-message {
  padding: 10px 12px;
  margin-bottom: 0.75rem;
  font-size: 12px;
  line-height: 1.45;
  color: var(--gfh-text-secondary, #50575e);
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius-sm, 6px);
}
@media (max-width: 768px) {
  .giftflow-campaigns-list__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .giftflow-campaigns-list__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
.giftflow-campaigns-list__settings-container {
  margin-bottom: 1.5rem;
}
.giftflow-campaigns-list__select-wrapper {
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius, 8px);
  overflow: hidden;
  background: var(--gfh-bg, #fff);
  transition: border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease), box-shadow var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  box-shadow: var(--gfh-shade, 0 1px 3px rgba(0, 0, 0, 0.06));
}
.giftflow-campaigns-list__select-wrapper:hover {
  border-color: var(--gfh-theme, #2271b1);
}
.giftflow-campaigns-list__select-wrapper:focus-within {
  border-color: var(--gfh-theme, #2271b1);
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-campaigns-list__multiselect {
  width: 100%;
  min-height: 340px !important;
  border: none;
  outline: none;
  padding: 12px;
  font-size: 1rem;
  background: transparent;
  color: var(--gfh-text, #1d2327);
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  cursor: pointer;
  max-width: none !important;
}
.giftflow-campaigns-list__multiselect:focus {
  outline: none;
}
.giftflow-campaigns-list__multiselect option {
  padding: 8px 10px;
  border-bottom: 1px solid var(--gfh-line, #dcdcde);
  background: var(--gfh-bg, #fff);
  color: var(--gfh-text, #1d2327);
  transition: background-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-campaigns-list__multiselect option:hover {
  background: var(--gfh-bg-soft, #f6f7f7);
}
.giftflow-campaigns-list__multiselect option:checked {
  background: var(--gfh-theme, #2271b1);
  color: #fff;
}
.giftflow-campaigns-list__multiselect option:last-child {
  border-bottom: none;
}
.giftflow-campaigns-list__help-text {
  font-size: 0.92rem;
  color: var(--gfh-text-muted, #646970);
  margin-top: 10px;
  line-height: 1.4;
}
.giftflow-campaigns-list__key {
  background: var(--gfh-bg-muted, #f0f0f1);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--gfh-text-secondary, #50575e);
}
@media (max-width: 480px) {
  .giftflow-campaigns-list__item {
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  .giftflow-campaigns-list__title {
    font-size: 0.9rem;
  }
  .giftflow-campaigns-list__excerpt {
    font-size: 0.875rem;
  }
  .giftflow-campaigns-list__stats {
    font-size: 0.8rem;
  }
  .giftflow-campaigns-list__meta {
    font-size: 0.75rem;
  }
  .giftflow-campaigns-list__settings-container {
    padding: 16px 12px;
    margin-top: 6px;
  }
  .giftflow-campaigns-list__multiselect {
    min-height: 120px;
    font-size: 0.9rem;
    padding: 10px;
  }
  .giftflow-campaigns-list__help-text {
    font-size: 0.85rem;
  }
}

.giftflow-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.giftflow-modal--open {
  opacity: 1;
  visibility: visible;
}
.giftflow-modal__content {
  background: var(--gfh-bg, #fff);
  border-radius: var(--gfh-radius, 8px);
  border: 1px solid var(--gfh-line, #dcdcde);
  box-shadow: var(--gfh-shade-hover, 0 8px 24px rgba(0, 0, 0, 0.12));
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.giftflow-modal--open .giftflow-modal__content {
  transform: scale(1) translateY(0);
}
.giftflow-modal--small .giftflow-modal__content {
  width: 400px;
  max-width: 400px;
}
.giftflow-modal--medium .giftflow-modal__content {
  width: 600px;
  max-width: 600px;
}
.giftflow-modal--large .giftflow-modal__content {
  width: 800px;
  max-width: 800px;
}
.giftflow-modal--fullscreen .giftflow-modal__content {
  width: 95vw;
  height: 95vh;
  max-width: 95vw;
  max-height: 95vh;
}
.giftflow-modal__header {
  padding: 1.5rem 1.5rem 0 1.5rem;
  border-bottom: 1px solid var(--gfh-line, #dcdcde);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}
.giftflow-modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
  line-height: 1.3;
}
.giftflow-modal__close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--gfh-radius-sm, 6px);
  color: var(--gfh-text-muted, #646970);
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.giftflow-modal__close:hover {
  background: var(--gfh-bg-soft, #f6f7f7);
  color: var(--gfh-text, #1d2327);
}
.giftflow-modal__close:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-modal__close svg {
  width: 20px;
  height: 20px;
}
.giftflow-modal__body {
  padding: 0 1.5rem;
  flex: 1;
  overflow-y: auto;
  color: var(--gfh-text-secondary, #50575e);
  line-height: 1.6;
}
.giftflow-modal__body::-webkit-scrollbar {
  width: 6px;
}
.giftflow-modal__body::-webkit-scrollbar-track {
  background: var(--gfh-bg-muted, #f0f0f1);
}
.giftflow-modal__body::-webkit-scrollbar-thumb {
  background: var(--gfh-line-strong, #c3c4c7);
  border-radius: 3px;
}
.giftflow-modal__body::-webkit-scrollbar-thumb:hover {
  background: var(--gfh-text-muted, #646970);
}
.giftflow-modal__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gfh-line, #dcdcde);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  background: var(--gfh-bg-soft, #f6f7f7);
}
.giftflow-modal__footer--center {
  justify-content: center;
}
.giftflow-modal__footer--space-between {
  justify-content: space-between;
}
.giftflow-modal__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.giftflow-modal__button {
  padding: 0.5rem 1rem;
  border-radius: var(--gfh-radius-sm, 6px);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease), transform var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
}
.giftflow-modal__button--primary {
  background: var(--gfh-theme, #2271b1);
  color: #fff;
}
.giftflow-modal__button--primary:hover {
  background: var(--gfh-theme-2, #135e96);
}
.giftflow-modal__button--primary:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-modal__button--secondary {
  background: var(--gfh-bg, #fff);
  color: var(--gfh-text-secondary, #50575e);
  border: 1px solid var(--gfh-line-strong, #c3c4c7);
}
.giftflow-modal__button--secondary:hover {
  background: var(--gfh-bg-soft, #f6f7f7);
  border-color: var(--gfh-text-muted, #646970);
}
.giftflow-modal__button--secondary:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--gfh-line-strong, #c3c4c7);
}
.giftflow-modal__button--danger {
  background: #ef4444;
  color: #fff;
}
.giftflow-modal__button--danger:hover {
  background: #dc2626;
}
.giftflow-modal__button--danger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}
.giftflow-modal__button--ghost {
  background: transparent;
  color: var(--gfh-text-muted, #646970);
  border: 1px solid transparent;
}
.giftflow-modal__button--ghost:hover {
  background: var(--gfh-bg-soft, #f6f7f7);
  color: var(--gfh-text, #1d2327);
}
.giftflow-modal__button--ghost:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.3);
}
.giftflow-modal__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.giftflow-modal--loading .giftflow-modal__body {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.giftflow-modal--loading .giftflow-modal__body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 1;
}
.giftflow-modal--loading .giftflow-modal__spinner {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 3px solid var(--gfh-bg-muted, #f0f0f1);
  border-top: 3px solid var(--gfh-theme, #2271b1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.giftflow-modal--no-padding .giftflow-modal__body {
  padding: 0;
}
.giftflow-modal--no-padding .giftflow-modal__header {
  padding: 1.5rem;
  margin-bottom: 0;
}
.giftflow-modal--no-padding .giftflow-modal__footer {
  padding: 1.5rem;
}
.giftflow-modal--with-image .giftflow-modal__header {
  background: linear-gradient(135deg, var(--gfh-bg-soft, #f6f7f7) 0%, var(--gfh-bg-muted, #f0f0f1) 100%);
  border-bottom: none;
  padding: 2rem 1.5rem;
  text-align: center;
}
.giftflow-modal--with-image .giftflow-modal__image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid var(--gfh-bg, #fff);
  box-shadow: var(--gfh-shade, 0 1px 3px rgba(0, 0, 0, 0.06));
}
@media (max-width: 768px) {
  .giftflow-modal {
    padding: 0.5rem;
  }
  .giftflow-modal__content {
    width: 100%;
    max-width: 100%;
    max-height: 95vh;
    border-radius: 8px 8px 0 0;
    margin-top: auto;
    transform: translateY(100%);
  }
  .giftflow-modal--open .giftflow-modal__content {
    transform: translateY(0);
  }
  .giftflow-modal__header {
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
  }
  .giftflow-modal__body {
    padding: 0 1rem;
  }
  .giftflow-modal__footer {
    padding: 1rem;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .giftflow-modal__footer .giftflow-modal__actions {
    width: 100%;
    flex-direction: column;
  }
  .giftflow-modal__footer .giftflow-modal__button {
    width: 100%;
    justify-content: center;
  }
  .giftflow-modal--small .giftflow-modal__content, .giftflow-modal--medium .giftflow-modal__content, .giftflow-modal--large .giftflow-modal__content {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .giftflow-modal__title {
    font-size: 1.125rem;
  }
  .giftflow-modal__header {
    padding: 0.75rem 0.75rem 0 0.75rem;
  }
  .giftflow-modal__body {
    padding: 0 0.75rem;
  }
  .giftflow-modal__footer {
    padding: 0.75rem;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.giftflow-modal-overlay--blur {
  backdrop-filter: blur(8px);
}
.giftflow-modal-overlay--dark {
  background: rgba(0, 0, 0, 0.8);
}
.giftflow-modal-overlay--light {
  background: rgba(255, 255, 255, 0.8);
}

.giftflow-modal--top {
  align-items: flex-start;
  padding-top: 2rem;
}
.giftflow-modal--bottom {
  align-items: flex-end;
  padding-bottom: 2rem;
}
.giftflow-modal--left {
  justify-content: flex-start;
  padding-left: 2rem;
}
.giftflow-modal--right {
  justify-content: flex-end;
  padding-right: 2rem;
}

.giftflow-recent-donations__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gfh-line, #dcdcde);
}
.giftflow-recent-donations__header-left {
  flex: 1;
}
.giftflow-recent-donations__header-right {
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.giftflow-recent-donations__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
  line-height: 1.2;
}
.giftflow-recent-donations__subtitle {
  font-size: 0.8rem;
  color: var(--gfh-text-muted, #646970);
  font-weight: 400;
  margin: 0;
}
.giftflow-recent-donations__count {
  background: var(--gfh-bg-muted, #f0f0f1);
  color: var(--gfh-text-secondary, #50575e);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--gfh-radius-sm, 6px);
  min-width: 1.5rem;
  text-align: center;
}
.giftflow-recent-donations__footer {
  margin-top: 1rem;
  text-align: right;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gfh-line, #dcdcde);
}
.giftflow-recent-donations__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-recent-donations__empty-icon {
  margin-bottom: 0.75rem;
  opacity: 0.55;
  color: var(--gfh-line-strong, #c3c4c7);
}
.giftflow-recent-donations__empty-text {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gfh-text-secondary, #50575e);
}
.giftflow-recent-donations__empty-subtext {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gfh-text-muted, #646970);
  max-width: 250px;
  line-height: 1.4;
}
.giftflow-recent-donations__grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.giftflow-recent-donations__card {
  background: var(--gfh-bg-soft, #f6f7f7);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius-sm, 6px);
  padding: 0.75rem;
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  position: relative;
}
.giftflow-recent-donations__card:hover {
  background: var(--gfh-bg, #fff);
  border-color: var(--gfh-line-strong, #c3c4c7);
}
.giftflow-recent-donations__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}
.giftflow-recent-donations__donor-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.giftflow-recent-donations__donor-avatar {
  width: 32px;
  height: 32px;
  background: var(--gfh-theme, #2271b1);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}
.giftflow-recent-donations__donor-details {
  flex: 1;
  min-width: 0;
}
.giftflow-recent-donations__donor-name {
  margin: 0 0 0.125rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gfh-text, #1d2327);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.giftflow-recent-donations__donor-link {
  color: var(--gfh-theme, #2271b1);
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  transition: color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-recent-donations__donor-link:hover {
  color: var(--gfh-theme-2, #135e96);
  text-decoration: underline;
}
.giftflow-recent-donations__donor-email {
  margin: 0;
  font-size: 0.75rem;
  color: var(--gfh-text-muted, #646970);
  line-height: 1.2;
  word-break: break-all;
}
.giftflow-recent-donations__amount {
  font-size: 0.95rem;
  white-space: nowrap;
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
}
.giftflow-recent-donations__amount :global(.giftflow-currency-formatted-amount) {
  color: var(--gfh-chart-donations, #007017);
}
.giftflow-recent-donations__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.giftflow-recent-donations__campaign-info {
  flex: 1;
}
.giftflow-recent-donations__campaign-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gfh-text-secondary, #50575e);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.giftflow-recent-donations__campaign-link {
  color: var(--gfh-text-secondary, #50575e);
  text-decoration: none;
  font-weight: 600;
  border-bottom: none;
  transition: color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-recent-donations__campaign-link:hover {
  color: var(--gfh-theme, #2271b1);
  text-decoration: underline;
}
.giftflow-recent-donations__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gfh-line, #dcdcde);
}
.giftflow-recent-donations__status-badge {
  flex-shrink: 0;
}
.giftflow-recent-donations__status {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: capitalize;
}
.giftflow-recent-donations__status--completed {
  background: #d1fae5;
  color: #065f46;
}
.giftflow-recent-donations__status--pending {
  background: #fef3c7;
  color: #92400e;
}
.giftflow-recent-donations__status--failed {
  background: #fee2e2;
  color: #991b1b;
}
.giftflow-recent-donations__status--refunded {
  background: #f3f4f6;
  color: #374151;
}
.giftflow-recent-donations__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--gfh-text-muted, #646970);
}
.giftflow-recent-donations__date {
  font-weight: 500;
}
.giftflow-recent-donations__payment-method {
  color: var(--gfh-text-muted, #646970);
  opacity: 0.9;
  text-transform: capitalize;
}
@media (max-width: 768px) {
  .giftflow-recent-donations {
    padding: 0.75rem;
  }
  .giftflow-recent-donations__header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
  }
  .giftflow-recent-donations__title {
    font-size: 1rem;
  }
  .giftflow-recent-donations__subtitle {
    font-size: 0.75rem;
  }
  .giftflow-recent-donations__card {
    padding: 0.625rem;
  }
  .giftflow-recent-donations__card-header {
    margin-bottom: 0.375rem;
  }
  .giftflow-recent-donations__donor-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .giftflow-recent-donations__donor-name {
    font-size: 0.8rem;
  }
  .giftflow-recent-donations__donor-email {
    font-size: 0.7rem;
  }
  .giftflow-recent-donations__amount {
    font-size: 0.9rem;
  }
  .giftflow-recent-donations__campaign-title {
    font-size: 0.75rem;
  }
  .giftflow-recent-donations__card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
  .giftflow-recent-donations__meta {
    font-size: 0.65rem;
  }
}
@media (max-width: 480px) {
  .giftflow-recent-donations {
    padding: 0.5rem;
  }
  .giftflow-recent-donations__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
  .giftflow-recent-donations__header-right {
    margin-left: 0;
  }
  .giftflow-recent-donations__title {
    font-size: 0.95rem;
  }
  .giftflow-recent-donations__card {
    padding: 0.5rem;
  }
  .giftflow-recent-donations__donor-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .giftflow-recent-donations__donor-name {
    font-size: 0.75rem;
  }
  .giftflow-recent-donations__amount {
    font-size: 0.85rem;
  }
  .giftflow-recent-donations__campaign-title {
    font-size: 0.7rem;
  }
  .giftflow-recent-donations__status {
    font-size: 0.65rem;
    padding: 0.1rem 0.375rem;
  }
  .giftflow-recent-donations__meta {
    font-size: 0.6rem;
  }
}

.giftflow-export-campaign__select-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.giftflow-export-campaign__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
  line-height: 1.4;
}
.giftflow-export-campaign__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}
.giftflow-export-campaign__select:hover {
  border-color: #9ca3af;
}
.giftflow-export-campaign__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.giftflow-export-campaign__select:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}
.giftflow-export-campaign__select option {
  padding: 0.5rem;
  color: #374151;
}
.giftflow-export-campaign__select option:disabled {
  color: #9ca3af;
  font-style: italic;
}
.giftflow-export-campaign__error {
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.giftflow-export-campaign__loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
}
.giftflow-export-campaign__loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: giftflow-spin 1s linear infinite;
}

.giftflow-export-donor__select-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.giftflow-export-donor__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
  line-height: 1.4;
}
.giftflow-export-donor__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}
.giftflow-export-donor__select:hover {
  border-color: #9ca3af;
}
.giftflow-export-donor__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.giftflow-export-donor__select:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}
.giftflow-export-donor__select option {
  padding: 0.5rem;
  color: #374151;
}
.giftflow-export-donor__select option:disabled {
  color: #9ca3af;
  font-style: italic;
}
.giftflow-export-donor__error {
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.giftflow-export-donor__loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
}
.giftflow-export-donor__loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: giftflow-spin 1s linear infinite;
}

@keyframes giftflow-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .giftflow-export-campaign__select,
  .giftflow-export-donor__select {
    padding: 0.625rem 0.875rem;
    font-size: 0.8rem;
  }
  .giftflow-export-campaign__label,
  .giftflow-export-donor__label {
    font-size: 0.8rem;
  }
  .giftflow-export-campaign__error, .giftflow-export-campaign__loading,
  .giftflow-export-donor__error,
  .giftflow-export-donor__loading {
    font-size: 0.8rem;
    padding: 0.625rem 0.875rem;
  }
}
.giftflow-select-search {
  position: relative;
  width: 100%;
  font-family: inherit;
}
.giftflow-select-search__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem;
  background: var(--gfh-bg, #fff);
  border: 1px solid var(--gfh-line-strong, #c3c4c7);
  border-radius: var(--gfh-radius-sm, 6px);
  cursor: pointer;
  transition: border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease), box-shadow var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  outline: none;
  box-sizing: border-box;
}
.giftflow-select-search__trigger:hover {
  border-color: var(--gfh-text-muted, #646970);
}
.giftflow-select-search__trigger:focus {
  border-color: var(--gfh-theme, #2271b1);
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-select-search__value {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.giftflow-select-search__value-text {
  color: var(--gfh-text, #1d2327);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.giftflow-select-search__placeholder {
  color: var(--gfh-text-muted, #646970);
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.giftflow-select-search__indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.giftflow-select-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--gfh-text-muted, #646970);
  cursor: pointer;
  transition: background var(--gfh-dur, 0.2s) var(--gfh-ease, ease), color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-select-search__clear:hover {
  background: var(--gfh-bg-soft, #f6f7f7);
  color: var(--gfh-text, #1d2327);
}
.giftflow-select-search__clear:focus {
  outline: none;
  background: var(--gfh-bg-soft, #f6f7f7);
  color: var(--gfh-text, #1d2327);
}
.giftflow-select-search__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gfh-text-muted, #646970);
  transition: transform var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-select-search__dropdown {
  position: fixed;
  z-index: 100001;
  background: var(--gfh-bg, #fff);
  border: 1px solid var(--gfh-line, #dcdcde);
  border-radius: var(--gfh-radius-sm, 6px);
  box-shadow: var(--gfh-shade-hover, 0 8px 24px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  animation: giftflow-select-search-dropdown 0.2s ease-out;
  max-height: 300px;
  min-width: 200px;
}
.giftflow-select-search__search {
  position: relative;
  padding: 0.75rem;
  border-bottom: 1px solid var(--gfh-line, #dcdcde);
  background: var(--gfh-bg-soft, #f6f7f7);
}
.giftflow-select-search__search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gfh-text-muted, #646970);
  pointer-events: none;
}
.giftflow-select-search__search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem !important;
  background: var(--gfh-bg, #fff);
  border: 1px solid var(--gfh-line-strong, #c3c4c7);
  border-radius: var(--gfh-radius-sm, 6px);
  font-size: 0.875rem;
  color: var(--gfh-text, #1d2327);
  outline: none;
  transition: border-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease), box-shadow var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
}
.giftflow-select-search__search-input:focus {
  border-color: var(--gfh-theme, #2271b1);
  box-shadow: 0 0 0 1px var(--gfh-theme, #2271b1);
}
.giftflow-select-search__search-input::-moz-placeholder {
  color: var(--gfh-text-muted, #646970);
}
.giftflow-select-search__search-input::placeholder {
  color: var(--gfh-text-muted, #646970);
}
.giftflow-select-search__options {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.25rem 0;
}
.giftflow-select-search__options::-webkit-scrollbar {
  width: 6px;
}
.giftflow-select-search__options::-webkit-scrollbar-track {
  background: var(--gfh-bg-muted, #f0f0f1);
}
.giftflow-select-search__options::-webkit-scrollbar-thumb {
  background: var(--gfh-line-strong, #c3c4c7);
  border-radius: 3px;
}
.giftflow-select-search__options::-webkit-scrollbar-thumb:hover {
  background: var(--gfh-text-muted, #646970);
}
.giftflow-select-search__option {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color var(--gfh-dur, 0.2s) var(--gfh-ease, ease);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  border-bottom: solid 1px var(--gfh-line, #dcdcde);
}
.giftflow-select-search__option:hover, .giftflow-select-search__option--highlighted {
  background: var(--gfh-bg-soft, #f6f7f7);
}
.giftflow-select-search__option--selected {
  background: color-mix(in srgb, var(--gfh-theme, #2271b1) 12%, var(--gfh-bg, #fff));
  color: var(--gfh-theme, #2271b1);
  font-weight: 600;
}
.giftflow-select-search__option--selected .giftflow-select-search__option-label {
  color: var(--gfh-theme, #2271b1);
}
.giftflow-select-search__option-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gfh-text, #1d2327);
  line-height: 1.4;
  margin-bottom: 0.125rem;
}
.giftflow-select-search__option-description {
  font-size: 0.75rem;
  color: var(--gfh-text-muted, #646970);
  line-height: 1.3;
}
.giftflow-select-search__loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--gfh-text-muted, #646970);
  font-size: 0.875rem;
  justify-content: center;
}
.giftflow-select-search__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--gfh-line, #dcdcde);
  border-top: 2px solid var(--gfh-theme, #2271b1);
  border-radius: 50%;
  animation: giftflow-select-search-spin 1s linear infinite;
}
.giftflow-select-search__no-options {
  padding: 1rem;
  text-align: center;
  color: var(--gfh-text-muted, #646970);
  font-size: 0.875rem;
  font-style: italic;
}
.giftflow-select-search__error-message {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fcf0f1;
  border: 1px solid #f0b0b5;
  border-radius: var(--gfh-radius-sm, 6px);
  color: #d63638;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}
.giftflow-select-search--disabled .giftflow-select-search__trigger {
  background: var(--gfh-bg-muted, #f0f0f1);
  color: var(--gfh-text-muted, #646970);
  cursor: not-allowed;
  border-color: var(--gfh-line, #dcdcde);
}
.giftflow-select-search--disabled .giftflow-select-search__trigger:hover, .giftflow-select-search--disabled .giftflow-select-search__trigger:focus {
  border-color: var(--gfh-line, #dcdcde);
  box-shadow: none;
}
.giftflow-select-search--disabled .giftflow-select-search__value-text,
.giftflow-select-search--disabled .giftflow-select-search__placeholder {
  color: var(--gfh-text-muted, #646970);
}
.giftflow-select-search--disabled .giftflow-select-search__arrow {
  color: var(--gfh-line-strong, #c3c4c7);
}
.giftflow-select-search--error .giftflow-select-search__trigger {
  border-color: #d63638;
}
.giftflow-select-search--error .giftflow-select-search__trigger:hover {
  border-color: #b32d2e;
}
.giftflow-select-search--error .giftflow-select-search__trigger:focus {
  border-color: #d63638;
  box-shadow: 0 0 0 1px #d63638;
}
.giftflow-select-search.giftflow-select-search--open .giftflow-select-search__arrow {
  transform: rotate(180deg);
}

@keyframes giftflow-select-search-dropdown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes giftflow-select-search-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .giftflow-select-search__trigger {
    min-height: 40px;
    padding: 0.625rem 0.875rem;
  }
  .giftflow-select-search__value-text, .giftflow-select-search__placeholder {
    font-size: 0.8rem;
  }
  .giftflow-select-search__search {
    padding: 0.625rem;
  }
  .giftflow-select-search__search-input {
    padding: 0.5rem 0.5rem 0.5rem 2.25rem;
    font-size: 0.8rem;
  }
  .giftflow-select-search__option {
    padding: 0.625rem 0.875rem;
  }
  .giftflow-select-search__option-label {
    font-size: 0.8rem;
  }
  .giftflow-select-search__option-description {
    font-size: 0.7rem;
  }
  .giftflow-select-search__loading {
    padding: 0.875rem;
    font-size: 0.8rem;
  }
  .giftflow-select-search__no-options {
    padding: 0.875rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .giftflow-select-search__trigger {
    min-height: 36px;
    padding: 0.5rem 0.75rem;
  }
  .giftflow-select-search__value-text, .giftflow-select-search__placeholder {
    font-size: 0.75rem;
  }
  .giftflow-select-search__search {
    padding: 0.5rem;
  }
  .giftflow-select-search__search-input {
    padding: 0.375rem 0.375rem 0.375rem 2rem;
    font-size: 0.75rem;
  }
  .giftflow-select-search__option {
    padding: 0.5rem 0.75rem;
  }
  .giftflow-select-search__option-label {
    font-size: 0.75rem;
  }
  .giftflow-select-search__option-description {
    font-size: 0.65rem;
  }
  .giftflow-select-search__loading {
    padding: 0.75rem;
    font-size: 0.75rem;
  }
  .giftflow-select-search__no-options {
    padding: 0.75rem;
    font-size: 0.75rem;
  }
}
#GFWP_DASHBOARD_VIEW_ROOT a:not(.button):not(.giftflow-chart-description__select) {
  color: var(--gfh-theme, #2271b1);
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.2s var(--gfh-ease, cubic-bezier(0.4, 0, 0.2, 1));
}
#GFWP_DASHBOARD_VIEW_ROOT a:not(.button):not(.giftflow-chart-description__select):hover {
  color: var(--gfh-theme-2, #135e96);
  text-decoration: underline;
  opacity: 1;
}

/**
 * GiftFlow Field Styles
 *
 * Modern, clean styling for form fields
 */
.giftflow-field {
  margin-bottom: 1.5em;
  position: relative;
  display: grid;
  grid-template-columns: calc(100px + 1em) 1fr;
  align-items: flex-start;
}
.giftflow-field label {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 1em;
  font-weight: 500;
  color: #333;
  font-size: 1em;
  min-width: 100px;
  padding-top: 1em;
}
.giftflow-field label .required {
  color: #e53935;
  margin-left: 2px;
}
.giftflow-field .giftflow-field-wrapper {
  width: 100%;
}
.giftflow-field .description {
  margin-top: 0.5em;
  margin-bottom: 0;
  color: #666;
  font-size: 0.875em;
  font-style: italic;
  width: 100%;
}
.giftflow-field .giftflow-field-input {
  min-width: 200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  font-size: 1em;
  line-height: 1.5;
  transition: all 0.2s ease;
}
.giftflow-field .giftflow-field-input:focus {
  outline: none;
  border-color: #4a6cf7;
}
.giftflow-field .giftflow-field-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
}
.giftflow-field .giftflow-field-input::-moz-placeholder {
  color: #aaa;
}
.giftflow-field .giftflow-field-input::placeholder {
  color: #aaa;
}
.giftflow-field-switch .giftflow-field-wrapper {
  padding-top: 1em;
}

.giftflow-field-number .giftflow-field-input::-webkit-outer-spin-button, .giftflow-field-number .giftflow-field-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.giftflow-field-number .giftflow-field-input[type=number] {
  -moz-appearance: textfield;
}

.giftflow-currency-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.giftflow-currency-field .giftflow-currency-symbol {
  position: absolute;
  color: #666;
  font-size: 1em;
  z-index: 1;
}
.giftflow-currency-field .giftflow-currency-symbol:first-child {
  left: 1em;
}
.giftflow-currency-field .giftflow-currency-symbol:last-child {
  right: 1em;
}
.giftflow-currency-field .giftflow-field-input {
  padding-left: 2rem;
}
.giftflow-currency-field .giftflow-field-input:last-child {
  padding-right: 2rem;
}

.giftflow-field-select .giftflow-field-input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5rem;
}
.giftflow-field-select .giftflow-field-input[multiple] {
  height: auto;
  min-height: 120px;
  padding: 0.5em;
}
.giftflow-field-select .giftflow-field-input[multiple] option {
  padding: 0.5em;
  margin-bottom: 2px;
  border-radius: 4px;
}
.giftflow-field-select .giftflow-field-input[multiple] option:checked {
  background-color: #4a6cf7;
  color: white;
}

.giftflow-field-textarea {
  flex-wrap: wrap;
}
.giftflow-field-textarea label {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.giftflow-field-textarea .giftflow-field-input {
  min-height: 120px;
  resize: vertical;
}

.giftflow-field-checkbox {
  display: flex;
  align-items: center;
}
.giftflow-field-checkbox label {
  margin-bottom: 0;
  margin-left: 0.5em;
  order: 2;
  min-width: auto;
}
.giftflow-field-checkbox .giftflow-field-input {
  order: 1;
  width: auto;
  margin-right: 0.5em;
  flex: 0 0 auto;
}

.giftflow-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex: 0 0 auto;
}
.giftflow-switch input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 9;
  min-width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.giftflow-switch input:checked + .giftflow-switch-slider {
  background-color: #4a6cf7;
}
.giftflow-switch input:disabled + .giftflow-switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.giftflow-switch .giftflow-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.2s;
  border-radius: 24px;
}
.giftflow-switch .giftflow-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}
.giftflow-switch input:checked + .giftflow-switch-slider:before {
  transform: translateX(26px);
}

.giftflow-color-field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
}
.giftflow-color-field input[type=color] {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}
.giftflow-color-field input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.giftflow-color-field input[type=color]::-webkit-color-swatch {
  border: none;
}
.giftflow-color-field .giftflow-color-text {
  margin-left: 1em;
  flex: 1;
}

.giftflow-field-gallery {
  flex-direction: column;
  align-items: flex-start;
}
.giftflow-field-gallery label {
  margin-bottom: 0.5em;
  min-width: 100%;
}
.giftflow-field-gallery .giftflow-gallery-field {
  width: 100%;
  margin-top: 0.5em;
}
.giftflow-field-gallery .giftflow-gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
  min-height: 120px;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}
.giftflow-field-gallery .giftflow-gallery-image {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.giftflow-field-gallery .giftflow-gallery-image:hover {
  transform: translateY(-2px);
}
.giftflow-field-gallery .giftflow-gallery-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.giftflow-field-gallery .giftflow-gallery-image .giftflow-gallery-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.giftflow-field-gallery .giftflow-gallery-image .giftflow-gallery-remove:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.giftflow-field-gallery .giftflow-gallery-controls {
  display: flex;
  gap: 1em;
}
.giftflow-field-googlemap {
  flex-direction: column;
  align-items: flex-start;
}
.giftflow-field-googlemap label {
  margin-bottom: 0.5em;
}
.giftflow-field-googlemap .giftflow-googlemap-field {
  width: 100%;
}
.giftflow-field-googlemap .giftflow-googlemap-address {
  display: flex;
  width: 100%;
  margin-bottom: 0.5em;
}
.giftflow-field-googlemap .giftflow-googlemap-address .giftflow-googlemap-address-input {
  flex: 1;
  margin-right: 0.5em;
}
.giftflow-field-googlemap .giftflow-googlemap-address .giftflow-googlemap-search {
  white-space: nowrap;
}
.giftflow-field-googlemap .giftflow-googlemap-container {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.giftflow-field-googlemap .giftflow-googlemap-coordinates {
  margin-top: 0.5em;
  font-size: 0.875em;
  color: #666;
}
.giftflow-field-googlemap .giftflow-googlemap-coordinates strong {
  margin-right: 0.25em;
}
.giftflow-field-googlemap .giftflow-googlemap-coordinates span {
  margin-right: 1em;
}

@media (max-width: 768px) {
  .giftflow-field {
    flex-direction: column;
    align-items: flex-start;
  }
  .giftflow-field label {
    margin-bottom: 0.5em;
    margin-right: 0;
    min-width: 100%;
  }
  .giftflow-field .description {
    padding-left: 0;
  }
  .giftflow-field .giftflow-field-input {
    width: 100%;
    font-size: 16px;
  }
}
.giftflow-pro-only-field__disabled {
  pointer-events: none;
}
.giftflow-pro-only-field__disabled .giftflow-field-wrapper {
  opacity: 0.3;
  cursor: not-allowed;
}
.giftflow-pro-only-field .giftflow-pro-only-indicator {
  color: #4a6cf7;
  font-size: 10px;
  font-weight: bold;
  margin-left: 0.25em;
}

.giftflow-accordion-header {
  background: #f5f5f5;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.giftflow-accordion-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.giftflow-accordion-header .dashicons {
  transition: transform 0.2s ease;
}

.giftflow-accordion-content {
  padding: 15px;
  display: none;
  background: #fafafa;
}

.giftflow-accordion-content .description {
  margin-top: 0;
}

.giftflow-accordion-fields {
  margin-top: 15px;
}

.giftflow-accordion-field {
  margin-bottom: 15px;
}

.giftflow-accordion-field:last-child {
  margin-bottom: 0;
}

.giftflow-meta-box-tabs .tab-content {
  display: none;
  padding: 20px 0;
}
.giftflow-meta-box-tabs .tab-content.active {
  display: block;
}
.giftflow-meta-box-tabs .nav-tab-wrapper {
  margin-bottom: 20px;
}
.giftflow-meta-box-tabs .nav-tab {
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid #ccc;
  background: #f1f1f1;
  margin-right: 5px;
  transform: translateY(1px);
  -webkit-transform: translateY(1px);
}
.giftflow-meta-box-tabs .nav-tab-active {
  background: #fff;
  border-bottom: 1px solid #fff;
}

.campaign-details-tabs {
  margin-top: 10px;
}

.giftflow-repeater-field {
  margin-bottom: 1.5em;
}
.giftflow-repeater-field .giftflow-repeater-rows {
  margin-bottom: 1em;
}
.giftflow-repeater-field .giftflow-repeater-row {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 1em;
}
.giftflow-repeater-field .giftflow-repeater-row:last-child {
  margin-bottom: 0;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 1em;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-header .giftflow-repeater-row-title {
  font-weight: 600;
  color: #333;
  font-size: 1em;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-header .giftflow-repeater-remove-row {
  color: #e53935;
  background: transparent;
  border: 1px solid #e53935;
  cursor: pointer;
  transition: all 0.2s ease;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-header .giftflow-repeater-remove-row:hover {
  background: #e53935;
  color: #fff;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content {
  padding: 1em;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field {
  margin-bottom: 1em;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field:last-child {
  margin-bottom: 0;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-field {
  margin-bottom: 0;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field label {
  display: block;
  margin-bottom: 0.25em;
  font-weight: 500;
  color: #333;
  font-size: 0.875em;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-currency-field {
  display: flex;
  align-items: center;
  gap: 0.25em;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-currency-field .giftflow-currency-symbol {
  font-weight: 600;
  color: #333;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch input:checked + .giftflow-switch-slider {
  background-color: #4a6cf7;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch input:checked + .giftflow-switch-slider:before {
  transform: translateX(26px);
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch .giftflow-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  transition: 0.2s;
  border-radius: 24px;
}
.giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content .giftflow-repeater-field .giftflow-switch .giftflow-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}
@media screen and (max-width: 782px) {
  .giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-header {
    flex-direction: column;
    gap: 0.5em;
    align-items: flex-start;
  }
  .giftflow-repeater-field .giftflow-repeater-row .giftflow-repeater-row-content {
    padding: 0.5em;
  }
}

/**
 * Meta Box Styles
 */
.giftflow-event-history-empty {
  margin: 0;
  color: #646970;
  font-size: 13px;
}

.giftflow-event-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.giftflow-event-history-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f1;
  font-size: 13px;
  line-height: 1.5;
}
.giftflow-event-history-item:last-child {
  border-bottom: none;
}

.giftflow-event-history-item__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 4px;
}

.giftflow-event-label {
  font-weight: 600;
  color: #1d2327;
}

.giftflow-event-status {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 3px;
  white-space: nowrap;
  background: #f0f0f1;
  color: #50575e;
}
.giftflow-event-status--completed {
  background: #d4edda;
  color: #155724;
}
.giftflow-event-status--pending {
  background: #fff3cd;
  color: #856404;
}
.giftflow-event-status--processing {
  background: #cce5ff;
  color: #004085;
}
.giftflow-event-status--failed {
  background: #f8d7da;
  color: #721c24;
}
.giftflow-event-status--cancelled {
  background: #e2e3e5;
  color: #383d41;
}
.giftflow-event-status--refunded {
  background: #e7e7e7;
  color: #50575e;
}

.giftflow-event-gateway {
  font-size: 12px;
  color: #646970;
  margin-bottom: 2px;
}

.giftflow-event-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: #50575e;
  line-height: 1.4;
}

.giftflow-event-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #787c82;
}

.campaign-advanced-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.campaign-advanced-toggle:after, .campaign-advanced-toggle:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ddd;
}

.giftflow-dashboard-help {
  margin: 20px 0;
}
.giftflow-dashboard-help h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #23282d;
}
.giftflow-dashboard-help .giftflow-help-section {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.giftflow-dashboard-help .giftflow-help-section h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.giftflow-dashboard-help .giftflow-help-section p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.giftflow-dashboard-help .giftflow-help-section ul, .giftflow-dashboard-help .giftflow-help-section ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.giftflow-dashboard-help .giftflow-help-section ul li, .giftflow-dashboard-help .giftflow-help-section ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.giftflow-dashboard-help .giftflow-help-section code {
  background: #f5f5f5;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 13px;
  color: #23282d;
}
.giftflow-dashboard-help .giftflow-help-section .button {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.campaign-progress {
  margin: 0.5em 0;
}
.campaign-progress .progress-bar {
  background-color: #f1f1f1;
  height: 10px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.25em;
}
.campaign-progress .progress-bar .progress {
  background-color: #4a6cf7;
  height: 100%;
  border-radius: 4px;
  transition: width 0.2s ease;
}
.campaign-progress .progress-stats {
  font-size: 0.875em;
  color: #666;
}
.campaign-progress .progress-stats .raised, .campaign-progress .progress-stats .goal {
  font-weight: 600;
}

.campaign-status {
  display: inline-block;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  font-size: 0.875em;
  font-weight: 600;
  text-transform: uppercase;
}
.campaign-status.status-active {
  background-color: #e6f7e6;
  color: #2e7d32;
}
.campaign-status.status-completed {
  background-color: #e3f2fd;
  color: #1565c0;
}
.campaign-status.status-pending {
  background-color: #fff8e1;
  color: #f57c00;
}
.campaign-status.status-closed {
  background-color: #f5f5f5;
  color: #757575;
}
.campaign-status.status-unknown {
  background-color: #f5f5f5;
  color: #666;
}

.giftflow-email-btn {
  margin-bottom: 4px !important;
}

.donation-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.4;
  border: 1px solid #d1d5db;
  color: #374151;
}

.donation-status.status-completed {
  background: #e6f9ed;
  color: #15803d;
  border-color: #bbf7d0;
}

.donation-status.status-refunded {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.donation-status.status-pending {
  background: #f3f4f6;
  color: #6366f1;
  border-color: #c7d2fe;
}

.donation-status.status-failed {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.giftflow_page_giftflow-settings .wrap h2.nav-tab-wrapper {
  border-bottom: none;
}
.giftflow_page_giftflow-settings .wrap .giftflow-field {
  grid-template-columns: 50% 50%;
}
.giftflow_page_giftflow-settings .wrap .giftflow-field-accordion {
  grid-template-columns: 100%;
}
@media (max-width: 768px) {
  .giftflow_page_giftflow-settings .wrap .giftflow-field {
    grid-template-columns: 100%;
  }
}
.giftflow_page_giftflow-settings h1 {
  margin-bottom: 20px;
}
.giftflow_page_giftflow-settings .nav-tab-wrapper {
  margin-bottom: 20px;
  border-bottom: none;
}
.giftflow_page_giftflow-settings .nav-tab-wrapper .nav-tab {
  margin-left: 0;
  margin-right: 5px;
  padding: 8px 20px;
  font-size: 14px;
  line-height: 1.71428571;
  font-weight: 600;
  background: #f1f1f1;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #ccc;
  border-bottom: none;
}
.giftflow_page_giftflow-settings .nav-tab-wrapper .nav-tab:hover {
  background-color: #fff;
  color: #444;
}
.giftflow_page_giftflow-settings .nav-tab-wrapper .nav-tab.nav-tab-active {
  background: #fff;
  color: #000;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}
.giftflow_page_giftflow-settings form {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.giftflow_page_giftflow-settings form h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.giftflow_page_giftflow-settings form p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.giftflow_page_giftflow-settings form .form-table {
  margin-top: 0;
}
.giftflow_page_giftflow-settings form .form-table th {
  padding: 15px 10px 15px 0;
  width: 200px;
  font-weight: 600;
}
.giftflow_page_giftflow-settings form .form-table td {
  padding: 15px 10px;
}
.giftflow_page_giftflow-settings form .form-table td input[type=text],
.giftflow_page_giftflow-settings form .form-table td input[type=email],
.giftflow_page_giftflow-settings form .form-table td input[type=url],
.giftflow_page_giftflow-settings form .form-table td input[type=password],
.giftflow_page_giftflow-settings form .form-table td input[type=number],
.giftflow_page_giftflow-settings form .form-table td textarea,
.giftflow_page_giftflow-settings form .form-table td select {
  max-width: 100%;
}
.giftflow_page_giftflow-settings form .form-table td textarea {
  min-height: 100px;
}
.giftflow_page_giftflow-settings form .form-table td .description {
  color: #666;
  font-style: italic;
  margin-top: 5px;
  display: block;
}
.giftflow_page_giftflow-settings form .submit {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/**
 * GiftFlow — Help center (modern admin layout)
 */
.giftflow-dashboard-helps {
  --gfh-bg: #fff;
  --gfh-bg-soft: #f6f7f7;
  --gfh-bg-muted: #f0f0f1;
  --gfh-line: #dcdcde;
  --gfh-line-strong: #c3c4c7;
  --gfh-text: #1d2327;
  --gfh-text-secondary: #50575e;
  --gfh-text-muted: #646970;
  --gfh-theme: var(--wp-admin-theme-color, #2271b1);
  --gfh-theme-2: var(--wp-admin-theme-color-darker-10, #135e96);
  --gfh-theme-3: var(--wp-admin-theme-color-darker-20, #0a4b78);
  --gfh-radius: 8px;
  --gfh-radius-sm: 6px;
  --gfh-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gfh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gfh-dur: 0.2s;
  --gfh-dur-slow: 0.32s;
  --gfh-shade: 0 1px 3px rgba(0, 0, 0, 0.06);
  --gfh-shade-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin: 2rem 0 32px;
  padding: 0;
  font-size: 14px;
  font-family: Arial, sans-serif;
  line-height: 1.55;
  color: var(--gfh-text-secondary);
  -webkit-font-smoothing: antialiased;
}
.giftflow-dashboard-helps *,
.giftflow-dashboard-helps *::before,
.giftflow-dashboard-helps *::after {
  box-sizing: border-box;
}
.giftflow-dashboard-helps__shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.giftflow-dashboard-helps__masthead {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius);
}
@media (min-width: 782px) {
  .giftflow-dashboard-helps__masthead {
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 1fr);
    min-height: 220px;
  }
}
.giftflow-dashboard-helps__masthead-main {
  position: relative;
  z-index: 2;
  padding: 24px 22px 22px;
}
@media (min-width: 782px) {
  .giftflow-dashboard-helps__masthead-main {
    padding: 28px 28px 26px;
  }
}
.giftflow-dashboard-helps__masthead-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 10px 4px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gfh-text-muted);
  background: var(--gfh-bg-soft);
  border: 1px solid var(--gfh-line);
  border-radius: 999px;
}
.giftflow-dashboard-helps__masthead-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gfh-theme);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gfh-theme) 22%, transparent);
}
.giftflow-dashboard-helps__masthead-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gfh-text);
}
.giftflow-dashboard-helps__masthead-lead {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-helps__masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.giftflow-dashboard-helps__masthead-actions .button {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: transform var(--gfh-dur) var(--gfh-ease);
  padding: 0.5rem 1rem !important;
  font-weight: bold;
}
@media (max-width: 519px) {
  .giftflow-dashboard-helps__masthead-actions .button {
    padding: 0.2rem 0.5rem !important;
  }
}
.giftflow-dashboard-helps__masthead-actions .button .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}
.giftflow-dashboard-helps__masthead-actions .button:active {
  transform: scale(0.98);
}
.giftflow-dashboard-helps__masthead-meta {
  margin: 0;
  font-size: 12px;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-helps__masthead-meta a {
  color: var(--gfh-theme);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--gfh-dur) var(--gfh-ease);
}
.giftflow-dashboard-helps__masthead-meta a:hover {
  color: var(--gfh-theme-2);
  text-decoration: underline;
}
.giftflow-dashboard-helps__masthead-meta-label {
  margin-right: 6px;
  font-weight: 600;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-helps__masthead-deco {
  position: relative;
  min-height: 120px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--gfh-theme) 9%, var(--gfh-bg-soft)) 0%, var(--gfh-bg-soft) 55%, var(--gfh-bg-muted) 100%);
  border-top: 1px solid var(--gfh-line);
}
@media (min-width: 782px) {
  .giftflow-dashboard-helps__masthead-deco {
    border-top: none;
    border-left: 1px solid var(--gfh-line);
    min-height: auto;
  }
}
.giftflow-dashboard-helps__masthead-deco-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(var(--gfh-line-strong) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
          mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
}
.giftflow-dashboard-helps__masthead-deco-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gfh-theme) 28%, transparent) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--gfh-dur-slow) var(--gfh-ease);
}
.giftflow-dashboard-helps__masthead:hover .giftflow-dashboard-helps__masthead-deco-glow {
  opacity: 0.85;
}
.giftflow-dashboard-helps__jump {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius);
}
@media (min-width: 600px) {
  .giftflow-dashboard-helps__jump {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }
}
.giftflow-dashboard-helps__jump-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-helps__jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.giftflow-dashboard-helps__jump-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gfh-text-secondary);
  text-decoration: none;
  background: var(--gfh-bg-soft);
  border: 1px solid var(--gfh-line);
  border-radius: 999px;
  transition: background var(--gfh-dur) var(--gfh-ease), border-color var(--gfh-dur) var(--gfh-ease), color var(--gfh-dur) var(--gfh-ease), transform var(--gfh-dur) var(--gfh-ease-out);
}
.giftflow-dashboard-helps__jump-link:hover {
  color: var(--gfh-theme-2);
  border-color: color-mix(in srgb, var(--gfh-theme) 35%, var(--gfh-line));
  background: color-mix(in srgb, var(--gfh-theme) 6%, var(--gfh-bg));
  transform: translateY(-1px);
}
.giftflow-dashboard-helps__jump-link:focus {
  outline: none;
}
.giftflow-dashboard-helps__jump-link:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gfh-theme) 35%, transparent);
}
.giftflow-dashboard-helps__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 960px) {
  .giftflow-dashboard-helps__body {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }
}
.giftflow-dashboard-helps__primary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.giftflow-dashboard-helps__featured {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(120deg, color-mix(in srgb, var(--gfh-theme) 10%, var(--gfh-bg)) 0%, var(--gfh-bg) 48%);
  border: 1px solid color-mix(in srgb, var(--gfh-theme) 22%, var(--gfh-line));
  border-radius: var(--gfh-radius);
  transition: border-color var(--gfh-dur-slow) var(--gfh-ease), box-shadow var(--gfh-dur-slow) var(--gfh-ease), transform var(--gfh-dur-slow) var(--gfh-ease-out);
}
.giftflow-dashboard-helps__featured:hover {
  border-color: color-mix(in srgb, var(--gfh-theme) 40%, var(--gfh-line));
  transform: translateY(-2px);
}
.giftflow-dashboard-helps__featured:hover .giftflow-dashboard-helps__featured-arrow {
  color: var(--gfh-theme);
  transform: translateX(4px);
}
.giftflow-dashboard-helps__featured:focus {
  outline: none;
}
.giftflow-dashboard-helps__featured:focus-visible {
  box-shadow: 0 0 0 2px var(--gfh-bg), 0 0 0 5px color-mix(in srgb, var(--gfh-theme) 35%, transparent);
}
@media (min-width: 600px) {
  .giftflow-dashboard-helps__featured {
    align-items: center;
    padding: 22px 24px;
  }
}
.giftflow-dashboard-helps__featured-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--gfh-theme);
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius-sm);
  box-shadow: var(--gfh-shade);
}
.giftflow-dashboard-helps__featured-icon .dashicons {
  width: 26px;
  height: 26px;
  font-size: 26px;
}
.giftflow-dashboard-helps__featured-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.giftflow-dashboard-helps__featured-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gfh-theme-2);
}
.giftflow-dashboard-helps__featured-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--gfh-text);
}
.giftflow-dashboard-helps__featured-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gfh-text-secondary);
}
.giftflow-dashboard-helps__featured-arrow {
  flex-shrink: 0;
  display: none;
  color: var(--gfh-text-muted);
  transition: color var(--gfh-dur-slow) var(--gfh-ease), transform var(--gfh-dur-slow) var(--gfh-ease-out);
}
@media (min-width: 600px) {
  .giftflow-dashboard-helps__featured-arrow {
    display: flex;
    align-items: center;
  }
}
.giftflow-dashboard-helps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 520px) {
  .giftflow-dashboard-helps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.giftflow-dashboard-helps__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 16px;
  text-decoration: none;
  color: inherit;
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius);
  transition: border-color var(--gfh-dur-slow) var(--gfh-ease), box-shadow var(--gfh-dur-slow) var(--gfh-ease), transform var(--gfh-dur-slow) var(--gfh-ease-out);
}
.giftflow-dashboard-helps__tile:hover {
  border-color: var(--gfh-line-strong);
  transform: translateY(-3px);
}
.giftflow-dashboard-helps__tile:hover .giftflow-dashboard-helps__tile-cta {
  color: var(--gfh-theme-2);
}
.giftflow-dashboard-helps__tile:hover .giftflow-dashboard-helps__tile-cta svg {
  transform: translateX(3px);
}
.giftflow-dashboard-helps__tile:hover .giftflow-dashboard-helps__tile-icon {
  color: var(--gfh-theme);
  border-color: color-mix(in srgb, var(--gfh-theme) 40%, var(--gfh-line));
  background: color-mix(in srgb, var(--gfh-theme) 6%, var(--gfh-bg-soft));
}
.giftflow-dashboard-helps__tile:focus {
  outline: none;
}
.giftflow-dashboard-helps__tile:focus-visible {
  box-shadow: 0 0 0 2px var(--gfh-bg), 0 0 0 4px color-mix(in srgb, var(--gfh-theme) 32%, transparent);
}
.giftflow-dashboard-helps__tile-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gfh-theme-3);
  background: color-mix(in srgb, var(--gfh-theme) 9%, var(--gfh-bg));
  border: 1px solid color-mix(in srgb, var(--gfh-theme) 20%, var(--gfh-line));
  border-radius: 4px;
}
.giftflow-dashboard-helps__tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #787c82;
  background: var(--gfh-bg-soft);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius-sm);
  transition: color var(--gfh-dur-slow) var(--gfh-ease), border-color var(--gfh-dur-slow) var(--gfh-ease), background var(--gfh-dur-slow) var(--gfh-ease);
}
.giftflow-dashboard-helps__tile-icon .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
}
.giftflow-dashboard-helps__tile-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding-right: 3.5rem;
}
.giftflow-dashboard-helps__tile-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--gfh-text);
}
.giftflow-dashboard-helps__tile-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-helps__tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gfh-theme);
  transition: color var(--gfh-dur) var(--gfh-ease);
}
.giftflow-dashboard-helps__tile-cta svg {
  transition: transform var(--gfh-dur-slow) var(--gfh-ease-out);
}
.giftflow-dashboard-helps__rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.giftflow-dashboard-helps__rail-card {
  padding: 20px 18px;
  background: var(--gfh-bg);
  border: 1px solid var(--gfh-line);
  border-radius: var(--gfh-radius);
  transition: box-shadow var(--gfh-dur-slow) var(--gfh-ease);
}
.giftflow-dashboard-helps__rail-card--dev {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gfh-theme) 5%, var(--gfh-bg)) 0%, var(--gfh-bg) 100%);
}
.giftflow-dashboard-helps__rail-card--support {
  text-align: center;
}
.giftflow-dashboard-helps__rail-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gfh-text);
}
.giftflow-dashboard-helps__rail-card--support .giftflow-dashboard-helps__rail-title {
  justify-content: center;
}
.giftflow-dashboard-helps__rail-title-icon.dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: var(--gfh-theme);
}
.giftflow-dashboard-helps__rail-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gfh-text-muted);
}
.giftflow-dashboard-helps__rail-card--support .giftflow-dashboard-helps__rail-text {
  margin-bottom: 16px;
}
.giftflow-dashboard-helps__rail-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.giftflow-dashboard-helps__rail-links li {
  margin: 0;
  border-bottom: 1px solid var(--gfh-line);
}
.giftflow-dashboard-helps__rail-links li:last-child {
  border-bottom: none;
}
.giftflow-dashboard-helps__rail-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 4px;
  margin: 0 -4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gfh-theme);
  text-decoration: none;
  border-radius: var(--gfh-radius-sm);
  transition: background var(--gfh-dur) var(--gfh-ease), color var(--gfh-dur) var(--gfh-ease);
}
.giftflow-dashboard-helps__rail-links a .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: var(--gfh-text-muted);
  transition: transform var(--gfh-dur-slow) var(--gfh-ease-out), color var(--gfh-dur) var(--gfh-ease);
}
.giftflow-dashboard-helps__rail-links a:hover {
  background: var(--gfh-bg-soft);
  color: var(--gfh-theme-2);
}
.giftflow-dashboard-helps__rail-links a:hover .dashicons {
  color: var(--gfh-theme);
  transform: translateX(2px);
}
.giftflow-dashboard-helps__rail-links a:focus {
  outline: none;
}
.giftflow-dashboard-helps__rail-links a:focus-visible {
  background: var(--gfh-bg-soft);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gfh-theme) 28%, transparent);
}
.giftflow-dashboard-helps__btn--block {
  width: 100%;
  justify-content: center !important;
  text-align: center;
  padding: 0.5rem !important;
  font-weight: bold;
}
@media (max-width: 519px) {
  .giftflow-dashboard-helps__btn--block {
    padding: 0.2rem 0.5rem !important;
  }
}
@media (max-width: 519px) {
  .giftflow-dashboard-helps__tile-body {
    padding-right: 0;
  }
  .giftflow-dashboard-helps__tile-tag {
    position: static;
    align-self: flex-start;
    order: -1;
    margin-bottom: 2px;
  }
  .giftflow-dashboard-helps__tile {
    padding-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .giftflow-dashboard-helps, .giftflow-dashboard-helps * {
    transition: none !important;
  }
  .giftflow-dashboard-helps__featured:hover, .giftflow-dashboard-helps__tile:hover, .giftflow-dashboard-helps__jump-link:hover {
    transform: none;
  }
  .giftflow-dashboard-helps .button:active {
    transform: none !important;
  }
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .giftflow-dashboard-helps__masthead-badge-dot {
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
  }
  .giftflow-dashboard-helps__masthead-deco {
    background: linear-gradient(145deg, #e8f0f8 0%, #f6f7f7 55%, #f0f0f1 100%);
  }
  .giftflow-dashboard-helps__masthead-deco-glow {
    background: radial-gradient(circle, rgba(34, 113, 177, 0.2) 0%, transparent 70%);
  }
  .giftflow-dashboard-helps__featured {
    background: linear-gradient(120deg, #f0f6fc 0%, #fff 48%);
    border-color: #c5d9ed;
  }
  .giftflow-dashboard-helps__tile-tag {
    background: #f0f6fc;
    border-color: #c5d9ed;
    color: #0a4b78;
  }
  .giftflow-dashboard-helps__jump-link:hover {
    background: #f0f6fc;
    border-color: #8cc8ff;
  }
}
.gfw-monofont {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
}

a[href="admin.php?page=giftflow-get-pro"] {
  color: wheat !important;
  position: relative;
  overflow: hidden;
  /* Light effect using ::before pseudo-element */
  /* Place content above the effect */
  position: relative;
  z-index: 2;
}
a[href="admin.php?page=giftflow-get-pro"]::before {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 224, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
  animation: giftflow-get-pro-light 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes giftflow-get-pro-light {
  0% {
    left: -60%;
  }
  85% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}
