/* Visualizador de PDF (vagas) */

.pdf-secao { background: var(--gray); padding: 3rem 0 6rem; }
.pdf-viewer {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 48px -32px rgba(13, 44, 88, 0.4);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    overflow-x: auto;
}
.pdf-canvas { max-width: 100%; height: auto !important; border-radius: 6px; }

.pdf-toolbar {
    position: sticky;
    bottom: 20px;
    z-index: 30;
    margin: 1.2rem auto 0;
    width: max-content;
    max-width: calc(100% - 20px);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem;
    background: var(--blue-ink);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.6);
}
.pdf-toolbar button, .pdf-toolbar a {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.15s;
}
.pdf-toolbar button:hover, .pdf-toolbar a:hover { background: var(--orange); }
.pdf-toolbar .sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.2); margin: 0 0.3rem; }
#page-info { font-size: 0.9rem; font-weight: 700; padding: 0 0.4rem; white-space: nowrap; }

@media (max-width: 768px) {
    .pdf-secao { padding: 2rem 0 4rem; }
    .pdf-viewer { padding: 0.5rem; border-radius: 12px; }
    .pdf-toolbar { bottom: 84px; }
}
