﻿/* === Carte principale === */
.app-card {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 150px;
}

.app-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* === En-tête de carte === */
.app-card__header {
  cursor: pointer;
  display: flex;
  flex-direction: column;   /* image au-dessus, texte en dessous */
  align-items: center;      /* centre horizontalement */
  justify-content: center;  /* centre verticalement */
  padding: 8px;
  min-height: 100%;
}

/* === Titre dans l'en-tête === */
.app-card__title {
  font-size: 15px;
  font-weight: bold;
  color: #337ab7;
  margin-top: 15px;          /* petit espace sous l’image */
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-card__title2 {
  font-size: 30px;
  font-weight: bold;
  color: #900;
  margin-top: 10px;          /* petit espace sous l’image */
  margin-bottom: 20px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* === Carte active (pleine largeur) === */
.app-card.app-card--active {
  flex: 0 0 100%;
  max-width: 100%;
}

/* === Contenu détaillé === */
.app-card__content {
  font-size: 14px;
  line-height: 1.5;
}

/* === Actions (boutons) === */
.app-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* === Bouton de fermeture === */
.app-card__btn-close {
  font-size: 16px;
  color: #a00;
  background: none;
  border: none;
  cursor: pointer;
}
