/* ========================================
   CARD ACTIONS DESIGN - Design Équilibré
   Système de boutons (Envoyer, Télécharger) + Likes
   ======================================== */

/* ==================== DESIGN PRINCIPAL - Équilibré ==================== */
.card-design-balanced {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-design-balanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-design-balanced .image-container {
  position: relative;
  overflow: hidden;
}

.card-design-balanced .action-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 7px;
  background: #f8f9fa;
}

.card-design-balanced .btn-action {
  padding: 11px;
  border-radius: 7px;
  border: none;
  background: white;
  color: #333;
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.card-design-balanced .btn-send {
  color: #667eea;
}

.card-design-balanced .btn-send:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.card-design-balanced .btn-download {
  color: #f5576c;
}

.card-design-balanced .btn-download:hover {
  background: #f5576c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.card-design-balanced .likes-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  color: #2d3436;
  font-size: 0.87rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-design-balanced .likes-footer .heart-icon {
  color: #e91e63;
  font-size: 1.02rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ==================== ANIMATIONS ==================== */
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

/* ==================== UTILITAIRES ==================== */
.img-fluid {
  width: 100%;
  height: auto;
  display: block;
}

.rounded {
  border-radius: 12px;
}

/* Empêcher la sélection de texte sur les boutons */
.btn-action,
.likes-footer {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Curseur pointer sur éléments cliquables */
.btn-action,
.likes-footer {
  cursor: pointer;
}

/* Animation au click pour tous les boutons */
.btn-action:active {
  transform: scale(0.95);
}

/* Style pour les icônes Bootstrap Icons */
.bi {
  line-height: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .card-design-balanced .action-buttons {
    gap: 6px;
    padding: 6px;
  }

  .card-design-balanced .btn-action {
    font-size: 1.2rem;
    padding: 10px;
  }

  .card-design-balanced .likes-footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .card-design-balanced .btn-action {
    font-size: 1.1rem;
    padding: 9px;
  }
}

/* ========================================
   CARD PRINT DESIGN - Cartes à Imprimer
   Système de bouton Télécharger + Likes
   ======================================== */

/* ==================== DESIGN CARTES À IMPRIMER ==================== */
.card-design-print {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-design-print:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-design-print .image-container {
  position: relative;
  overflow: hidden;
}

.card-design-print .action-buttons {
  padding: 7px;
  background: #f8f9fa;
}

.card-design-print .btn-action {
  padding: 11px;
  border-radius: 7px;
  border: none;
  background: white;
  color: #333;
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  width: 100%;
}

.card-design-print .btn-download {
  color: #6b7280;
}

.card-design-print .btn-download:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.card-design-print .btn-download .download-text {
  margin-left: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1f2937;
}

.card-design-print .btn-download:hover .download-text {
  color: white;
}

.card-design-print .likes-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  color: #2d3436;
  font-size: 0.87rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-design-print .likes-footer .heart-icon {
  color: #e91e63;
  font-size: 1.02rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .card-design-print .action-buttons {
    gap: 6px;
    padding: 6px;
  }

  .card-design-print .btn-action {
    font-size: 1.2rem;
    padding: 10px;
  }

  .card-design-print .likes-footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .card-design-print .btn-action {
    font-size: 1.1rem;
    padding: 9px;
  }
}
