.pdf-wrapper {
  padding: 20px;
}

/* CONTROLS */
.pdf-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}

.pdf-controls input,
.pdf-controls select {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 100%;
}

/* GRID */
.pdf-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.pdf-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.pdf-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* ICON ANIMÉE */
.pdf-icon {
  font-size: 50px;
  color: #e63946;
  transition: 0.3s;
}

.pdf-card:hover .pdf-icon {
  transform: rotate(10deg) scale(1.2);
}

/* TITLE */
.pdf-title {
  margin: 15px 0;
}

/* BUTTONS */
.pdf-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.view {
  background: #1d3557;
}

.download {
  background: #e63946;
}

/* MODAL */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
}

.pdf-modal-content {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
}

.closeModal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 25px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .pdf-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pdf-container {
    grid-template-columns: 1fr;
  }
}