/**
 * GiftFlow Variables
 *
 * Global variables for styling
 */
.giftflow-welcome {
  background: #fff;
  border: solid 1px #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 100%;
  margin: 2rem auto;
}
.giftflow-welcome__header {
  margin-bottom: 32px;
}
.giftflow-welcome__logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}
.giftflow-welcome__logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 6px;
  display: block;
}
.giftflow-welcome__title-section {
  flex: 1;
}
.giftflow-welcome__title {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 0.1rem;
}
.giftflow-welcome__subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: normal;
  opacity: 0.8;
}
.giftflow-welcome__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .giftflow-welcome__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.giftflow-welcome__left-column .giftflow-welcome__features h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
}
.giftflow-welcome__left-column .giftflow-welcome__features-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.3em 0;
}
.giftflow-welcome__features-list {
  padding-left: 0px;
  margin: 0;
  line-height: 1.5;
}
.giftflow-welcome__features-list li {
  margin-bottom: 0.4rem;
}
.giftflow-welcome__features-list li strong {
  font-weight: 600;
}
.giftflow-welcome__right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.giftflow-welcome__actions {
  display: flex;
  gap: 0.5rem;
}
.giftflow-welcome__help {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}
.giftflow-welcome__help h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}
.giftflow-welcome__help p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}
.giftflow-welcome__help p a {
  text-decoration: underline;
}
.giftflow-welcome__help p a:hover {
  text-decoration: none;
}
@media (max-width: 768px) {
  .giftflow-welcome {
    padding: 24px;
    max-width: 100%;
  }
  .giftflow-welcome__title {
    font-size: 24px;
  }
  .giftflow-welcome__subtitle {
    font-size: 15px;
  }
  .giftflow-welcome__logo-section {
    gap: 12px;
  }
}

.giftflow-overview {
  display: grid;
  grid-template-columns: 1fr 25%;
  gap: 2rem;
  margin-top: 2rem;
  box-sizing: border-box;
}
.giftflow-overview__main {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.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: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.giftflow-overview__widget-header-btn {
  padding: 0.5rem;
  background: #f8f9fa;
  border: none;
  background: none;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.2s ease;
  border: solid 1px #e0e0e0;
  line-height: 0;
  border-radius: 0.2rem;
}
.giftflow-overview__widget-header-btn:hover {
  opacity: 0.8;
}
.giftflow-overview__widget-header-btn:active {
  opacity: 0.6;
}
.giftflow-overview__widget-header-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
.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: #1e1e1e;
}
.giftflow-overview__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.giftflow-overview__stat-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}
.giftflow-overview__stat-card:hover {
  background: #fff;
  border-color: black;
  box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
}
.giftflow-overview__stat-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}
.giftflow-overview__stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.giftflow-overview__stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1;
}
.giftflow-overview__stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  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: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}
.giftflow-overview__activity-item:hover {
  background: #fff;
  border-color: #e0e0e0;
}
.giftflow-overview__activity-icon {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  flex-shrink: 0;
}
.giftflow-overview__activity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.giftflow-overview__activity-text {
  font-size: 0.875rem;
  color: #1e1e1e;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.giftflow-overview__activity-time {
  font-size: 0.75rem;
  color: #6c757d;
}
.giftflow-overview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.giftflow-overview__widget {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
}
.giftflow-overview__widget-title {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e1e1e;
}
.giftflow-overview__action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.giftflow-overview__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.7rem;
  background: black;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.giftflow-overview__action-btn:hover, .giftflow-overview__action-btn:focus {
  opacity: 0.5;
}
.giftflow-overview__action-btn:active {
  opacity: 0.5;
}
.giftflow-overview__action-btn:disabled, .giftflow-overview__action-btn[aria-disabled=true] {
  background: #b8c7d9;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}
.giftflow-overview__action-icon {
  text-align: center;
  line-height: 0;
}
.giftflow-overview__campaign-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.giftflow-overview__campaign-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 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: #1e1e1e;
}
.giftflow-overview__campaign-progress {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2271b1;
}
.giftflow-overview__progress-bar {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}
.giftflow-overview__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2271b1 0%, #165a8f 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, #f0f0f0 25%, #e4e4e4 37%, #f0f0f0 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__select {
  font-size: 0.95em;
  display: inline;
  padding: 0.2rem;
  background-color: white;
  margin: 0;
  line-height: normal;
  border: none;
  border-bottom: solid 2px;
  height: auto !important;
  min-height: auto;
  border-radius: 0;
  background-image: url(../../images/chevron-down-icon.svg);
  background-size: 10px;
  background-position: right 0.5em center;
  background-repeat: no-repeat;
  padding-right: 1.5em !important;
}

.giftflow-chart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: #6b7280;
}
.giftflow-chart-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #3b82f6;
  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: #6b7280;
}
.giftflow-chart-error__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.giftflow-chart-error h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #dc2626;
}
.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: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.giftflow-chart-error__retry:hover {
  background: #2563eb;
}
.giftflow-chart-error__retry:active {
  background: #1d4ed8;
}

.giftflow-chart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: #6b7280;
}
.giftflow-chart-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.giftflow-chart-empty h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
}
.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: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
  border: solid 1px #eee;
}
.giftflow-campaigns-list__title-link {
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
  border-bottom: none !important;
}
.giftflow-campaigns-list__title {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  color: inherit;
  margin-bottom: 0.5rem;
}
.giftflow-campaigns-list__excerpt {
  font-size: 0.95rem;
  color: #64748b;
  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: #374151;
}
.giftflow-campaigns-list__status {
  font-weight: 500;
}
.giftflow-campaigns-list__status--closed {
  color: #ef4444;
}
.giftflow-campaigns-list__status--active, .giftflow-campaigns-list__status--open {
  color: #22c55e;
}
.giftflow-campaigns-list__status--draft {
  color: #f59e0b;
}
.giftflow-campaigns-list__progress-bar {
  width: 100%;
  background: #f1f5f9;
  border-radius: 2px;
  height: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.giftflow-campaigns-list__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.giftflow-campaigns-list__meta {
  font-size: 0.85rem;
  color: #64748b;
  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: #22c55e;
}
.giftflow-campaigns-list__date strong {
  font-weight: 600;
  color: #374151;
}
.giftflow-campaigns-list__loading {
  text-align: center;
  padding: 2rem;
  color: #64748b;
  font-style: italic;
}
.giftflow-campaigns-list__error {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 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 #e0e0e7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.giftflow-campaigns-list__select-wrapper:hover {
  border-color: #2271b1;
}
.giftflow-campaigns-list__select-wrapper:focus-within {
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}
.giftflow-campaigns-list__multiselect {
  width: 100%;
  min-height: 340px !important;
  border: none;
  outline: none;
  padding: 12px;
  font-size: 1rem;
  background: transparent;
  color: #22223b;
  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 #f0f0f5;
  background: #fff;
  color: #22223b;
  transition: background-color 0.2s ease;
}
.giftflow-campaigns-list__multiselect option:hover {
  background: #f8f9fa;
}
.giftflow-campaigns-list__multiselect option:checked {
  background: #2271b1;
  color: #fff;
}
.giftflow-campaigns-list__multiselect option:last-child {
  border-bottom: none;
}
.giftflow-campaigns-list__help-text {
  font-size: 0.92rem;
  color: #6c6f80;
  margin-top: 10px;
  line-height: 1.4;
}
.giftflow-campaigns-list__key {
  background: #ececf3;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.92em;
  font-weight: 600;
  color: #374151;
}
@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: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.giftflow-modal--open {
  opacity: 1;
  visibility: visible;
}
.giftflow-modal__content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  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 #e5e7eb;
  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: #111827;
  line-height: 1.3;
}
.giftflow-modal__close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  color: #6b7280;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.giftflow-modal__close:hover {
  background: #f3f4f6;
  color: #374151;
}
.giftflow-modal__close:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2271b1;
}
.giftflow-modal__close svg {
  width: 20px;
  height: 20px;
}
.giftflow-modal__body {
  padding: 0 1.5rem;
  flex: 1;
  overflow-y: auto;
  color: #374151;
  line-height: 1.6;
}
.giftflow-modal__body::-webkit-scrollbar {
  width: 6px;
}
.giftflow-modal__body::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.giftflow-modal__body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.giftflow-modal__body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.giftflow-modal__footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
  background: #f9fafb;
}
.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: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
}
.giftflow-modal__button--primary {
  background: black;
  color: #fff;
}
.giftflow-modal__button--primary:hover {
  opacity: 0.7;
}
.giftflow-modal__button--primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.3);
}
.giftflow-modal__button--secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}
.giftflow-modal__button--secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}
.giftflow-modal__button--secondary:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(156, 163, 175, 0.3);
}
.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: #6b7280;
  border: 1px solid transparent;
}
.giftflow-modal__button--ghost:hover {
  background: #f3f4f6;
  color: #374151;
}
.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 #f3f4f6;
  border-top: 3px solid #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, #f8fafc 0%, #e2e8f0 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 #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@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 #f3f4f6;
}
.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: #1f2937;
  line-height: 1.2;
}
.giftflow-recent-donations__subtitle {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 400;
  margin: 0;
}
.giftflow-recent-donations__count {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  min-width: 1.5rem;
  text-align: center;
}
.giftflow-recent-donations__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: #9ca3af;
}
.giftflow-recent-donations__empty-icon {
  margin-bottom: 0.75rem;
  opacity: 0.5;
  color: #d1d5db;
}
.giftflow-recent-donations__empty-text {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}
.giftflow-recent-donations__empty-subtext {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
  max-width: 250px;
  line-height: 1.4;
}
.giftflow-recent-donations__grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.giftflow-recent-donations__card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem;
  transition: all 0.15s ease;
  position: relative;
}
.giftflow-recent-donations__card:hover {
  background: #fff;
  border-color: #d1d5db;
}
.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: #3b82f6;
  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: #1f2937;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.giftflow-recent-donations__donor-link {
  text-decoration: none;
  transition: color 0.15s ease;
}
.giftflow-recent-donations__donor-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.giftflow-recent-donations__donor-email {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  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: #059669;
}
.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: #374151;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.giftflow-recent-donations__campaign-link {
  color: #374151;
  text-decoration: none;
  transition: color 0.15s ease;
}
.giftflow-recent-donations__campaign-link:hover {
  color: #3b82f6;
  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 #f3f4f6;
}
.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: #6b7280;
}
.giftflow-recent-donations__date {
  font-weight: 500;
}
.giftflow-recent-donations__payment-method {
  color: #9ca3af;
  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-overview__widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.giftflow-overview__widget__widget-title {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
}
.giftflow-overview__widget__action-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.giftflow-overview__widget__action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}
.giftflow-overview__widget__action-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.giftflow-overview__widget__action-btn:active {
  background: #1d4ed8;
  transform: translateY(0);
}
.giftflow-overview__widget__action-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.giftflow-overview__widget__action-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.giftflow-overview__widget__action-btn:disabled:hover {
  background: #9ca3af;
  transform: none;
  box-shadow: none;
}
.giftflow-overview__widget__action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.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-overview__widget {
    padding: 1rem;
  }
  .giftflow-overview__widget__widget-title {
    font-size: 1rem;
  }
  .giftflow-overview__widget__action-btn {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  .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;
  }
}
@media (max-width: 480px) {
  .giftflow-overview__widget {
    padding: 0.75rem;
  }
  .giftflow-overview__widget__action-list {
    gap: 0.5rem;
  }
  .giftflow-overview__widget__action-btn {
    padding: 0.625rem;
    font-size: 0.75rem;
    gap: 0.5rem;
  }
}
.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: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}
.giftflow-select-search__trigger:hover {
  border-color: #9ca3af;
}
.giftflow-select-search__trigger:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.giftflow-select-search__value {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.giftflow-select-search__value-text {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.giftflow-select-search__placeholder {
  color: #9ca3af;
  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: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.giftflow-select-search__clear:hover {
  background: #f3f4f6;
  color: #374151;
}
.giftflow-select-search__clear:focus {
  outline: none;
  background: #f3f4f6;
  color: #374151;
}
.giftflow-select-search__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: transform 0.2s ease;
}
.giftflow-select-search__dropdown {
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 10px 25px 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 #e5e7eb;
  background: #f9fafb;
}
.giftflow-select-search__search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}
.giftflow-select-search__search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.5rem !important;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #374151;
  outline: none;
  transition: border-color 0.2s ease;
}
.giftflow-select-search__search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.giftflow-select-search__search-input::-moz-placeholder {
  color: #9ca3af;
}
.giftflow-select-search__search-input::placeholder {
  color: #9ca3af;
}
.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: #f1f5f9;
}
.giftflow-select-search__options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.giftflow-select-search__options::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.giftflow-select-search__option {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  border-bottom: solid 1px #e5e7eb;
}
.giftflow-select-search__option:hover, .giftflow-select-search__option--highlighted {
  background: #f3f4f6;
}
.giftflow-select-search__option--selected {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}
.giftflow-select-search__option--selected .giftflow-select-search__option-label {
  color: #1d4ed8;
}
.giftflow-select-search__option-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
  margin-bottom: 0.125rem;
}
.giftflow-select-search__option-description {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
}
.giftflow-select-search__loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
  justify-content: center;
}
.giftflow-select-search__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: giftflow-select-search-spin 1s linear infinite;
}
.giftflow-select-search__no-options {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
}
.giftflow-select-search__error-message {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}
.giftflow-select-search--disabled .giftflow-select-search__trigger {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
  border-color: #e5e7eb;
}
.giftflow-select-search--disabled .giftflow-select-search__trigger:hover, .giftflow-select-search--disabled .giftflow-select-search__trigger:focus {
  border-color: #e5e7eb;
  box-shadow: none;
}
.giftflow-select-search--disabled .giftflow-select-search__value-text,
.giftflow-select-search--disabled .giftflow-select-search__placeholder {
  color: #9ca3af;
}
.giftflow-select-search--disabled .giftflow-select-search__arrow {
  color: #d1d5db;
}
.giftflow-select-search--error .giftflow-select-search__trigger {
  border-color: #dc2626;
}
.giftflow-select-search--error .giftflow-select-search__trigger:hover {
  border-color: #b91c1c;
}
.giftflow-select-search--error .giftflow-select-search__trigger:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.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 {
  font-family: Arial, Helvetica, sans-serif;
}
#GFWP_DASHBOARD_VIEW_ROOT .__monospace {
  font-family: "Courier New", Courier, monospace;
}
#GFWP_DASHBOARD_VIEW_ROOT a {
  text-decoration: none;
  border-bottom: solid 2px;
  font-weight: 500;
  transition: color 0.2s;
}
#GFWP_DASHBOARD_VIEW_ROOT a:hover {
  opacity: 0.5;
}

/**
 * GiftFlow Dashboard Styles
 */
/**
 * 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;
}

.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 Dashboard Helps Styles
 */
.giftflow-dashboard-helps {
  max-width: 1200px;
  margin: 2rem 0;
  padding: 0;
}
.giftflow-dashboard-helps__header {
  margin-bottom: 2rem;
}
.giftflow-dashboard-helps__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e1e1e;
  line-height: 1.3;
}
.giftflow-dashboard-helps__description {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.5;
}
.giftflow-dashboard-helps__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.giftflow-dashboard-helps__section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.giftflow-dashboard-helps__section:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.giftflow-dashboard-helps__section--support {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-color: #e9ecef;
  text-align: center;
}
.giftflow-dashboard-helps__section--coming-soon {
  background: #f8f9fa;
  border-color: #e9ecef;
  opacity: 0.8;
}
.giftflow-dashboard-helps__section-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e1e1e;
  line-height: 1.4;
}
.giftflow-dashboard-helps__section-description {
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
}
.giftflow-dashboard-helps__docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.giftflow-dashboard-helps__doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}
.giftflow-dashboard-helps__doc-item:hover {
  background: #fff;
  border-color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.giftflow-dashboard-helps__doc-item:hover .giftflow-dashboard-helps__doc-link {
  color: #000;
  gap: 0.5rem;
}
.giftflow-dashboard-helps__doc-item:hover .giftflow-dashboard-helps__doc-link svg {
  transform: translateX(4px);
}
.giftflow-dashboard-helps__doc-item:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}
.giftflow-dashboard-helps__doc-item:active {
  transform: translateY(0);
}
.giftflow-dashboard-helps__doc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  color: #1e1e1e;
  transition: all 0.2s ease;
}
.giftflow-dashboard-helps__doc-icon svg {
  width: 24px;
  height: 24px;
}
.giftflow-dashboard-helps__doc-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.2rem;
  min-width: 0;
}
.giftflow-dashboard-helps__doc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.giftflow-dashboard-helps__doc-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e1e1e;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}
.giftflow-dashboard-helps__doc-description {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.6;
}
.giftflow-dashboard-helps__doc-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #856404;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.giftflow-dashboard-helps__doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.2s ease;
}
.giftflow-dashboard-helps__doc-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.giftflow-dashboard-helps__coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}
.giftflow-dashboard-helps__coming-soon-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.giftflow-dashboard-helps__coming-soon-icon svg {
  width: 48px;
  height: 48px;
}
.giftflow-dashboard-helps__coming-soon-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #6c757d;
  line-height: 1.4;
}
.giftflow-dashboard-helps__coming-soon-description {
  margin: 0;
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  max-width: 500px;
}
.giftflow-dashboard-helps__support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.giftflow-dashboard-helps__support-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.giftflow-dashboard-helps__support-button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}
.giftflow-dashboard-helps__support-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}
.giftflow-dashboard-helps__support-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .giftflow-dashboard-helps {
    margin: 1.5rem 0;
  }
  .giftflow-dashboard-helps__header {
    margin-bottom: 1.5rem;
  }
  .giftflow-dashboard-helps__title {
    font-size: 1.5rem;
  }
  .giftflow-dashboard-helps__content {
    gap: 1.5rem;
  }
  .giftflow-dashboard-helps__section {
    padding: 1.25rem;
  }
  .giftflow-dashboard-helps__section-title {
    font-size: 1.125rem;
  }
  .giftflow-dashboard-helps__docs-list {
    gap: 0.75rem;
  }
  .giftflow-dashboard-helps__doc-item {
    padding: 0.875rem;
  }
  .giftflow-dashboard-helps__doc-icon {
    width: 36px;
    height: 36px;
  }
  .giftflow-dashboard-helps__doc-icon svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 480px) {
  .giftflow-dashboard-helps {
    margin: 1rem 0;
  }
  .giftflow-dashboard-helps__title {
    font-size: 1.25rem;
  }
  .giftflow-dashboard-helps__section {
    padding: 1rem;
  }
  .giftflow-dashboard-helps__support-button {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

.gfw-monofont {
  font-family: "Courier New", Courier, monospace;
}
