.elementor-element > .e-con-inner:has(.elementor-element:only-child .elementor-widget-nasaa-pdf-display) > div > div > .elementor-element {
  padding: 0 !important;
}
.elementor-element > .e-con-inner:has(.elementor-element:only-child .elementor-widget-nasaa-pdf-display) > div > div > .elementor-element .nasaa-pdf-display-container {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
.elementor-element > .e-con-inner:has(.elementor-element:only-child .elementor-widget-nasaa-pdf-display) .e-con-inner {
  max-width: none !important;
}
.elementor-widget-container:has(> .nasaa-pdf-display-container) {
  padding: 32px;
  background-color: rgba(81, 8, 86, 0.1019607843);
}
.nasaa-pdf-display-container {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 0;
}
.nasaa-pdf-wrapper {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nasaa-pdf-controls {
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #dee2e6;
}
.navigation-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.nasaa-pdf-bottom-controls {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #dee2e6;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.pdf-btn {
  background: #510856;
  color: white !important;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}
.pdf-btn:hover:not(:disabled) {
  background: #3d0641;
}
.pdf-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  color: #666;
}
.pdf-btn-outline {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pdf-btn-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.pdf-btn-outline:hover:not(:disabled) {
  background: #d4af37;
  color: white;
}
.pdf-btn-outline:disabled {
  border-color: #ccc;
  color: #666;
  cursor: not-allowed;
}
.pdf-btn-outline.pdf-btn-compact {
  padding: 4px 8px;
  font-size: 12px;
  border-width: 1px;
}
.pdf-btn-outline.pdf-btn-compact svg {
  width: 14px;
  height: 14px;
}
.pdf-btn-gold {
  background: #d4af37;
  color: white;
  border: 2px solid #d4af37;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.pdf-btn-gold:hover:not(:disabled) {
  background: #b8912b;
}
.pdf-btn-gold:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
  color: #666;
}
.pdf-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdf-zoom-controls span {
  font-size: 14px;
  color: #555;
}
.pdf-zoom-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.pdf-page-info {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  gap: 8px;
}
.nasaa-pdf-middle-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.page-select {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-select select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
}
.action-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
#zoom-level {
  font-size: 14px;
  color: #555;
  min-width: 40px;
  text-align: center;
}
.pdf-btn-download {
  font-weight: 600;
  gap: 8px;
}
.pdf-btn-download .pdf-btn-label {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.view-controls {
  display: flex;
  justify-content: flex-end;
}
.view-controls .pdf-btn-compact {
  padding: 4px 8px;
  font-size: 16px;
}
.nasaa-pdf-viewer {
  position: relative;
  overflow: auto;
  background: #525659;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}
.nasaa-doc-viewer {
  position: relative;
  overflow: auto;
  background: #525659;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}
.nasaa-doc-iframe {
  width: 100%;
  max-width: 1024px;
  height: 100%;
  border: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
#pdf-canvas {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: white;
  display: none;
}
.pdf-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
.pdf-loading p {
  margin: 0;
  font-size: 16px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.nasaa-pdf-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  text-align: center;
  padding: 40px 20px;
}
.nasaa-pdf-placeholder h3 {
  color: #6c757d;
  font-size: 24px;
  margin: 0 0 12px 0;
  font-weight: 600;
}
.nasaa-pdf-placeholder p {
  color: #868e96;
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}
.placeholder-content {
  max-width: 300px;
}
.placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .navigation-controls {
    flex-direction: column;
    gap: 4px;
  }
  .nasaa-pdf-bottom-controls {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
  }
  .nasaa-pdf-viewer {
    padding: 8px;
  }
  .zoom-controls {
    justify-content: center;
  }
  .placeholder-icon {
    font-size: 36px;
  }
  .nasaa-pdf-placeholder h3 {
    font-size: 20px;
  }
  .nasaa-pdf-placeholder p {
    font-size: 14px;
  }
}
