/* Styles pour les éléments spécifiques SISR */

/* Badges technologies en header */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(5, 99, 187, 0.1);
  border-radius: 20px;
  margin: 0 5px 5px 0;
  font-size: 12px;
  font-weight: 600;
  color: #0563bb;
  border: 1px solid rgba(5, 99, 187, 0.3);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(5, 99, 187, 0.2);
  transform: translateY(-2px);
}

.tech-badge i {
  margin-right: 5px;
  font-size: 14px;
}

/* Cartes techniques */
.header-with-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 15px;
}

.header-with-badges h4 {
  margin-right: 10px;
  margin-bottom: 5px;
}

/* Code preview */
.code-preview {
  background: #f5f5f5;
  border-radius: 5px;
  padding: 15px;
  overflow: auto;
  margin: 15px 0;
  font-family: monospace;
  font-size: 12px;
  max-height: 200px;
}

.code-preview pre {
  margin: 0;
}

.code-preview code {
  color: #333;
}

/* Mermaid diagram */
.mermaid-diagram {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mermaid-diagram img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Boutons d'action */
.tech-action-btn {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.tech-action-btn:hover {
  transform: translateY(-2px);
}

.tech-action-btn i {
  margin-right: 5px;
}

/* Checklist */
.checklist {
  margin-top: 10px;
}

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checklist-item i {
  margin-right: 10px;
  font-size: 16px;
}

/* Metrics cards */
.metric-card {
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.metric-icon {
  color: #0563bb;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #0563bb;
  margin-bottom: 5px;
}

.metric-title {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Badges métriques */
.metrics-badge {
  display: flex;
  flex-wrap: wrap;
}

.metrics-badge span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(0, 198, 154, 0.1);
  border-radius: 20px;
  margin: 0 5px 5px 0;
  font-size: 12px;
  font-weight: 600;
  color: #00c69a;
  border: 1px solid rgba(0, 198, 154, 0.3);
}

.metrics-badge span i {
  margin-right: 5px;
}

/* Filtre de complexité */
.complexity-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.complexity-btn {
  padding: 5px 15px;
  margin: 0 5px 5px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  border: 1px solid #dee2e6;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.complexity-btn:hover,
.complexity-btn.active {
  background: #0563bb;
  color: white;
  border-color: #0563bb;
  transform: translateY(-2px);
}

/* Modals */
.modal-dialog {
  max-width: 80%;
}

.modal-body pre {
  white-space: pre-wrap;
  max-height: 60vh;
  overflow-y: auto;
}

/* View code buttons */
.portfolio-links a.view-code-btn,
.portfolio-links a.view-schema-btn {
  background-color: #0563bb;
}

.portfolio-links a.view-code-btn:hover,
.portfolio-links a.view-schema-btn:hover {
  background-color: #0678e3;
}

