/* Styles pour le menu d'exportation */
.export-dropdown {
  position: relative !important;
}

.export-dropdown .dropdown-menu {
  position: absolute !important;
  z-index: 1100 !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  transform: translate3d(0px, 38px, 0px) !important;
  top: 0 !important;
  left: 0 !important;
  will-change: transform !important;
  display: none;
}

.export-dropdown .dropdown-menu.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

/* Styles pour les boutons de partage de fichiers */
.file-share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.file-share-buttons .share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.file-share-buttons .share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-btn-facebook {
  background-color: #3b5998 !important;
  color: #fff !important;
}

.share-btn-twitter {
  background-color: #1da1f2 !important;
  color: #fff !important;
}

.share-btn-linkedin {
  background-color: #0077b5 !important;
  color: #fff !important;
}

.share-btn-whatsapp {
  background-color: #25d366 !important;
  color: #fff !important;
}

/* Styles pour les cartes de fichiers */
.file-card {
  display: flex;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background-color: #fff;
  transition: all 0.2s ease;
}

.file-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.file-icon {
  font-size: 2.5rem;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
}

.file-icon .fa-file-excel-o {
  color: #1d6f42;
}

.file-icon .fa-file-pdf-o {
  color: #f40f02;
}

.file-icon .fa-file-code-o {
  color: #0769ad;
}

.file-info {
  flex: 1;
}

.file-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.file-info p {
  color: #6c757d;
  margin-bottom: 1rem;
}

.file-actions {
  display: flex;
  flex-direction: column;
}

/* Animation lors de l'ouverture */
.export-dropdown .dropdown-menu {
  animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
