/* Faith & Fire Action Center - Intelligence Layer CSS */

.action-center-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-top: 4px solid #3b82f6;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.action-center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e293b;
}

.action-center-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-center-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid #2563eb;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.action-center-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-center-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 2px;
}

.action-center-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.action-stat-pill {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 700;
}

.action-stat-pill strong {
  color: #f97316;
}

/* Filters bar */
.action-center-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.6);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #1e293b;
}

.action-filter-select,
.action-filter-input {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
}

.action-filter-select:focus,
.action-filter-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.btn-action-filter-reset {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.btn-action-filter-reset:hover {
  background: #1e293b;
  color: #f8fafc;
  border-color: #64748b;
}

/* Recommendation Item Cards */
.action-recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recommendation-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-left: 5px solid #3b82f6;
  border-radius: 10px;
  padding: 18px 20px;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.recommendation-card:hover {
  border-color: #64748b;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Priorities Colors */
.recommendation-card.priority-critical {
  border-left-color: #ef4444;
}

.recommendation-card.priority-high {
  border-left-color: #f97316;
}

.recommendation-card.priority-medium {
  border-left-color: #eab308;
}

.recommendation-card.priority-low {
  border-left-color: #3b82f6;
}

.recommendation-card.is-completed {
  opacity: 0.65;
  border-left-color: #10b981;
  background: rgba(15, 23, 42, 0.8);
}

.rec-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rec-priority-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rec-priority-badge.critical {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid #ef4444;
}

.rec-priority-badge.high {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid #f97316;
}

.rec-priority-badge.medium {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid #eab308;
}

.rec-priority-badge.low {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid #3b82f6;
}

.rec-category-badge {
  background: #0f172a;
  color: #cbd5e1;
  border: 1px solid #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.rec-status-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.7);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #334155;
}

.rec-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-reason {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.rec-action-box {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid #3b82f6;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 14px;
}

.rec-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .rec-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rec-meta-item {
  display: flex;
  flex-direction: column;
}

.rec-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.rec-meta-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-top: 2px;
}

.rec-lesson-box {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #38bdf8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.rec-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #334155;
}

.btn-rec-action {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-rec-action:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-1px);
}

.btn-rec-complete {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-rec-complete:hover {
  background: linear-gradient(135deg, #10b981, #059669);
}

.btn-rec-dismiss {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-rec-dismiss:hover {
  background: #0f172a;
  color: #f87171;
  border-color: #ef4444;
}

.action-empty-state {
  text-align: center;
  padding: 32px 16px;
  background: #1e293b;
  border-radius: 10px;
  border: 1px dashed #334155;
  color: #94a3b8;
}

.action-empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
