// Dashboard Help Styles
.giftflow-dashboard-help {
  margin: 20px 0;
  
  h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #23282d;
  }
  
  .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;
    
    h3 {
      font-size: 18px;
      margin-top: 0;
      margin-bottom: 15px;
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
    }
    
    p {
      font-size: 14px;
      line-height: 1.5;
      margin-bottom: 15px;
    }
    
    ul, ol {
      margin-left: 20px;
      margin-bottom: 15px;
      
      li {
        margin-bottom: 8px;
        line-height: 1.5;
      }
    }
    
    code {
      background: #f5f5f5;
      padding: 3px 5px;
      border-radius: 3px;
      font-size: 13px;
      color: #23282d;
    }
    
    .button {
      display: inline-block;
      margin-top: 10px;
      text-decoration: none;
    }
  } 
}

// Campaign progress styles
.campaign-progress {
  margin: $spacing-sm 0;
  
  .progress-bar {
    background-color: #f1f1f1;
    height: 10px;
    border-radius: $border-radius;
    overflow: hidden;
    margin-bottom: $spacing-xs;
    
    .progress {
      background-color: $primary-color;
      height: 100%;
      border-radius: $border-radius;
      transition: width $transition-speed ease;
    }
  }
  
  .progress-stats {
    font-size: $font-size-sm;
    color: $text-light;
    
    .raised, .goal {
      font-weight: 600;
    }
  }
}

// Campaign status styles
.campaign-status {
  display: inline-block;
  padding: $spacing-xs $spacing-sm;
  border-radius: $border-radius;
  font-size: $font-size-sm;
  font-weight: 600;
  text-transform: uppercase;
  
  &.status-active {
    background-color: #e6f7e6;
    color: #2e7d32;
  } 
  
  &.status-completed {
    background-color: #e3f2fd;
    color: #1565c0;
  }
  
  &.status-pending {
    background-color: #fff8e1;
    color: #f57c00;
  }

  &.status-closed {
    background-color: #f5f5f5;
    color: #757575;
  }
  
  &.status-unknown {
    background-color: #f5f5f5;
    color: $text-light;
  }
}

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

// make style status look like a tag, class : donation-status status-completed
.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;
}