/* ============================================================
   ELHASSANE STUDIO - AI Construction Manager
   الملف: public/css/project-templates.css - أنماط القوالب
   ============================================================ */

.template-card {
  transition: all 0.3s ease;
  cursor: default;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.dark .template-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.template-card .template-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 12px;
  background: var(--brand-light);
}

.dark .template-card .template-icon {
  background: var(--brand-dark);
}

.template-badge-difficulty {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

.template-badge-difficulty.easy {
  background: #d1fae5;
  color: #065f46;
}

.template-badge-difficulty.medium {
  background: #fef3c7;
  color: #92400e;
}

.template-badge-difficulty.hard {
  background: #fecaca;
  color: #991b1b;
}

.template-badge-difficulty.expert {
  background: #e9d5ff;
  color: #5b21b6;
}

.dark .template-badge-difficulty.easy {
  background: #14532d;
  color: #86efac;
}

.dark .template-badge-difficulty.medium {
  background: #78350f;
  color: #fbbf24;
}

.dark .template-badge-difficulty.hard {
  background: #7f1d1d;
  color: #fca5a5;
}

.dark .template-badge-difficulty.expert {
  background: #2e1065;
  color: #c084fc;
}

.template-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 0;
}

.template-stats .stat {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.template-stats .stat .value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.dark .template-stats .stat .value {
  color: var(--paper);
}
