/* Coltivera custom styles */

/* Idea cards */
.idea-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.idea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* HOT badge */
.hot-badge {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* Status badges */
.status-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-draft { background-color: #6c757d; color: #fff; }
.status-open { background-color: #198754; color: #fff; }
.status-funded { background-color: #0d6efd; color: #fff; }
.status-expired { background-color: #dc3545; color: #fff; }
.status-building { background-color: #fd7e14; color: #fff; }
.status-demo_ready { background-color: #6f42c1; color: #fff; }
.status-generating_revenue { background-color: #20c997; color: #fff; }

/* Filter bar */
.input-group-text {
  border-right: none;
}
.input-group .form-control {
  border-left: none;
}
.input-group .form-control:focus {
  box-shadow: none;
  border-color: #dee2e6;
}

/* Idea card links */
.idea-card a.card-link-overlay {
  text-decoration: none;
  color: inherit;
}

/* Funding tracker */
.funding-tracker .progress {
  border-radius: 6px;
}
.funding-tracker .progress-bar {
  transition: width 0.6s ease;
}
.funding-stats {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.75rem;
}

/* Funding mini bar (marketplace cards) */
.funding-mini-bar {
  height: 4px;
  border-radius: 2px;
  background-color: #e9ecef;
  overflow: hidden;
}
.funding-mini-bar .bar-fill {
  height: 100%;
  border-radius: 2px;
  background-color: #198754;
  transition: width 0.4s ease;
}

/* Stage milestones */
.stage-milestones {
  padding: 0 1rem;
}
.stage-line {
  position: absolute;
  top: 14px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: #e9ecef;
  z-index: 0;
}
.stage-milestone {
  position: relative;
  z-index: 1;
}
.stage-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
.stage-milestone.completed .stage-dot {
  box-shadow: 0 0 0 2px #198754;
}
.stage-milestone.current .stage-dot {
  box-shadow: 0 0 0 2px #0d6efd;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px #0d6efd; }
  50% { box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.3); }
}

/* Idea description */
.idea-description {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
}

/* Funding status badges - extend for met */
.status-met { background-color: #0d6efd; color: #fff; }
.status-active { background-color: #198754; color: #fff; }

/* Investment status badges */
.investment-status-pending { background-color: #ffc107; color: #000; }
.investment-status-authorized { background-color: #0dcaf0; color: #000; }
.investment-status-captured { background-color: #198754; color: #fff; }
.investment-status-failed { background-color: #dc3545; color: #fff; }
.investment-status-refunded { background-color: #6c757d; color: #fff; }
.investment-status-cancelled { background-color: #6c757d; color: #fff; }

/* Landing page */
.landing-hero {
  padding: 4rem 0 3rem;
}
.landing-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-step-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.landing-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.landing-role-card {
  border-width: 2px;
}
.landing-category-card,
.category-browse-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.landing-category-card:hover,
.category-browse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Performance cards */
.performance-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.performance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
