/* Previzualizare documente: butoanele „vezi / descarcă” și fereastra modală (site public + panou) */
.doc-actions { display: inline-flex; align-items: stretch; vertical-align: middle; border-radius: 10px; border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent); overflow: hidden; max-width: 100%; }
.doc-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; text-decoration: none; color: inherit;
  font-weight: 700; font-size: .86rem; transition: background .15s; min-width: 0; }
.doc-actions a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.doc-actions .doc-open span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-actions .doc-dl { border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding: 5px 9px; }
.doc-actions svg { flex-shrink: 0; }
.doc-actions.panel { color: #2a3bd6; background: #fff; }
.doc-actions.site { color: #7cc8ff; }

.pv-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw;
  background: rgba(6, 9, 40, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: pv-in .2s ease-out; }
.pv-frame { width: min(1200px, 100%); height: 100%; border: 0; border-radius: 14px; background: #262b45; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
body.pv-open { overflow: hidden; }
@keyframes pv-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) { .pv-overlay { padding: 0; } .pv-frame { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .pv-overlay { animation: none; } }
