
/* PDF Modal Overlay */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.pdf-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content Container */
.pdf-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdf-modal.is-visible .pdf-modal-content {
  transform: scale(1);
}

/* Modal Header */
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.pdf-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--plism-text-main);
  letter-spacing: 0.02em;
}

.pdf-actions {
  display: flex;
  gap: 12px;
}

/* Header Buttons */
.pdf-btn {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdf-btn-download {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.pdf-btn-download:hover {
  background: rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}

.pdf-btn-close {
  background: transparent;
  color: var(--plism-text-muted);
  border: 1px solid transparent;
}

.pdf-btn-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* PDF Iframe */
.pdf-frame {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: #0f172a;
}
