/* ==== GLOBAL PAGE ==== */
/* Protected Document Viewer — Iframe Renderer Only */

/* Canvas container (iframe-specific behaviour) */
#hp-protected-document-viewer-canvas {
  flex: 1;
  min-height: 0;
  background: #f7f7f7;
  position: relative;
  padding: 0;
  overflow: auto;
}

.hp-protected-document-viewer-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Spinner animation only (positioning + visuals in base.css) */
.hp-protected-document-viewer-loading {
    animation: hp-doc-viewer-spin 0.8s linear infinite;
}

@keyframes hp-doc-viewer-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
