/* PDF Signature Preview Styles */

.pdf-signature-preview-container {
    width: 100%;
    max-width: 400px;
    /* Limitar largura máxima */
    display: flex;
    flex-direction: column;
}

.pdf-canvas-wrapper {
    position: relative;
    width: 100%;
    max-height: 500px;
    /* Limitar altura máxima */
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: auto;
    /* Permitir scroll se necessário */
}

.pdf-canvas {
    display: block;
    cursor: grab;
    background: white;
    max-width: 100%;
    max-height: 450px;
}

.pdf-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    background: white;
    border-top: 1px solid #ddd;
    gap: 8px;
    flex-wrap: wrap;
}

.pdf-navigation .page-info {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.pdf-navigation .btn {
    min-width: auto;
    padding: 4px 8px;
}

.pdf-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsivo */
@media (max-width: 768px) {
    .pdf-signature-preview-container {
        max-width: 100%;
    }

    .pdf-canvas-wrapper {
        max-height: 400px;
    }

    .pdf-canvas {
        max-height: 350px;
    }
}