/* PDF Modal Styles */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow: hidden;
}

.pdf-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 90%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-modal-header {
  background: #0c1e21;
  color: #ffffff;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e1002e;
}

.pdf-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.pdf-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pdf-modal-close:hover {
  background: #e1002e;
  transform: scale(1.1);
}

.pdf-modal-viewer {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: #f5f5f5;
}

.pdf-modal-footer {
  background: #f8f9fa;
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdf-download-btn {
  background: #e1002e;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdf-download-btn:hover {
  background: #b8001f;
  transform: translateY(-2px);
}

.pdf-info {
  font-size: 14px;
  color: #666666;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .pdf-modal-content {
    width: 95%;
    height: 95%;
    margin: 10px;
  }
  
  .pdf-modal-header {
    padding: 15px 20px;
  }
  
  .pdf-modal-title {
    font-size: 18px;
  }
  
  .pdf-modal-footer {
    padding: 12px 20px;
    flex-direction: column;
    gap: 10px;
  }
}

/* Animation */
.pdf-modal.active .pdf-modal-content {
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}