.pdf-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-background);
  height: 90vh;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: var(--shadow-lg);
}

.pdf-modal.show {
  transform: translateY(0);
}

.pdf-modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdf-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.pdf-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--secondary-color);
  transition: var(--transition);
}

.pdf-modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.pdf-modal-body {
  height: calc(90vh - 4rem);
  padding: 0;
}

.pdf-viewer {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1040;
}

.pdf-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Animation pour le bouton d'ouverture */
.pdf-open-button {
  transition: var(--transition);
}

.pdf-open-button:hover {
  transform: translateY(-2px);
}

/* Styles pour les appareils mobiles */
@media (max-width: 768px) {
  .pdf-modal {
    height: 100vh;
  }
  
  .pdf-modal-body {
    height: calc(100vh - 4rem);
  }
}
